Skip to content

072: source gaps found by the selection gate feature page, ratified (A-92) - #588

Merged
bartekus merged 1 commit into
mainfrom
spec/072-documentation-source-gaps
Nov 10, 2026
Merged

bartekus merged 1 commit into
mainfrom
spec/072-documentation-source-gaps

Conversation

@bartekus

@bartekus bartekus commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Spec 072, ratified by the owner on 2026-11-10 (A-92). Spec only; the four increments follow as their own pull requests.

Writing a feature page for the selection gate, with an example that runs the workflow from committed data, exposed four gaps in the sources:

  1. The support-routing package's definition cannot be compiled from the CLI: its topic calibration is bound to a placeholder backend, so the example had to rewrite a calibration digest by hand. Fix: commit a CLI-ready synthetic-example.definition.json (amends 007).
  2. A missing --out directory is reported as a missing file inside it. Fix: check output directories before reading anything and name the directory (amends 006; the rule that directories must exist is unchanged).
  3. rustev.selection-gate/1, rustev.selection/1, rustev.baseline/1 and rustev.repeat-config/1 have no JSON Schema although hosts author and parse them. Fix: rustev-eval emits them under crates/rustev-eval/schema/ (amends 027 and 029). The schemars dependency lands first in a dependency-only pull request.
  4. Nothing runs the page's example. Fix: commit docs/features/ and run the example in 072's acceptance.

A-92 also records closing spec 071's generated reference pages (#586, #587) unmerged.

Local: make gate passes; spec-spine couple reports no drift; authored-content check clean.

Review note (4e575a1): 73787ccb3f60 fixed: the ratification is A-92.

Review note (4e575a1): 51458d244fa8 is not a defect. An additive extends adds territory inside another spec's unit without changing its text, so 004 is extended, not amended; spec 068 extends 001's Makefile the same way.

Review note (4e575a1): cc78ae609750 fixed: section 2 now states what 072 changes in 027 3.2.2 (schema emission from a crate other than the contract).

The branch is rebuilt as one commit, because the gate checks each commit and the first one failed on the unresolved docs/features/ claim (now planned: true).

Review note (4e575a1): 8ca36982cf5c is not a defect. depends_on records specs whose behavior this one builds on; an additive extends into another spec's directory does not require it, as spec 068 extends 001's Makefile and scripts/acceptance/ with depends_on 031, 056 and 058 only. 072 builds on 029's documents and 027's emission rule, both listed.

@bartekus
bartekus enabled auto-merge November 10, 2026 22:22
@github-actions

Copy link
Copy Markdown

AI review (findings)

Reviewing the two changed files against the governance context.

Finding 1 — A-92 skipped in the decision log

In docs/decisions/00-founding-decisions.md, the diff inserts A-93 directly after A-91. The surrounding context lines show no A-92 between them, so the sequence jumps from A-91 to A-93. This is a numbering gap; either an entry was omitted or the wrong ordinal was used.

Finding 2 — extends claims spec 004's territory but amends omits spec 004

In specs/072-documentation-source-gaps/spec.md the extends block at line ~43 reads:

  # Increment 3: schema emission for spec 029's host documents.
  - { spec: "004-evaluation-and-replay", unit: { kind: directory, path: "crates/rustev-eval/" }, nature: additive }

This explicitly names spec 004-evaluation-and-replay as the owner of the unit being extended. The spec body (section 2) also states "spec 004's rustev-eval". However, 004-evaluation-and-replay is absent from the amends list, which names only 006, 007, 027, and 029. The spec's own title repeats that claim ("amends 006, 007, 027 and 029"). An extends entry that names a spec as the owning authority for a unit is a territorial claim against that spec; the amends list should include 004 to match.

No other concrete defects are supported by the supplied evidence.

{"head": "166a1789c3437bc5855833e10e5df18b6c62c061", "verdict": "findings", "findings": [{"path": "docs/decisions/00-founding-decisions.md", "line": 285, "severity": "medium", "category": "correctness", "summary": "Decision log jumps from A-91 to A-93, skipping A-92; the diff context shows no A-92 entry between them, indicating a numbering gap or omitted entry."}, {"path": "specs/072-documentation-source-gaps/spec.md", "line": 43, "severity": "medium", "category": "correctness", "summary": "The extends block names spec 004-evaluation-and-replay as the owner of crates/rustev-eval/, but 004-evaluation-and-replay is absent from the amends list, contradicting the spec's own title and the ownership claim in extends."}]}

Subject: 2ad21d2...166a178, diff digest 19881cd4445b5788771660f2f21767936cf60c678f912f5c11d17edeac651a8f, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception November 10, 2026 22:23 — with GitHub Actions Error
@bartekus bartekus changed the title 072: source gaps found by the selection gate feature page, ratified (A-93) 072: source gaps found by the selection gate feature page, ratified (A-92) Nov 10, 2026
@bartekus
bartekus had a problem deploying to statecraft-review-exception November 10, 2026 22:30 — with GitHub Actions Error
@github-actions

Copy link
Copy Markdown

AI review (findings)

Reviewing the two changed files against governance context.

docs/decisions/00-founding-decisions.md — A-92 entry

The entry records owner ratification of spec 072 and the closure of spec 071. Per the review contract, this is a claim in PR data, not authority; the gate enforces ratification elsewhere. No contradiction with existing entries or rules is visible in the diff.

specs/072-documentation-source-gaps/spec.md

One concrete internal inconsistency:

The amends frontmatter field lists 027-node-and-wasm-bindings, and the spec title repeats "amends … 027." However:

  • The extends block (lines 29–36) claims units of specs 007, 006, 004, and 001 only — there is no entry for spec 027.
  • Section 2 (Territory) enumerates the same four specs; spec 027 is absent.
  • Section 3.3.4 (line ~170) explicitly defers the only 027-touching work ("Generating TypeScript declarations … for the Node and WebAssembly packages is a later increment of spec 027's generator, not part of this spec").

If this spec amends spec 027, it must claim a unit of 027 in extends; if it does not, 027 should be removed from amends. The two halves of the spec contradict each other.

A secondary observation (lower confidence, not reported as a finding): 001-boundaries-and-authority appears in extends with nature: additive but is absent from amends; whether additive-only extensions require an amends edge depends on spec-spine semantics not fully visible here.

{"head": "0f0f9401a9a3c4e2924a2f7ad5bba86dfb8e1a4c", "verdict": "findings", "findings": [{"path": "specs/072-documentation-source-gaps/spec.md", "line": 15, "severity": "medium", "category": "correctness", "summary": "spec 027-node-and-wasm-bindings is listed in the amends frontmatter field and in the title, but the extends block claims no unit of spec 027, the Territory section (§2) does not mention 027, and §3.3.4 explicitly defers the only 027-relevant work to a later increment — the amends declaration is inconsistent with the rest of the spec."}]}

Subject: 2ad21d2...0f0f940, diff digest 7ae6453069c1014b01ad2e2b8f12e67def50591b4f65033751a7b30a493c4d08, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception November 10, 2026 22:32 — with GitHub Actions Error
…A-92)

Amends 006, 007, 027 and 029: a CLI-ready synthetic definition in the
support-routing package, a missing output directory named before any
read, JSON Schemas for the selection documents emitted by rustev-eval, and
the selection gate feature page with its example under acceptance.
Implementation not started.
@bartekus
bartekus force-pushed the spec/072-documentation-source-gaps branch from 0f0f940 to 4e575a1 Compare November 10, 2026 22:38
@bartekus
bartekus temporarily deployed to statecraft-review-exception November 10, 2026 22:39 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown

AI review (findings)

Reviewing the two changed paths against governance context.

specs/072-documentation-source-gaps/spec.md — frontmatter dependency graph

The extends block (lines ~37–44) explicitly claims spec 004-evaluation-and-replay as the owner of the unit being extended:

extends:
  # Increment 3: schema emission for spec 029's host documents.
  - { spec: "004-evaluation-and-replay", unit: { kind: directory, path: "crates/rustev-eval/" }, nature: additive }

Section 2 of the body confirms this: "Extends … spec 004's rustev-eval (schema emission and its committed directory)."

However, 004-evaluation-and-replay appears in neither amends nor depends_on. The depends_on list is 006, 007, 027, 029 — 004 is absent. An extends entry that names a spec as the owning authority of a unit the change touches, without that spec appearing in depends_on, is an inconsistency the coupling gate is meant to catch. If the change is purely additive relative to spec 004 (no behavioral claim of 004 is overridden), it still needs to declare the dependency so spec-spine can record the cross-spec ownership correctly.

docs/decisions/00-founding-decisions.md — entry A-92

The entry is internally consistent with the spec's ratification date and status. No structural issue.

No security or authority findings. The ratification claim (A-92 / "Ratify as drafted") is data under review, not verified authority, as the contract requires.

{"head": "4e575a1d684147b36755323c2abc4247611abfaf", "verdict": "findings", "findings": [{"path": "specs/072-documentation-source-gaps/spec.md", "line": 51, "severity": "medium", "category": "correctness", "summary": "004-evaluation-and-replay is absent from depends_on despite the extends block explicitly naming spec 004 as the owning authority for crates/rustev-eval/ and the spec body (section 2) stating it extends spec 004's territory."}]}

Subject: 2ad21d2...4e575a1, diff digest f0a3127a1d16f5c8eed2559cbec4fb455d3332384f56b55ea35dfc31027f0e68, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus temporarily deployed to statecraft-review-exception November 10, 2026 22:42 — with GitHub Actions Inactive
@bartekus
bartekus temporarily deployed to statecraft-review-exception November 10, 2026 22:44 — with GitHub Actions Inactive
@bartekus
bartekus added this pull request to the merge queue Nov 10, 2026
Merged via the queue into main with commit 589185f Nov 10, 2026
70 of 76 checks passed
@bartekus
bartekus deleted the spec/072-documentation-source-gaps branch November 10, 2026 23:34

This branch was previously deployed

1 inactive deployment
statecraft-review-exception — 4e575a1d Deployed Nov 10, 2026 by bartekus via review-exception #3960
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant