docs(agent-spec): name the v0.1.0 contradiction where readers meet it - #11
Merged
Merged
Conversation
agent-spec.schema.yaml contradicts the canon it belongs to, and until now the repo shipped that silently. trust-architecture.yaml: "autonomy is not a slider you push to the right — it is a spectrum you choose per action" and "enforcement lives in a mechanism, not in a prompt. A recommendation is not a control." agent-spec.schema.yaml: requires one `autonomy` label for the whole agent, and models guarantees as free-text sentences with no field anywhere for the mechanism that enforces them. It is not cosmetic. aux.H01 and aux.H03 take their base score from spec.autonomy, and three rules read guarantees. The audit's two most prominent heuristics rest on the abstraction the standard tells readers to avoid. Second defect: the file is not JSON Schema, though it uses the reserved `$schema` key as a container for a bespoke notation. Any JSON Schema tool reads it wrong. This commit fixes neither. It makes both visible at the point of contact: a header on the schema, a note on each of the two offending fields, and one line in the CLI README, docs/audit.md and the repo tree. The replacement is proposed in #10 and is aux-audit v0.2, not a patch — it rewrites spec.ts, changes what H01 and H03 measure, and makes scores non-comparable across the boundary. Same treatment `evolution_stage: schema-undefined` got: name the defect where the reader meets it rather than letting them find it themselves. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MhpqWEvwKp7NrmJfdXYq4M
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
agent-spec.schema.yamlcontradicts the canon it belongs to, and the repo has been shipping that silently. This does not fix it — the fix is #10 and it isaux-auditv0.2 — it makes the contradiction visible at the point of contact so a reader finds it from us rather than on their own.The contradiction
schemas/trust-architecture.yaml:schemas/agent-spec.schema.yaml:One slider position for the whole agent, plus
guaranteesas free-text sentences and no field anywhere for the mechanism that enforces them.It is not cosmetic.
aux.H01andaux.H03take their base score fromspec.autonomy; three rules readguarantees. The audit's two most prominent heuristics rest on the abstraction the standard tells readers to avoid.Second defect: the file is not JSON Schema, though it uses the reserved
$schemakey as a container for a bespoke notation. Any JSON Schema tool reads it wrong.What changes
Notices only — no behaviour, no fields, no IDs:
agent-spec.schema.yamlnaming both defects and pointing at [debate] agent-spec v1: per-action mandate with enforced_by, replacing the autonomy label #10autonomyand onguarantees, at the two offending fieldsguarantees' own description now says plainly: this is a stated promise, not a verified mechanismpackages/aux-audit/README.md,docs/audit.mdand the repo treeThe CLI README already said the audit grades the spec, not the product. That caveat was too general — it papered over a specific hole, which is that the format has nowhere to declare a mechanism at all. It now says so.
Linked Issue
Interim for #10. Does not close it.
Type
Comments and descriptions only. Deliberately not a schema fix — changing the format is #10, needs the
debatesettled first, and rewritesspec.ts.Contribution bar — checklist
debateIssue first. — no IDs touched; [debate] agent-spec v1: per-action mandate with enforced_by, replacing the autonomy label #10 is open for the change that will touch them.yamllintclean,check:schemasclean,check-coverage.py12/12, links resolve, and the schema still parses with all nine fields intact.Out of scope
The actual replacement — per-action
mandaterows with a requiredenforced_by,human_controlacross five forms, andshutdown.tested. That is #10: it rewritesspec.ts, changes whataux.H01andaux.H03measure, and makes scores non-comparable across the boundary. Two things need settling there first: the draft'strust_stageenum uses bareT01–T04rather than this repo'saux.T01–aux.T04, and it is worth deciding whether an input format should carry the audit's own output at all.🤖 Generated with Claude Code
https://claude.ai/code/session_01MhpqWEvwKp7NrmJfdXYq4M
Generated by Claude Code