Skip to content

feat(devtools): soft-mode lint escalation manifest with sunset clocks #490

Closed

Description

@Sinity

Parent

Part of #401. Verifiability-coherence track. Sibling to #429 (executable topology) and #432 (cross-cut manifest).

Problem

Several devtools verify-* lints exit 0 while reporting [warn] or [info] lines that describe real problems. Soft mode is the right starting state for a new lint, but the system has settled into it as a steady state — there is no manifest declaring when each soft signal must escalate to a hard failure.

Examples observed today:

  • devtools verify-topology — exits 0; reports [warn] tbd: 39 (39 cells with no target rule yet) and realized=640 declared=640 blocking=False.
  • devtools verify-cluster-cohesion — exits 0; reports BLOCKING=True (cycles between clusters) and Cross-cluster imports through internals (bypass __init__): 1550.
  • devtools verify-test-ownership — exits 0; reports [warn] orphan tests (no production import): 2.
  • devtools verify-migrations — exits 0; reports [info] retire-audit-qa-showcase (#413): 7 surviving.
  • devtools render-verification-catalog --check — out-of-sync (catalog drifts from rendered doc) but its block status in verify --quick is unclear.

Soft signals decay: contributors stop reading them, CI logs scroll past, and the lint becomes ceremonial.

Target

Encode the escalation timeline as a first-class manifest:

# docs/plans/lint-escalation.yaml
escalations:
  topology.tbd_cells:
    lint: verify-topology
    signal: "[warn] tbd: N"
    soft_until: "#420 closes"   # or absolute date
    blocking_at: "tbd_count == 0"
    note: "TBD cells must be assigned by their owning topology issue."

  cluster_cohesion.blocking:
    lint: verify-cluster-cohesion
    signal: "BLOCKING=True (cycles between clusters)"
    soft_until: "#424 and #425 close"
    blocking_at: "cycles == 0"

  test_ownership.orphan_tests:
    lint: verify-test-ownership
    signal: "[warn] orphan tests"
    soft_until: "2026-06-01"
    blocking_at: "orphan_count == 0"

  migrations.surviving_items:
    lint: verify-migrations
    signal: "[info] <name> (#NNN): N surviving"
    soft_until: "<owning issue> closes"
    blocking_at: "surviving == 0"

Each soft signal must:

  1. Cite the lint and the exact warning string it relaxes.
  2. Reference an owning issue OR an absolute sunset date.
  3. Declare the blocking condition concretely (an expression on lint output).

devtools verify-escalations reads the manifest and re-runs each cited lint:

  • If the soft condition is still in force (issue open, date not reached) → echo as [soft].
  • If the soft window has expired and the blocking condition is unmet → exit non-zero with the citation.
  • If the blocking condition is met (warning gone) → archive the entry; the manifest entry deletes in the same PR.

Why this matters

  • Steady-state soft mode is a verification anti-pattern. Today, verify-cluster-cohesion says BLOCKING=True and exits 0. That is a contradiction visible to anyone who reads the output and erodes trust in every other lint that uses the same exit-code-as-truth convention.
  • Cross-issue coordination becomes mechanical. When refactor(lib): group lib by domain cluster #424/refactor(storage): group storage by ownership domain #425 close, the cycle count drops and cluster_cohesion.blocking flips to hard-fail automatically — no separate "make it blocking now" PR needed.
  • Verification meta-state becomes inspectable. A new contributor can read lint-escalation.yaml and learn exactly which signals are deferred, why, and when they will hard-fail.

Acceptance (executable)

devtools verify-escalations --check    # all entries valid (owning issue exists, date parseable)
devtools verify-escalations            # exits 0 if all soft windows respected; non-zero if any expired

Plus a row in docs/topology-status.md (or a sibling lint-status.md) showing per-entry status and days-to-escalation.

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:feat
    theme:verifiability
    phase:architecture
    area:devtools
    on Apr 26, 2026
  2. Sinity commented on Apr 29, 2026

    @Sinity
    OwnerAuthor

    Implemented: #478 test fixes, Oracle primitive, suppressions scaffolding, manifest consistency lint, and Track B coverage manifests.

  3. added a commit that references this issue on Apr 30, 2026
    50cc492
  4. added a commit that references this issue on May 7, 2026
    f59f83a
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:devtoolsphase:architecturetheme:verifiabilitytype:feat

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions