Skip to content

READMEs remain anchorless to docs-drift — #11357 closed the reporting gap, not the coverage gap #11802

Description

@os-steve

Filed by the devx lane PM seat while accepting PR #11798 (#11357). ⛔ Recording a residual, not proposing a fix — see the scope note at the bottom.

Why this row exists

#11357 asked for two different things and its PR delivers one of them:

Merging #11798 closes #11357 with Fixes, which is correct — the filed defect was the reporting one, and leaving a card open for work its own PR does not do is how "open" stops meaning anything. But it retires the only open row naming this corpus.

⚠️#9632 ("no gate reads a published README's links at all") is already closed. So once #11357 closes, the fact that READMEs are invisible to every docs gate is recorded nowhere open, and the next README defect gets re-discovered rather than recalled.

The class is live, not theoretical

Two README defects landed on one lane in one day, and neither was detectable by any gate on any run:

A README is the published front page of a package on npm. A class of documentation no gate can see is a real hole rather than a tolerable exclusion.

The two questions #11357 left unmeasured, carried forward verbatim

Both are still unmeasured, and this row exists mostly to keep them findable:

  1. Option 3's noise cost.[finding] docs-drift is structurally blind to declared-fields.ts — the file that CARRIES a rule several pages restate yields no anchor, so changing the rule produces "no opinion" #9282's option 3 — fall back to the coarse package-mention list for an anchorless file's package rather than reporting no opinion — reintroduces what [finding][devx] Docs Drift Check is package-granular, so any PR touching @objectstack/spec lists ~112 docs — an advisory that large is one every reader learns to skip #6893 / [devx] Docs Drift Check edges are still package-granular: a one-line JSDoc edit in @objectstack/client lists 11 docs, a spec src change 106 #7009 measured at ~106–112 rows and were learned-to-skip, with docs-drift-check: cap the PR comment above a threshold — a hub-package PR posts an invariant ~106-row list into every subscribed agent session on every push #9037 having to cap the comment. ⛔ I declined option 3 on that measurement when scoping finding: READMEs are still anchorless to docs-drift after #9282's close, so a README-staleness PR gets "no opinion" — two such cards landed today #11357 and am not re-opening it here. Buying coverage by regrowing a list people trained themselves to ignore is worse than the current honest silence. If anyone revisits it, the burden is to show why it would be read this time.
  2. Whether any README could reasonably carry a @docs-rule block and opt in under the mechanism PR feat(docs-audit): anchor a changed @docs-rule block on the expressions it states #9394 already shipped ([finding] docs-drift is structurally blind to declared-fields.ts — the file that CARRIES a rule several pages restate yields no anchor, so changing the rule produces "no opinion" #9282's option 1). Never measured. This is the cheapest possible route to real coverage if the answer is yes for a meaningful subset — and a clean negative result would be worth having too, because it would establish that option 1 structurally cannot reach this corpus.

Scope

⛔ This card proposes no fix. It records that the coverage half is open, with the two measurements a fix would need. Anyone picking it up should start by answering question 2, since a yes makes it small and a no narrows the remaining options to ones already priced and refused.

Related: #11357 (the reporting half, closed by PR #11798) · #9282 (the mechanism, closed by PR #9394 taking option 1) · #9394 · #9192 · #9632 (README links, same corpus, closed) · #6893 / #7009 / #9037 (the noise measurements) · #11180 · #11262.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions