diff --git a/docs/audits/metadata-closure-retirement-2026-11-13.md b/docs/audits/metadata-closure-retirement-2026-11-13.md new file mode 100644 index 00000000..ed4f5a95 --- /dev/null +++ b/docs/audits/metadata-closure-retirement-2026-11-13.md @@ -0,0 +1,75 @@ +# Retirement of the last hand-listed metadata check + +Reviewed revision `a5e8bf7ee4f29ba14826df1ce363bef13fbe2963`. This is the review +record supplied to the Engine's `maintain_evidence` operation for the retirement +below. It records what was checked before the retirement; it is not a coverage +attestation. + +## Decision + +On 2026-11-13 the repository owner decided to retire +`release-maintenance-policy/metadata-closure` and accepted that the coverage +certificates it invalidates are reissued afterwards, each after its own review. +Fifty-five sibling checks were retired on 2026-11-12; this one was held back +only because of that certificate effect. + +## What is retired + +| Item | Disposition | +| --- | --- | +| Check `release-maintenance-policy/metadata-closure` | Retired. It ran `metadata_graph` over a hand-typed list of 12 module paths. | +| Suite `release-maintenance-policy` | Retired by the Engine because it has no other check. | +| Registry entry for that suite | Removed with the suite. | +| Catalogue node `release-maintenance-policy` (`enforcement-suite`) | Removed with the suite. | + +The suite required `release-reference-closure`, which stays registered with its +own checks. No registered suite requires `release-maintenance-policy`. + +## Why the check is redundant + +The check `canonical-corpus-metadata/canonical-corpus` validates every member of +`evaluation/standards-effectiveness/canonical-module-corpus.toml` through the same +`validate_module_metadata` call the retired check used. + +- All 12 listed paths are among the 74 corpus members. +- Mutation test on a scratch copy of the reviewed revision: four defects + (a `Requires` target that does not exist, a removed `Level` line, a wrong + `Canonical owner` path, a `Specializes` target that does not exist) were + introduced one at a time into each of the 12 modules, 48 mutations in all. + The retired check failed 48 times. The whole-corpus check failed the same 48 + times with the same diagnostic code each time. No defect was reported by the + retired check alone. + +The retired check therefore could not fail for a reason the whole-corpus check +does not also report. + +## Graph and certificate effect + +- The removed node is neither the source nor the consumer of any policy-impact + relationship, and no relationship names `suite:release-maintenance-policy` as + its evidence owner. No relationship is removed or re-owned. +- The node catalogue digest is part of every coverage requirement. Removing a + node changes all 53 requirement IDs, so the 16 certificates that were current + at the reviewed revision become stale. The 8 certificates that were already + stale stay stale. +- Stale certificates are left in place (`prune_stale_certificates` is `false`). + A stale certificate is ignored when coverage is read; its policy unit reports + `review-required` until a new certificate is published for it. + +## Counts + +| | Before | After | +| --- | ---: | ---: | +| Registered suites | 24 | 23 | +| Checks | 67 | 66 | +| Catalogue nodes | 122 | 121 | +| Certificates current / stale | 16 / 8 | 0 / 24 | + +## Engine operation + +`maintain_evidence` with this file as evidence, first with `apply: false` and +then with `apply: true`. Plan: `retire_checks` naming the one check; no suite, +input, description, relationship or consumer entries; +`replacement_evidence_owner` `review:consumer` (unused, because no relationship +names the retired suite). The Engine's candidate verification passed with 23 +suites and 66 checks. diff --git a/docs/audits/plan-format-check-removal-2026-11-13.md b/docs/audits/plan-format-check-removal-2026-11-13.md new file mode 100644 index 00000000..e902db88 --- /dev/null +++ b/docs/audits/plan-format-check-removal-2026-11-13.md @@ -0,0 +1,97 @@ +# Removal of the plan-format checks + +Reviewed revision `a5e8bf7ee4f29ba14826df1ce363bef13fbe2963` with the +metadata-check retirement of the same date applied. This is the review record +supplied to the Engine operations named below. It records what was checked +before the removal; it is not a coverage attestation. + +## Decision + +On 2026-11-13 the repository owner decided that the plan template is a guide +and that the layout of a plan is not something to verify, so the plan-format +checks are removed. Under the owner's rule for weak checks (repair a check +that is at fault; remove a check for something there is no reason to check) +this is a removal: the checks work as written, but what they check is not a +requirement. + +`templates/PLAN-TEMPLATE.md`, the planning prompts and the Planning policy +text are kept. Historical records under `docs/archive/`, `docs/audits/` and +`docs/proposals/` are not changed. + +## What the checks observed + +Suite `planning-consolidation` held 19 checks, all of type `plan_contract`. +Each ran the plan-layout validator on one sample plan under +`evaluation/standards-effectiveness/fixtures/plans/`: 4 samples had to be +accepted and 15 had to be rejected with a fixed message. + +- No check ran the validator on a real plan. The validator had two callers: + this suite and its own unit test, which read the same 19 samples. +- Run by hand on this repository's own plans at the reviewed revision, the + validator rejects 25 of the 28 `plan.md` files under `docs/plans/` (16 of + them for having no `## Objective` heading) and 1 of the 20 under + `docs/archive/plans/`. Nothing reported this, because nothing ran it. + +The suite therefore showed that the validator agreed with its samples. It did +not show that any plan in use followed the template. + +## What is removed, and how + +| Part | Items | Operation | +| --- | --- | --- | +| Registry | The 19 checks, suite `planning-consolidation`, its registry entry, its `enforcement-suite` catalogue node, and the 4 relationships that name it | Engine `maintain_evidence`, `retire_suites` | +| Validator | `checks/plan_contract.py`, its unit test, its registration and its README row in `tools/standards_verifier/` | Ordinary code commit | +| Samples | The 19 files under `fixtures/plans/` | Engine `maintain_evidence`, `retire_inputs` | + +The samples are retired after the validator code so that the validator's unit +test, which reads them, never runs without them. + +## Relationships + +Four relationships named the suite as both consumer and evidence owner. They +are removed with its node. No other relationship names `suite:planning-consolidation`, +so no evidence owner is replaced. + +| Source policy unit | Relationships before | After | +| --- | ---: | ---: | +| `workflow.planning.active-plan-fields` | 4 | 3 | +| `workflow.planning.lifecycle-authority` | 7 | 6 | +| `topic.architecture.composed-design-admission` | 9 | 8 | +| `workflow.commit.per-commit-boundary` | 4 | 3 | + +Each unit keeps its template, prompt, documentation and normative consumers, +all owned by consumer review. Policy-impact relationships 356 to 352. + +## Certificates + +All 24 certificates are already stale after the metadata-check retirement. +Two of them, for `workflow.planning.active-plan-fields` and +`workflow.planning.lifecycle-authority`, cite the retired suite file as +evidence. A stale certificate is ignored when coverage is read and its evidence +is not resolved, so both stay loadable. They are left in place +(`prune_stale_certificates` is `false`) until a reissue replaces them. + +## Statements this makes untrue + +- `workflows/planning.md`, metadata line `Verification: Active-plan structure + fixtures and objective-level acceptance review.` +- `evaluation/standards-effectiveness/verification-guide.md`, which lists + `plan records` among what the checkpoint checks. +- `tools/standards_verifier/README.md`, the `plan_contract` row of the + check-kind table. This row is removed with the validator code. + +The first two can only be corrected through the Engine's standards-authoring +workflow. That correction is prepared as a separate change so that it can be +accepted or rejected on its own. `workflows/planning.md` also says that +automated verification may inspect current plan structure. That sentence +grants a permission and does not say a check exists, so it stays true. + +## Counts + +| | Before | After | +| --- | ---: | ---: | +| Registered suites | 23 | 22 | +| Checks | 66 | 47 | +| Catalogue nodes | 121 | 120 | +| Policy-impact relationships | 356 | 352 | +| Sample plans | 19 | 0 | diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-malformed-objective-status.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-malformed-objective-status.md deleted file mode 100644 index 63574d12..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-malformed-objective-status.md +++ /dev/null @@ -1,46 +0,0 @@ -# Plan: Invalid Accepted Malformed Objective Status - -**Plan status:** `Accepted` - -**Current phase:** Complete - -**Next slice:** `none` - -**Acceptance status:** `satisfied` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver the workflow. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | The workflow is complete. | `integration` | `not-applicable` | `automated` | `satified` | Evidence | - -## Binding Decisions - -- The table is authoritative. - -## Milestones - -### Milestone 0: Workflow - -**Status:** `Accepted` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- `none` - -## Final Acceptance - -- Acceptance status: `satisfied` -- Final status: `Accepted` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-missing-final-projections.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-missing-final-projections.md deleted file mode 100644 index 901922b9..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-missing-final-projections.md +++ /dev/null @@ -1,45 +0,0 @@ -# Plan: Invalid Accepted Missing Final Projections - -**Plan status:** `Accepted` - -**Current phase:** Complete - -**Next slice:** `none` - -**Acceptance status:** `satisfied` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver the workflow. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | The workflow is complete. | `integration` | `not-applicable` | `automated` | `satisfied` | Evidence | - -## Binding Decisions - -- The table is authoritative. - -## Milestones - -### Milestone 0: Workflow - -**Status:** `Accepted` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- `none` - -## Final Acceptance - -- Objective evidence: `reports/user-workflow.md` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-pending-criterion.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-pending-criterion.md deleted file mode 100644 index 11b60208..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-pending-criterion.md +++ /dev/null @@ -1,46 +0,0 @@ -# Plan: Invalid Accepted Pending Criterion - -**Plan status:** `Accepted` - -**Current phase:** Complete - -**Next slice:** `none` - -**Acceptance status:** `satisfied` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver the workflow. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | The workflow is complete. | `integration` | `not-applicable` | `automated` | `pending` | Missing | - -## Binding Decisions - -- The table is authoritative. - -## Milestones - -### Milestone 0: Workflow - -**Status:** `Accepted` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- `none` - -## Final Acceptance - -- Acceptance status: `satisfied` -- Final status: `Accepted` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-satisfied-without-evidence.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-satisfied-without-evidence.md deleted file mode 100644 index bb9f7ca1..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-satisfied-without-evidence.md +++ /dev/null @@ -1,47 +0,0 @@ -# Plan: Accepted Without Objective Evidence - -**Plan status:** `Accepted` - -**Current phase:** Complete - -**Next slice:** `none` - -**Acceptance status:** `satisfied` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver the workflow. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | The workflow is complete. | `user-workflow` | `not-applicable` | `automated` | `satisfied` | | - -## Binding Decisions - -- The workflow owns its visible acceptance evidence. - -## Milestones - -### Milestone 0: Workflow - -**Status:** `Accepted` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- `none` - -## Final Acceptance - -- Objective evidence: `reports/workflow.md` -- Acceptance status: `satisfied` -- Final status: `Accepted` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-duplicate-composed-design-probe.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-duplicate-composed-design-probe.md deleted file mode 100644 index 0d7b6e46..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-duplicate-composed-design-probe.md +++ /dev/null @@ -1,59 +0,0 @@ -# Plan: Duplicate Composed-Design Probe - -**Plan status:** `Active` - -**Current phase:** Milestone 0 - -**Next slice:** Implement the admitted change. - -**Acceptance status:** `pending` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver one valid change. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | Focused evidence passes. | `contract` | `not-applicable` | `automated` | `pending` | `pending` | - -## Binding Decisions - -- One Module owns the change. - -## Simplicity And Ownership Review - -**Applicability:** `applicable` - -- Independent concepts and dimensions: Parsing and validation remain distinct. -- Independent concepts and dimensions: Parsing and validation must always change together. -- State, identity, value, time, policy, and mechanism: Policy is contained by one owner. -- Caller and composition-root knowledge: Callers know only the public Interface. -- Representative change paths and forced owners: A representative policy change reaches one owner. -- Stable Interfaces versus hidden knowledge: The stable Interface hides representation. -- Independent evolution, testing, failure, and replacement: The owner can evolve and fail independently. -- Necessary complexity and containment: Necessary policy is contained by the owning Module. -- Deletion and cumulative machinery result: Deletion redistributes necessary policy to callers. - -## Milestones - -### Milestone 0: Change - -**Status:** `Active` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- Ownership changes. - -## Final Acceptance - -- Objective evidence: `pending` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-execution-history.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-execution-history.md deleted file mode 100644 index dd34bb6b..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-execution-history.md +++ /dev/null @@ -1,54 +0,0 @@ -# Plan: Invalid Embedded History - -**Plan status:** `Active` - -**Current phase:** Milestone 0 - -**Next slice:** Continue implementation. - -**Acceptance status:** `pending` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Demonstrate embedded history rejection. - -## Objective Acceptance - -Focused evidence passes. - -## Binding Decisions - -- Plan should remain current. - -## Simplicity And Ownership Review - -**Applicability:** `not-applicable` - -**Reason:** This fixture isolates embedded execution-history rejection and admits no composed software design. - -## Milestones - -### Milestone 0: Invalid - -**Status:** `Active` - -## Execution Notes - -- 2026-07-01: ran a command. -- 2026-07-02: ran another command. - -## Blockers - -- `none` - -## Re-Plan Triggers - -- `none` - -## Final Acceptance - -- Objective evidence: `pending` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-headless-accepted.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-headless-accepted.md deleted file mode 100644 index b4db1d5f..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-headless-accepted.md +++ /dev/null @@ -1,43 +0,0 @@ -# Plan: Invalid Headless Acceptance - -**Plan status:** `Accepted` - -**Current phase:** Complete - -**Next slice:** `none` - -**Acceptance status:** `partial` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver a user workflow. - -## Objective Acceptance - -Focused backend test passes. - -## Binding Decisions - -- Headless evidence is treated as complete. - -## Milestones - -### Milestone 0: Backend - -**Status:** `Accepted` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- `none` - -## Final Acceptance - -- Objective evidence: `reports/focused-test.md` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-incomplete-composed-design-review.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-incomplete-composed-design-review.md deleted file mode 100644 index 23503667..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-incomplete-composed-design-review.md +++ /dev/null @@ -1,57 +0,0 @@ -# Plan: Incomplete Composed-Design Review - -**Plan status:** `Active` - -**Current phase:** Milestone 0 - -**Next slice:** Implement the admitted change. - -**Acceptance status:** `pending` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver one valid change. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | Focused evidence passes. | `contract` | `not-applicable` | `automated` | `pending` | `pending` | - -## Binding Decisions - -- One Module owns the change. - -## Simplicity And Ownership Review - -**Applicability:** `applicable` - -- Independent concepts and dimensions: Parsing and validation remain distinct. -- State, identity, value, time, policy, and mechanism: Policy is contained by one owner. -- Caller and composition-root knowledge: Callers know only the public Interface. -- Representative change paths and forced owners: A representative policy change reaches one owner. -- Stable Interfaces versus hidden knowledge: The stable Interface hides representation. -- Independent evolution, testing, failure, and replacement: The owner can evolve and fail independently. -- Necessary complexity and containment: Necessary policy is contained by the owning Module. - -## Milestones - -### Milestone 0: Change - -**Status:** `Active` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- Ownership changes. - -## Final Acceptance - -- Objective evidence: `pending` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-missing-composed-design-applicability.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-missing-composed-design-applicability.md deleted file mode 100644 index 3bb61924..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-missing-composed-design-applicability.md +++ /dev/null @@ -1,45 +0,0 @@ -# Plan: Missing Composed-Design Applicability - -**Plan status:** `Active` - -**Current phase:** Milestone 0 - -**Next slice:** Implement the admitted change. - -**Acceptance status:** `pending` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver one valid change. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | Focused evidence passes. | `contract` | `not-applicable` | `automated` | `pending` | `pending` | - -## Binding Decisions - -- One Module owns the change. - -## Milestones - -### Milestone 0: Change - -**Status:** `Active` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- Ownership changes. - -## Final Acceptance - -- Objective evidence: `pending` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-missing-next.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-missing-next.md deleted file mode 100644 index 170a1a1f..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-missing-next.md +++ /dev/null @@ -1,47 +0,0 @@ -# Plan: Invalid Missing Next Slice - -**Plan status:** `Active` - -**Current phase:** Milestone 0 - -**Acceptance status:** `pending` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Demonstrate missing next slice. - -## Objective Acceptance - -Focused evidence passes. - -## Binding Decisions - -- Fixture intentionally omits a next slice. - -## Simplicity And Ownership Review - -**Applicability:** `not-applicable` - -**Reason:** This fixture isolates next-slice validation and admits no composed software design. - -## Milestones - -### Milestone 0: Invalid - -**Status:** `Active` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- `none` - -## Final Acceptance - -- Objective evidence: `pending` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-objective-partial.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-objective-partial.md deleted file mode 100644 index a36612d8..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-objective-partial.md +++ /dev/null @@ -1,51 +0,0 @@ -# Plan: Partial Objective - -**Plan status:** `Active` - -**Current phase:** Milestone 0 - -**Next slice:** Finish the objective. - -**Acceptance status:** `pending` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver one complete contract. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | The contract is complete. | `contract` | `not-applicable` | `automated` | `partial` | `reports/partial.md` | - -## Binding Decisions - -- The parser owns objective status validation. - -## Simplicity And Ownership Review - -**Applicability:** `not-applicable` - -**Reason:** This fixture isolates objective-state validation and admits no composed software design. - -## Milestones - -### Milestone 0: Contract - -**Status:** `Active` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- `none` - -## Final Acceptance - -- Objective evidence: `pending` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-three-state.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-three-state.md deleted file mode 100644 index a4181b83..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-three-state.md +++ /dev/null @@ -1,43 +0,0 @@ -# Plan: Invalid Three-State Fixture - -**Plan status:** `Complete` - -**Current phase:** Complete - -**Next slice:** `none` - -**Acceptance status:** `pending` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Demonstrate invalid status. - -## Objective Acceptance - -Focused evidence passes. - -## Binding Decisions - -- Old status vocabulary is retained. - -## Milestones - -### Milestone 0: Old state - -**Status:** `Complete` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- `none` - -## Final Acceptance - -- Objective evidence: `reports/focused.md` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-unreasoned-composed-design-exclusion.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-unreasoned-composed-design-exclusion.md deleted file mode 100644 index bf1b59ad..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-unreasoned-composed-design-exclusion.md +++ /dev/null @@ -1,49 +0,0 @@ -# Plan: Unreasoned Composed-Design Exclusion - -**Plan status:** `Active` - -**Current phase:** Milestone 0 - -**Next slice:** Implement the admitted change. - -**Acceptance status:** `pending` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver one valid change. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | Focused evidence passes. | `contract` | `not-applicable` | `automated` | `pending` | `pending` | - -## Binding Decisions - -- One Module owns the change. - -## Simplicity And Ownership Review - -**Applicability:** `not-applicable` - -## Milestones - -### Milestone 0: Change - -**Status:** `Active` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- Ownership changes. - -## Final Acceptance - -- Objective evidence: `pending` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-whitespace-composed-design-probe.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-whitespace-composed-design-probe.md deleted file mode 100644 index 1f15477e..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-whitespace-composed-design-probe.md +++ /dev/null @@ -1,58 +0,0 @@ -# Plan: Whitespace Composed-Design Probe - -**Plan status:** `Active` - -**Current phase:** Milestone 0 - -**Next slice:** Implement the admitted change. - -**Acceptance status:** `pending` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver one valid change. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | Focused evidence passes. | `contract` | `not-applicable` | `automated` | `pending` | `pending` | - -## Binding Decisions - -- One Module owns the change. - -## Simplicity And Ownership Review - -**Applicability:** `applicable` - -- Independent concepts and dimensions: Parsing and validation remain distinct. -- State, identity, value, time, policy, and mechanism: Policy is contained by one owner. -- Caller and composition-root knowledge: Callers know only the public Interface. -- Representative change paths and forced owners: A representative policy change reaches one owner. -- Stable Interfaces versus hidden knowledge: The stable Interface hides representation. -- Independent evolution, testing, failure, and replacement: The owner can evolve and fail independently. -- Necessary complexity and containment: Necessary policy is contained by the owning Module. -- Deletion and cumulative machinery result: ` ` - -## Milestones - -### Milestone 0: Change - -**Status:** `Active` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- Ownership changes. - -## Final Acceptance - -- Objective evidence: `pending` diff --git a/evaluation/standards-effectiveness/fixtures/plans/invalid-whitespace-composed-design-reason.md b/evaluation/standards-effectiveness/fixtures/plans/invalid-whitespace-composed-design-reason.md deleted file mode 100644 index dfa7c944..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/invalid-whitespace-composed-design-reason.md +++ /dev/null @@ -1,51 +0,0 @@ -# Plan: Whitespace Composed-Design Reason - -**Plan status:** `Active` - -**Current phase:** Milestone 0 - -**Next slice:** Implement the admitted change. - -**Acceptance status:** `pending` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver one valid change. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | Focused evidence passes. | `contract` | `not-applicable` | `automated` | `pending` | `pending` | - -## Binding Decisions - -- One Module owns the change. - -## Simplicity And Ownership Review - -**Applicability:** `not-applicable` - -**Reason:** ` ` - -## Milestones - -### Milestone 0: Change - -**Status:** `Active` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- Ownership changes. - -## Final Acceptance - -- Objective evidence: `pending` diff --git a/evaluation/standards-effectiveness/fixtures/plans/valid-accepted.md b/evaluation/standards-effectiveness/fixtures/plans/valid-accepted.md deleted file mode 100644 index 547cf84c..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/valid-accepted.md +++ /dev/null @@ -1,47 +0,0 @@ -# Plan: Accepted Fixture - -**Plan status:** `Accepted` - -**Current phase:** Complete - -**Next slice:** `none` - -**Acceptance status:** `satisfied` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver the workflow through the user interface. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | Recorded user interaction reaches the visible result. | `user-workflow` | `not-applicable` | `automated` | `satisfied` | `reports/user-workflow.md` | - -## Binding Decisions - -- Backend owns policy; frontend owns projection. - -## Milestones - -### Milestone 0: Workflow - -**Status:** `Accepted` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- `none` - -## Final Acceptance - -- Objective evidence: `reports/user-workflow.md` -- Acceptance status: `satisfied` -- Final status: `Accepted` diff --git a/evaluation/standards-effectiveness/fixtures/plans/valid-active.md b/evaluation/standards-effectiveness/fixtures/plans/valid-active.md deleted file mode 100644 index 8bb0bb8f..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/valid-active.md +++ /dev/null @@ -1,58 +0,0 @@ -# Plan: Active Fixture - -**Plan status:** `Active` - -**Current phase:** Milestone 0 - -**Next slice:** Implement the focused parser correction. - -**Acceptance status:** `pending` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Reject empty identifiers. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | Focused regression test rejects an empty identifier. | `contract` | `not-applicable` | `automated` | `pending` | `pending` | - -## Binding Decisions - -- Parser owns identifier validation. - -## Simplicity And Ownership Review - -**Applicability:** `applicable` - -- Independent concepts and dimensions: Parsing and identifier validation remain distinct but composed through one parser Interface. -- State, identity, value, time, policy, and mechanism: Identifier value policy is contained by the parser and introduces no state or time coupling. -- Caller and composition-root knowledge: Callers provide source text and do not know identifier-validation mechanics. -- Representative change paths and forced owners: Changing the empty-identifier rule changes only parser-owned validation and its focused evidence. -- Stable Interfaces versus hidden knowledge: The parser Interface hides identifier representation and validation ordering. -- Independent evolution, testing, failure, and replacement: The validation rule can be tested and replaced without changing callers. -- Necessary complexity and containment: The single validation branch is necessary and contained in the parser Module. -- Deletion and cumulative machinery result: No pass-through owner or duplicate verifier remains after the correction. - -## Milestones - -### Milestone 0: Parser - -**Status:** `Active` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- Validation is owned by a different boundary. - -## Final Acceptance - -- Objective evidence: `pending` diff --git a/evaluation/standards-effectiveness/fixtures/plans/valid-blocked.md b/evaluation/standards-effectiveness/fixtures/plans/valid-blocked.md deleted file mode 100644 index c93d8b9e..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/valid-blocked.md +++ /dev/null @@ -1,55 +0,0 @@ -# Plan: Blocked Fixture - -**Plan status:** `Blocked` - -**Current phase:** Hardware acceptance - -**Next slice:** Run the user workflow on the required device. - -**Acceptance status:** `blocked` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Deliver a hardware-backed user capability. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | Recorded real-device workflow succeeds. | `user-workflow` | `required-device` | `manual` | `blocked` | `pending` | - -## Binding Decisions - -- Simulation cannot accept the hardware objective. - -## Simplicity And Ownership Review - -**Applicability:** `not-applicable` - -**Reason:** This fixture records lifecycle behavior for an unavailable external device and admits no composed software design. - -## Milestones - -### Milestone 0: Headless path - -**Status:** `Implemented` - -### Milestone 1: Hardware path - -**Status:** `Blocked` - -## Blockers - -- Required device is unavailable. - -## Re-Plan Triggers - -- Supported hardware contract changes. - -## Final Acceptance - -- Objective evidence: `pending` diff --git a/evaluation/standards-effectiveness/fixtures/plans/valid-superseded.md b/evaluation/standards-effectiveness/fixtures/plans/valid-superseded.md deleted file mode 100644 index a03f6eee..00000000 --- a/evaluation/standards-effectiveness/fixtures/plans/valid-superseded.md +++ /dev/null @@ -1,45 +0,0 @@ -# Plan: Superseded Fixture - -**Plan status:** `Superseded` - -**Current phase:** Superseded - -**Next slice:** `none` - -**Acceptance status:** `partial` - -**Execution ledger:** [execution-ledger.md](execution-ledger.md) - -**Issues:** [issues.md](issues.md) - -## Objective - -Replace a contract. - -## Objective Acceptance - -| ID | Observable criterion | Kind | Environment | Mode | Status | Evidence | -| --- | --- | --- | --- | --- | --- | --- | -| A1 | Producer and consumer contract evidence passes. | `contract` | `not-applicable` | `automated` | `pending` | `superseded by plan-v2.md` | - -## Binding Decisions - -- A newer plan owns the replacement. - -## Milestones - -### Milestone 0: Prior approach - -**Status:** `Superseded` - -## Blockers - -- `none` - -## Re-Plan Triggers - -- `none` - -## Final Acceptance - -- Objective evidence: `superseded by plan-v2.md` diff --git a/evaluation/standards-effectiveness/generated/suite-inputs.json b/evaluation/standards-effectiveness/generated/suite-inputs.json index 944e53e8..29ee2ce7 100644 --- a/evaluation/standards-effectiveness/generated/suite-inputs.json +++ b/evaluation/standards-effectiveness/generated/suite-inputs.json @@ -128,11 +128,6 @@ "role": "canonical-policy-impact", "suite": "policy-semantic-impact" }, - { - "check": "metadata-closure", - "role": "metadata", - "suite": "release-maintenance-policy" - }, { "check": "root-links", "role": "link-target", @@ -1044,234 +1039,6 @@ } ] }, - { - "digest": "sha256:b097bacf82568192c9087800f99126cfc1071e0f7340b567cdf2be144130fdca", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-malformed-objective-status.md", - "state": "present", - "uses": [ - { - "check": "invalid-accepted-malformed-objective-status", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:9b29a201762e4ec3535104e692fffff83979805b3a76cd059b100aa784077cc1", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-missing-final-projections.md", - "state": "present", - "uses": [ - { - "check": "invalid-accepted-missing-final-projections", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:7fb320d27c8a779e8d3418a3580301008e1302f50436b945d9e5c6c0c8d21738", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-pending-criterion.md", - "state": "present", - "uses": [ - { - "check": "invalid-accepted-pending-criterion", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:8cc388259f047c5bed9f1c39ae5647b3c4e78889b6cf5e6803b836019c384fa2", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-satisfied-without-evidence.md", - "state": "present", - "uses": [ - { - "check": "invalid-accepted-satisfied-without-evidence", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:011aa18a7b88d82fc6b164f163dda938e59d1d57c040c7ed93e0e6aa61499f03", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-duplicate-composed-design-probe.md", - "state": "present", - "uses": [ - { - "check": "invalid-duplicate-composed-design-probe", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:5e619e5e89ec1f39f30152a626efb399503df7d060813d6f88c253f4d9aa7a7a", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-execution-history.md", - "state": "present", - "uses": [ - { - "check": "invalid-execution-history", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:9a104fb2730160b1966f6f676e7276649ab9fb3c099dd2ad8cbff5a57b6ba3b1", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-headless-accepted.md", - "state": "present", - "uses": [ - { - "check": "invalid-headless-accepted", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:d96a2009793bc2ad18c8aaae67e60df00d3f91cb78a9a950140cf7d015640ca7", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-incomplete-composed-design-review.md", - "state": "present", - "uses": [ - { - "check": "invalid-incomplete-composed-design-review", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:c96a4b777506b536f25c72867dc5decd6ba069cb304290631dab83a709546e29", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-missing-composed-design-applicability.md", - "state": "present", - "uses": [ - { - "check": "invalid-missing-composed-design-applicability", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:4fe7f1b78346674db605e0510103cb65221044e1334a239d548a40b96330ac50", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-missing-next.md", - "state": "present", - "uses": [ - { - "check": "invalid-missing-next", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:b80611bfeda96e9fcbdca6fb62ff14a0e54117e4a6445fb6172bac509af4d799", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-objective-partial.md", - "state": "present", - "uses": [ - { - "check": "invalid-objective-partial", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:53af1a7828676fc0f94814b4152129f33b0dc82026973fc6bae925a246388fef", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-three-state.md", - "state": "present", - "uses": [ - { - "check": "invalid-three-state", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:7625cd98c65e59ea66eaee3969fc5b73300a95faea98721173ca80917c2a320f", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-unreasoned-composed-design-exclusion.md", - "state": "present", - "uses": [ - { - "check": "invalid-unreasoned-composed-design-exclusion", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:a3601a27b5bbed0f24d22b1c93d4a4206f29b1cc120cbc2ae6b6e2995a7caba5", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-whitespace-composed-design-probe.md", - "state": "present", - "uses": [ - { - "check": "invalid-whitespace-composed-design-probe", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:e1198ac7c730cab63d7da022456f7f879c6259969254583c1729720b1cdb9fff", - "path": "evaluation/standards-effectiveness/fixtures/plans/invalid-whitespace-composed-design-reason.md", - "state": "present", - "uses": [ - { - "check": "invalid-whitespace-composed-design-reason", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:022d92646aa8a99dfb40a309b526e95b4043ce66e1a37ede5a055936b259ab7d", - "path": "evaluation/standards-effectiveness/fixtures/plans/valid-accepted.md", - "state": "present", - "uses": [ - { - "check": "valid-accepted-plan", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:4afe36413311b1739fe1914a87f5dcf3e52a9ba01a603f580737fcde2027ef79", - "path": "evaluation/standards-effectiveness/fixtures/plans/valid-active.md", - "state": "present", - "uses": [ - { - "check": "valid-active-plan", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:aa8d2e0bc92ba552064b05b0ee1b406798c6b98ffd08ec5c47278398fb676772", - "path": "evaluation/standards-effectiveness/fixtures/plans/valid-blocked.md", - "state": "present", - "uses": [ - { - "check": "valid-blocked-plan", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, - { - "digest": "sha256:07c2ef51116492aa967da016eab1fb80a63176f0ca6c1ae738d9f7a7150f1365", - "path": "evaluation/standards-effectiveness/fixtures/plans/valid-superseded.md", - "state": "present", - "uses": [ - { - "check": "valid-superseded-plan", - "role": "plan-contract", - "suite": "planning-consolidation" - } - ] - }, { "digest": "sha256:b9262f05f2939115f65e19bb3c7ecbccebe0fced3d309fa185bd764677279c3f", "path": "evaluation/standards-effectiveness/fixtures/policy-impact/duplicate-edge.toml", @@ -1486,7 +1253,7 @@ ] }, { - "digest": "sha256:fc176982992241069f3bbb40173fd7176e10d5c9fdc1373a16c88647819ad7c4", + "digest": "sha256:6e3e1564a723380f598330170edd64908434bf68d6841d16d9532e01d27abece", "path": "evaluation/standards-effectiveness/policy-impact-node-catalog.toml", "state": "present", "uses": [ @@ -1570,7 +1337,7 @@ ] }, { - "digest": "sha256:54580f09627ecc95abe7c006d184337b6eebddc964a4143b3fcaf44c04a59450", + "digest": "sha256:1cc93a33278acd12b175b4e4c3d250a1c14335380d52c1d800203ba033d95caf", "path": "evaluation/standards-effectiveness/policy-impact/topic.architecture.toml", "state": "present", "uses": [ @@ -1678,7 +1445,7 @@ ] }, { - "digest": "sha256:54c2deaa6b2de044cb3638c6d8d2418faed4e96d1b6a507a6258f0611ffa2e8a", + "digest": "sha256:16c6db3c28b5a12e03f77808329857a5150ead4e5304ebc2257803fa898c9a2e", "path": "evaluation/standards-effectiveness/policy-impact/workflow.commit.toml", "state": "present", "uses": [ @@ -1714,7 +1481,7 @@ ] }, { - "digest": "sha256:f7e78b6556ae2cbb571fb07f330f73776788031a9672dc5ff1bd96f6e402ccc6", + "digest": "sha256:ff2de65c862a98a81a06db952e5b584636919a00fb69c50ec43f95cf4052f8cf", "path": "evaluation/standards-effectiveness/policy-impact/workflow.planning.toml", "state": "present", "uses": [ @@ -2158,7 +1925,7 @@ ] }, { - "digest": "sha256:af8f30134a34385b211429c7d325b9f0c233839ec8d49aee03f882f67aa69ca5", + "digest": "sha256:9d0bf2a1aebee0f5c0c95ad4a7d4fcda73bc9f6889e7a3ed692b735956b36043", "path": "evaluation/standards-effectiveness/suite-registry.toml", "state": "present", "uses": [ @@ -2253,18 +2020,6 @@ } ] }, - { - "digest": "sha256:8c81ed8a896454155b6aab3836eca711a643eaad14972a7a21423b01bb2cc0a5", - "path": "evaluation/standards-effectiveness/suites/planning-consolidation.toml", - "state": "present", - "uses": [ - { - "check": "current-structure", - "role": "registered-policy-impact", - "suite": "policy-semantic-impact" - } - ] - }, { "digest": "sha256:8627a4c38122d45ebfe1dba5411b2903a96c8a779ec4f0366d0a3ab3f934b90e", "path": "evaluation/standards-effectiveness/suites/policy-semantic-impact.toml", @@ -2277,18 +2032,6 @@ } ] }, - { - "digest": "sha256:61760956e55a27d2333794a36514cdabf23ca2d73722a6f71c00fb7ffda53ea8", - "path": "evaluation/standards-effectiveness/suites/release-maintenance-policy.toml", - "state": "present", - "uses": [ - { - "check": "current-structure", - "role": "registered-policy-impact", - "suite": "policy-semantic-impact" - } - ] - }, { "digest": "sha256:7fea2ba620f744cee21fbd96edfff1fe2f88f43ce5d277a2edf4e0a3e979e9f7", "path": "evaluation/standards-effectiveness/suites/release-reference-closure.toml", @@ -7284,7 +7027,7 @@ ] }, { - "digest": "sha256:e56834537ad6ee2ef8a243141ef554c1cb24cfdc6b5b0d543e998892920a766b", + "digest": "sha256:cbaba5def21234f44c2d45e50fc60e202dfce4fbeb5bd313ace374a3f386e362", "path": "tools/standards_verifier/README.md", "state": "present", "uses": [ @@ -7330,7 +7073,7 @@ ] }, { - "digest": "sha256:4fd26bc3eba2945d3f9ca888a9a7eb02ac4e2dcca9527a578a4d934e25fcfab3", + "digest": "sha256:c9100c80a3b7fec7d5b108570a603f5506161d6dd99ecbaeb76cf87bf850657a", "path": "tools/standards_verifier/standards_verifier/checks/__init__.py", "state": "present", "uses": [ @@ -7467,18 +7210,6 @@ } ] }, - { - "digest": "sha256:c7266c0564b9ee02944fc4eb12d66cc20d604fd4ddb7f051ed77d01e9fe4466e", - "path": "tools/standards_verifier/standards_verifier/checks/plan_contract.py", - "state": "present", - "uses": [ - { - "check": "python-package-contract", - "role": "package-contract-input", - "suite": "a1c-public-cutover" - } - ] - }, { "digest": "sha256:e28442711d42d69bdb9348ec01923daefd49cec2be8850239c9489fb6cb71dc9", "path": "tools/standards_verifier/standards_verifier/checks/policy_impact.py", @@ -8054,11 +7785,6 @@ "role": "canonical-policy-impact", "suite": "policy-semantic-impact" }, - { - "check": "metadata-closure", - "role": "metadata", - "suite": "release-maintenance-policy" - }, { "check": "root-router-routes", "role": "link-target", @@ -8263,11 +7989,6 @@ "role": "canonical-policy-impact", "suite": "policy-semantic-impact" }, - { - "check": "metadata-closure", - "role": "metadata", - "suite": "release-maintenance-policy" - }, { "check": "root-router-routes", "role": "link-target", @@ -8375,11 +8096,6 @@ "role": "canonical-policy-impact", "suite": "policy-semantic-impact" }, - { - "check": "metadata-closure", - "role": "metadata", - "suite": "release-maintenance-policy" - }, { "check": "root-router-routes", "role": "link-target", @@ -8437,11 +8153,6 @@ "role": "canonical-policy-impact", "suite": "policy-semantic-impact" }, - { - "check": "metadata-closure", - "role": "metadata", - "suite": "release-maintenance-policy" - }, { "check": "root-router-routes", "role": "link-target", @@ -8499,11 +8210,6 @@ "role": "canonical-policy-impact", "suite": "policy-semantic-impact" }, - { - "check": "metadata-closure", - "role": "metadata", - "suite": "release-maintenance-policy" - }, { "check": "root-router-routes", "role": "link-target", @@ -9886,11 +9592,6 @@ "role": "canonical-policy-impact", "suite": "policy-semantic-impact" }, - { - "check": "metadata-closure", - "role": "metadata", - "suite": "release-maintenance-policy" - }, { "check": "legacy-index-destinations", "role": "target", @@ -10008,11 +9709,6 @@ "role": "canonical-policy-impact", "suite": "policy-semantic-impact" }, - { - "check": "metadata-closure", - "role": "metadata", - "suite": "release-maintenance-policy" - }, { "check": "root-router-routes", "role": "link-target", @@ -10264,11 +9960,6 @@ "role": "canonical-policy-impact", "suite": "policy-semantic-impact" }, - { - "check": "metadata-closure", - "role": "metadata", - "suite": "release-maintenance-policy" - }, { "check": "root-router-routes", "role": "link-target", @@ -10416,11 +10107,6 @@ "role": "canonical-policy-impact", "suite": "policy-semantic-impact" }, - { - "check": "metadata-closure", - "role": "metadata", - "suite": "release-maintenance-policy" - }, { "check": "root-router-routes", "role": "link-target", @@ -10483,11 +10169,6 @@ "role": "canonical-policy-impact", "suite": "policy-semantic-impact" }, - { - "check": "metadata-closure", - "role": "metadata", - "suite": "release-maintenance-policy" - }, { "check": "root-router-routes", "role": "link-target", @@ -10550,11 +10231,6 @@ "role": "canonical-policy-impact", "suite": "policy-semantic-impact" }, - { - "check": "metadata-closure", - "role": "metadata", - "suite": "release-maintenance-policy" - }, { "check": "root-router-routes", "role": "link-target", @@ -10589,11 +10265,11 @@ } ], "registry": { - "digest": "sha256:af8f30134a34385b211429c7d325b9f0c233839ec8d49aee03f882f67aa69ca5", + "digest": "sha256:9d0bf2a1aebee0f5c0c95ad4a7d4fcda73bc9f6889e7a3ed692b735956b36043", "path": "evaluation/standards-effectiveness/suite-registry.toml" }, "repository_index": { - "digest": "sha256:ae3843ae7d58b01dbbd6efb662286d52e4fc9c70f9c5e14bde04c0544d9b7d17", + "digest": "sha256:89a3057e43de98bf31d34407b70f744a5f96d1eaa3b45b9a63ce5084be447267", "uses": [ { "check": "python-package-contract", @@ -10664,14 +10340,6 @@ "path": "evaluation/standards-effectiveness/suites/release-reference-closure.toml", "requires": [] }, - { - "digest": "sha256:61760956e55a27d2333794a36514cdabf23ca2d73722a6f71c00fb7ffda53ea8", - "id": "release-maintenance-policy", - "path": "evaluation/standards-effectiveness/suites/release-maintenance-policy.toml", - "requires": [ - "release-reference-closure" - ] - }, { "digest": "sha256:63cca2ceac227aacccf33a964801a645bb4083719e5011a46a313308f2628026", "id": "s1-routing", @@ -10714,12 +10382,6 @@ "path": "evaluation/standards-effectiveness/suites/router-legacy-route-closure.toml", "requires": [] }, - { - "digest": "sha256:8c81ed8a896454155b6aab3836eca711a643eaad14972a7a21423b01bb2cc0a5", - "id": "planning-consolidation", - "path": "evaluation/standards-effectiveness/suites/planning-consolidation.toml", - "requires": [] - }, { "digest": "sha256:823c0b11b169e39ed02db8f64e70c8887932fa08143c7312ff270e4209518039", "id": "source-index-closures", diff --git a/evaluation/standards-effectiveness/policy-impact-node-catalog.toml b/evaluation/standards-effectiveness/policy-impact-node-catalog.toml index 602ab4f0..c68bb7a0 100644 --- a/evaluation/standards-effectiveness/policy-impact-node-catalog.toml +++ b/evaluation/standards-effectiveness/policy-impact-node-catalog.toml @@ -1,3 +1,487 @@ schema_version = 2 source_id = "standards.policy-impact-catalog" -nodes = [{ id = "prompts/full-codebase-standards-refactor.md", metadata = { artifact_kind = "prompt", authority = "projection", repository_path = "prompts/full-codebase-standards-refactor.md" } }, { id = "prompts/implement-plan.md", metadata = { artifact_kind = "prompt", authority = "projection", repository_path = "prompts/implement-plan.md" } }, { id = "prompts/planning.md", metadata = { artifact_kind = "prompt", authority = "projection", repository_path = "prompts/planning.md" } }, { id = "templates/PLAN-TEMPLATE.md", metadata = { artifact_kind = "template", authority = "projection", repository_path = "templates/PLAN-TEMPLATE.md" } }, { id = "evaluation/standards-effectiveness/verification-guide.md", metadata = { artifact_kind = "documentation", authority = "projection", repository_path = "evaluation/standards-effectiveness/verification-guide.md" } }, { id = "evaluation/standards-effectiveness/fixtures/planning/full-review-prompt-decisions.tsv", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "evaluation/standards-effectiveness/fixtures/planning/full-review-prompt-decisions.tsv" } }, { aliases = ["evaluation/standards-effectiveness/suites/planning-consolidation.toml"], id = "planning-consolidation", metadata = { artifact_kind = "enforcement-suite", authority = "evidence", repository_path = "evaluation/standards-effectiveness/suites/planning-consolidation.toml", suite_id = "planning-consolidation" } }, { aliases = ["evaluation/standards-effectiveness/suites/policy-semantic-impact.toml"], id = "policy-semantic-impact", metadata = { artifact_kind = "enforcement-suite", authority = "evidence", repository_path = "evaluation/standards-effectiveness/suites/policy-semantic-impact.toml", suite_id = "policy-semantic-impact" } }, { aliases = ["evaluation/standards-effectiveness/suites/s1-routing.toml"], id = "s1-routing", metadata = { artifact_kind = "enforcement-suite", authority = "evidence", repository_path = "evaluation/standards-effectiveness/suites/s1-routing.toml", suite_id = "s1-routing" } }, { aliases = ["evaluation/standards-effectiveness/suites/release-maintenance-policy.toml"], id = "release-maintenance-policy", metadata = { artifact_kind = "enforcement-suite", authority = "evidence", repository_path = "evaluation/standards-effectiveness/suites/release-maintenance-policy.toml", suite_id = "release-maintenance-policy" } }, { id = "evaluation/standards-effectiveness/router-projection.toml", metadata = { artifact_kind = "routing-projection", authority = "projection", repository_path = "evaluation/standards-effectiveness/router-projection.toml" } }, { id = "evaluation/standards-effectiveness/fixtures/routing/generated-contract-decisions.tsv", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "evaluation/standards-effectiveness/fixtures/routing/generated-contract-decisions.tsv" } }, { id = "evaluation/standards-effectiveness/fixtures/routing/generated-contract-routes.tsv", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "evaluation/standards-effectiveness/fixtures/routing/generated-contract-routes.tsv" } }, { id = "evaluation/standards-effectiveness/fixtures/planning/systemic-finding-missing-audit.md", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "evaluation/standards-effectiveness/fixtures/planning/systemic-finding-missing-audit.md" } }, { aliases = ["evaluation/standards-effectiveness/suites/standards-recovery-routing.toml"], id = "standards-recovery-routing", metadata = { artifact_kind = "enforcement-suite", authority = "evidence", repository_path = "evaluation/standards-effectiveness/suites/standards-recovery-routing.toml", suite_id = "standards-recovery-routing" } }, { aliases = ["evaluation/standards-effectiveness/suites/a1c-contract-conformance.toml"], id = "generated-contract-semantic-conformance", metadata = { artifact_kind = "enforcement-suite", authority = "evidence", repository_path = "evaluation/standards-effectiveness/suites/a1c-contract-conformance.toml", suite_id = "generated-contract-semantic-conformance" } }, { aliases = ["evaluation/standards-effectiveness/suites/a1c-public-cutover.toml"], id = "a1c-public-cutover", metadata = { artifact_kind = "enforcement-suite", authority = "evidence", repository_path = "evaluation/standards-effectiveness/suites/a1c-public-cutover.toml", suite_id = "a1c-public-cutover" } }, { id = "docs/archive/plans/standards-engine-standards-recovery/reports/json-schema-instance-equality-reproduction.md", metadata = { artifact_kind = "documentation", authority = "evidence", repository_path = "docs/archive/plans/standards-engine-standards-recovery/reports/json-schema-instance-equality-reproduction.md" } }, { id = "docs/archive/plans/standards-engine-standards-recovery/reports/historical-a1-repair-reproductions.md", metadata = { artifact_kind = "documentation", authority = "evidence", repository_path = "docs/archive/plans/standards-engine-standards-recovery/reports/historical-a1-repair-reproductions.md" } }, { id = "tools/standards_engine/contracts/a1-contract.schema.json", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_engine/contracts/a1-contract.schema.json" } }, { id = "tools/standards_contracts/standards_contracts/projection.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_contracts/standards_contracts/projection.py" } }, { id = "tools/standards_contracts/standards_contracts/compiler.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_contracts/standards_contracts/compiler.py" } }, { id = "tools/standards_contracts/standards_contracts/runtime.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_contracts/standards_contracts/runtime.py" } }, { id = "tools/standards_identity/standards_identity/encoding.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_identity/standards_identity/encoding.py" } }, { id = "tools/standards_engine/standards_engine/_generated_contract.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_engine/standards_engine/_generated_contract.py" } }, { id = "tools/standards_engine/standards_engine/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_engine/standards_engine/__init__.py" } }, { id = "tools/standards_engine/standards_engine/tools.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_engine/standards_engine/tools.py" } }, { id = "tools/standards_engine/standards_engine/engine.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_engine/standards_engine/engine.py" } }, { id = "tools/standards_snapshots/standards_snapshots/store.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_snapshots/standards_snapshots/store.py" } }, { id = "tools/standards_snapshots/standards_snapshots/module.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_snapshots/standards_snapshots/module.py" } }, { id = "tools/standards_applicability/standards_applicability/core.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_applicability/standards_applicability/core.py" } }, { id = "tools/standards_analysis/standards_analysis/kernel.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_analysis/standards_analysis/kernel.py" } }, { id = "tools/standards_analysis/standards_analysis/state.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_analysis/standards_analysis/state.py" } }, { id = "tools/standards_analysis/standards_analysis/trust.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_analysis/standards_analysis/trust.py" } }, { id = "evaluation/standards-effectiveness/fixtures/contracts/a1c/python-package-imports.toml", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "evaluation/standards-effectiveness/fixtures/contracts/a1c/python-package-imports.toml" } }, { id = "tools/graph_engine/graph_engine/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/graph_engine/graph_engine/__init__.py" } }, { id = "tools/graph_engine/pyproject.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/graph_engine/pyproject.toml" } }, { id = "tools/query_edges.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/query_edges.py" } }, { id = "tools/standards_analysis/pyproject.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/pyproject.toml" } }, { id = "tools/standards_analysis/standards_analysis/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/standards_analysis/__init__.py" } }, { id = "tools/standards_applicability/pyproject.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_applicability/pyproject.toml" } }, { id = "tools/standards_applicability/standards_applicability/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_applicability/standards_applicability/__init__.py" } }, { id = "tools/standards_snapshots/README.md", metadata = { artifact_kind = "documentation", authority = "projection", repository_path = "tools/standards_snapshots/README.md" } }, { id = "tools/repository_git/pyproject.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/repository_git/pyproject.toml" } }, { id = "tools/repository_git/repository_git/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/repository_git/repository_git/__init__.py" } }, { id = "tools/standards_snapshots/pyproject.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_snapshots/pyproject.toml" } }, { id = "tools/standards_snapshots/standards_snapshots/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_snapshots/standards_snapshots/__init__.py" } }, { id = "tools/repository_git/repository_git/repository.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/repository_git/repository_git/repository.py" } }, { id = "tools/repository_git/tests/test_repository.py", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/repository_git/tests/test_repository.py" } }, { id = "tools/standards_snapshots/tests/test_store.py", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_snapshots/tests/test_store.py" } }, { id = "tools/standards_snapshots/tests/test_module.py", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_snapshots/tests/test_module.py" } }, { id = "tools/standards_contracts/pyproject.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_contracts/pyproject.toml" } }, { id = "tools/standards_contracts/standards_contracts/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_contracts/standards_contracts/__init__.py" } }, { id = "tools/standards_engine/contracts/README.md", metadata = { artifact_kind = "documentation", authority = "projection", repository_path = "tools/standards_engine/contracts/README.md" } }, { id = "tools/standards_engine/contracts/a1-interface.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_engine/contracts/a1-interface.toml" } }, { id = "tools/standards_engine/contracts/examples/a1-examples.json", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_engine/contracts/examples/a1-examples.json" } }, { id = "tools/standards_engine/contracts/generated/agent-tools.json", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_engine/contracts/generated/agent-tools.json" } }, { id = "tools/standards_engine/contracts/identity-fixtures.json", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_engine/contracts/identity-fixtures.json" } }, { id = "tools/standards_engine/pyproject.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_engine/pyproject.toml" } }, { id = "tools/standards_engine/standards_engine/rendering.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_engine/standards_engine/rendering.py" } }, { id = "tools/standards_graph/pyproject.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_graph/pyproject.toml" } }, { id = "tools/standards_graph/standards_graph/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_graph/standards_graph/__init__.py" } }, { id = "tools/standards_identity/README.md", metadata = { artifact_kind = "documentation", authority = "projection", repository_path = "tools/standards_identity/README.md" } }, { id = "tools/standards_identity/pyproject.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_identity/pyproject.toml" } }, { id = "tools/standards_identity/standards_identity/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_identity/standards_identity/__init__.py" } }, { id = "tools/standards_metadata/pyproject.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_metadata/pyproject.toml" } }, { id = "tools/standards_metadata/standards_metadata/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_metadata/standards_metadata/__init__.py" } }, { id = "tools/standards_policy_impact/pyproject.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_policy_impact/pyproject.toml" } }, { id = "tools/standards_policy_impact/standards_policy_impact/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_policy_impact/standards_policy_impact/__init__.py" } }, { id = "tools/standards_verifier/pyproject.toml", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/pyproject.toml" } }, { id = "tools/standards_verifier/standards_verifier/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/__init__.py" } }, { id = "tools/standards_verifier/standards_verifier/checks/python_package_contract.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/python_package_contract.py" } }, { id = "tools/standards_verifier/standards_verifier/entrypoints.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/entrypoints.py" } }, { id = "tools/standards_verifier/standards_verifier/git_reachability.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/git_reachability.py" } }, { id = "tools/standards_verifier/standards_verifier/python_packages.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/python_packages.py" } }, { id = "tools/standards_verifier/tests/test_python_package_contract.py", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_verifier/tests/test_python_package_contract.py" } }, { id = "tools/standards_verifier/verify.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/verify.py" } }, { id = "tools/verify_git_reachability.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/verify_git_reachability.py" } }, { id = "tools/standards_analysis/standards_analysis/keys.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/standards_analysis/keys.py" } }, { id = "tools/standards_analysis/standards_analysis/coverage.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/standards_analysis/coverage.py" } }, { id = "tools/standards_analysis/standards_analysis/impact.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/standards_analysis/impact.py" } }, { id = "tools/standards_analysis/standards_analysis/obligations.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/standards_analysis/obligations.py" } }, { id = "tools/standards_analysis/standards_analysis/reading.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/standards_analysis/reading.py" } }, { id = "tools/standards_metadata/standards_metadata/policy_units.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_metadata/standards_metadata/policy_units.py" } }, { id = "tools/standards_metadata/standards_metadata/suite_inputs.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_metadata/standards_metadata/suite_inputs.py" } }, { id = "tools/standards_analysis/tests/test_coverage.py", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_analysis/tests/test_coverage.py" } }, { id = "tools/standards_engine/tests/test_analysis.py", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_engine/tests/test_analysis.py" } }, { id = "tools/standards_verifier/standards_verifier/policy_impact.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/policy_impact.py" } }, { id = "tools/standards_verifier/tests/test_policy_impact.py", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_verifier/tests/test_policy_impact.py" } }, { id = "tools/graph_engine/graph_engine/projection.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/graph_engine/graph_engine/projection.py" } }, { id = "tools/graph_engine/graph_engine/registry.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/graph_engine/graph_engine/registry.py" } }, { id = "tools/standards_analysis/standards_analysis/routing.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_analysis/standards_analysis/routing.py" } }, { id = "tools/standards_snapshots/standards_snapshots/errors.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_snapshots/standards_snapshots/errors.py" } }, { id = "tools/standards_snapshots/standards_snapshots/model.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_snapshots/standards_snapshots/model.py" } }, { id = "tools/repository_git/repository_git/model.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/repository_git/repository_git/model.py" } }, { id = "tools/standards_metadata/standards_metadata/source.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_metadata/standards_metadata/source.py" } }, { id = "tools/repository_git/repository_git/errors.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/repository_git/repository_git/errors.py" } }, { id = "tools/standards_metadata/standards_metadata/corpus.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_metadata/standards_metadata/corpus.py" } }, { id = "tools/standards_metadata/standards_metadata/loader.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_metadata/standards_metadata/loader.py" } }, { id = "tools/standards_contracts/standards_contracts/errors.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_contracts/standards_contracts/errors.py" } }, { id = "tools/standards_contracts/standards_contracts/model.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_contracts/standards_contracts/model.py" } }, { id = "tools/standards_graph/standards_graph/repository.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_graph/standards_graph/repository.py" } }, { id = "tools/standards_identity/standards_identity/errors.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_identity/standards_identity/errors.py" } }, { id = "tools/standards_policy_impact/standards_policy_impact/compiler.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_policy_impact/standards_policy_impact/compiler.py" } }, { id = "tools/standards_verifier/standards_verifier/checks/__init__.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_verifier/standards_verifier/checks/__init__.py" } }, { id = "tools/standards_verifier/standards_verifier/checks/contract_projection.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_verifier/standards_verifier/checks/contract_projection.py" } }, { id = "tools/standards_verifier/standards_verifier/repository_graph.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_verifier/standards_verifier/repository_graph.py" } }, { id = "tools/standards_verifier/standards_verifier/suite_inputs.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/suite_inputs.py" } }, { id = "tools/standards_verifier/standards_verifier/checks/markdown_link_coverage.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/markdown_link_coverage.py" } }, { id = "tools/standards_verifier/standards_verifier/checks/markdown_links.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/markdown_links.py" } }, { id = "tools/standards_verifier/standards_verifier/checks/metadata.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/metadata.py" } }, { id = "tools/standards_verifier/standards_verifier/checks/metadata_route.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/metadata_route.py" } }, { id = "tools/standards_verifier/standards_verifier/checks/policy_impact.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/policy_impact.py" } }, { id = "tools/standards_verifier/standards_verifier/checks/table.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/table.py" } }, { id = "tools/standards_verifier/standards_verifier/model.py", metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/model.py" } }, { id = "tools/standards_analysis/standards_analysis/coverage_publication.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_analysis/standards_analysis/coverage_publication.py" } }, { id = "tools/standards_engine/tests/test_coverage_publication.py", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_engine/tests/test_coverage_publication.py" } }, { id = "tools/standards_engine/standards_engine/evidence_maintenance.py", metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_engine/standards_engine/evidence_maintenance.py" } }, { id = "tools/standards_engine/tests/test_evidence_maintenance.py", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_engine/tests/test_evidence_maintenance.py" } }, { id = "consumer.engine.authoring-guide", metadata = { artifact_kind = "documentation", authority = "projection", repository_path = ".agents/skills/standards-engine/references/authoring.md" } }, { id = "consumer.analysis.routing-tests", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_analysis/tests/test_routing.py" } }, { id = "consumer.engine.navigation-tests", metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_engine/tests/test_navigation.py" } }] + +[[nodes]] +id = "prompts/full-codebase-standards-refactor.md" +metadata = { artifact_kind = "prompt", authority = "projection", repository_path = "prompts/full-codebase-standards-refactor.md" } + +[[nodes]] +id = "prompts/implement-plan.md" +metadata = { artifact_kind = "prompt", authority = "projection", repository_path = "prompts/implement-plan.md" } + +[[nodes]] +id = "prompts/planning.md" +metadata = { artifact_kind = "prompt", authority = "projection", repository_path = "prompts/planning.md" } + +[[nodes]] +id = "templates/PLAN-TEMPLATE.md" +metadata = { artifact_kind = "template", authority = "projection", repository_path = "templates/PLAN-TEMPLATE.md" } + +[[nodes]] +id = "evaluation/standards-effectiveness/verification-guide.md" +metadata = { artifact_kind = "documentation", authority = "projection", repository_path = "evaluation/standards-effectiveness/verification-guide.md" } + +[[nodes]] +id = "evaluation/standards-effectiveness/fixtures/planning/full-review-prompt-decisions.tsv" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "evaluation/standards-effectiveness/fixtures/planning/full-review-prompt-decisions.tsv" } + +[[nodes]] +aliases = ["evaluation/standards-effectiveness/suites/policy-semantic-impact.toml"] +id = "policy-semantic-impact" +metadata = { artifact_kind = "enforcement-suite", authority = "evidence", repository_path = "evaluation/standards-effectiveness/suites/policy-semantic-impact.toml", suite_id = "policy-semantic-impact" } + +[[nodes]] +aliases = ["evaluation/standards-effectiveness/suites/s1-routing.toml"] +id = "s1-routing" +metadata = { artifact_kind = "enforcement-suite", authority = "evidence", repository_path = "evaluation/standards-effectiveness/suites/s1-routing.toml", suite_id = "s1-routing" } + +[[nodes]] +id = "evaluation/standards-effectiveness/router-projection.toml" +metadata = { artifact_kind = "routing-projection", authority = "projection", repository_path = "evaluation/standards-effectiveness/router-projection.toml" } + +[[nodes]] +id = "evaluation/standards-effectiveness/fixtures/routing/generated-contract-decisions.tsv" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "evaluation/standards-effectiveness/fixtures/routing/generated-contract-decisions.tsv" } + +[[nodes]] +id = "evaluation/standards-effectiveness/fixtures/routing/generated-contract-routes.tsv" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "evaluation/standards-effectiveness/fixtures/routing/generated-contract-routes.tsv" } + +[[nodes]] +id = "evaluation/standards-effectiveness/fixtures/planning/systemic-finding-missing-audit.md" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "evaluation/standards-effectiveness/fixtures/planning/systemic-finding-missing-audit.md" } + +[[nodes]] +aliases = ["evaluation/standards-effectiveness/suites/standards-recovery-routing.toml"] +id = "standards-recovery-routing" +metadata = { artifact_kind = "enforcement-suite", authority = "evidence", repository_path = "evaluation/standards-effectiveness/suites/standards-recovery-routing.toml", suite_id = "standards-recovery-routing" } + +[[nodes]] +aliases = ["evaluation/standards-effectiveness/suites/a1c-contract-conformance.toml"] +id = "generated-contract-semantic-conformance" +metadata = { artifact_kind = "enforcement-suite", authority = "evidence", repository_path = "evaluation/standards-effectiveness/suites/a1c-contract-conformance.toml", suite_id = "generated-contract-semantic-conformance" } + +[[nodes]] +aliases = ["evaluation/standards-effectiveness/suites/a1c-public-cutover.toml"] +id = "a1c-public-cutover" +metadata = { artifact_kind = "enforcement-suite", authority = "evidence", repository_path = "evaluation/standards-effectiveness/suites/a1c-public-cutover.toml", suite_id = "a1c-public-cutover" } + +[[nodes]] +id = "docs/archive/plans/standards-engine-standards-recovery/reports/json-schema-instance-equality-reproduction.md" +metadata = { artifact_kind = "documentation", authority = "evidence", repository_path = "docs/archive/plans/standards-engine-standards-recovery/reports/json-schema-instance-equality-reproduction.md" } + +[[nodes]] +id = "docs/archive/plans/standards-engine-standards-recovery/reports/historical-a1-repair-reproductions.md" +metadata = { artifact_kind = "documentation", authority = "evidence", repository_path = "docs/archive/plans/standards-engine-standards-recovery/reports/historical-a1-repair-reproductions.md" } + +[[nodes]] +id = "tools/standards_engine/contracts/a1-contract.schema.json" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_engine/contracts/a1-contract.schema.json" } + +[[nodes]] +id = "tools/standards_contracts/standards_contracts/projection.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_contracts/standards_contracts/projection.py" } + +[[nodes]] +id = "tools/standards_contracts/standards_contracts/compiler.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_contracts/standards_contracts/compiler.py" } + +[[nodes]] +id = "tools/standards_contracts/standards_contracts/runtime.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_contracts/standards_contracts/runtime.py" } + +[[nodes]] +id = "tools/standards_identity/standards_identity/encoding.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_identity/standards_identity/encoding.py" } + +[[nodes]] +id = "tools/standards_engine/standards_engine/_generated_contract.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_engine/standards_engine/_generated_contract.py" } + +[[nodes]] +id = "tools/standards_engine/standards_engine/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_engine/standards_engine/__init__.py" } + +[[nodes]] +id = "tools/standards_engine/standards_engine/tools.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_engine/standards_engine/tools.py" } + +[[nodes]] +id = "tools/standards_engine/standards_engine/engine.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_engine/standards_engine/engine.py" } + +[[nodes]] +id = "tools/standards_snapshots/standards_snapshots/store.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_snapshots/standards_snapshots/store.py" } + +[[nodes]] +id = "tools/standards_snapshots/standards_snapshots/module.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_snapshots/standards_snapshots/module.py" } + +[[nodes]] +id = "tools/standards_applicability/standards_applicability/core.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_applicability/standards_applicability/core.py" } + +[[nodes]] +id = "tools/standards_analysis/standards_analysis/kernel.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_analysis/standards_analysis/kernel.py" } + +[[nodes]] +id = "tools/standards_analysis/standards_analysis/state.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_analysis/standards_analysis/state.py" } + +[[nodes]] +id = "tools/standards_analysis/standards_analysis/trust.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_analysis/standards_analysis/trust.py" } + +[[nodes]] +id = "evaluation/standards-effectiveness/fixtures/contracts/a1c/python-package-imports.toml" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "evaluation/standards-effectiveness/fixtures/contracts/a1c/python-package-imports.toml" } + +[[nodes]] +id = "tools/graph_engine/graph_engine/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/graph_engine/graph_engine/__init__.py" } + +[[nodes]] +id = "tools/graph_engine/pyproject.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/graph_engine/pyproject.toml" } + +[[nodes]] +id = "tools/query_edges.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/query_edges.py" } + +[[nodes]] +id = "tools/standards_analysis/pyproject.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/pyproject.toml" } + +[[nodes]] +id = "tools/standards_analysis/standards_analysis/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/standards_analysis/__init__.py" } + +[[nodes]] +id = "tools/standards_applicability/pyproject.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_applicability/pyproject.toml" } + +[[nodes]] +id = "tools/standards_applicability/standards_applicability/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_applicability/standards_applicability/__init__.py" } + +[[nodes]] +id = "tools/standards_snapshots/README.md" +metadata = { artifact_kind = "documentation", authority = "projection", repository_path = "tools/standards_snapshots/README.md" } + +[[nodes]] +id = "tools/repository_git/pyproject.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/repository_git/pyproject.toml" } + +[[nodes]] +id = "tools/repository_git/repository_git/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/repository_git/repository_git/__init__.py" } + +[[nodes]] +id = "tools/standards_snapshots/pyproject.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_snapshots/pyproject.toml" } + +[[nodes]] +id = "tools/standards_snapshots/standards_snapshots/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_snapshots/standards_snapshots/__init__.py" } + +[[nodes]] +id = "tools/repository_git/repository_git/repository.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/repository_git/repository_git/repository.py" } + +[[nodes]] +id = "tools/repository_git/tests/test_repository.py" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/repository_git/tests/test_repository.py" } + +[[nodes]] +id = "tools/standards_snapshots/tests/test_store.py" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_snapshots/tests/test_store.py" } + +[[nodes]] +id = "tools/standards_snapshots/tests/test_module.py" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_snapshots/tests/test_module.py" } + +[[nodes]] +id = "tools/standards_contracts/pyproject.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_contracts/pyproject.toml" } + +[[nodes]] +id = "tools/standards_contracts/standards_contracts/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_contracts/standards_contracts/__init__.py" } + +[[nodes]] +id = "tools/standards_engine/contracts/README.md" +metadata = { artifact_kind = "documentation", authority = "projection", repository_path = "tools/standards_engine/contracts/README.md" } + +[[nodes]] +id = "tools/standards_engine/contracts/a1-interface.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_engine/contracts/a1-interface.toml" } + +[[nodes]] +id = "tools/standards_engine/contracts/examples/a1-examples.json" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_engine/contracts/examples/a1-examples.json" } + +[[nodes]] +id = "tools/standards_engine/contracts/generated/agent-tools.json" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_engine/contracts/generated/agent-tools.json" } + +[[nodes]] +id = "tools/standards_engine/contracts/identity-fixtures.json" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_engine/contracts/identity-fixtures.json" } + +[[nodes]] +id = "tools/standards_engine/pyproject.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_engine/pyproject.toml" } + +[[nodes]] +id = "tools/standards_engine/standards_engine/rendering.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_engine/standards_engine/rendering.py" } + +[[nodes]] +id = "tools/standards_graph/pyproject.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_graph/pyproject.toml" } + +[[nodes]] +id = "tools/standards_graph/standards_graph/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_graph/standards_graph/__init__.py" } + +[[nodes]] +id = "tools/standards_identity/README.md" +metadata = { artifact_kind = "documentation", authority = "projection", repository_path = "tools/standards_identity/README.md" } + +[[nodes]] +id = "tools/standards_identity/pyproject.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_identity/pyproject.toml" } + +[[nodes]] +id = "tools/standards_identity/standards_identity/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_identity/standards_identity/__init__.py" } + +[[nodes]] +id = "tools/standards_metadata/pyproject.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_metadata/pyproject.toml" } + +[[nodes]] +id = "tools/standards_metadata/standards_metadata/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_metadata/standards_metadata/__init__.py" } + +[[nodes]] +id = "tools/standards_policy_impact/pyproject.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_policy_impact/pyproject.toml" } + +[[nodes]] +id = "tools/standards_policy_impact/standards_policy_impact/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_policy_impact/standards_policy_impact/__init__.py" } + +[[nodes]] +id = "tools/standards_verifier/pyproject.toml" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/pyproject.toml" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/__init__.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/checks/python_package_contract.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/python_package_contract.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/entrypoints.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/entrypoints.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/git_reachability.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/git_reachability.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/python_packages.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/python_packages.py" } + +[[nodes]] +id = "tools/standards_verifier/tests/test_python_package_contract.py" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_verifier/tests/test_python_package_contract.py" } + +[[nodes]] +id = "tools/standards_verifier/verify.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/verify.py" } + +[[nodes]] +id = "tools/verify_git_reachability.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/verify_git_reachability.py" } + +[[nodes]] +id = "tools/standards_analysis/standards_analysis/keys.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/standards_analysis/keys.py" } + +[[nodes]] +id = "tools/standards_analysis/standards_analysis/coverage.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/standards_analysis/coverage.py" } + +[[nodes]] +id = "tools/standards_analysis/standards_analysis/impact.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/standards_analysis/impact.py" } + +[[nodes]] +id = "tools/standards_analysis/standards_analysis/obligations.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/standards_analysis/obligations.py" } + +[[nodes]] +id = "tools/standards_analysis/standards_analysis/reading.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_analysis/standards_analysis/reading.py" } + +[[nodes]] +id = "tools/standards_metadata/standards_metadata/policy_units.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_metadata/standards_metadata/policy_units.py" } + +[[nodes]] +id = "tools/standards_metadata/standards_metadata/suite_inputs.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_metadata/standards_metadata/suite_inputs.py" } + +[[nodes]] +id = "tools/standards_analysis/tests/test_coverage.py" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_analysis/tests/test_coverage.py" } + +[[nodes]] +id = "tools/standards_engine/tests/test_analysis.py" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_engine/tests/test_analysis.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/policy_impact.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/policy_impact.py" } + +[[nodes]] +id = "tools/standards_verifier/tests/test_policy_impact.py" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_verifier/tests/test_policy_impact.py" } + +[[nodes]] +id = "tools/graph_engine/graph_engine/projection.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/graph_engine/graph_engine/projection.py" } + +[[nodes]] +id = "tools/graph_engine/graph_engine/registry.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/graph_engine/graph_engine/registry.py" } + +[[nodes]] +id = "tools/standards_analysis/standards_analysis/routing.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_analysis/standards_analysis/routing.py" } + +[[nodes]] +id = "tools/standards_snapshots/standards_snapshots/errors.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_snapshots/standards_snapshots/errors.py" } + +[[nodes]] +id = "tools/standards_snapshots/standards_snapshots/model.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_snapshots/standards_snapshots/model.py" } + +[[nodes]] +id = "tools/repository_git/repository_git/model.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/repository_git/repository_git/model.py" } + +[[nodes]] +id = "tools/standards_metadata/standards_metadata/source.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_metadata/standards_metadata/source.py" } + +[[nodes]] +id = "tools/repository_git/repository_git/errors.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/repository_git/repository_git/errors.py" } + +[[nodes]] +id = "tools/standards_metadata/standards_metadata/corpus.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_metadata/standards_metadata/corpus.py" } + +[[nodes]] +id = "tools/standards_metadata/standards_metadata/loader.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_metadata/standards_metadata/loader.py" } + +[[nodes]] +id = "tools/standards_contracts/standards_contracts/errors.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_contracts/standards_contracts/errors.py" } + +[[nodes]] +id = "tools/standards_contracts/standards_contracts/model.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_contracts/standards_contracts/model.py" } + +[[nodes]] +id = "tools/standards_graph/standards_graph/repository.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_graph/standards_graph/repository.py" } + +[[nodes]] +id = "tools/standards_identity/standards_identity/errors.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_identity/standards_identity/errors.py" } + +[[nodes]] +id = "tools/standards_policy_impact/standards_policy_impact/compiler.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_policy_impact/standards_policy_impact/compiler.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/checks/__init__.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_verifier/standards_verifier/checks/__init__.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/checks/contract_projection.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_verifier/standards_verifier/checks/contract_projection.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/repository_graph.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_verifier/standards_verifier/repository_graph.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/suite_inputs.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/suite_inputs.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/checks/markdown_link_coverage.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/markdown_link_coverage.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/checks/markdown_links.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/markdown_links.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/checks/metadata.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/metadata.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/checks/metadata_route.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/metadata_route.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/checks/policy_impact.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/policy_impact.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/checks/table.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/checks/table.py" } + +[[nodes]] +id = "tools/standards_verifier/standards_verifier/model.py" +metadata = { artifact_kind = "implementation-artifact", authority = "projection", repository_path = "tools/standards_verifier/standards_verifier/model.py" } + +[[nodes]] +id = "tools/standards_analysis/standards_analysis/coverage_publication.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_analysis/standards_analysis/coverage_publication.py" } + +[[nodes]] +id = "tools/standards_engine/tests/test_coverage_publication.py" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_engine/tests/test_coverage_publication.py" } + +[[nodes]] +id = "tools/standards_engine/standards_engine/evidence_maintenance.py" +metadata = { artifact_kind = "implementation-artifact", authority = "evidence", repository_path = "tools/standards_engine/standards_engine/evidence_maintenance.py" } + +[[nodes]] +id = "tools/standards_engine/tests/test_evidence_maintenance.py" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_engine/tests/test_evidence_maintenance.py" } + +[[nodes]] +id = "consumer.engine.authoring-guide" +metadata = { artifact_kind = "documentation", authority = "projection", repository_path = ".agents/skills/standards-engine/references/authoring.md" } + +[[nodes]] +id = "consumer.analysis.routing-tests" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_analysis/tests/test_routing.py" } + +[[nodes]] +id = "consumer.engine.navigation-tests" +metadata = { artifact_kind = "fixture", authority = "evidence", repository_path = "tools/standards_engine/tests/test_navigation.py" } diff --git a/evaluation/standards-effectiveness/policy-impact/topic.architecture.toml b/evaluation/standards-effectiveness/policy-impact/topic.architecture.toml index bb6d3b55..a414546f 100644 --- a/evaluation/standards-effectiveness/policy-impact/topic.architecture.toml +++ b/evaluation/standards-effectiveness/policy-impact/topic.architecture.toml @@ -1,14 +1,6 @@ schema_version = 2 owner = "topic.architecture" -[[relationships]] -source = "topic.architecture.composed-design-admission" -consumer = "planning-consolidation" -relation = "enforcement-suite-projection" -applicability = { operator = "always" } -evidence_owner = "suite:planning-consolidation" -rationale = "This suite checks the current structural projection associated with the policy. Its declared checks do not establish semantic completeness or consumer behavior." - [[relationships]] source = "topic.architecture.authority-scope-admission" consumer = "profile.application.library" diff --git a/evaluation/standards-effectiveness/policy-impact/workflow.commit.toml b/evaluation/standards-effectiveness/policy-impact/workflow.commit.toml index 14ff5291..fcf87c84 100644 --- a/evaluation/standards-effectiveness/policy-impact/workflow.commit.toml +++ b/evaluation/standards-effectiveness/policy-impact/workflow.commit.toml @@ -96,11 +96,3 @@ relation = "documentation-projection" applicability = { operator = "always" } evidence_owner = "review:consumer" rationale = "The standards-effectiveness README documents the registered Commit suite's branch, worktree, and commit-reachability coverage. Review binds this consumer and relationship; it requires substantive evidence before certification." - -[[relationships]] -source = "workflow.commit.per-commit-boundary" -consumer = "planning-consolidation" -relation = "enforcement-suite-projection" -applicability = { operator = "always" } -evidence_owner = "suite:planning-consolidation" -rationale = "This suite checks the current structural projection associated with the policy. Its declared checks do not establish semantic completeness or consumer behavior." diff --git a/evaluation/standards-effectiveness/policy-impact/workflow.planning.toml b/evaluation/standards-effectiveness/policy-impact/workflow.planning.toml index 63a02339..fa13109c 100644 --- a/evaluation/standards-effectiveness/policy-impact/workflow.planning.toml +++ b/evaluation/standards-effectiveness/policy-impact/workflow.planning.toml @@ -9,22 +9,6 @@ applicability = { operator = "always" } evidence_owner = "review:consumer" rationale = "Fixture records the analysis-only full-review prompt's Router and Planning delegation decisions. Review binds this consumer and relationship; it requires substantive evidence before certification." -[[relationships]] -source = "workflow.planning.active-plan-fields" -consumer = "planning-consolidation" -relation = "enforcement-suite-projection" -applicability = { operator = "always" } -evidence_owner = "suite:planning-consolidation" -rationale = "This suite checks the current structural projection associated with the policy. Its declared checks do not establish semantic completeness or consumer behavior." - -[[relationships]] -source = "workflow.planning.lifecycle-authority" -consumer = "planning-consolidation" -relation = "enforcement-suite-projection" -applicability = { operator = "always" } -evidence_owner = "suite:planning-consolidation" -rationale = "The suite's plan_contract checks enforce valid plan status vocabulary, Accepted evidence and unfinished-state constraints; discovery does not add a lifecycle state." - [[relationships]] source = "workflow.planning.projection-completeness" consumer = "policy-semantic-impact" diff --git a/evaluation/standards-effectiveness/suite-registry.toml b/evaluation/standards-effectiveness/suite-registry.toml index 80c2ec3d..3d6121f0 100644 --- a/evaluation/standards-effectiveness/suite-registry.toml +++ b/evaluation/standards-effectiveness/suite-registry.toml @@ -50,11 +50,6 @@ id = "release-reference-closure" path = "evaluation/standards-effectiveness/suites/release-reference-closure.toml" requires = [] -[[suites]] -id = "release-maintenance-policy" -path = "evaluation/standards-effectiveness/suites/release-maintenance-policy.toml" -requires = ["release-reference-closure"] - [[suites]] id = "s1-routing" path = "evaluation/standards-effectiveness/suites/s1-routing.toml" @@ -90,11 +85,6 @@ id = "router-legacy-route-closure" path = "evaluation/standards-effectiveness/suites/router-legacy-route-closure.toml" requires = [] -[[suites]] -id = "planning-consolidation" -path = "evaluation/standards-effectiveness/suites/planning-consolidation.toml" -requires = [] - [[suites]] id = "source-index-closures" path = "evaluation/standards-effectiveness/suites/source-index-closures.toml" diff --git a/evaluation/standards-effectiveness/suites/planning-consolidation.toml b/evaluation/standards-effectiveness/suites/planning-consolidation.toml deleted file mode 100644 index f2debc32..00000000 --- a/evaluation/standards-effectiveness/suites/planning-consolidation.toml +++ /dev/null @@ -1,133 +0,0 @@ -schema_version = 1 -id = "planning-consolidation" -owner = "workflow.planning" -description = "Checks structured plan lifecycle records. Does not certify prose quality, consumer compliance, or unexecuted runtime behavior." - -[[checks]] -id = "valid-active-plan" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/valid-active.md" -expected = "valid" - -[[checks]] -id = "valid-blocked-plan" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/valid-blocked.md" -expected = "valid" - -[[checks]] -id = "valid-accepted-plan" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/valid-accepted.md" -expected = "valid" - -[[checks]] -id = "valid-superseded-plan" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/valid-superseded.md" -expected = "valid" - -[[checks]] -id = "invalid-accepted-malformed-objective-status" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-malformed-objective-status.md" -expected = "invalid" -message = "objective A1 has invalid status satified" - -[[checks]] -id = "invalid-accepted-missing-final-projections" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-missing-final-projections.md" -expected = "invalid" -message = "accepted plan requires both final acceptance projections" - -[[checks]] -id = "invalid-accepted-pending-criterion" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-pending-criterion.md" -expected = "invalid" -message = "accepted plan has unsatisfied objective A1" - -[[checks]] -id = "invalid-accepted-satisfied-without-evidence" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-accepted-satisfied-without-evidence.md" -expected = "invalid" -message = "satisfied objective A1 requires evidence" - -[[checks]] -id = "invalid-duplicate-composed-design-probe" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-duplicate-composed-design-probe.md" -expected = "invalid" -message = "applicable composed-design review requires Independent concepts and dimensions" - -[[checks]] -id = "invalid-execution-history" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-execution-history.md" -expected = "invalid" -message = "execution history belongs in the ledger" - -[[checks]] -id = "invalid-headless-accepted" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-headless-accepted.md" -expected = "invalid" -message = "accepted plan has partial acceptance" - -[[checks]] -id = "invalid-incomplete-composed-design-review" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-incomplete-composed-design-review.md" -expected = "invalid" -message = "applicable composed-design review requires Deletion and cumulative machinery result" - -[[checks]] -id = "invalid-missing-composed-design-applicability" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-missing-composed-design-applicability.md" -expected = "invalid" -message = "expected one ## Simplicity And Ownership Review heading" - -[[checks]] -id = "invalid-missing-next" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-missing-next.md" -expected = "invalid" -message = "expected one Next slice field" - -[[checks]] -id = "invalid-objective-partial" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-objective-partial.md" -expected = "invalid" -message = "objective A1 has invalid status partial" - -[[checks]] -id = "invalid-three-state" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-three-state.md" -expected = "invalid" -message = "invalid plan status Complete" - -[[checks]] -id = "invalid-unreasoned-composed-design-exclusion" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-unreasoned-composed-design-exclusion.md" -expected = "invalid" -message = "not-applicable composed-design review requires a concrete Reason" - -[[checks]] -id = "invalid-whitespace-composed-design-probe" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-whitespace-composed-design-probe.md" -expected = "invalid" -message = "applicable composed-design review requires Deletion and cumulative machinery result" - -[[checks]] -id = "invalid-whitespace-composed-design-reason" -type = "plan_contract" -path = "evaluation/standards-effectiveness/fixtures/plans/invalid-whitespace-composed-design-reason.md" -expected = "invalid" -message = "not-applicable composed-design review requires a concrete Reason" diff --git a/evaluation/standards-effectiveness/suites/release-maintenance-policy.toml b/evaluation/standards-effectiveness/suites/release-maintenance-policy.toml deleted file mode 100644 index 156480e9..00000000 --- a/evaluation/standards-effectiveness/suites/release-maintenance-policy.toml +++ /dev/null @@ -1,9 +0,0 @@ -schema_version = 1 -id = "release-maintenance-policy" -owner = "workflow.release" -description = "Checks current metadata graph constraints. Does not certify prose quality, consumer compliance, or unexecuted runtime behavior." - -[[checks]] -id = "metadata-closure" -type = "metadata_graph" -paths = ["CORE-STANDARDS.md", "workflows/verification.md", "topics/contracts.md", "workflows/release.md", "topics/contracts/schemas.md", "topics/contracts/protocols.md", "topics/contracts/evolution.md", "workflows/verification/oracles.md", "workflows/verification/platforms.md", "workflows/release/operations.md", "workflows/verification/gui.md", "topics/code-design.md"] diff --git a/tools/standards_verifier/README.md b/tools/standards_verifier/README.md index e8acf42a..c3dc75a7 100644 --- a/tools/standards_verifier/README.md +++ b/tools/standards_verifier/README.md @@ -31,7 +31,6 @@ the command above with `refresh_verification_inputs` set to `true`. | `markdown_targets` | Required navigation destinations, independent of link wording | | `markdown_links` | Declared links and destinations | | `markdown_link_coverage` | Navigation coverage of a declared member inventory | -| `plan_contract` | Structured plan lifecycle records | | `policy_impact` | Declared consumer graph and fixture validity | | `contract_projection` | Generated Interface agrees with canonical contract | | `python_package_contract` | Declared Python package boundaries | diff --git a/tools/standards_verifier/standards_verifier/checks/__init__.py b/tools/standards_verifier/standards_verifier/checks/__init__.py index 90f5b48c..1c9cbf0a 100644 --- a/tools/standards_verifier/standards_verifier/checks/__init__.py +++ b/tools/standards_verifier/standards_verifier/checks/__init__.py @@ -10,7 +10,6 @@ from .markdown_targets import parse_markdown_targets_check from .metadata import parse_metadata_graph_check from .metadata_route import parse_metadata_route_check -from .plan_contract import parse_plan_contract_check from .policy_impact import parse_policy_impact_check from .python_package_contract import parse_python_package_contract_check @@ -34,8 +33,6 @@ def parse_check(raw: Any, suite_id: str) -> Check: return parse_markdown_links_check(raw, suite_id) if kind == "markdown_link_coverage": return parse_markdown_link_coverage_check(raw, suite_id) - if kind == "plan_contract": - return parse_plan_contract_check(raw, suite_id) if kind == "policy_impact": return parse_policy_impact_check(raw, suite_id) if kind == "python_package_contract": diff --git a/tools/standards_verifier/standards_verifier/checks/plan_contract.py b/tools/standards_verifier/standards_verifier/checks/plan_contract.py deleted file mode 100644 index 5eea8ad6..00000000 --- a/tools/standards_verifier/standards_verifier/checks/plan_contract.py +++ /dev/null @@ -1,382 +0,0 @@ -from __future__ import annotations - -import re -from dataclasses import dataclass -from typing import Any - -from ..diagnostics import Diagnostic, EngineError -from ..model import CheckAuthorityInput, CheckContext, CheckInputContext, present_inputs -from ..paths import contained_file - - -PLAN_STATUSES = frozenset( - { - "Planned", - "Active", - "Blocked", - "Implemented", - "Verifying", - "Accepted", - "Deferred", - "Superseded", - } -) -ACCEPTANCE_STATUSES = frozenset({"pending", "partial", "blocked", "satisfied"}) -OBJECTIVE_STATUSES = frozenset({"pending", "blocked", "satisfied"}) -REQUIRED_HEADINGS = ( - "## Objective", - "## Objective Acceptance", - "## Binding Decisions", - "## Milestones", - "## Blockers", - "## Re-Plan Triggers", - "## Final Acceptance", -) -REQUIRED_FIELDS = ( - "Plan status", - "Current phase", - "Next slice", - "Acceptance status", - "Execution ledger", - "Issues", -) -DESIGN_PROBES = ( - "Independent concepts and dimensions", - "State, identity, value, time, policy, and mechanism", - "Caller and composition-root knowledge", - "Representative change paths and forced owners", - "Stable Interfaces versus hidden knowledge", - "Independent evolution, testing, failure, and replacement", - "Necessary complexity and containment", - "Deletion and cumulative machinery result", -) - - -def _field_values(content: str, field: str) -> list[str]: - prefix = f"**{field}:** " - return [ - line.removeprefix(prefix).replace("`", "") - for line in content.splitlines() - if line.startswith(prefix) - ] - - -def _section(content: str, heading: str) -> list[str]: - lines = content.splitlines() - try: - start = lines.index(heading) + 1 - except ValueError: - return [] - result: list[str] = [] - for line in lines[start:]: - if line.startswith("## "): - break - result.append(line) - return result - - -def _objective_rows(content: str) -> list[tuple[str, str, str]]: - lines = _section(content, "## Objective Acceptance") - status_column = 0 - evidence_column = 0 - rows: list[tuple[str, str, str]] = [] - for line in lines: - if not line.startswith("|"): - continue - cells = [cell.strip() for cell in line.split("|")[1:-1]] - if not cells: - continue - identity = cells[0] - if identity == "ID": - for index, cell in enumerate(cells): - if cell == "Status": - status_column = index - if cell == "Evidence": - evidence_column = index - continue - if not identity or set(identity) == {"-"}: - continue - status = ( - cells[status_column].replace("`", "") if status_column < len(cells) else "" - ) - evidence = ( - cells[evidence_column].replace("`", "") - if evidence_column < len(cells) - else "" - ) - rows.append((identity, status, evidence or "")) - return rows - - -def validate_plan(content: str) -> str | None: - lines = content.splitlines() - for heading in REQUIRED_HEADINGS: - if lines.count(heading) != 1: - return f"expected one {heading} heading" - - fields: dict[str, str] = {} - for field in REQUIRED_FIELDS: - values = _field_values(content, field) - if len(values) != 1: - return f"expected one {field} field" - fields[field] = values[0] - - status = fields["Plan status"] - acceptance_status = fields["Acceptance status"] - if status not in PLAN_STATUSES: - return f"invalid plan status {status}" - if acceptance_status not in ACCEPTANCE_STATUSES: - return f"invalid acceptance status {acceptance_status}" - if any( - line in {"## Execution Notes", "## History", "## Daily Log"} - for line in lines - ): - return "execution history belongs in the ledger" - - milestone_pattern = re.compile(r"^\*\*Status:\*\* `([^`]*)`") - for line in lines: - match = milestone_pattern.match(line) - if match is not None and match.group(1) not in PLAN_STATUSES: - return f"invalid milestone status {match.group(1)}" - - if status == "Accepted": - if acceptance_status != "satisfied": - return f"accepted plan has {acceptance_status} acceptance" - unfinished = {"Planned", "Active", "Blocked", "Implemented", "Verifying"} - for line in lines: - match = milestone_pattern.match(line) - if match is not None and match.group(1) in unfinished: - return "accepted plan has unfinished milestone" - elif acceptance_status == "satisfied": - return "satisfied acceptance requires Accepted plan status" - - objective_rows = _objective_rows(content) - if not objective_rows: - return "expected at least one objective-acceptance row" - for objective_id, objective_status, objective_evidence in objective_rows: - if objective_status not in OBJECTIVE_STATUSES: - return f"objective {objective_id} has invalid status {objective_status}" - if objective_status == "satisfied" and objective_evidence in { - "", - "pending", - }: - return f"satisfied objective {objective_id} requires evidence" - if status == "Accepted" and objective_status != "satisfied": - return f"accepted plan has unsatisfied objective {objective_id}" - - final_acceptance = [ - match.group(1) - for line in lines - if (match := re.fullmatch(r"- Acceptance status: `([^`]*)`", line)) - ] - final_status = [ - match.group(1) - for line in lines - if (match := re.fullmatch(r"- Final status: `([^`]*)`", line)) - ] - if len(final_acceptance) > 1 or len(final_status) > 1: - return "final acceptance projections must be unique" - if status == "Accepted" and ( - len(final_acceptance) != 1 or len(final_status) != 1 - ): - return "accepted plan requires both final acceptance projections" - if final_acceptance and final_acceptance[0] != acceptance_status: - return "final acceptance status does not match header" - if final_status and final_status[0] != status: - return "final plan status does not match header" - - if status in {"Planned", "Active", "Blocked", "Implemented", "Verifying"}: - design_heading = "## Simplicity And Ownership Review" - if lines.count(design_heading) != 1: - return f"expected one {design_heading} heading" - design_lines = _section(content, design_heading) - applicability_lines = [ - line.removeprefix("**Applicability:** ").replace("`", "") - for line in design_lines - if line.startswith("**Applicability:** ") - ] - if len(applicability_lines) != 1: - return "composed-design review requires one Applicability field" - applicability = applicability_lines[0] - if applicability not in {"applicable", "not-applicable"}: - return f"invalid composed-design Applicability {applicability}" - if applicability == "not-applicable": - reasons = [ - line.removeprefix("**Reason:**").replace("`", "").strip() - for line in design_lines - if line.startswith("**Reason:**") - ] - if ( - len(reasons) != 1 - or not reasons[0] - or re.fullmatch(r"\[.*\]", reasons[0]) is not None - or reasons[0] in {"TBD", "pending"} - ): - return "not-applicable composed-design review requires a concrete Reason" - else: - for probe in DESIGN_PROBES: - prefix = f"- {probe}:" - answers = [ - line.removeprefix(prefix).replace("`", "").strip() - for line in design_lines - if line.startswith(prefix) - ] - if ( - len(answers) != 1 - or not answers[0] - or re.fullmatch(r"\[.*\]", answers[0]) is not None - or answers[0] in {"TBD", "pending"} - ): - return f"applicable composed-design review requires {probe}" - return None - - -@dataclass(frozen=True, slots=True) -class PlanContractCheck: - id: str - path: str - expected: str - message: str | None - - def authority_inputs( - self, context: CheckInputContext - ) -> tuple[CheckAuthorityInput, ...]: - return present_inputs("plan-contract", self.path) - - def run(self, context: CheckContext) -> list[Diagnostic]: - source = contained_file( - context.repo_root, - self.path, - suite=context.suite_id, - check=self.id, - ) - try: - observed = validate_plan(source.read_text(encoding="utf-8")) - except UnicodeError as error: - raise EngineError( - Diagnostic( - "INPUT.INVALID_UTF8", - "invalid", - str(error), - suite=context.suite_id, - check=self.id, - path=self.path, - ) - ) from error - if self.expected == "valid" and observed is not None: - return [ - Diagnostic( - "ASSERT.PLAN_CONTRACT", - "invalid", - observed, - suite=context.suite_id, - check=self.id, - path=self.path, - expected="valid", - observed="invalid", - ) - ] - if self.expected == "invalid" and observed is None: - return [ - Diagnostic( - "ASSERT.PLAN_CONTRACT", - "invalid", - "invalid plan fixture was accepted", - suite=context.suite_id, - check=self.id, - path=self.path, - expected="invalid", - observed="valid", - ) - ] - if ( - self.expected == "invalid" - and self.message is not None - and observed != self.message - ): - return [ - Diagnostic( - "ASSERT.PLAN_DIAGNOSTIC", - "invalid", - "invalid plan produced the wrong diagnostic", - suite=context.suite_id, - check=self.id, - path=self.path, - expected=self.message, - observed=observed, - ) - ] - return [] - - -def parse_plan_contract_check(raw: dict[str, Any], suite_id: str) -> PlanContractCheck: - allowed = {"id", "type", "path", "expected", "message"} - unknown = set(raw) - allowed - if unknown: - raise EngineError( - Diagnostic( - "CONFIG.UNKNOWN_FIELD", - "invalid", - "plan_contract check contains unknown fields", - suite=suite_id, - field=sorted(unknown)[0], - ) - ) - check_id = raw.get("id") - path = raw.get("path") - expected = raw.get("expected") - message = raw.get("message") - if type(check_id) is not str or not check_id: - raise EngineError( - Diagnostic( - "CONFIG.CHECK_ID", - "invalid", - "check id must be a non-empty string", - suite=suite_id, - ) - ) - if type(path) is not str or not path: - raise EngineError( - Diagnostic( - "CONFIG.PATH", - "invalid", - "path must be a non-empty string", - suite=suite_id, - check=check_id, - field="path", - ) - ) - if expected not in {"valid", "invalid"}: - raise EngineError( - Diagnostic( - "CONFIG.ENUM", - "invalid", - "expected must be valid or invalid", - suite=suite_id, - check=check_id, - field="expected", - ) - ) - if message is not None and (type(message) is not str or not message): - raise EngineError( - Diagnostic( - "CONFIG.STRING", - "invalid", - "message must be a non-empty string", - suite=suite_id, - check=check_id, - field="message", - ) - ) - if expected == "valid" and message is not None: - raise EngineError( - Diagnostic( - "CONFIG.CONTRADICTORY_EXPECTATION", - "invalid", - "valid plans cannot declare an invalid diagnostic", - suite=suite_id, - check=check_id, - field="message", - ) - ) - return PlanContractCheck(check_id, path, expected, message) diff --git a/tools/standards_verifier/tests/test_plan_contract.py b/tools/standards_verifier/tests/test_plan_contract.py deleted file mode 100644 index 641423c4..00000000 --- a/tools/standards_verifier/tests/test_plan_contract.py +++ /dev/null @@ -1,81 +0,0 @@ -from __future__ import annotations - -import sys -import unittest -from pathlib import Path - - -ENGINE_ROOT = Path(__file__).resolve().parents[1] -sys.path.insert(0, str(ENGINE_ROOT)) - -from standards_verifier.checks.plan_contract import ( # noqa: E402 - parse_plan_contract_check, - validate_plan, -) -from standards_verifier.diagnostics import EngineError # noqa: E402 - - -REPOSITORY_ROOT = Path(__file__).resolve().parents[3] -FIXTURES = REPOSITORY_ROOT / "evaluation/standards-effectiveness/fixtures/plans" - - -class PlanContractTest(unittest.TestCase): - def test_valid_fixtures_pass(self) -> None: - for path in sorted(FIXTURES.glob("valid-*.md")): - with self.subTest(path=path.name): - self.assertIsNone(validate_plan(path.read_text(encoding="utf-8"))) - - def test_invalid_fixtures_preserve_diagnostics(self) -> None: - expected = { - "invalid-accepted-malformed-objective-status.md": "objective A1 has invalid status satified", - "invalid-accepted-missing-final-projections.md": "accepted plan requires both final acceptance projections", - "invalid-accepted-pending-criterion.md": "accepted plan has unsatisfied objective A1", - "invalid-accepted-satisfied-without-evidence.md": "satisfied objective A1 requires evidence", - "invalid-duplicate-composed-design-probe.md": "applicable composed-design review requires Independent concepts and dimensions", - "invalid-execution-history.md": "execution history belongs in the ledger", - "invalid-headless-accepted.md": "accepted plan has partial acceptance", - "invalid-incomplete-composed-design-review.md": "applicable composed-design review requires Deletion and cumulative machinery result", - "invalid-missing-composed-design-applicability.md": "expected one ## Simplicity And Ownership Review heading", - "invalid-missing-next.md": "expected one Next slice field", - "invalid-objective-partial.md": "objective A1 has invalid status partial", - "invalid-three-state.md": "invalid plan status Complete", - "invalid-unreasoned-composed-design-exclusion.md": "not-applicable composed-design review requires a concrete Reason", - "invalid-whitespace-composed-design-probe.md": "applicable composed-design review requires Deletion and cumulative machinery result", - "invalid-whitespace-composed-design-reason.md": "not-applicable composed-design review requires a concrete Reason", - } - self.assertEqual( - {path.name for path in FIXTURES.glob("invalid-*.md")}, - set(expected), - ) - for name, message in expected.items(): - with self.subTest(path=name): - content = (FIXTURES / name).read_text(encoding="utf-8") - self.assertEqual(validate_plan(content), message) - - def test_parser_rejects_unknown_and_contradictory_configuration(self) -> None: - with self.assertRaises(EngineError): - parse_plan_contract_check( - { - "id": "plan", - "type": "plan_contract", - "path": "plan.md", - "expected": "valid", - "unknown": True, - }, - "suite", - ) - with self.assertRaises(EngineError): - parse_plan_contract_check( - { - "id": "plan", - "type": "plan_contract", - "path": "plan.md", - "expected": "valid", - "message": "must fail", - }, - "suite", - ) - - -if __name__ == "__main__": - unittest.main()