From 79aef8f117b339fe87f9f30b4db2b6443910017c Mon Sep 17 00:00:00 2001 From: Aaron Stainback Date: Thu, 14 May 2026 17:33:38 -0400 Subject: [PATCH 1/3] chore(b-0139): decompose branch/worktree inventory to B-0351 --- ...ra-otto-work-inventory-aaron-2026-05-01.md | 3 +- ...strate-kenji-era-git-branches-inventory.md | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 docs/backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md diff --git a/docs/backlog/P1/B-0139-pre-substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md b/docs/backlog/P1/B-0139-pre-substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md index b6bdbbbe1..96a30680c 100644 --- a/docs/backlog/P1/B-0139-pre-substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md +++ b/docs/backlog/P1/B-0139-pre-substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md @@ -7,7 +7,8 @@ created: 2026-05-01 last_updated: 2026-05-08 depends_on: [] type: friction-reducer -decomposition: blob +decomposition: partial +children: [B-0351] --- # B-0139 — Pre-substrate Kenji-era inventory diff --git a/docs/backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md b/docs/backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md new file mode 100644 index 000000000..be06b14df --- /dev/null +++ b/docs/backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md @@ -0,0 +1,28 @@ +--- +id: B-0351 +priority: P1 +status: open +title: Pre-substrate Kenji-era git branches and worktrees inventory +created: 2026-05-14 +last_updated: 2026-05-14 +depends_on: [] +type: friction-reducer +decomposition: atomic +--- + +# B-0351 — Pre-substrate Kenji-era git branches and worktrees inventory + +**Decomposed from:** B-0139 + +## What + +Inventory pre-substrate / Kenji-era Otto-lineage work that is in the codebase git branches and worktrees. +This is a specific slice extracted from the larger B-0139 blob. + +1. **Past-recovery git branches** that haven't been triaged or merged. Many of these are from earlier-session work where the autonomous-loop was running under Kenji-the-architect with no formal substrate to record decisions. Likely classes: in-flight feature work, abandoned experiments, drift-fixes that landed differently, recovery-from-incidents with content not yet preserved. +2. **Worktrees** still on disk that aren't referenced from substrate. Earlier ticks during the recovery-lane work referenced worktree pruning (per task #321); this row's broader scope includes the *content* of those worktrees, not just their classification as LOST/SAFE. + +## Acceptance Criteria + +1. Branch inventory of past-recovery state, with classification per item: integrated-into-main / abandoned / re-do-needed / preserve-in-substrate / discard-with-rationale. +2. Worktree content inventory. \ No newline at end of file From 0c0cf5655ea0d8f128ebf745eee4be73fc81f054 Mon Sep 17 00:00:00 2001 From: Aaron Stainback Date: Thu, 14 May 2026 17:41:13 -0400 Subject: [PATCH 2/3] fix(b-0351): add trailing newline (MD047), parent frontmatter, update last_updated, regen index - B-0351: add trailing newline to fix MD047/single-trailing-newline - B-0351: add `parent: B-0139` frontmatter so backlog automation can recognize the parent/child decomposition relationship - B-0139: bump last_updated to 2026-05-14 (content touched by this PR) - BACKLOG.md: regenerate via generate-index.ts to include B-0351 row Co-Authored-By: Claude --- docs/BACKLOG.md | 1 + ...substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md | 2 +- .../B-0351-pre-substrate-kenji-era-git-branches-inventory.md | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/BACKLOG.md b/docs/BACKLOG.md index be1ed27dc..edbab739e 100644 --- a/docs/BACKLOG.md +++ b/docs/BACKLOG.md @@ -194,6 +194,7 @@ are closed (status: closed in frontmatter)._ - [x] **[B-0349](backlog/P1/B-0349-extract-operational-discipline-bullets-to-rules.md)** Extract operational-discipline bullets to .claude/rules/ - [x] **[B-0350](backlog/P1/B-0350-extract-autonomy-identity-bullets-to-rules.md)** Extract autonomy/identity bullets to .claude/rules/ - [x] **[B-0351](backlog/P1/B-0351-extract-infrastructure-safety-bullets-to-rules.md)** Extract infrastructure/safety bullets to .claude/rules/ +- [ ] **[B-0351](backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md)** Pre-substrate Kenji-era git branches and worktrees inventory - [x] **[B-0352](backlog/P1/B-0352-extract-meta-governance-bullets-to-rules.md)** Extract meta/governance bullets to .claude/rules/ - [x] **[B-0353](backlog/P1/B-0353-write-bootstrap-process-claude-md.md)** Write bootstrap-process CLAUDE.md (<50 lines) - [ ] **[B-0354](backlog/P1/B-0354-fresh-instance-validation-bootstrap-claude-md.md)** Fresh-instance validation test for bootstrap CLAUDE.md diff --git a/docs/backlog/P1/B-0139-pre-substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md b/docs/backlog/P1/B-0139-pre-substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md index 96a30680c..b2e238fac 100644 --- a/docs/backlog/P1/B-0139-pre-substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md +++ b/docs/backlog/P1/B-0139-pre-substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md @@ -4,7 +4,7 @@ priority: P1 status: in-progress title: Pre-substrate Kenji-era Otto-lineage work inventory — past recovery branches, worktrees, built artifacts not yet referenced in substrate created: 2026-05-01 -last_updated: 2026-05-08 +last_updated: 2026-05-14 depends_on: [] type: friction-reducer decomposition: partial diff --git a/docs/backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md b/docs/backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md index be06b14df..d42cae57b 100644 --- a/docs/backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md +++ b/docs/backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md @@ -6,6 +6,7 @@ title: Pre-substrate Kenji-era git branches and worktrees inventory created: 2026-05-14 last_updated: 2026-05-14 depends_on: [] +parent: B-0139 type: friction-reducer decomposition: atomic --- @@ -25,4 +26,4 @@ This is a specific slice extracted from the larger B-0139 blob. ## Acceptance Criteria 1. Branch inventory of past-recovery state, with classification per item: integrated-into-main / abandoned / re-do-needed / preserve-in-substrate / discard-with-rationale. -2. Worktree content inventory. \ No newline at end of file +2. Worktree content inventory. From ab4ac5af5d439a348c404cfd34dd7cd066599b62 Mon Sep 17 00:00:00 2001 From: Aaron Stainback Date: Thu, 14 May 2026 19:07:00 -0400 Subject: [PATCH 3/3] fix(b-0351): rename colliding ID B-0351 to B-0522, update B-0139 child ref, regen index MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit B-0351 was already taken by docs/backlog/P1/B-0351-extract-infrastructure-safety-bullets-to-rules.md (the infrastructure/safety rules extraction row, now complete). - Renamed B-0351-pre-substrate-kenji-era-git-branches-inventory.md → B-0522 - Updated frontmatter id + heading in the file - Updated B-0139 children: [B-0351] → children: [B-0522] - Regenerated BACKLOG.md via generate-index.ts Co-Authored-By: Claude Sonnet 4.6 --- docs/BACKLOG.md | 2 +- ...ubstrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md | 2 +- ... B-0522-pre-substrate-kenji-era-git-branches-inventory.md} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename docs/backlog/P1/{B-0351-pre-substrate-kenji-era-git-branches-inventory.md => B-0522-pre-substrate-kenji-era-git-branches-inventory.md} (94%) diff --git a/docs/BACKLOG.md b/docs/BACKLOG.md index edbab739e..7adf40487 100644 --- a/docs/BACKLOG.md +++ b/docs/BACKLOG.md @@ -194,7 +194,6 @@ are closed (status: closed in frontmatter)._ - [x] **[B-0349](backlog/P1/B-0349-extract-operational-discipline-bullets-to-rules.md)** Extract operational-discipline bullets to .claude/rules/ - [x] **[B-0350](backlog/P1/B-0350-extract-autonomy-identity-bullets-to-rules.md)** Extract autonomy/identity bullets to .claude/rules/ - [x] **[B-0351](backlog/P1/B-0351-extract-infrastructure-safety-bullets-to-rules.md)** Extract infrastructure/safety bullets to .claude/rules/ -- [ ] **[B-0351](backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md)** Pre-substrate Kenji-era git branches and worktrees inventory - [x] **[B-0352](backlog/P1/B-0352-extract-meta-governance-bullets-to-rules.md)** Extract meta/governance bullets to .claude/rules/ - [x] **[B-0353](backlog/P1/B-0353-write-bootstrap-process-claude-md.md)** Write bootstrap-process CLAUDE.md (<50 lines) - [ ] **[B-0354](backlog/P1/B-0354-fresh-instance-validation-bootstrap-claude-md.md)** Fresh-instance validation test for bootstrap CLAUDE.md @@ -316,6 +315,7 @@ are closed (status: closed in frontmatter)._ - [ ] **[B-0513](backlog/P1/B-0513-b0448-slice7-memory-file-empirical-bootstrap-learning-2026-05-14.md)** B-0448 slice 7 — Memory file capturing empirical Cloud Routine bootstrap learning - [ ] **[B-0518](backlog/P1/B-0518-sharpen-holding-without-named-dependency-rule-anti-failure-mode-2026-05-14.md)** Sharpen the holding-without-named-dependency rule — Aaron diagnosed CLAUDE.md bug - [ ] **[B-0520](backlog/P1/B-0520-new-surface-audit-alignment-check.md)** Mechanize new-surface audit for alignment-clause consistency +- [ ] **[B-0522](backlog/P1/B-0522-pre-substrate-kenji-era-git-branches-inventory.md)** Pre-substrate Kenji-era git branches and worktrees inventory ## P2 — research-grade diff --git a/docs/backlog/P1/B-0139-pre-substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md b/docs/backlog/P1/B-0139-pre-substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md index b2e238fac..c22b975c1 100644 --- a/docs/backlog/P1/B-0139-pre-substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md +++ b/docs/backlog/P1/B-0139-pre-substrate-kenji-era-otto-work-inventory-aaron-2026-05-01.md @@ -8,7 +8,7 @@ last_updated: 2026-05-14 depends_on: [] type: friction-reducer decomposition: partial -children: [B-0351] +children: [B-0522] --- # B-0139 — Pre-substrate Kenji-era inventory diff --git a/docs/backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md b/docs/backlog/P1/B-0522-pre-substrate-kenji-era-git-branches-inventory.md similarity index 94% rename from docs/backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md rename to docs/backlog/P1/B-0522-pre-substrate-kenji-era-git-branches-inventory.md index d42cae57b..83c192633 100644 --- a/docs/backlog/P1/B-0351-pre-substrate-kenji-era-git-branches-inventory.md +++ b/docs/backlog/P1/B-0522-pre-substrate-kenji-era-git-branches-inventory.md @@ -1,5 +1,5 @@ --- -id: B-0351 +id: B-0522 priority: P1 status: open title: Pre-substrate Kenji-era git branches and worktrees inventory @@ -11,7 +11,7 @@ type: friction-reducer decomposition: atomic --- -# B-0351 — Pre-substrate Kenji-era git branches and worktrees inventory +# B-0522 — Pre-substrate Kenji-era git branches and worktrees inventory **Decomposed from:** B-0139