Skip to content

Documented-site label census drift: golden test says 14 vs 15, metrics.md 47 vs golden 48 #823

Open

Description

@jflowers

Summary

The documented-site label census has drifted out of agreement across its three canonical locations:

  • golden-output-shape.test.ts internally disagrees with itself: line 1036 says "14 documented sites" while line 1112 says "(15 documented sites)".
  • metrics.md reports 47/47/0 while the golden suite header counts 48.

Census discipline requires all three label locations (golden suite, sibling suites, metrics.md registry) to agree in the same commit. The current drift means a future off-by-one regression could pass unnoticed — anchors are labels, not assertions, and an off-by-7 has passed before.

Fix shape

Recount the documented sites mechanically (grep the label across the three locations), correct metrics.md and the internal golden-test prose to the same number, and land them in one commit.

Provenance

Identified during the 2026-10-25 knowledge-base audit (PR #820); recorded in the validated seam-verification compiled article ("Open gaps").

Activity

  1. added
    bug
    on Oct 25, 2026
  2. jflowers commented on Nov 2, 2026

    @jflowers
    ContributorAuthor

    Triage: VALID — bug (objective)

    The Divisor review panel classifies this issue as a valid, objective bug. All five consulted personas (adversary, architect, curator, guard, testing) verified the reported claims against the current tree:

    • .opencode/test/golden-output-shape.test.ts:1036 reads // review-dispatch registry -- 14 documented sites while the describe title at line 1112 reads (15 documented sites) — the file carries two different censuses for the same registry.
    • openspec/changes/seam-verification/metrics.md:147 reports 47 discovered, 47 pinned, 0 uncovered while the golden suite header (golden-output-shape.test.ts:38) reads Coverage: 44 of the 48 documented sites.
    • Census discipline — the golden suite, sibling suites, and the metrics.md registry agreeing in the same commit — is a documented invariant, and the current state violates it. The risk is demonstrated, not theoretical: site anchors are labels, not assertions, and an off-by-7 refresh has previously passed the full suite.

    Panel findings that extend the report

    • The review-dispatch describe block tests 15 sites: the census comment's 14 plus capture_review_diff (uf.unleash.md:620, golden test at line 1386), which the section banner, the file-header attribution, and the metrics.md census all omit. The describe label matches the test content; the banner is the stale label.
    • metrics.md disagrees with the suite beyond the reported pair: its registered-tool attribution says uf-finale (8 sites) against the suite's 9-site uf-finale section, and its baseline says the suite "covers the other 43" against the header's 44.
    • The mechanically recounted total is therefore likely 49, not 47 or 48. The fix needs to decide capture_review_diff's census status under the task-2.1 inclusion rule and refresh the per-command counts (uf.unleash.md 18 → 19) in the same commit.

    Recommended next steps

    1. Recount mechanically: grep the site labels across the golden suite, sibling suites, and the metrics.md registry, arbitrating from the command files as the source of truth — not from any of the disagreeing records.
    2. Correct every count in all three locations (per-plugin attributions, per-command totals, the discovered/pinned/uncovered line, the suite header, census comments, describe labels) and land them in one commit, per census discipline.
    3. Keep the correction unsplit: the invariant requires all locations to agree in the same commit, so splitting the correction across issues or commits reproduces the reported drift. The panel returns a unanimous null split recommendation.

    The bug label already on this issue matches the panel's classification. The duplicate search found no candidates (it returned only this issue). No clarification is needed — the fix shape is fully specified.

    This triage was performed by the Divisor review panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions