Skip to content

spec(039): declare the Bedrock rank verification - #429

Merged
bartekus merged 1 commit into
mainfrom
spec/039-bedrock-verification
Oct 31, 2026
Merged

bartekus merged 1 commit into
mainfrom
spec/039-bedrock-verification

Conversation

@bartekus

Copy link
Copy Markdown
Contributor

Amends approved spec 039's Verification section now that the Bedrock rank increment has landed. For the owner to ratify before this is armed.

Nothing else in the approved text changes. Derived shards refreshed.

Verification (local): cargo test -p rustev-bedrock --locked --test ranking --test rank_swap, spec-spine verify 039, make gate, scripts/check-authored-content.sh, spec-spine couple.

@github-actions

Copy link
Copy Markdown

AI review (no-findings)

The PR updates specs/039-model-backed-rank/spec.md in two places:

  1. Adds a new acceptance test command block for rustev-bedrock tests (ranking and rank_swap) that were previously externally blocked on spec 030.
  2. Rewrites the "externally blocked" paragraph to assert those items are now delivered via PRs impl(039): Bedrock rank, part a, the admission under spec 030 3.12 #422/impl(039): Bedrock rank, part b, the rules and Bedrock swap test #424, and explicitly carves out the paid live smoke call as outside declared verification.

Checking for concrete defects:

  • Consistency with A-49: The bottom context line (unchanged) records "Owner decision A-49 (2026-10-23): dependencies. Specs 022 and 030 are no longer declared dependencies." Removing the "externally blocked until spec 030 is complete" language is consistent with that decision. No contradiction.

  • rustev-bedrock crate existence: The REPO CONTEXT lists .statecraft/derived/codebase-index/by-package/rustev-bedrock.json, confirming the crate exists. The added test invocation is plausible.

  • Item coverage: The new comment claims --test ranking --test rank_swap covers "3.15, 3.17, 3.18 item 1." The old blocked list did not include 3.17 as blocked; the old text listed section 5's row, 3.15/030-3.12.3 fixtures, the swap test, and 3.18 item 1. Section 3.17 (refusals) was presumably already covered by pre-existing tests; the new comment is additive annotation, not a substitution. Without the full spec body in the diff I cannot show a concrete gap.

  • "Declared above" claim: The new text says items "are declared above" -- the added test line does declare the bedrock tests. The claim is self-consistent within the diff.

  • Spec lifecycle: No frontmatter is changed in this diff; I cannot determine whether the implementation field now needs updating, but no contradiction is provable from the supplied evidence.

No concrete, evidence-supported defect is found.

{"head": "a715f3010ac1fce19aabb55a60a10d4639e5cbeb", "verdict": "no-findings", "findings": []}

Subject: 7a9625f...a715f30, diff digest 417eea79ce1d99fda86147aefa131b0e35e23d1180063c9342909d2a17967471, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus force-pushed the spec/039-bedrock-verification branch from a715f30 to 1b3241a Compare October 31, 2026 01:45
@github-actions

Copy link
Copy Markdown

AI review (findings)

The diff changes specs/039-model-backed-rank/spec.md in two ways: (1) adds a new cargo test invocation for rustev-bedrock covering the previously-blocked Bedrock rank items, and (2) rewrites the paragraph that formerly described those items as "externally blocked until spec 030 is complete" to declare them delivered via PRs #422 and #424.

Checking for defects:

Test command vs. prose scope mismatch: The new comment on the added cargo test line reads # 3.15, 3.17, 3.18 item 1, but the accompanying prose only names 3.15 (as part of "the three modes (3.15, 030 3.12.3)") and 3.18 item 1 as previously-blocked items now delivered. Section 3.17 appears in the test comment without being mentioned in either the old blocked list or the new "delivered" prose. Without the rest of the spec I cannot confirm whether 3.17 was already covered elsewhere, but the asymmetry is a concrete discrepancy between what the comment claims the test covers and what the surrounding text says was delivered.

Prose grammar: "The offline Bedrock items owner decision A-49 moves to the Bedrock rank increment are delivered" is a broken relative clause (missing "that"). It is comprehensible in context but introduces ambiguity about exactly which items are claimed delivered.

Owner decision A-49 / spec 030 dependency: A-49 (already present in the base text) removes the spec 030 dependency, so the prose removing the "blocked until spec 030 is complete" language is consistent with that decision. No conflict there.

No security problems or invariant violations are supported by the evidence.

{"head": "1b3241aaf2c467a839c7c65f5fddbbc4c1490564", "verdict": "findings", "findings": [{"path": "specs/039-model-backed-rank/spec.md", "line": 760, "summary": "Test comment claims section 3.17 is covered by the new cargo test, but 3.17 does not appear in the prose list of previously-blocked items now declared delivered, creating an undocumented scope discrepancy."}]}

Subject: 1553fbe...1b3241a, diff digest 9b243b1cf06bfcf1ecede3374c86e7a8c8d24ff80dda672189e6132ac4ab5308, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception October 31, 2026 01:46 — with GitHub Actions Error
@bartekus
bartekus force-pushed the spec/039-bedrock-verification branch from 1b3241a to 96f4c86 Compare October 31, 2026 01:47
@github-actions

Copy link
Copy Markdown

AI review (findings)

The diff updates specs/039-model-backed-rank/spec.md to declare previously blocked Bedrock items as delivered, adds two new cargo test commands, and removes the "externally blocked" guard text. I'll review the changed section for consistency and correctness.

Finding: Garbled sentence creates ambiguous acceptance status

Lines ~761-764 (new text):

The offline Bedrock items owner decision A-49 moves to the Bedrock rank increment are delivered (#422, #424) and declared above:

This sentence fuses two competing predicates — "moves to the Bedrock rank increment" (from the old blocked language) and "are delivered (#422, #424) and declared above" — with no conjunction. The result is grammatically broken and semantically ambiguous: a reader cannot determine from the sentence alone whether the items were moved to a future increment or are being declared complete here. Because this is normative acceptance text, the ambiguity is a concrete defect in the spec.

No other findings: the removal of the "Externally blocked" guard is consistent with A-49 (2026-10-23) removing specs 022 and 030 as declared dependencies; the new cargo test -p rustev-bedrock --locked --test ranking --test rank_swap command is consistent with the items now being declared within scope; and the carve-out for the paid live smoke call (Decision 18) is explicit and handled.

{"head": "96f4c86f47e8b7b6bceef6268f1b7ce82931b8af", "verdict": "findings", "findings": [{"path": "specs/039-model-backed-rank/spec.md", "line": 761, "summary": "The new sentence fuses the old 'moves to the Bedrock rank increment' clause with 'are delivered' without a conjunction, producing a grammatically broken and semantically ambiguous statement of acceptance status for the Bedrock items."}]}

Subject: 1553fbe...96f4c86, diff digest 3390c3a48ba59c89c03a8353d80ae317375c5cadd078001b5dcf3ccf11341172, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception October 31, 2026 01:48 — with GitHub Actions Error
Amends approved spec 039's Verification section now that the Bedrock `rank` increment has landed. For the owner to ratify before this is armed.

- The paragraph "Externally blocked until spec 030 is complete" is reworded: the offline Bedrock items owner decision A-49 moves to the Bedrock `rank` increment (section 5's `structured_output: none` row, the fixtures on both wires for the three modes, the swap test, 3.18 item 1) are delivered by #422 and #424 and declared.
- The `verify:cli` block gains `cargo test -p rustev-bedrock --locked --test ranking --test rank_swap`.
- The optional paid live Bedrock `rank` smoke (Decision 18) stays outside declared verification; no live call is part of it.

Nothing else in the approved text changes. Derived shards refreshed.

Verification (local): `cargo test -p rustev-bedrock --locked --test ranking --test rank_swap`, `spec-spine verify 039`, `make gate`, `scripts/check-authored-content.sh`, `spec-spine couple`.
@bartekus
bartekus force-pushed the spec/039-bedrock-verification branch from 96f4c86 to 0a3421a Compare October 31, 2026 01:50
@github-actions

Copy link
Copy Markdown

AI review (no-findings)

The diff is a focused update to specs/039-model-backed-rank/spec.md that promotes previously blocked acceptance items (owner decision A-49) from an externally-blocked state to declared verification.

Key observations:

  1. New test commands are internally consistent with the narrative. The added block cargo test -p rustev-bedrock --locked --test ranking --test rank_swap is annotated with a comment enumerating three of the four A-49 offline items (3.15, 3.18 item 1, and the swap test). The rustev-bedrock package exists in the repo context, so this is not a reference to a missing crate.

  2. Section 5 row coverage. The new prose claims section 5's row "Bedrock binding rank with structured_output: none" is among the items "declared above," but the test comment only enumerates 3.15, 3.17, and 3.18 item 1 explicitly. Without the full spec I cannot determine whether --test ranking covers this case, so I cannot establish it as a concrete gap.

  3. Prose is self-consistent with A-49. The removal of the "externally blocked until spec 030 is complete" clause is coherent with A-49 (already in the spec) removing spec 030 as a dependency. The retained "Any paid live Bedrock rank smoke call (Decision 18) stays outside declared verification" correctly preserves the one item that A-49 never unblocked.

  4. Factual claims about impl(039): Bedrock rank, part a, the admission under spec 030 3.12 #422 and impl(039): Bedrock rank, part b, the rules and Bedrock swap test #424. The contributor asserts those PRs delivered the work. I have not inspected those PRs and cannot verify the claim, but per review instructions a source not supplied does not by itself establish an invalid citation.

No concrete defects are supported by the supplied evidence.

{"head": "0a3421a6b6c6c650370aae2604b2cd7f64f547e6", "verdict": "no-findings", "findings": []}

Subject: 1553fbe...0a3421a, diff digest 23efdc451878fbd46226cec872c83551d334fda469fcf47137e5d1c4b07c418f, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus added this pull request to the merge queue Oct 31, 2026
Merged via the queue into main with commit 041b669 Oct 31, 2026
30 checks passed
@bartekus
bartekus deleted the spec/039-bedrock-verification branch October 31, 2026 02:43
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