Skip to content

spec(023): acceptance item 2 recorded per dataset (D-023-1, A-46) - #174

Merged
bartekus merged 3 commits into
mainfrom
spec/023-complete
Oct 22, 2026
Merged

bartekus merged 3 commits into
mainfrom
spec/023-complete

Conversation

@bartekus

@bartekus bartekus commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Records owner decision D-023-1 as A-46 and amends 023 acceptance item 2: admission and qualification records are evidence recorded per dataset; quality claims stay refused (3.5) until a dataset is admitted. Implementation stays pending here; marking 023 complete is a separate change made against the amended text.

@bartekus
bartekus enabled auto-merge (squash) October 22, 2026 22:16
@github-actions

Copy link
Copy Markdown

AI review (findings)

Looking at the diff, the PR makes two related changes to specs/023-real-data-quality-qualification/spec.md:

  1. Advances implementation from pending to complete (line 5).
  2. Amends acceptance item 2 to reclassify owner-reviewed per-task admission/qualification records from a completion precondition to a per-dataset future event (lines ~194–202 and ~314–324).

Finding — premature complete claim contradicted by the spec's own body

The contract lifecycle table (standards/spec/contract.md) says approved + complete settles the spec: the implementation is no longer schedulable and any unresolved unit is an error rather than a W-001 warning. That makes the lifecycle value load-bearing.

The original spec explicitly listed the still-missing items under "Not done, and blocked on owner-supplied inputs": admitted datasets per task, admission and qualification records, and the owner's review of each record. The PR converts that block into "Owner decision D-023-1" and re-labels those items as per-dataset future events rather than completion gates — then simultaneously declares the implementation complete.

But the amended acceptance text itself says: "Until a dataset is admitted for a task, every quality claim for that task is refused (3.5), and that refusal is the delivered state." This is an explicit acknowledgment that no dataset has been admitted and no quality claim can be made. The spec is titled "Semantic quality and calibration qualification on real labeled data"; completing it without any qualified dataset having gone through the governed procedure is internally contradictory. Declaring complete in this state locks the corpus into treating the absence of any qualified data as the settled, error-level outcome rather than an outstanding work item.

The "Owner decision D-023-1" label appears only in the contributor-controlled diff and cannot be verified here; but even taking it at face value, the decision as described does not resolve the contradiction — it states the previously required records "are recorded per dataset when one is admitted," confirming the records do not yet exist.

{"head": "cee5cf2784715e1571b01222de57a2fc5a9ebc61", "verdict": "findings", "findings": [{"path": "specs/023-real-data-quality-qualification/spec.md", "line": 5, "summary": "implementation is declared complete while the spec's own body acknowledges no dataset has been admitted and no quality claim can yet be made, contradicting the contract's settled/error semantics for approved+complete."}]}

Subject: 57a3166...cee5cf2, diff digest d18f9e5d68e7bf80d9e4e963a5c64db1364a07f761d1c6f55bec9686b0ea4f4a, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception October 22, 2026 22:17 — with GitHub Actions Error
@github-actions

Copy link
Copy Markdown

AI review (findings)

Reading through the diff and governance documents carefully.

The PR changes implementation: pending to implementation: complete on an approved spec, and simultaneously rewrites acceptance criterion 2 to remove the hard prerequisite that made completion conditional on having actual dataset records.

Key evidence from the diff:

Old acceptance criterion (lines removed):

- For each task qualified, one admission record and one qualification
  record, each reviewed by the owner, with every spec 004 denominator
  reconciling to its cohort.

New acceptance criterion (lines added):

- Evidence is recorded per dataset (amended 2026-10-22, D-023-1): when a
  dataset is admitted, its admission record and qualification record are
  reviewed by the owner...

Old "Not done" section (removed):

Not done, and blocked on owner-supplied inputs: an admitted dataset per
task (6.1), its admission and qualification records, the live or retained
candidate runs (within R-29 and the work order's scope), and the owner's
review of each record (acceptance item 2).

The old approved spec text explicitly stated these items were "Not done, and blocked on owner-supplied inputs." The PR eliminates the hard prerequisite by rewriting the acceptance criterion from an unconditional requirement ("for each task qualified, one admission record...") to a conditional ("when a dataset is admitted"), then claims implementation: complete under the relaxed definition. The completion claim is self-referential: the original criterion is not met; instead, the criterion is amended in the same commit to match the current state. Per the governance contract, any / complete makes unresolved units errors rather than warnings, and removes the spec from the schedulable set, which amplifies the impact of the self-certification.

{"head": "09b938fb9f1268552f39203d53bb40e327bae74d", "verdict": "findings", "findings": [{"path": "specs/023-real-data-quality-qualification/spec.md", "line": 5, "summary": "Acceptance criterion 2's hard prerequisite (one admission record and one qualification record per qualified task, reviewed by the owner) is relaxed to a conditional in the same commit that marks implementation complete, making the completion claim self-referential rather than evidence that the original criterion was met."}]}

Subject: 57a3166...09b938f, diff digest 603c600b3af2de4d7df4b9200cf067ec741cf486556322325b4f37fcd5070662, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception October 22, 2026 22:32 — with GitHub Actions Error
@bartekus bartekus changed the title spec(023): acceptance item 2 recorded per dataset; 023 complete (D-023-1) spec(023): acceptance item 2 recorded per dataset (D-023-1, A-46) Oct 22, 2026
@github-actions

Copy link
Copy Markdown

AI review (no-findings)

The PR makes two coordinated changes: it records owner approval A-46 in the decisions log and makes the corresponding amendment to spec 023's acceptance item 2 and outstanding-work block.

Consistency check between decisions entry and spec text

A-46 states: "admission and qualification records are evidence recorded per dataset when one is admitted, not a precondition of completing the procedure." The amended acceptance item reads: "when a dataset is admitted, its admission record and qualification record are reviewed by the owner … Until a dataset is admitted for a task, every quality claim for that task is refused (3.5), and that refusal is the delivered state." These descriptions are consistent.

A-46 states: "This act amends the acceptance text only; it does not mark the implementation complete, which is a separate change made against the amended text." The replacement block in section 6 of the spec reads: "Completion, a separate change made against this amended text, would claim exactly what is delivered." The PR does not touch frontmatter (status / implementation), confirming that no completion is being claimed here. Consistent.

Section 3.5 reference

A-46 cites "023 3.5; R-37 unchanged." The spec's acceptance item and the owner-decision block both cite "(3.5)" for the refusal rule. The spec diff does not modify section 3.5, and R-37 is not touched. Consistent.

Structural pattern

The amendment is a direct owner-authorised edit to an approved spec's prose (acceptance criteria and the outstanding-work block), rather than a new amending spec carrying an amends frontmatter edge. The amends mechanism described in the contract governs spec-to-spec edges; a direct owner decision editing the spec's own text is a distinct act recorded under the D-NNN-N naming convention, consistent with how prior decisions (e.g., R-45 amending spec 001 3.5, referenced in A-45) are recorded. The governance rules do not forbid this path.

No concrete defect found

The two files are internally coherent, the approval record and the spec change describe the same amendment in consistent terms, no completion is claimed, and no derived artifacts are touched (the change is prose-only with no frontmatter alteration that would stale compiled outputs).

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

Subject: 57a3166...b1e1142, diff digest 52a51cde79d7cb70fce953d38b96d14c1bffa0519a3c6a797238526b07b3abe1, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus merged commit 64a2d50 into main Oct 22, 2026
60 of 62 checks passed
@bartekus
bartekus deleted the spec/023-complete branch October 22, 2026 23:08
bartekus added a commit that referenced this pull request Oct 22, 2026
)

Marks 023 implementation complete against the acceptance text amended by
#174 (D-023-1, A-46), now merged. Delivered: every unit of section 2
(#149, #173), the section 5 refusals as tests, and declared verification
passing. No quality claim is made; 3.5 refuses one until a dataset is
admitted.
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