Skip to content

ADR/doc drift: stale ADR-007 refs, incentive/reputation stub status, ADR-028 provenance #580

Closed

Description

@thiras

Summary

Documentation/ADR drift inside the canonical decdn/ repo. The next-ADR counter itself is accurate (highest canonical is 032-safety-reserve-appeals-contract.md; 027/029 correctly absent; no naming violations or broken intra-ADR links) — these are the residual drift items.

M — Stale ADR 007 references inside the canonical ADR set

adr/appendix-l2-deployment.md lines 74, 106, 140 cite retired ADR 007 as authoritative ("ADR 003 / ADR 007 set the default dispute window"; "forced-inclusion window (ADR 007)"; table row "ADR 007 § L2 Sequencer Censorship"). Per workspace rules any ADR-007 reference outside adr/_history/ is stale. Most serious doc finding because it is inside the source-of-truth directory.

Fix: repoint to the surviving authority — dispute-window / forced-inclusion content now lives under ADR 003 + appendix-fraud-detection.md.

Doc — incentive/reputation "stub" status is stale in CLAUDE.md

decdn/CLAUDE.md (Project Overview) describes incentive and reputation as "still stubs." Reality: incentive is ~2.3k LOC / ~60 tests, reputation ~600 LOC / ~17 tests with ADR-008-conformant scoring, and neither contains any unimplemented!/todo! markers. The status text materially understates maturity.

Fix: update the Project Overview status sentence to reflect that both crates carry substantive implemented logic (with the remaining gaps — e.g. network reputation aggregation / Sybil resistance — stated explicitly rather than "stub").

LOW — ADR 028 missing from the CLAUDE.md ADR-note provenance list

decdn/CLAUDE.md ADR note enumerates 030/031/032 and the deleted 027/029 but never mentions ADR 028 (028-slashing-appeals.md, Locked-for-implementation), which exists and is cross-referenced by ADR 032 and architecture.md. Counter is still correct; the provenance ledger just silently skips 028 (and the unused 020/021/023/025 numbers).

Fix: add a one-clause mention that 028 is canonical; optionally note 020/021/023/025 as never-assigned gaps so future auditors don't suspect deletion.

Cross-repo companion

The downstream finance/ repo has a larger concentration of the same SoT drift (stale ADR 004/007/021 citations in params.py, variants.py, READMEs): decdn/finance#5.

Filed from a repository review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions