Skip to content

fix(devtools): hard-fail render-verification-catalog --check in verify --quick #492

Closed

Description

@Sinity

Problem

devtools render-verification-catalog --check detects drift between polylogue/proof/catalog.py (and friends) and the generated docs/verification-catalog.md. Today it correctly reports drift:

$ devtools render-verification-catalog --check
render-verification-catalog: out of sync: docs/verification-catalog.md
render-verification-catalog: run: devtools render-verification-catalog --output docs/verification-catalog.md

But the catalog appears in the generated surfaces list rather than as a hard verify --quick gate. Drift is detected but not blocking, which is the same soft-mode anti-pattern this repo is otherwise moving away from.

The other 7 generated surfaces (AGENTS.md, cli-reference, devtools-reference, quality-reference, topology-status, docs-surface, schema-related artifacts) are checked by render-all --check. The verification catalog should join them.

Target

  1. Confirm render-all --check already includes render-verification-catalog --check. If not, add it.
  2. Confirm devtools verify --quick runs render-all --check (it should — that's the existing render-drift gate).
  3. Run the catalog renderer locally to update docs/verification-catalog.md to match current state, so the gate becomes green and stays that way.

Why this matters

  • The verification catalog is the most subject-rich artifact in the repository (9046 subjects, 9149 obligations). Drift between the kernel and the rendered doc means the doc is misleading external readers about what the system claims.
  • Render-drift detection is a no-cost gate when wired correctly; leaving one of eight surfaces ungated is uneven.

Acceptance (executable)

devtools render-verification-catalog --check   # exits 0
devtools render-all --check                    # exits 0
devtools verify --quick                        # exits 0

After the fix, drift between polylogue/proof/*.py and docs/verification-catalog.md blocks PR push (via the pre-push hook) and CI.

Related

Cross-reference: holistic assurance umbrella

Filed 2026-04-27. This issue is part of the holistic assurance coverage map (#506) which restructures verifiability work around four tracks (stop lying / coverage map / routing-proof-pack / product confidence) and introduces an Oracle primitive (#507), declarative coverage manifests (#508 assurance-domains, #509 oracle-quality), and operator-facing proof packs (#510).

Read in conjunction with #506 to see how this issue fits into the broader confidence model.

Activity

  1. added
    type:fix
    theme:verifiability
    area:devtools
    on Apr 26, 2026
  2. Sinity commented on Apr 27, 2026

    @Sinity
    OwnerAuthor

    Verified the gate is already in place; this issue was based on a misreading of devtools/render_all.py.

    verification-catalog is already in GENERATED_SURFACES (devtools/generated_surfaces.py:60-66). render-all --check iterates all generated surfaces unconditionally and propagates the first non-zero exit code. devtools verify --quick runs render-all --check, so drift in docs/verification-catalog.md blocks pre-push and CI today.

    Demonstrated by inducing drift on master:

    ```
    $ echo "drift" >> docs/verification-catalog.md
    $ devtools render-all --check
    render-all: check verification-catalog
    render-verification-catalog: out of sync: docs/verification-catalog.md
    render-verification-catalog: run: devtools render-verification-catalog --output docs/verification-catalog.md
    exit_code=1
    ```

    The acceptance commands all already pass on master:

    ```
    $ devtools render-verification-catalog --check # 0
    $ devtools render-all --check # 0 when in sync, 1 when drifted
    $ devtools verify --quick # 0 when in sync, 1 when drifted
    ```

    No code change required.

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

    area:devtoolstheme:verifiabilitytype:fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions