Skip to content

docs: two evidence files in docs/process/evidence are referenced by nothing #2512

Closed

Description

@schlessera

Context

docs/process/evidence/ holds 37 tracked JSON files, 9.2 MB in total. Two of them are referenced by nothing in the tree:

File Size Added by
docs/process/evidence/independent-test-replay.json 32 KB d6b5272 (#2147)
docs/process/evidence/browser-input-closure-replay.json 60 KB b6d7391 (#2152)

The other 35 are cited from docs/process/test-waits.md or other process docs.

for f in $(git ls-files docs/process/evidence); do
  b=$(basename "$f"); [ "$(git grep -l -F "$b" -- . ":!$f" | wc -l)" -eq 0 ] && echo "$f"
done

docs/decisions/measurement-archive.md:21-27,64-75 sets the rule: historical measurement output that no current test, script, eval or CI step reads moves to the archive/measurements branch, and a link from a document or PR body is a pointer, not a consumer.

Scope

  • Move the two files to the archive branch as a new commit on top of archive/measurements (never rebase or force-push), following the procedure in docs/decisions/measurement-archive.md. Delete them from main.
  • Add both to the archived inventory in that record, with the archive commit as a full SHA.

Out of scope

  • The other 35 evidence files and docs/process/test-waits.md.
  • Any size budget or policy for scripts/ or evidence. That has its own issue.

Acceptance criteria

  • Neither file exists on main.
  • docs/decisions/measurement-archive.md lists both, with the archive commit SHA. sha256sum of each archived file matches the bytes deleted from main.
  • The unreferenced-evidence loop above prints nothing.

Verification

bun test tests/decision-citations.test.ts --timeout 30000
bun run lint
bun run check:pr --base origin/main

Contract impact

None. Documentation and evidence only.

Found by a repository review on 2026-10-22.

Activity

  1. added
    type: chore
    area: ci
    area: docs
    priority: p3
    agent-ready
    on Oct 21, 2026
  2. self-assigned this
    on Nov 2, 2026
  3. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Claiming for implementation (token claim-1793663172-c09e), together with #2511 and #2512 in one PR on branch docs/relocate-plans-and-evidence, targeting the epic integration branch epic/2542-dead-code. Collision check: path overlap on docs/plans/* with open PRs #3316, #3342, #3343, #3371, #3386, #3390 (citation-line updates inside plans) and #3391 (docs/plans/README.md); closure-only reports otherwise.

  4. added this to the 0.45.0 milestone on Nov 3, 2026
  5. schlessera commented on Nov 3, 2026

    @schlessera
    OwnerAuthor

    Delivered to epic/2542-dead-code as b29668b29 via #3400, after ready-candidate proof passed on the exact epic base. This issue closes when the epic batch lands on main.

  6. removed their assignment
    on Nov 3, 2026
  7. added
    priority: p2
    and removed
    priority: p3
    on Nov 3, 2026
  8. schlessera commented on Nov 3, 2026

    @schlessera
    OwnerAuthor

    Triage 2026-11-03: raised this from priority: p3 to p2 under the blocker rule. #3398 (priority: p2) is now blocked by this issue. It cannot start until #3400's archive inventory reaches main, and that happens when this issue's epic batch lands. No other change.

  9. schlessera commented on Nov 6, 2026

    @schlessera
    OwnerAuthor

    Re-verified at main 223ca157a (2026-11-06). Delivered by #3400 (b29668b29), which reached main through the #2542 batch #3512 (90aebd916):

    No new change was needed, so no PR was opened. This issue is still open only because #3400 used Refs on the epic branch and the batch merge did not close it.

  10. schlessera commented on Nov 6, 2026

    @schlessera
    OwnerAuthor

    Delivered by #3400, which reached main through #3512; it used Refs, so this issue stayed open. Verified against main on 2026-11-06: both evidence files are gone, the archive record lists them with their checksums, and the reference check reports only the two newer files that #3398 covers.

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

    agent-readyarea: ciarea: docspriority: p2type: chore

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions