Observation
Exact main commit 3e0129434ac214d46fc4cace94c7086ec486302f fails this repository test:
classification_only_and_nested_agent_filename_changes_are_exact
Reproduction
git switch --detach 3e0129434ac214d46fc4cace94c7086ec486302f
cargo test --test catalog_diff classification_only_and_nested_agent_filename_changes_are_exact
The test fails because catalog diff validates agents/host/worker/docs/agent.kdl as a strict Agent Spec candidate and rejects its top-level note node:
catalog fails full validation:
agents/host/worker/docs/agent.kdl [parse-error]: KDL declaration error: [unexpected-top-level-node]: canonical Agent Spec KDL only accepts top-level `agent` nodes, found `note`
agents/host/worker/docs/agent.kdl [unexpected-top-level-node]: canonical Agent Spec KDL only accepts top-level `agent` nodes, found `note`
The same failure reproduced in a separate detached worktree at the exact commit above.
Hosted check scope
The Nix package's cargoTestFlags run workspace libraries, binaries, discovery, codex_hooks, and hooks. They do not run tests/catalog_diff.rs. A successful hosted Nix check therefore does not exercise this failing test.
Observation
Exact
maincommit3e0129434ac214d46fc4cace94c7086ec486302ffails this repository test:classification_only_and_nested_agent_filename_changes_are_exactReproduction
git switch --detach 3e0129434ac214d46fc4cace94c7086ec486302f cargo test --test catalog_diff classification_only_and_nested_agent_filename_changes_are_exactThe test fails because
catalog diffvalidatesagents/host/worker/docs/agent.kdlas a strict Agent Spec candidate and rejects its top-levelnotenode:The same failure reproduced in a separate detached worktree at the exact commit above.
Hosted check scope
The Nix package's
cargoTestFlagsrun workspace libraries, binaries,discovery,codex_hooks, andhooks. They do not runtests/catalog_diff.rs. A successful hosted Nix check therefore does not exercise this failing test.