diff --git a/planner/MEMORY.md b/planner/MEMORY.md index d4d724a..706dc25 100644 --- a/planner/MEMORY.md +++ b/planner/MEMORY.md @@ -1,27 +1,45 @@ - + # Planner Memory -## 2026-03-21 — Second planner run +## 2026-03-26 — Sixth planner run ### Milestone state -- **Foundation**: COMPLETE. Agent loop, supervisor, planner, multi-project all working. -- **Adoption**: IN PROGRESS. Bootstrap (#393), docs (#394), dashboard (#395), example project (#466) all in backlog. No work started yet — issues were unlabeled until this run fixed them. -- **Scale**: PARTIALLY started (multi-project works for 3 repos). +- **Foundation**: COMPLETE. All agent loops, supervisor, planner, multi-project, knowledge graph, predictor-planner feedback loop — all working. +- **Adoption**: 4/5 COMPLETE. Bootstrap (#393), docs (#394), dashboard (#395), landing page (#534) all done. Only #466 (example project) remains — stuck on human decision since 2026-03-23. +- **Ship (Fold 2)**: ENTERING SCOPE. Rent-a-human (#679) done. Exec agent (#699) done. Observable addressables (#718) filed. Deploy profiles and assumptions register not yet tracked. +- **Scale**: DEFERRED. No external users yet. Plugin system, community formulas, hosted option all premature. + +### Completed since last summary (runs 2-6) +- Bootstrap fully hardened: init smoke test (#668), CI wiring (#661), Forgejo reachability (#660), 10+ bootstrap fixes +- Full stack containerized (#618, #619) with Forgejo, Woodpecker, Dendrite +- Autonomous merge pipeline (#568) — PRs auto-merge on CI pass + approval +- Unified escalation path (#510) — PHASE:escalate replaces needs_human +- Factory operational reliability — guard logging (#663), stale phase cleanup (#664) +- Prediction/backlog killed (#686) — planner now only ACTIONs or DISMISSes predictions +- Planner v2 — graph-driven formula (#667), tea CLI integration (#666) +- Exec agent (#699) — interactive assistant via Matrix +- Rent-a-human (#679) — formula-dispatchable human action drafts +- Tech-debt queue cleared (~30 items) +- Skill package initiative started (#710-#715) from research (#709) ### Patterns -- **Predictor over-signals on transient ops issues**: 4/6 predictions this run were orphaned tmux sessions or crashed reviews — things the supervisor handles automatically. Expected to continue until predictor learns to filter supervisor-handled issues. -- **Label loss on issue creation**: The 3 Adoption issues created last run had no labels when checked this run. Root cause unknown — could be a silent API failure in the planner's issue creation, or labels removed by another process. Watch for recurrence. -- **Long tech-debt backlog blocks features**: ~20 small backlog items (tech-debt, bug fixes) will be processed before Adoption features due to sequential pipeline and lower issue numbers. Not a problem per se — maintains factory health — but means Adoption work won't start for weeks unless manually prioritized. -- **needs_human is a silent pipeline killer**: When a dev-agent writes PHASE:needs_human and no human responds, the pipeline stalls silently. Supervisor doesn't escalate. Filed #465 to fix. +- **Label loss resolved**: #535 fixed the recurring label-loss pattern. Labels now persist reliably. +- **Predictor signal quality improved**: Later runs show 100% substantive predictions. Over-signaling on transient ops issues has stopped. +- **Human bottleneck is real**: #466 escalated 2026-03-23, still no response after 3 days. When the factory needs human input and doesn't get it, work halts on that branch entirely. +- **Factory throughput is extreme when unblocked**: 50+ issues cleared in ~5 days (2026-03-20 to 2026-03-25). Pipeline processes ~10 issues/day when backlog is stocked. +- **Duplicate issues from parallel creation**: #710/#714 and #711/#715 are duplicates — likely created in separate exec/research sessions. Gardener should catch these. +- **prediction/backlog migration**: All 4 legacy prediction/backlog items dismissed and closed in run 6. prediction/dismissed label created. ### Strategic direction -- Adoption remains the leverage multiplier. All 4 Adoption issues are now in backlog: #393 (init) → #394 (docs) → #395 (dashboard), plus #466 (example project, depends on #393). -- The critical path is: #393 (init) must land first — docs and example project both reference it. -- #465 (supervisor needs_human escalation) is operational leverage — prevents the kind of silent stall observed via #446. +- Ship milestone is the next frontier. Adoption is blocked only on #466 (human decision). +- Skill package distribution (#710→#711→#712) is the immediate pipeline work — packaging disinto for external discovery. +- Observable addressables (#718) bridges Fold 2 → Fold 3 — core vision item. +- The factory has the exec agent (#699) and rent-a-human (#679) — two vision capabilities now live. +- VISION.md updated with factory primitives (resources, addressables, observables) — formalizes the framework. ### Watch list -- Label persistence: verify #393/#394/#395 retain their backlog labels next run -- Tech-debt throughput: how fast is the dev-agent clearing the backlog queue? -- #357 (in-progress): action-agent runtime isolation — track completion -- #448 (prediction/backlog): disk at 75%, trend improving -- #446 (prediction/backlog): harb needs_human pattern — is #465 picked up? +- #466: human response overdue (3 days) — will it ever be unblocked? +- #710-#712: skill package pipeline — first new work direction since Adoption +- #714/#715: duplicate cleanup by gardener +- prediction/backlog label: should be deleted per #686, still exists +- Ship milestone gaps: deploy profiles, assumptions register, vault-gated folds — not yet filed diff --git a/planner/journal/2026-03-26.md b/planner/journal/2026-03-26.md new file mode 100644 index 0000000..36f0682 --- /dev/null +++ b/planner/journal/2026-03-26.md @@ -0,0 +1,54 @@ +# Planner run — 2026-03-26 07:15 UTC + +## Predictions triaged +- #644: DISMISS — disk P1 handled by supervisor reactive cleanup, no persistent issue +- #580: DISMISS — Caddy CVEs don't apply to static site (no FastCGI/PHP) +- #529: DISMISS — swap stable at 57%, supervisor monitors, not trending worse +- #446: DISMISS — root cause fixed by #465/#510 escalation path improvements +All 4 were prediction/backlog → migrated to prediction/dismissed per #686 policy. Created prediction/dismissed label (was missing). + +## Prerequisite tree updates +- Resolved: #660 (Forgejo reachability), #661 (Woodpecker CI wiring), #668 (init smoke test), #663 (guard logging), #664 (stale phase cleanup) — all closed +- Objectives completed: bootstrap (#393) now FULLY DONE (all prereqs resolved), factory operational reliability DONE +- New objectives added: exec agent (#699) DONE, rent-a-human (#679) DONE, skill package distribution (#710-#712), observable addressables (#718) +- Discovered: #710-#715 skill package initiative (created since last run), with #714/#715 as duplicates of #710/#711 + +## Top 5 constraints +1. #466 — example project — blocks Adoption completion — ESCALATED 3 days, no human response +2. #710 — skill package creation — enables distribution — in backlog with priority +3. #718 — observable addressables — Ship milestone bridge — filed this run +4. #714/#715 — duplicate issues — pending gardener cleanup +5. prediction/backlog label — should be deleted per #686 — needs admin action + +## Stuck issues detected +- #466: ESCALATED (since 2026-03-23, 3 days) — no human response. Dev-agent bounced as too large, gardener escalated for approach decision. Not re-promoting — already has priority label. + +## Issues created +- #718: feat: observable addressables — engagement measurement for deployed artifacts — Ship milestone, Fold 2→3 bridge + +## Priority label changes +- Added priority: #710 (next ready pipeline work) +- Kept priority: #466 (still #1 constraint, escalated) +- No priority removed + +## Label changes +- #710, #711, #712, #713: added backlog (were unlabeled, invisible to pipeline) +- #644, #580, #529, #446: relabeled from prediction/backlog to prediction/dismissed, closed +- Created prediction/dismissed label (id: 1335444) — missing despite #686 implementation + +## Observations +- Explosive progress continues: ~30 issues closed since last run (2026-03-25). Bootstrap fully hardened, init smoke test passing, exec agent deployed, rent-a-human implemented. +- Factory nearly idle: no backlog items existed until this run labeled #710-#713. The skill package chain is the only ready work. +- Skill package initiative (#710-#715) appeared since last run — created from #709 research. Two parallel tracks with duplicates (#710/#714, #711/#715). Preferred #710 chain, flagged duplicates for gardener. +- Adoption milestone 4/5 complete. #466 stuck 3 days on human decision. All technical prerequisites resolved. The human bottleneck is real. +- Ship milestone entering scope: #679 (rent-a-human) and #699 (exec agent) already done. #718 (observable addressables) filed. Deploy profiles and assumptions register remain untracked. +- VISION.md updated this cycle (3c97ddb) — factory primitives (resources, addressables, observables) now formally defined. Tree reflects this. +- RESOURCES.md unchanged. Vault empty (no procurement requests). +- Graph report clean: no cycles, no bottlenecks. Orphan issues are all closed bug fixes — expected. + +## Deferred (in tree, not filed) +- Ship: deploy profiles per artifact type — premature until skill package or example project demonstrates need +- Ship: assumptions register — needs design decision on format +- Ship: vault-gated fold transitions — vault infrastructure exists, fold logic not yet designed +- Scale: plugin system, community formulas, hosted option — premature without users +- Vision items: #1 (halt/resume), #2 (self-tuning), #4 (multi-VPS) — far future diff --git a/planner/prerequisite-tree.md b/planner/prerequisite-tree.md index 5b81e6f..945c640 100644 --- a/planner/prerequisite-tree.md +++ b/planner/prerequisite-tree.md @@ -1,5 +1,5 @@ # Prerequisite Tree - + ## Objective: One-command bootstrap — `disinto init` (#393) - [x] Core agent loop stable (Foundation) @@ -8,10 +8,10 @@ - [x] Bundled dust cleanup — set-euo-pipefail (#516) - [x] Agent-session.sh pre-register worktree trust (#514) - [x] Bootstrap hardening — Forgejo INSTALL_LOCK (#634), su-exec (#635), admin user (#636), DNS (#637), crontab (#638), auth (#652), remote target (#653), token creation (#658) -- [ ] Agents container reaches Forgejo — env.sh override (#660) — in-progress -- [ ] Woodpecker CI wiring during init (#661) — in backlog -- [ ] End-to-end init smoke test (#668) — in backlog -Status: DONE (code merged) — hardening fixes landing, smoke test pending +- [x] Agents container reaches Forgejo — env.sh override (#660) +- [x] Woodpecker CI wiring during init (#661) +- [x] End-to-end init smoke test (#668) +Status: DONE — all prerequisites resolved, init fully functional ## Objective: Documentation site with quickstart (#394) - [x] disinto init working (#393) @@ -24,8 +24,8 @@ Status: DONE — #395 closed ## Objective: Example project demonstrating full lifecycle (#466) - [x] disinto init working (#393) -- [ ] Human decision on implementation approach (external repo vs local demo) ⚠ escalated — awaiting human decision -Status: BLOCKED — bounced by dev-agent (too large), escalated by gardener (2026-03-23), awaiting human decision +- [ ] Human decision on implementation approach (external repo vs local demo) ⚠ escalated — awaiting human decision (since 2026-03-23) +Status: BLOCKED — bounced by dev-agent (too large), escalated by gardener, 3 days without human response ## Objective: Landing page communicating value proposition (#534) - [x] disinto init working (#393) @@ -47,6 +47,31 @@ Status: DONE — #510 closed Status: DONE — #504 closed ## Objective: Factory operational reliability -- [ ] check_active guard logs when skipping (#663) — in backlog -- [ ] Supervisor cleans stale PHASE:escalate files (#664) — in backlog -Status: BLOCKED — 2 prerequisites unresolved +- [x] check_active guard logs when skipping (#663) +- [x] Supervisor cleans stale PHASE:escalate files (#664) +Status: DONE — both fixes merged + +## Objective: Exec agent — interactive executive assistant (#699) +- [x] Matrix bot infrastructure +- [x] CHARACTER.md personality definition +- [x] exec-session.sh implementation +Status: DONE — #699 closed + +## Objective: Rent-a-human — formula-dispatchable human action drafts (#679) +- [x] Formula infrastructure (run-rent-a-human.toml) +- [x] Vault gating for human actions +Status: DONE — #679 closed + +## Objective: Skill package distribution (#710 → #711 → #712) +- [ ] Create disinto skill package — SKILL.md + helper scripts (#710) — in backlog, priority +- [ ] Publish to ClawHub registry (#711) — in backlog, depends on #710 +- [ ] Submit to secondary registries (#712) — in backlog, depends on #711 +- [ ] Evaluate MCP server wrapper (#713) — in backlog, independent +- Note: #714, #715 flagged as duplicates of #710, #711 — pending gardener cleanup +Status: READY — no blocking prerequisites + +## Objective: Observable addressables — engagement measurement (#718) +- [ ] Lightweight analytics on disinto.ai (#718) — in backlog +- [ ] Deploy formula verifies measurement is live +- [ ] Planner consumes engagement data +Status: READY — Ship milestone, Fold 2 → Fold 3 bridge