Skip to content

Adopt the documentation-existence admission test as a portable-baseline pre-check in doc-drift and declutter tooling #505

Description

@kyle-sexton

Context

melodic-software/standards PR #206 adds conventions/engineering/documentation-existence.md — an admission test governing whether a tracked page may exist at all: could a reader with repository search derive this content from the code itself? Yes → the page may not exist (deletion, not update). Admitted categories: decisions, domain language, thin navigation, policy and wiring.

The interview contract behind it lives at docs/topics/documentation-existence/PLAN.md in the standards repo.

Proposed work

Sharpen the charter of the documentation tooling in this repo so existence is judged before accuracy:

  • review:doc-drift-detector agent — before asking "is this doc stale?", ask "may this doc exist?"; a page failing admission is drift by construction and the finding routes to deletion (after relocating anything admissible), not to an update.
  • docs-hygiene:declutter skill — same pre-check on its classification pass.

Design decision to make first (why status: needs-decision)

Whether the admission test ships as the portable-baseline default (applied when a consuming repo declares no documentation conventions of its own) or engages only when the consuming org's declared standards contain it. The re-anchor:follow-our-standards resolution ladder is the governing seam: an org's own declared conventions always win; plugins must never hard-code melodic-software/standards (verified: zero runtime references today — keep it that way).

The test itself is org-agnostic, which argues for portable-baseline default with org-declared conventions overriding.

Related

No linked issue

🤖

Activity

  1. added
    needs-owner-decision
    needs-triage
    on Jul 19, 2026
  2. kyle-sexton commented on Jul 19, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during triage. · Category: improvement (tooling charter + cross-repo policy) · Priority: priority: high (agnosticism/standards-seam significance per rule 5; note: tooling-quality, sub-sort below core north-star work-readiness items within high). Routed needs-human + wayfind: design.

    Why needs-human

    The author explicitly flagged needs-decision, and correctly: the fork is cross-repo policy, which the lane reserves for human judgment. The proposed work (teach review:doc-drift-detector and docs-hygiene:declutter to ask "may this doc exist?" before "is it stale?", routing admission-failing pages to deletion) is mechanical once the posture is set — but the posture itself is the open question:

    Does the documentation-existence admission test ship as the PORTABLE-BASELINE DEFAULT (applied when a consuming repo declares no doc conventions of its own), or engage ONLY when the consuming org's declared standards contain it?

    This is genuine cross-repo policy because:

    • The test originates in melodic-software/standards PR fix(source-control): harden PR lifecycle guards #206 (conventions/engineering/documentation-existence.md; interview contract at docs/topics/documentation-existence/PLAN.md).
    • The governing seam is the re-anchor:follow-our-standards resolution ladder — an org's own declared conventions ALWAYS win — and the hard constraint that plugins must never hard-code melodic-software/standards (verified: zero runtime references today; keep it that way). How a standards-repo convention becomes a plugin default without coupling is exactly the policy call.

    Well-grounded recommendation (for the human to ratify)

    Portable-baseline default, org-declared conventions overriding. The admission test is org-agnostic (the "derivable from code by a reader with search?" question is repo-shape-independent), so a portable default is defensible; the follow-our-standards ladder already provides the clean override seam so no coupling to melodic-software/standards is introduced. If accepted, the two tooling changes (doc-drift existence-before-accuracy pre-check; declutter classification pre-check) become straightforward implementations against that resolved posture.

    Recommended human path

    Ratify the posture (portable-baseline default + ladder override), then the doc-drift-detector + declutter changes are ready to spec. Depends on standards PR #206 landing the convention it consumes.

  3. added
    needs-human
    wayfind: design
    and removed
    needs-triage
    on Jul 19, 2026
  4. kyle-sexton commented on Jul 19, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI (needs-human decision-brief pass).

    Decision brief (2-minute read)

    Problem. Should the documentation-existence admission test (from standards PR #206) ship as a portable-baseline default in the doc-drift-detector agent and the declutter skill, or engage only when a consuming org's declared standards contain it? The work itself (add a "may this doc exist?" pre-check ahead of "is it stale?", route admission-failures to relocate-then-delete) is mechanical once the posture is set.

    Today (verified in repo):

    • plugins/review/agents/doc-drift-detector.md judges accuracy/freshness only — categories are Stale / Missing / Aspirational (doc-drift-detector.md:57-59); "Aspirational" routes to clarify status, never delete. No admission pre-check exists.
    • plugins/docs-hygiene/skills/audit-noise/SKILL.md — this is the declutter skill (frontmatter name: audit-noise; the catalog still surfaces a declutter entry). It classifies five in-page NOISE shapes (citation / ghost-ref / preamble / enum-list / scope-meta) into Tier 1-3 and is read-only. It has no whole-page admission test.
    • Zero runtime references to melodic-software/standards in plugins (confirmed) — the re-anchor:follow-our-standards ladder is the existing override seam.

    Options.

    • RECOMMENDED — Portable-baseline default + org-declared override via the follow-our-standards ladder. The admission question ("could a reader with repo search derive this from code?") is repo-shape-independent, so a portable default is defensible, and the ladder already gives orgs a clean override with no hard-coding of standards. Reversibility: HIGH — this is classifier heuristic + prompt text; demoting to opt-in later is a default flip, no migration. Tradeoff: the deletion-routing reach expands to repos that never opted in, so the pre-check must only ever recommend relocate-then-delete (the agent already only reports; the skill is already read-only), never auto-delete.
    • Opt-in only (engage when org standards declare it). Tradeoff: zero surprise for consumers, but the test's org-agnostic value is stranded until each org re-declares it — higher friction, lower reach. Reversibility: HIGH.
    • Advisory tier now, promote later — surface admission findings as a SUGGESTION-level signal, never routing to deletion, and flip to default once trusted. Tradeoff: safest rollout, but adds a tier and defers the actual behavior change. Reversibility: HIGH.

    Cross-links.

  5. kyle-sexton commented on Jul 19, 2026

    @kyle-sexton
    MemberAuthor

    Operator decision (2026-07-19, decision-session batch 2; relayed).

    ACCEPTED — the decision brief's RECOMMENDED option verbatim.

    Re-intake: removing needs-human, adding priority: needs-triage for routing.

  6. added
    needs-triage
    and removed
    needs-human
    on Jul 19, 2026
  7. kyle-sexton commented on Jul 19, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during triage.

    Cleanup, not re-triage. Already correctly carries status: needs-decision with the decision framed in its own body (portable-baseline default vs org-declared-only for the documentation-existence admission test). Only action here: clear the stale priority: needs-triage queue label left over from before this item's decision routing — item was never actually re-queued for triage.

  8. removed
    needs-triage
    needs-owner-decision
    on Jul 19, 2026
  9. 2 remaining items

  10. kyle-sexton commented on Jul 20, 2026

    @kyle-sexton
    MemberAuthor

    Control-tower ruling application (Class B, 2026-07-20). Operator accepted the decision brief's RECOMMENDED option verbatim (batch 2, 7/19). Gate cleared: standards PR #206 MERGED 2026-07-19T17:58Z. Flipped to status: ready — remaining work: doc-drift existence-before-accuracy pre-check + declutter classification pre-check per the accepted brief.

  11. kyle-sexton commented on Jul 20, 2026

    @kyle-sexton
    MemberAuthor

    Flagging a label defect + parking the decision the issue body already calls out.

    This issue's own body states "Design decision to make first (why `status: needs-decision`)" but the issue currently carries only `status: ready` — a triage/labeling gap (noted for #502 telemetry as a triage defect, distinct from the #4b dual-label case).

    The actual decision, per the body: should the documentation-existence admission test ship as the portable-baseline default (applies when a consuming repo declares no doc conventions of its own), or only when the consuming org's declared standards contain it?

    RECOMMENDED: portable-baseline default, org-declared conventions override — matches the issue body's own reasoning (the test is org-agnostic) and the `re-anchor:follow-our-standards` resolution ladder already in place (org's own declared conventions always win). This is additive and non-breaking for repos with no doc conventions of their own.

    Options:

    1. Portable-baseline default, override-able (RECOMMENDED) — ships now, benefits every consuming repo, no coupling to melodic-software/standards internals (verified zero runtime references per the issue body).
    2. Opt-in only when org standards declare it — safer against false positives in repos with different doc philosophies, but leaves the portable-baseline default plugins with no admission test at all until every org adopts one.

    Labeling status: needs-decision; leaving status: ready off since the decision blocks implementation.

  12. added
    needs-owner-decision
    and removed
    status: ready
    on Jul 20, 2026
  13. kyle-sexton commented on Jul 20, 2026

    @kyle-sexton
    MemberAuthor

    The standalone form of this test now ships: /docs-hygiene:audit-derivability (PR #770) is a read-only classifier that asks exactly the documentation-existence question — could a fresh agent re-derive a document's conclusions from native repository exploration? — and returns a four-factor verdict (derivable? × re-derivation cost × drift risk × fact ownership → delete / convert-to-pointer / keep-as-derivation-cache / keep-owns-facts).

    This issue's ask is distinct and remains open: embedding that admission test as a portable-baseline pre-check inside doc-drift and declutter tooling is a different deliverable from a standalone skill. The new skill gives that integration a concrete, tested reference for the test's logic (the rubric in context/rubric.md), but does not itself wire the pre-check into other tooling. Leaving this open, Related-only to #770, for the embedding decision.

  14. kyle-sexton commented on Jul 21, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI (decide lane — application-ready pass).

    Application-ready — posture already ratified; remaining work is implementation

    Ratifying decision. Operator ACCEPTED the RECOMMENDED option verbatim on 2026-07-19 (batch 2 relay): portable-baseline default + org-declared override via the re-anchor:follow-our-standards ladder. Its dependency gate cleared — standards PR #206 merged 2026-07-19T17:58Z, recorded in the 7/20 tower application that flipped this to status: ready.

    Stale re-park superseded. The 2026-07-20T16:34 comment re-added status: needs-decision reasoning from the issue body's "decision to make first" text — it did not account for the 7/19 operator acceptance above. That re-park is superseded; the posture is decided.

    Concrete next action (implementation, not a new decision). Wire the admission ("could a reader with repo search re-derive this?") test as a report-only pre-check ahead of the accuracy check in plugins/review/agents/doc-drift-detector.md (an existence-before-freshness gate; admission-failures recommend relocate-then-delete, never auto-delete) and as a whole-page classification pre-check in the declutter skill plugins/docs-hygiene/skills/audit-noise/SKILL.md (already read-only). /docs-hygiene:audit-derivability (PR #770) now ships the tested rubric at plugins/docs-hygiene/skills/audit-derivability/context/rubric.md — the embedding reuses that logic by reference, it does not re-derive the test.

    RECOMMENDED routing (triage lane / operator): flip status: needs-decision → status: ready — this lane cannot change labels. If the work lane surfaces a genuine wiring sub-fork during implementation, it re-routes to needs-decision then; nothing in the accepted brief indicates one.

    Cross-links: #206 (dependency, merged) · #770 (tested reference rubric) · #440 (outward_write_mode — non-binding; both surfaces already report-only).

  15. kyle-sexton commented on Jul 21, 2026

    @kyle-sexton
    MemberAuthor

    Tower label correction (Class A, applying recorded rulings): the substantive posture decision was ACCEPTED by the operator verbatim on 2026-07-19 (decision-session batch 2) — portable-baseline default + org-declared override via the follow-our-standards ladder, report-only. The 2026-07-20T16:34 re-park keyed off the stale issue-body text and did not account for that acceptance; the 2026-07-21T03:37 decide-lane comment already marked it superseded but could not change labels. Flipping needs-decision → ready. Remaining work is implementation only: report-only existence-before-accuracy pre-check in doc-drift-detector.md + whole-page classification pre-check in audit-noise/SKILL.md, reusing the shipped audit-derivability rubric BY REFERENCE (never hard-coding melodic-software/standards — zero runtime references today, keep it that way). Tower worker claiming next.

    This was generated by AI (control tower, session 6).

  16. added
    status: ready
    and removed
    needs-owner-decision
    on Jul 21, 2026
  17. kyle-sexton commented on Jul 21, 2026

    @kyle-sexton
    MemberAuthor

    Claimed by tower overnight worker

  18. added a commit that references this issue on Jul 21, 2026
    92ac236
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

    status: ready

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions