Skip to content

governance(artifacts): reconcile proposal/spec/ADR/plan lifecycle and support-tier claims #2328

Open

Description

@EffortlessSteven

Parent

Problem

RIPR has a rich retained artifact graph, but lifecycle and product-claim state has drifted across:

docs/proposals/
docs/specs/
docs/adr/
plans/
policy/doc-artifacts.toml
.ripr/traceability.toml
docs/status/SUPPORT_TIERS.md
docs/CAPABILITY_MATRIX.md
metrics/capabilities.toml

Examples on current main:

  • implemented behavior can remain listed as proposed;
  • partially landed umbrellas can look complete because one slice merged;
  • superseded or historical designs are not consistently distinguished from active proposals;
  • support-tier text still names deleted goal commands and an obsolete active-goal compatibility boundary;
  • buyer-facing claims can cite proof commands or workflows that no longer exist in the stated form.

A retained spec is useful only when future agents can tell whether it is normative, implemented, partial, superseded, or historical.

Outcome

Define and apply one mechanically checked lifecycle/claim reconciliation pass.

Minimum lifecycle vocabulary:

proposed
accepted
implemented
partially_implemented
superseded
historical
deferred
withdrawn

The exact machine representation may reuse the existing artifact ledger, but each artifact must have one current state, one authority, and—where applicable—one implementation/proof relationship.

Required work

  1. Audit every registered proposal, spec, ADR, plan, closeout, support-tier row, and capability entry.
  2. Reconcile lifecycle against current code, fixtures, merged PRs, and retained closeouts.
  3. Separate normative status from implementation, evidence, and support posture; do not collapse them into one Boolean.
  4. Mark partially implemented umbrellas honestly when only child slices landed.
  5. Record supersession and historical relationships explicitly.
  6. Remove live adoption claims that reference deleted commands, deleted goal state, or obsolete compatibility limitations.
  7. Validate every support-tier proof command and linked path against current main.
  8. Add a drift gate so future PRs cannot change implementation/proof while leaving registered lifecycle/support state contradictory.

Required evidence model

For a support claim, retain at least:

capability/surface id
support tier
claim text
known limits
normative spec(s)
implementation status
proof command(s)
fixture/corpus/receipt evidence
last reviewed source identity or generated inventory identity

A proof command existing is not by itself evidence that the support tier is earned; the linked behavior and claim boundary must match.

Acceptance criteria

  • every registered normative artifact has one lifecycle state;
  • lifecycle, implementation status, evidence posture, and support tier remain independent fields/concepts;
  • every implemented claim points to current code/tests/proof;
  • every partially_implemented item names the missing child slices or acceptance criteria;
  • every superseded or historical item names its successor or historical role;
  • SUPPORT_TIERS.md, capability data, and the capability matrix agree on tier and proof ownership;
  • no support-tier text names deleted goal commands or files as current functionality;
  • proof-command drift and missing artifact links fail a checked gate;
  • no support tier is promoted solely to make documentation consistent.

Proof

cargo xtask check-doc-artifacts
cargo xtask check-spec-format
cargo xtask check-spec-numbering
cargo xtask check-doc-index
cargo xtask check-traceability
cargo xtask check-capabilities
cargo xtask check-support-tiers
cargo xtask check-output-contracts
git diff --check

Relationships

Non-goals

  • redesigning analyzer semantics;
  • promoting preview languages;
  • changing gate defaults;
  • rewriting historical artifacts to use modern vocabulary where their historical meaning is already clear;
  • creating one new proposal/ADR/spec merely to rename statuses.

Activity

  1. added
    status/needs-work
    on Jul 23, 2026
  2. coderabbitai commented on Jul 23, 2026

    @coderabbitai
    🔗 Related PRs

    #1691 - specs(ripr): materialize first RIPR-SPEC v2 requirement [merged]
    #1714 - audit(goals): add fail-closed authority audit framework [merged]
    #1836 - docs(spec): add RIPR-SPEC-0130 RIPR authority map + legacy conformance fixture (#1761) [merged]
    #2056 - refactor(goals): delete the .ripr/goals scheduler and its machinery (#1701) [merged]
    #2252 - test(gate): pin command boundary outcomes [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false
    

    💬 Have feedback or questions? Drop into our discord!

  3. EffortlessSteven commented on Jul 27, 2026

    @EffortlessSteven
    MemberAuthor

    Decomposition assessment\n\nThis is a governance/process decision, not a code issue. It should be batched for maintainer decision rather than decomposed into code PRs. See the cluster analysis on #2021.

  4. EffortlessSteven commented on Jul 29, 2026

    @EffortlessSteven
    MemberAuthor

    ADR status reconciliation audit (2026-07-28)

    Deep investigation of all 21 ADRs found 6 that need status review:

    Should be accepted (parsers ship in production)

    ADR-0008 "TypeScript Parser Substrate" — Status proposed, dated 2026-05-11. Body says "This ADR records the parser pick. It does not add the dependency." But oxc_parser::Parser is actively imported in production code (typescript/mod.rs:33, related_tests.rs:55). The decision landed.

    ADR-0009 "Python Parser Substrate" — Status proposed, dated 2026-05-12. rustpython_parser is actively imported (python.rs:33, source_utils.rs:1). Same pattern.

    Need status review (substrate decisions implemented since ADR)

    • ADR-0011 (editor preview routing) — proposed; editor preview routing has shipped
    • ADR-0016 (editor adoption assurance read-only) — proposed; adoption assurance reports exist
    • ADR-0018 (perl-lsp substrate) — proposed; RIPR-SPEC-0064 (perl fact packet) and the adapter work have implemented the substrate
    • ADR-0019 (shared packet contract) — proposed; the shared enforcement layer is implemented across surfaces

    What's clean

    • ADRs 0001-0007, 0010, 0012-0015, 0017, 0020-0021 have correct statuses
    • Index (docs/adr/README.md) is complete — no orphan files, no missing entries
    • Format is consistent (Status, Date, Context, Decision, Consequences)
    • No ADR claims to supersede another without naming it
    • Most recent ADRs (0020, 0021) are accepted and internally consistent

    Full audit details in #2731.

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/needs-work

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions