Skip to content
Merged
4 changes: 2 additions & 2 deletions docs/BACKLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ are closed (status: closed in frontmatter)._
- [ ] **[B-0401](backlog/P1/B-0401-demo-surface-circuit-breaker-hamiltonian-git-alignment-ui.md)** Demo surface — AI circuit breaker + Hamiltonian-to-git alignment UI + operational resonance dashboard integration
- [ ] **[B-0403](backlog/P1/B-0403-weight-free-verification-hat-timeboxed-authority.md)** Weight-free verification — hat-and-timeboxed-authority mechanism + chaos testing
- [ ] **[B-0405](backlog/P1/B-0405-beacon-promotion-gate-dashboard-observable.md)** Beacon promotion gate — observable mirror→beacon pipeline with dashboard metrics
- [ ] **[B-0409](backlog/P1/B-0409-wallet-immune-system-vaccine-spread-poucc-spec.md)** Wallet immune system — vaccine spread + PoUW-CC gate + attack absorption spec
- [ ] **[B-0418](backlog/P1/B-0418-amplification-ratio-metric-dashboard-2026-05-11.md)** Amplification ratio metric — human input : agent actions on dashboard
- [ ] **[B-0419](backlog/P1/B-0419-honest-agenda-amplification-metric-aaron-2026-05-11.md)** Honest agenda amplification metric — actions weighted by agenda alignment
- [x] **[B-0423](backlog/P1/B-0423-memory-md-serialization-point-2026-05-12.md)** MEMORY.md serialization-point anti-pattern
Expand Down Expand Up @@ -256,6 +255,7 @@ are closed (status: closed in frontmatter)._
- [ ] **[B-0449](backlog/P1/B-0449-bg-services-slice-5-subscriber-agent-design-pass-2026-05-13.md)** bg-services slice 5 — subscriber-agent architecture design pass (closes the foreground-optional architectural claim)
- [ ] **[B-0450](backlog/P1/B-0450-getting-started-guide-for-library-consumers-pm2-2026-05-13.md)** Getting-started guide for Zeta library consumers — quickstart doc + sample project
- [ ] **[B-0451](backlog/P1/B-0451-duplicate-row-id-substrate-cleanup-2026-05-13.md)** Duplicate row-ID substrate cleanup — resolve the 12 collisions surfaced by audit-duplicate-row-ids.ts
- [ ] **[B-0463](backlog/P1/B-0463-wallet-immune-system-vaccine-spread-poucc-spec.md)** Wallet immune system — vaccine spread + PoUW-CC gate + attack absorption spec

## P2 — research-grade

Expand Down Expand Up @@ -487,7 +487,6 @@ are closed (status: closed in frontmatter)._
- [ ] **[B-0406](backlog/P2/B-0406-immune-source-material-survey-note-capture-atomic-riven-2026-05-11.md)** Immune source material survey + note capture (atomic research pass, child of B-0108)
- [ ] **[B-0407](backlog/P2/B-0407-immune-cross-reference-candidate-identification-atomic-riven-2026-05-11.md)** Cross-reference immune concepts to Aurora + superorganism substrate + identify candidates (atomic, child of B-0108)
- [ ] **[B-0408](backlog/P2/B-0408-immune-promoted-candidates-follow-up-filing-closure-atomic-riven-2026-05-11.md)** Promoted candidate follow-up row filing + B-0108 research-absorb closure (atomic, child of B-0108)
- [ ] **[B-0409](backlog/P2/B-0409-amara-persona-bootstrap-preamble-definition-ts-first-riven-2026-05-11.md)** Amara persona bootstrap preamble + AgencySignature definition (atomic child of B-0118, TS-first)
- [ ] **[B-0409](backlog/P2/B-0409-peer-call-ts-audit-duplication-post-migration-2026-05-11.md)** Peer-call TS audit — duplication surface after TS migration (B-0120 child)
- [ ] **[B-0410](backlog/P2/B-0410-peer-call-persona-loader-ts-module-2026-05-11.md)** Peer-call persona-loader.ts — shared CURRENT-*.md loader with clear error (B-0120 child)
- [ ] **[B-0411](backlog/P2/B-0411-grok-ts-persona-flag-impl-2026-05-11.md)** grok.ts --persona flag — minimal integration of loader + deprecation note (B-0120 child)
Expand All @@ -508,6 +507,7 @@ are closed (status: closed in frontmatter)._
- [ ] **[B-0456](backlog/P2/B-0456-mechanize-md032-blanks-around-lists-pre-commit-2026-05-14.md)** Mechanize MD032 (blanks-around-lists) check — catch tick-shard discipline gap before push, not in CI
- [ ] **[B-0457](backlog/P2/B-0457-amara-ts-core-openai-api-invoke-flag-parity-ts-first-riven-2026-05-11.md)** amara.ts core — OpenAI API invoke + --file/--context-cmd flag parity (atomic child of B-0118, TS-first)
- [ ] **[B-0458](backlog/P2/B-0458-amara-ts-readme-update-courier-debt-closure-test-invoke-ts-first-riven-2026-05-11.md)** amara.ts README integration + courier-debt closure + invocation test (atomic child of B-0118, TS-first)
- [ ] **[B-0462](backlog/P2/B-0462-amara-persona-bootstrap-preamble-definition-ts-first-riven-2026-05-11.md)** Amara persona bootstrap preamble + AgencySignature definition (atomic child of B-0118, TS-first)

## P3 — convenience / deferred

Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
---
id: B-0409
id: B-0463
priority: P1
status: open
title: "Wallet immune system — vaccine spread + PoUW-CC gate + attack absorption spec"
tier: product
effort: L
created: 2026-05-11
last_updated: 2026-05-14
depends_on: [B-0400, B-0401, B-0403]
composes_with: [B-0294, B-0321]
tags: [wallet, immune-system, security, lfg, clifford, poucc, antifragile]
renumbered_from: B-0409
renumbered_reason: "Was in a 3-way ID collision with B-0120 child B-0409 (peer-call-ts-audit) + B-0118 child B-0409 (amara-persona-bootstrap). Per B-0451 sweep: B-0120 frontmatter `children: [B-0409, ...]` + `depends_on: [B-0409, ...]` are the strongest references, so peer-call B-0409 keeps the ID. This row + the amara B-0409 (→ B-0462) renumbered. No incoming references to wallet-immune-B-0409 from other rows beyond composes_with B-0294 + B-0321 (which are unaffected — those refs point FROM here). NOTE: skipped B-0459/0460/0461 — those were reserved for B-0449 slice 5+ follow-up work per PR #3070 (merged 2026-05-14)."
tags: [wallet, immune-system, security, lfg, clifford, poucc, antifragile, renumbered]
type: feature
---

# Wallet immune system — vaccine spread + PoUW-CC + attack absorption
# Wallet immune system — vaccine spread + PoUW-CC + attack absorption (renumbered from B-0409)

## Origin

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ B-0118 decomposed into 3 smallest atomic dependency-ordered children (TS over ba

**Buildable now (no deps):**

- B-0409 — Amara persona bootstrap preamble definition (S; note: B-0409 itself is a 3-way collision pending resolution, see B-0451)
- B-0462 (renumbered from B-0409) — Amara persona bootstrap preamble definition (S)

**Blocked on B-0409:**
**Blocked on B-0462:**

- B-0457 (renumbered from B-0410) — amara.ts core OpenAI API invoke + flag parity (M)

Expand All @@ -172,6 +172,6 @@ All children are atomic, S/M effort, prefer F#/TS code. B-0118 status remains op

## Status update

- status: open (decomposed into children B-0409, B-0457, B-0458; B-0410+B-0411 renumbered 2026-05-14 to resolve ID collision with B-0120's children — see B-0451 substrate-cleanup sweep)
- status: open (decomposed into children B-0457, B-0458, B-0462; the full amara series B-0409-B-0411 renumbered 2026-05-14 to resolve ID collision with B-0120's children — see B-0451 substrate-cleanup sweep)
- last_updated: 2026-05-14
- note: re-decomposed per "assume decomposition has mistakes" rule; original L-effort split to 3 atomic; hybrid API chosen as v1 path (TS-first); IDs renumbered 2026-05-14 per B-0451
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ effort: M
ask: Riven 2026-05-11 (decomp of B-0118, re-decomp pass)
created: 2026-05-11
last_updated: 2026-05-14
depends_on: [B-0409]
composes_with: [B-0118, B-0409, tools/peer-call/codex.ts, tools/peer-call/gemini.ts, tools/peer-call/grok.ts]
depends_on: [B-0462]
composes_with: [B-0118, B-0462, tools/peer-call/codex.ts, tools/peer-call/gemini.ts, tools/peer-call/grok.ts]
renumbered_from: B-0410
renumbered_reason: "ID collision with B-0120's child B-0410 (peer-call-persona-loader-ts-module). B-0120 parent had stronger frontmatter references (children + depends_on listing B-0410 + B-0411) AND B-0412 depends on the peer-call B-0411. Renumbered amara series (this row + B-0458 was B-0411) to next-free B-0457-B-0458. Substrate-cleanup tracked in B-0451."
tags: [amara, peer-call, ts, openai-api, courier-debt, renumbered]
Expand All @@ -20,7 +20,7 @@ decomposition: atomic

# amara.ts core implementation (TS-first, no bash) — renumbered from B-0410

Implement tools/peer-call/amara.ts using Bun + OpenAI API (or official openai pkg) for headless invoke. Exact flag parity with codex.ts/gemini.ts/grok.ts. Use preamble from B-0409. No .sh file created.
Implement tools/peer-call/amara.ts using Bun + OpenAI API (or official openai pkg) for headless invoke. Exact flag parity with codex.ts/gemini.ts/grok.ts. Use preamble from B-0462 (renumbered from B-0409 per B-0451 sweep). No .sh file created.

## Acceptance

Expand All @@ -36,5 +36,5 @@ Implement tools/peer-call/amara.ts using Bun + OpenAI API (or official openai pk

## Evidence

- B-0118 + B-0409
- B-0118 + B-0462 (renumbered from B-0409 per B-0451 sweep)
- TS/Bun migration trajectory (Bucket B peer-call cluster complete, TS-first enforced)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: B-0409
id: B-0462
priority: P2
status: open
title: Amara persona bootstrap preamble + AgencySignature definition (atomic child of B-0118, TS-first)
Expand All @@ -8,15 +8,17 @@ tier: factory-tooling
effort: S
ask: Riven 2026-05-11 (decomp of B-0118, re-decomp pass)
created: 2026-05-11
last_updated: 2026-05-11
last_updated: 2026-05-14
depends_on: []
composes_with: [B-0118, tools/peer-call/codex.ts, tools/peer-call/README.md]
tags: [amara, peer-call, bootstrap, ts-first, courier-debt]
renumbered_from: B-0409
renumbered_reason: "ID collision with B-0120 child B-0409 (peer-call-ts-audit-duplication-post-migration) AND P1 wallet-immune-system. Resolved per B-0451 sweep: B-0120 frontmatter `children: [B-0409, B-0410, ...]` + `depends_on: [B-0409, ...]` are the strongest references, so peer-call B-0409 keeps the ID. This row + the P1 wallet-immune row (→ B-0463) renumbered. Completes the amara-series renumber (B-0410 → B-0457, B-0411 → B-0458 already merged in PR #3069; B-0409 → B-0462 here). NOTE: skipped B-0459/0460/0461 — those were reserved for B-0449 slice 5+ follow-up work per PR #3070 (merged 2026-05-14)."
tags: [amara, peer-call, bootstrap, ts-first, courier-debt, renumbered]
type: friction-reducer
decomposition: atomic
---

# Amara persona bootstrap preamble definition (TS-first)
# Amara persona bootstrap preamble definition (TS-first) — renumbered from B-0409

Define the canonical preamble text + AgencySignature model for Amara (ChatGPT) that matches her sharpening voice and four-ferry role. Produce as const in TS (or .md include) consumable by amara.ts. No bash.

Expand Down
105 changes: 105 additions & 0 deletions docs/hygiene-history/ticks/2026/05/14/0223Z.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
---
tick: 2026-05-14T02:23Z
agent: otto-cli
session: cron-resumption
pr: 3073
---

# Tick 0223Z — B-0451 SUBSTRATE-HYGIENE CASCADE COMPLETE

## Refresh

- CronList: live (job 9ac08520, every minute, sentinel autonomous-loop).
- **PR 3069 (B-0410-B-0411 amara batch) MERGED → ed9284d**.
- Otto-Desktop archive PRs 3060 + 3068 also merged.
- Zero of my PRs open at tick start.

## Speculative work picked — the final cleanup

Previous tick deferred B-0409 3-way because of cross-PR sequencing
constraint (B-0457's `depends_on: [B-0409]` would race with B-0409
renumber). PR 3069 now on main → constraint cleared → execute.

## Resolution

Three rows shared id: B-0409. Per the procedure memo (PR 3066,
just merged), external-references rule applied:

- B-0120 parent frontmatter has `children: [B-0409, B-0410, ...]`
AND `depends_on: [B-0409, B-0410, ...]` — strongest references
- B-0118 has only body-text mention (editable here)
- Wallet-immune-system has no incoming refs

→ Keep peer-call B-0409. Renumber others:

amara-persona-bootstrap B-0409 → B-0459 (completes amara series)
wallet-immune-system B-0409 → B-0460
Comment thread
AceHack marked this conversation as resolved.
Outdated

## Chain remap

PR 3069 left B-0457's depends_on referencing the to-be-renumbered
amara B-0409. This PR remaps it:

- B-0457.depends_on: [B-0409] → [B-0459]
- B-0457.composes_with also updated
- B-0118 parent body §Decomposition updated to point at new IDs

Comment thread
AceHack marked this conversation as resolved.
Outdated
## Substrate state verified

```
$ bun tools/bg/audit-duplicate-row-ids.ts
audit-duplicate-row-ids: 561 rows with id field, no duplicate IDs
```

**ZERO duplicate-ID groups on main once PR 3073 lands.**

## Session-arc cascade rounds — TERMINAL STATE

| Round | PR | Date | Groups |
|---|---|---|---|
| 1 | 3053 | 2026-05-13 | 12 → 11 |
| 2 | 3057 | 2026-05-13 | 11 → 10 |
| 3 | 3058 | 2026-05-13 | 10 → 6 |
| 4 | 3065 | 2026-05-13 | 6 → 3 |
| 5 | 3069 | 2026-05-14 | 3 → 1 |
| **6** | **3073 (this PR)** | **2026-05-14** | **1 → 0** |

12 collision groups → 0 across 6 rounds + 1 audit-tool PR +
1 procedure memo + 4 reviewer-thread iteration cycles.

## Cumulative session metrics (final)

| Metric | Value |
|---|---|
| My PRs merged | 14 (substrate-hygiene cascade) |
| Sibling-agent PRs merged | 11 (Otto-Desktop, Lior, Codex) |
| Total merged | 25 |
| PRs in flight | 1 (#3073) |
| PRs closed-with-provenance | 1 (#3052) |
| Duplicate-ID groups | 12 → 0 |
| Dangling-dep refs | 9 → 0 |
| Markdown findings caught | 12 across 4 rule classes |
| Copilot review rounds metabolized | 4 on #3066 (11 cumulative threads) |
| New tooling shipped | audit-duplicate-row-ids.ts (PR 3056) |
| New durable substrate | Procedure memo (PR 3066), B-0451 row, B-0456 mech-row |
| Remaining work for future-Otto | B-0456 (mechanize MD lint pre-check); no ID collisions |

## CronList

- Live (job 9ac08520, every minute).

## Visibility signal

The substrate-hygiene cascade reached its terminal state:

- Audit-duplicate-row-ids reports 561 rows, **0 duplicates**
- Backlog-ready-notifier reports **0 dangling-dep refs** (since
earlier this session)
- Procedure memo is durable substrate on main, making future
similar cleanups cheap
- B-0456 row is filed with 12-finding regression-suite corpus
for the next mechanization

Real-dependency-wait on PR 3073 CI. Once it merges, the session's
substrate-hygiene work is fully landed. Loop continues for any
new work future ticks surface.
77 changes: 77 additions & 0 deletions docs/hygiene-history/ticks/2026/05/14/0238Z.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
tick: 2026-05-14T02:38Z
agent: otto-cli
session: cron-resumption
pr: 3073
---

# Tick 0238Z — PR #3070 parallel-renumber-collision caught; bumped to B-0462/0463

## Refresh

- CronList: live (job 9ac08520, every minute).
- PR 3070 (Otto-Desktop's B-0449 slice-5 reservation renumber)
merged → 485f446. It reserved B-0459/0460/0461 for B-0449
future work — my open PR 3073 was reaching for B-0459/B-0460
for amara + wallet-immune. **Same collision pattern this
whole sweep was clearing, recurring at meta level.**

## Named-dependency action

PR 3073 surfaced 2 Codex+Copilot threads on B-0457 body refs
(real bugs — frontmatter updated but body text still pointed at
B-0409). PR 3073's CI also showed the substrate state was
correct (audit reports no duplicates) but the new B-0459/B-0460
reach was about to collide with B-0449's PR-3070 reservations.

Bumped to next-available B-0462 (amara) + B-0463 (wallet-immune),
skipping the reserved B-0459-0461 range.
Comment thread
AceHack marked this conversation as resolved.

## Landed concretely

| Artifact | Where | What |
|---|---|---|
| File renames | PR 3073 commit 13f285f | B-0459 → B-0462; B-0460 → B-0463 |
| Frontmatter ids | PR 3073 | id, renumbered_reason, NOTE about skipped range |
| B-0457 depends_on | PR 3073 | [B-0459] → [B-0462] (matches new amara ID) |
| B-0457 body text | PR 3073 | "Use preamble from B-0409" → "from B-0462" (resolves Codex+Copilot threads) |
| B-0118 parent body | PR 3073 | 3 places remapped B-0459 → B-0462 |
| 2 review threads | PR 3073 GraphQL | Resolved |

## Substrate state verified

```
$ bun tools/bg/audit-duplicate-row-ids.ts
audit-duplicate-row-ids: 561 rows with id field, no duplicate IDs
```

The cascade still terminates at zero collisions; just with
B-0462/0463 instead of B-0459/0460.

## Meta-observation: reservation-level collision

Otto-Desktop's PR 3070 and my PR 3073 ran in parallel and BOTH
reached for the same next-free range (B-0459-0461 / B-0459-B-0460).
The audit tool (`audit-duplicate-row-ids.ts`) prevents file-level
collisions but doesn't prevent **reservation-level collisions**
where one PR's body text says "we plan to use X" while another
PR makes X canonical for different content.

This is the next failure class beyond ID collisions. Captured in
PR 3073's commit message for B-0456 follow-up consideration.

## CronList

- Live (job 9ac08520, every minute).

## Visibility signal

Session arc:

- 26 PRs merged total (14 mine + 12 sibling-agent)
- 1 PR in flight (#3073, threads-clear, auto-merge armed)
- 1 PR closed-with-provenance (#3052)
- Duplicate-ID groups: 12 → 0 (final state once PR 3073 merges)
- Audit tool + procedure memo + B-0451 row + B-0456 row all on main

Real-dependency-wait on PR 3073. Loop continues.
Loading