Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ 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-14
last_updated: 2026-05-16
depends_on: []
type: friction-reducer
decomposition: decomposed
children: [B-0522, B-0523, B-0526, B-0527]
children: [B-0522, B-0523, B-0526, B-0527, B-0528]
---

# B-0139 — Pre-substrate Kenji-era inventory
Expand Down Expand Up @@ -73,7 +73,7 @@ Composes with task #321 (Recovery lane — branch/worktree/stash inventory + cla

## Status

**In progress.** First slice landed: `tools/hygiene/audit-formal-artifacts.ts` — a TS script (Rule 0 compliant) that catalogs all formal verification artifacts (Lean4, TLA+, Z3, Alloy, formal tests) and cross-references each against docs/ for substrate-status. Finds 30 artifacts (4295 lines); 24 referenced in substrate, 6 unreferenced TLA+ specs (`AsyncStreamEnumerator.tla`, `BftConsensus.tla`, `ChaosEnvDeterminism.tla`, `ConsistentHashRebalance.tla`, `FeatureFlagsResolution.tla`, `InfoTheoreticSharder.tla`). Remaining slices: F# src/Core/ artifact inventory. Decomposed: docs/research cross-reference audit → B-0523; F# src/Core inventory → B-0522; branch/worktree content inventory → B-0526; MEMORY.md backfill → B-0527.
**In progress.** First slice landed: `tools/hygiene/audit-formal-artifacts.ts` — a TS script (Rule 0 compliant) that catalogs all formal verification artifacts (Lean4, TLA+, Z3, Alloy, formal tests) and cross-references each against docs/ for substrate-status. Finds 30 artifacts (4295 lines); 24 referenced in substrate, 6 unreferenced TLA+ specs (`AsyncStreamEnumerator.tla`, `BftConsensus.tla`, `ChaosEnvDeterminism.tla`, `ConsistentHashRebalance.tla`, `FeatureFlagsResolution.tla`, `InfoTheoreticSharder.tla`). Remaining slices: none. Decomposed: docs/research cross-reference audit → B-0523; F# src/Core inventory → B-0522; branch/worktree content inventory → B-0526; MEMORY.md backfill → B-0527; Class-level lesson encoded → B-0528.

## Verify-before-deferring note

Expand Down
25 changes: 25 additions & 0 deletions docs/backlog/P1/B-0528-verify-before-state-claim-lesson.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
id: B-0528
priority: P1
status: open
title: Class-level verify-before-state-claim lesson from Kenji-era pre-substrate work
created: 2026-05-16
last_updated: 2026-05-16
parent: B-0139
Comment thread
AceHack marked this conversation as resolved.
---

# B-0528 — Class-level verify-before-state-claim lesson

**Priority:** P1 (extracted from B-0139 blob)

**Effort:** S

## What
Encode the verify-before-state-claim audit lesson from B-0139. When filing a backlog row for new formalization or engineering work, the agent must grep the codebase for existing implementations BEFORE asserting "TRACTABLE START" or similar clean-start framing.

## Why
This is a class-level lesson explicitly required by B-0139 (Acceptance Criterion 6) to prevent lineage-discontinuity failure modes.

## Acceptance Criteria
1. Add a rule to `.claude/rules/` or `docs/research/` detailing the grep-before-claim lesson.
2. Ensure B-0130 audit-suite is aware of this specific class-level verify pattern.
Loading