diff --git a/RESOURCES.md b/RESOURCES.md new file mode 100644 index 0000000..aae9292 --- /dev/null +++ b/RESOURCES.md @@ -0,0 +1,5 @@ +# RESOURCES + +## Overview + + diff --git a/evidence/engagement/.gitkeep b/evidence/engagement/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/evidence/evolution/.gitkeep b/evidence/evolution/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/evidence/holdout/.gitkeep b/evidence/holdout/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/evidence/red-team/.gitkeep b/evidence/red-team/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/evidence/user-test/.gitkeep b/evidence/user-test/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/knowledge/.gitkeep b/knowledge/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/knowledge/planner-memory.md b/knowledge/planner-memory.md index 10414e3..b29751b 100644 --- a/knowledge/planner-memory.md +++ b/knowledge/planner-memory.md @@ -1,28 +1,34 @@ - + # Planner Memory -Last updated: 2026-04-08 +Last updated: 2026-04-12 ## Run history - Run 1 (2026-04-05): First planning run. Established prerequisite tree from VISION.md. -- Run 2 (2026-04-08): Foundation milestone completed. All 5 blockers resolved. Triaged 4 predictor predictions (all actioned). Filed #425 (ops repo migration) and #426 (website observability). Focus shifted to Adoption milestone. +- Run 2 (2026-04-08): Foundation milestone completed. Triaged 4 predictor predictions. Filed #425, #426. +- Run 3 (2026-04-11): Infrastructure maturity work (#641-#652, #663, #669, #671, #682). +- Run 4 (2026-04-11): Foundation+ DONE. Adoption architect DONE (#689, #690). Ops migration DONE (#688). Filed #697. +- Run 5 (2026-04-12): Dev pipeline reliability DONE (#693, #702 closed). Chat 8/10 (#710, #713 closed). Found architect false-completion bug → filed #735. 0 predictions. +- Run 6 (2026-04-12): #735 CLOSED (architect false-completion bug). #737 NEW tech-debt (close_vision_issue error handling). Relabeled #707, #712 blocked→backlog for ci_exhausted retry. Added priority+backlog to #737. 0 predictions. 0 new issues filed. ## Current constraint focus -1. **Ops repo migration** (#425) — existing deployments missing evidence/, sprints/, portfolio.md, RESOURCES.md, vault subdirs. Blocks evidence collection for all agents. Priority+backlog. -2. **Website observability** (#426) — disinto.ai has no analytics/measurement. Blocks Adoption landing page and Ship engagement measurement. Vision-level (design decisions needed). -3. **Example project** — none exists. Blocked on bootstrap verification after #425. -4. **Deploy profiles** — not started. Vision-level design needed for per-artifact-type deployment. -5. **Assumptions register** — not started. Ship (Fold 2) prerequisite. +1. **Architect error handling** (#737) — backlog, priority, tech-debt. close_vision_issue() swallows PATCH errors → vision issues can stay stuck-open. Small fix, one file. Dev-agent should pick up. +2. **Website observability** (#426) — vision, priority. disinto.ai has no analytics. Blocks Adoption landing page AND Ship engagement measurement. Architect should decompose now that #735 is fixed. +3. **Example project** (#697) — vision, priority. Needs architect decomposition. Architect unblocked by #735 fix. +4. **Chat ci_exhausted** (#707, #712) — relabeled backlog for retry. #712 has stale PR #733. Last 2 of 10 sub-issues for #623. +5. **Deploy profiles** — not started. Vision-level. Blocks Ship milestone. ## Patterns observed -- Foundation milestone completed in ~10 days (2026-03-28 to 2026-04-08). High bug fix velocity once dev-agent pipeline was reliable. -- Predictor-planner loop working: predictor filed 4 accurate predictions, planner actioned all 4. The adversarial feedback catches stale state and planner drift effectively. -- Predictor correctly identified planner filing Fold 2/3 vision issues (#418, #419) while Foundation was incomplete — planner must verify milestone completion before advancing. -- Ops repo structural debt: setup_ops_repo() creates dirs for new repos but doesn't migrate existing ones. Pattern will recur with future schema changes. -- No observables exist — all 4 addressables (website, repo, skill, github org) lack measurement. This is the fundamental gap between Adoption and Ship. +- Foundation completed in ~10 days, Foundation+ in ~3 days, dev pipeline reliability in ~1 day. Execution velocity increasing. +- Chat assistant (#623) rapid progress: 6/10 → 8/10 sub-issues in one day. Final 2 are ci_exhausted — CI reliability is the bottleneck. +- Architect lifecycle: 5 bugs found and fixed in one day (#716-#718, #735). #737 is a follow-on from #735's fix PR review. Architect is now functional — should be decomposing #426 and #697 on next run. +- No predictor activity (0 predictions in runs 4-6). Either predictor is idle or all patterns are accounted for. +- No observables exist — all addressables still lack measurement. Fundamental gap unchanged. +- Graph healthy: 206 nodes, 271 edges, no cycles, no bottlenecks. ## Strategic direction -- Foundation DONE. Adoption is now the active milestone. -- #425 is the single blocking issue — once ops repo dirs exist, evidence collection unblocks and bootstrap is complete. -- After #425: focus on example project (demonstrates full lifecycle) and website observability (#426). -- Do NOT file Ship/Learn issues until Adoption objectives show progress. Predictor will check. -- Graph report is healthy: 165 nodes, 137 edges, no cycles, no bottlenecks. 7 orphans are benign (closed issues, unused formulas/labels). +- Adoption is the active milestone. 5 of 8 Adoption objectives DONE. +- **Critical path**: architect decomposes #426 and #697 (now unblocked by #735 fix) → Adoption objectives unblock. +- #737 is a small reliability fix — should be quick for dev-agent. +- Chat (#623) is 80% done. #707/#712 relabeled for retry — if they fail again, need CI investigation. +- Do NOT file Ship/Learn issues until Adoption objectives show progress. +- RESOURCES.md and portfolio.md remain empty — populate when addressables materialize. diff --git a/portfolio.md b/portfolio.md new file mode 100644 index 0000000..7158d78 --- /dev/null +++ b/portfolio.md @@ -0,0 +1,5 @@ +# Portfolio + +## Overview + + diff --git a/prerequisites.md b/prerequisites.md index d61ecf6..5a6d1b0 100644 --- a/prerequisites.md +++ b/prerequisites.md @@ -1,5 +1,5 @@ # Prerequisite Tree - + ## Objective: Foundation — Core agent loop (dev → CI → review → merge) - [x] dev-agent picks up backlog issues (dev/dev-agent.sh exists) @@ -18,7 +18,7 @@ Status: DONE ## Objective: Foundation — Planner gap analysis against vision - [x] Planner formula exists (run-planner.toml v4) - [x] planner-run.sh cron wrapper exists -- [x] Planning runs established and maintaining prerequisite tree (run 1: 2026-04-05, run 2: 2026-04-08) +- [x] Planning runs established (runs 1–8) Status: DONE ## Objective: Foundation — Multi-project support @@ -29,24 +29,36 @@ Status: DONE ## Objective: Foundation — Knowledge graph for structural defect detection - [x] networkx package installed in agents container (#220 — closed) - [x] build-graph.py exists in lib/ -- [x] Graph report generating successfully (165 nodes, 137 edges as of 2026-04-08) +- [x] Graph report generating successfully (206 nodes, 286 edges as of 2026-04-15) Status: DONE ## Objective: Foundation — Predictor-planner adversarial feedback loop - [x] Predictor formula exists (run-predictor.toml) - [x] Planner prediction triage step defined - [x] Prediction workflow labels created on Forgejo (#225 — closed) -- [x] Predictor filing predictions (4 predictions triaged in run 2) +- [x] Predictor filing predictions (7 predictions triaged across runs 2-3) Status: DONE ## --- FOUNDATION MILESTONE: DONE --- +## Objective: Foundation+ — Infrastructure maturity +- [x] CLAUDE_CONFIG_DIR rollout (#641-#646 — all closed) +- [x] Credential handling cleanup (#669, #671 — closed) +- [x] Agent profile/journal fixes (#651, #652, #663 — closed) +- [x] Cron intervals configured (#682 — closed) +- [x] Remove external flock (#647 — closed) +Status: DONE + +## --- FOUNDATION+ MILESTONE: DONE --- + ## Objective: Adoption — One-command bootstrap (disinto init → disinto up) - [x] disinto init re-run stability (#158 — closed) - [x] disinto init repo creation API endpoint (#164 — closed) - [x] Prediction labels created during init (#225 — closed) -- [ ] Ops repo migration for existing deployments (#425 — backlog+priority) -Status: BLOCKED — #425 ops repo missing dirs on existing deployments +- [x] Ops repo migration code merged (#425 — closed) +- [x] Ops repo migration auto-triggers on agent startup (#688 — closed) +- [ ] End-to-end bootstrap verification with example project (#697 — vision, priority) +Status: READY — migration works, needs end-to-end verification ## Objective: Adoption — Built-in Forgejo + Woodpecker CI - [x] Docker compose with Forgejo + Woodpecker @@ -56,13 +68,49 @@ Status: DONE ## Objective: Adoption — Landing page communicating value proposition - [x] Website addressable exists (disinto.ai) -- [ ] Website observability — no engagement measurement (#426 — vision) -Status: BLOCKED — no evidence process connected to website +- [ ] Website observability (#426 — vision, priority, architect sprint 3/4 done) + - [x] Evidence/engagement directory setup (#747 — closed) + - [x] Format-detection guard in collect-engagement.sh (#746 — closed) + - [x] Rent-a-human instructions for Caddy host SSH key setup (#748 — closed) + - [ ] Collect-engagement formula + container script (#745 — backlog, priority) +Status: IN PROGRESS — 3/4 sub-issues closed, #745 is the last remaining piece ## Objective: Adoption — Example project demonstrating full lifecycle -- [ ] No example project exists -- [ ] Requires verified bootstrap (#425) -Status: BLOCKED — depends on bootstrap completion and ops repo migration +- [x] Bootstrap path unblocked (#688 — closed) +- [ ] Example project design and implementation (#697 — vision, priority, awaiting architect decomposition) +Status: BLOCKED — #697 not yet decomposed by architect + +## Objective: Adoption — Architect lifecycle completeness +- [x] Architect closes parent vision issues when sprint sub-issues complete (#689 — closed) +- [x] Architect-run.sh signature bug fixed (#690 — closed) +- [x] Architect review response handling fixed (#718 — closed) +- [x] Architect URL construction fixed (#717 — closed) +- [x] Architect pitch output fixed (#716 — closed) +- [x] Architect false-completion bug fixed (#735 — closed) +- [x] close_vision_issue error handling (#737 — closed) +Status: DONE + +## Objective: Adoption — Dev agent pipeline reliability +- [x] Dev-poll deadlock in same-container case (#693 — closed) +- [x] Profile journal digestion hang (#702 — closed) +- [x] Dev-poll post-crash deadlock recovery (#749 — closed) +- [x] Credential helper race on cold boot (#741 — closed) +- [x] CI smoke test non-determinism fixed (#742 — closed, PR #754 merged) +- [x] Entrypoint wait deadlock fixed (#753 — closed, PR #755 merged) +Status: DONE + +## Objective: Adoption — Assistant (disinto-chat) (#623) +- [x] Caddy subpath routing skeleton (#704 — closed) +- [x] Chat container scaffold (#705 — closed) +- [x] Chat sandbox hardening (#706 — closed) +- [x] Forgejo OAuth gate (#708 — closed) +- [x] Caddy Remote-User forwarding + validation (#709 — closed) +- [x] Cost caps + rate limiting (#711 — closed) +- [x] Conversation history persistence (#710 — closed) +- [x] Per-project subdomain fallback (#713 — closed) +- [ ] Claude identity isolation (#707 — backlog, priority, CI root cause #742 fixed, ready for retry) +- [ ] Escalation tools (#712 — backlog, priority, CI root cause #742 fixed, ready for retry) +Status: IN PROGRESS — 8/10 sub-issues closed, 2 unblocked for retry (stale assignments cleared) ## Objective: Ship (Fold 2) — Deploy profiles per artifact type - [ ] No deploy profiles defined @@ -72,17 +120,18 @@ Status: BLOCKED — not started, needs design (vision-level) ## Objective: Ship (Fold 2) — Vault-gated fold transitions - [x] Vault redesign complete (#73-#77 — all closed) - [x] Vault PR workflow documented (docs/VAULT.md) -- [ ] Vault directories complete in ops repo (#425 — approved/fired/rejected missing) -Status: BLOCKED — #425 ops repo dirs needed for vault workflow +- [x] Vault directories complete in ops repo (#688 — closed) +- [ ] Fold transition logic not implemented +Status: BLOCKED — needs design for fold gate mechanics ## Objective: Ship (Fold 2) — Engagement measurement baked into deploy pipelines -- [ ] No engagement measurement exists -- [ ] No observables yet (AGENTS.md confirms) -Status: BLOCKED — depends on deploy profiles + website observability (#426) +- [ ] Website observability sprint in progress (#426) +- [ ] No other observables yet +Status: BLOCKED — depends on #426 completion + deploy profiles ## Objective: Ship (Fold 2) — Rent-a-human for gated channels - [x] run-rent-a-human formula exists -- [ ] Not yet exercised in production +- [x] First exercise: Caddy SSH key setup (#748 — closed, rent-a-human instructions written) Status: READY ## Objective: Ship (Fold 2) — Assumptions register diff --git a/sprints/.gitkeep b/sprints/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/vault/approved/.gitkeep b/vault/approved/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/vault/fired/.gitkeep b/vault/fired/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/vault/pending/.gitkeep b/vault/pending/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/vault/rejected/.gitkeep b/vault/rejected/.gitkeep new file mode 100644 index 0000000..e69de29