Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .agents/skills/import-agent/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ repository gates below. CLI mutations protect the bundled tree in either layout.

- **Run the agent as its vendor ships it.** Its own ACP, or a maintained ACP
adapter (the vendor's first), or its own non-interactive command. Never an
agent loop, tool set, prompt or model client of ours. The reference agent
in the catalogue is Nullius's own test agent, not a template for wrapping a
real one.
agent loop, tool set, prompt or model client of ours.
- **Its dependencies are its own.** Installed by its `install` block into its
own folder, pinned; never into the app (Flask only).
- **Our code is glue.** At most a thin start-up wrapper beside the definition
Expand Down
27 changes: 0 additions & 27 deletions app/nullius/catalogue/agents/reference/agent.json

This file was deleted.

209 changes: 0 additions & 209 deletions app/nullius/catalogue/agents/reference/agent.py

This file was deleted.

63 changes: 0 additions & 63 deletions app/nullius/catalogue/agents/reference/proofs.json

This file was deleted.

4 changes: 2 additions & 2 deletions app/nullius/standard/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def cmd_new(a):
f.write(text + ("\n" if not text.endswith("\n") else ""))
print("wrote", path)
if kind == "benchmark":
then = f"cli run {key} reference --model gpt-5-mini --limit 2 --unsandboxed"
then = f"cli run {key} goose --model gpt-5-mini --limit 2 --unsandboxed"
else:
then = f"cli conform {key} --model gpt-5-mini" + (" --unsandboxed" if kind == "agent" else "")
if kind != "capability":
Expand Down Expand Up @@ -778,7 +778,7 @@ def cmd_merge(a):
nullius standard set show humaneval first-ten --json
nullius standard set rename humaneval misses "misses of June"
nullius standard set delete humaneval misses-of-june
nullius standard run humaneval reference --model M --set first-ten --unsandboxed
nullius standard run humaneval goose --model M --set first-ten --unsandboxed

exit codes:
0 done
Expand Down
2 changes: 1 addition & 1 deletion app/nullius/standard/pages/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def choices() -> dict:
# one entry per benchmark, its default version, which lists the others (``versions``); the fits cover every version
defaults = [b for b in d["benchmark"] if b.get("_version") == b.get("_default")]
return {"benchmarks": [_with_versions(b) for b in defaults],
# an example (the reference agent, the example memory) is there to read or copy, never to choose
# an example (the example memory) is there to read or copy, never to choose
"agents": [_other_page(o) for o in d["agent"] + definitions.benchmark_agents(d["benchmark"]) if not o.get("example")],
"capabilities": [_other_page(o) for o in d["capability"] if not o.get("example")],
"fits": match.table(d["benchmark"], d["agent"], d["capability"]),
Expand Down
2 changes: 1 addition & 1 deletion app/templates/agents/standard.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</li>
{% endfor %}
</ol>
<p class="std-how-more">The whole contract: <code>docs/standard.md</code> in the source checkout. A bundled example to read: <code style="overflow-wrap: anywhere">{{ example_dir }}</code>.</p>
<p class="std-how-more">The whole contract: <code>docs/standard.md</code> in the source checkout.{% if example_dir %} A bundled example to read: <code style="overflow-wrap: anywhere">{{ example_dir }}</code>.{% endif %}</p>
{% endcall %}

{% if problems %}<div class="std-problems"><strong>Not offered: a definition with problems</strong><ul>{% for p in problems %}<li>{{ p }}</li>{% endfor %}</ul></div>{% endif %}
Expand Down
4 changes: 2 additions & 2 deletions app/tests/test_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ def test_what_it_does_is_said_in_stages_its_own_and_the_cli_s(self):
self.plan.docker = True
self.part_log = "".join(progress.line(*a, **kw) + "\n" for a, kw in [
(("plan",), {"stages": "image,install,units"}), (("image", "start"), {"detail": "building nullius/base:abc (first time on this machine)"}),
(("image", "done"), {"seconds": 95}), (("install", "cached"), {"agent": "reference"}),
(("image", "done"), {"seconds": 95}), (("install", "cached"), {"agent": "goose"}),
(("units", "start"), {"n": 2, "noun": "problems"}), (("unit", "done"), {"i": 1, "of": 2, "unit": "p/1", "outcome": "passed", "reward": 1.0})])
ex = self.run_it()
self.assertEqual(ex.state, "done", ex.lines)
Expand All @@ -908,7 +908,7 @@ def test_what_it_does_is_said_in_stages_its_own_and_the_cli_s(self):
[("plan", None), ("connect", "start"), ("connect", "done"), ("uv", "cached"), ("app", "start"), ("app", "done")])
got = ex.summary()["stages"]
self.assertEqual([(s["key"], s["state"]) for s in got["stages"]],
[("connect", "done"), ("uv", "cached"), ("app", "done"), ("image", "done"), ("install:reference", "cached"), ("units", "done")])
[("connect", "done"), ("uv", "cached"), ("app", "done"), ("image", "done"), ("install:goose", "cached"), ("units", "done")])
self.assertIsNone(got["current"])
self.assertEqual((got["units"]["n"], got["units"]["done"], got["units"]["passed"]), (2, 1, 1))
back = execution.Execution(self.plan, root=str(self.tmp / "runs"), run=self.answer,
Expand Down
4 changes: 2 additions & 2 deletions app/tests/test_provider_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def test_a_consumer_gets_the_providers_that_may_serve_its_protocol(self):
self.assertEqual(providers.protocol_for("anthropic", ["chat", "messages"], env), "messages")
self.assertEqual(run.key_header("anthropic", {"model": {"apis": ["messages"]}}, env), "x-api-key")
self.assertEqual(run.key_header("openrouter", {"model": {"apis": ["chat"]}}, env), "authorization")
with self.assertRaisesRegex(run.Refused, "Anthropic does not serve what reference speaks"):
run.key_header("anthropic", {"key": "reference", "model": {"apis": ["chat"]}}, env) # as recipe.compile refuses it
with self.assertRaisesRegex(run.Refused, "Anthropic does not serve what chat-agent speaks"):
run.key_header("anthropic", {"key": "chat-agent", "model": {"apis": ["chat"]}}, env) # as recipe.compile refuses it

def test_each_judge_setting_takes_only_a_provider_that_judge_can_use(self):
s1, llm = settings.BY_NAME["DECISION_PROVIDER"].validate, settings.BY_NAME["LLM_JUDGE_PROVIDER"].validate
Expand Down
2 changes: 1 addition & 1 deletion app/tests/test_standard_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_an_example_is_marked_true_or_false_on_an_agent_or_a_feature(self):
self.assertEqual(definitions.problems(dict(AGENT, example=True), "agent"), [])
self.bad(AGENT, "agent", lambda d: d.update(example="yes"), "example: true or false")
self.bad(BENCH, "benchmark", lambda d: d.update(example=True), "example: true or false")
self.assertIs(definitions.get("agent", "reference", definitions.CATALOGUE).get("example"), True)
self.assertIs(definitions.get("capability", "keyword-memory", definitions.CATALOGUE).get("example"), True)

def test_task_parts_require_distinct_names_and_task_prefixes(self):
part = {"id": "office", "label": "Office tasks", "prefixes": ["writer__"]}
Expand Down
Loading