Skip to content

docs(plans): complete the ADR register and resolve the phantom SHAs - #1208

Merged
d-oit merged 1 commit into
mainfrom
docs/complete-adr-register
Nov 27, 2026
Merged

d-oit merged 1 commit into
mainfrom
docs/complete-adr-register

Conversation

@d-oit

@d-oit d-oit commented Nov 27, 2026

Copy link
Copy Markdown
Owner

What

Follow-ups from Plan 226.

1. Every decision record now has a register row — 57 rows for 57 files. ADRs 001–027 and the legacy ADR 06 join a new pre-reconciliation table (the existing heading promises "since the 2026-07-25 reconciliation", so June decisions don't belong under it).

Two consequences worth reviewing:

  • The guard key changed from number to file. ADR 06 (LLM provider plugin system) and ADR 006 (shared export core) normalise to the same number, so a number-keyed register could only hold one of them. Keying on the file makes both legal and keeps "the same file twice" as the failure.
  • The floor is gone. It existed to exempt the pre-register era; with every record registered there is nothing left to exempt, so a new ADR needs a row no matter what number it takes.

Dates for 001–016 and the legacy 06 come from the commit that added each file and are labelled "recorded", not presented as decision dates.

2. The 18 records with orphaned branch citations now link the map, via a blockquote under the title. Their dated accounts stay as written; the destination is one click away.

3. The two SHAs that exist nowhere are explained:

SHA Finding
6142cfeb A DeepSource run id in Plan 111's evidence line, not a commit. The hex-shaped extractor counted it as one; Plan 226's "never pushed" reading was wrong and is corrected
ff98106… Cited as PR #643's commit pinning gitleaks-action to v2.3.9, but GitHub has no such object — PR #643 merged as c01ab3a7, now cited in Plan 115

So the "48 orphaned branch SHAs" is really 47 branch commits, one run id, one wrong SHA and one superseded commit.

Verification

  • docs:check green with the register at 57 rows. Injections fail as intended: ADR 010 row deleted → "has no row"; 022 row duplicated → "registers … twice"; 06 renumbered to 016 → "registers ADR 016 against a different-numbered file".
  • pnpm run lint, markdownlint on all 20 changed Markdown files, full pre-commit gate (both typechecks, shellcheck).

Record: plans/227-register-completion-and-phantom-sha-resolution-2026-11-27.md.

Every record in plans/ADRs now has a register row: 001-027 and the legacy ADR 06
join a pre-reconciliation table, taking the register from 29 to 57 rows. Because
ADR 06 and ADR 006 both normalise to 006, the guard now keys on the file instead
of the number, and the floor is gone: every record needs a row, not just recent
ones.

The two SHAs that existed nowhere are explained rather than left as gaps - one is
a DeepSource run id, the other cited the wrong commit for PR #643 (c01ab3a) - and
all 18 records with orphaned branch citations now link the Plan 226 map.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@coldtea-pr-lens

Copy link
Copy Markdown

Note

The title starts with docs(plans):, so PR Lens left this pull request undrawn. Comment @pr-lens draw to draw it

github.comment.notice: false in .github/pr-lens.yml turns this note off

@vercel

vercel Bot commented Nov 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
do-knowledge-studio Ready Ready Preview, v0 Nov 27, 2026 6:41pm UTC

@github-actions

Copy link
Copy Markdown
Contributor

Blocked merge diagnosis — blocked
⏳ Check run(s) still in progress: ["Codacy Static Code Analysis","labeler","Stale Base Guard","Detect Changes","Infrastructure as Code Security","Shell Script Security Analysis","Secret Detection","Trivy Filesystem Security Scan","Dependency Advisory Audit","Diagnose Blocked Merge State","commitlint","Analyze (javascript-typescript)","Analyze (python)","Analyze (actions)"]

@github-actions github-actions Bot added documentation Documentation improvements config scripts labels Nov 27, 2026
@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@d-oit
d-oit merged commit 8dbf114 into main Nov 27, 2026
27 checks passed
@d-oit
d-oit deleted the docs/complete-adr-register branch November 27, 2026 18:51

This branch was successfully deployed

1 active deployment
Preview — f4ae08a2 Deployed Nov 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config documentation Documentation improvements scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants