feat(spec): S2 — normative framework-neutral method spec as the fourth shared artifact
Author shared/method-spec.md: the 8-step loop (normative, RFC-2119), the verdict JSON contract incl. the id-minting algorithm and the chosen conflict semantics, the inbox/outbox folder contract, the fail-closed promotion-gate semantics, the IR projection + golden suite as the only ground truth (incl. the reproducible Monte Carlo procedure), and the budget/stop, provenance and startup-contract requirements — every normative claim cross-checked against the load-bearing tests/code. The sibling implementation builds from this spec alone. Load-bearing trio (tests/test_method_spec_loadbearing.py, persona-trio style): required structure, a name-shaped framework-neutrality guard over the spec + the persona skill tree, and a cross-check-completeness test driven from the REAL artifacts and the REAL verdict serializer (red on code drift). All three detach points proven RED (missing file / framework name / dropped field). shared/README.md: the "(planned)" line replaced with the real entry. Suite 152 -> 155 passed / 4 skipped; ruff check+format clean; mypy src clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaQCFnfsh3tfq1VfzdJpoi
This commit is contained in:
parent
ae01127510
commit
5de1c93b69
3 changed files with 578 additions and 1 deletions
|
|
@ -25,7 +25,12 @@ so the only thing that differs is the agent framework itself.
|
|||
realization-gap methodology the validator cannot compute) and a canonical
|
||||
`references/example-verdict.json`. Both reference implementations instantiate the reviewer from
|
||||
this one artifact; `shared/` stays pure data (each stack reads the JSON with its own loader).
|
||||
- *(planned)* the method specification.
|
||||
- [`method-spec.md`](method-spec.md) — the **normative method specification**, framework-neutral
|
||||
(the prose never names a concrete agent toolkit — enforced by a guard test): the 8-step loop,
|
||||
the verdict JSON contract, the inbox/outbox folder contract, the promotion-gate semantics, the
|
||||
IR projection + golden suite as the only ground truth, and the budget/provenance requirements.
|
||||
The sibling implementation is built from this spec alone, without reverse-engineering the
|
||||
reference code.
|
||||
|
||||
## Rules
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue