From ef5a92269b0727e17d0fc8add1becb7bb8eabff5 Mon Sep 17 00:00:00 2001 From: dtoro Date: Sat, 11 Jul 2026 11:42:26 +0200 Subject: [PATCH] docs: reconcile plans/ status against actual code state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Audited all 10 active plan docs against the codebase (not just commit titles). 5 were fully shipped and stale-tagged "Planned"/"In Progress" — moved to done/ with verification notes. The other 4 got corrected Planned→In Progress status plus concrete remaining-gap notes so the next pass doesn't re-derive what's already done. Co-Authored-By: Claude Sonnet 5 --- plans/2026-07-08-control-room-webui.md | 6 +++++- ...2026-07-08-liveness-drift-and-ux-cohesion.md | 2 ++ plans/2026-07-08-oikos-gaps-and-improvements.md | 10 +++++++++- plans/2026-07-10-general-gated-execution.md | 9 ++++++++- .../2026-07-08-nomos-resident-agent.md | 4 +++- .../2026-07-08-plan-implementation-audit.md | 8 +++++++- .../2026-07-09-chat-sessions-improvements.md | 6 +++++- ...2026-07-09-session-execution-and-ux-fixes.md | 7 ++++++- .../2026-07-10-autonomous-plan-execution.md | 6 +++++- plans/index.md | 17 +++++++++-------- 10 files changed, 59 insertions(+), 16 deletions(-) rename plans/{ => done}/2026-07-08-nomos-resident-agent.md (98%) rename plans/{ => done}/2026-07-08-plan-implementation-audit.md (96%) rename plans/{ => done}/2026-07-09-chat-sessions-improvements.md (96%) rename plans/{ => done}/2026-07-09-session-execution-and-ux-fixes.md (95%) rename plans/{ => done}/2026-07-10-autonomous-plan-execution.md (96%) diff --git a/plans/2026-07-08-control-room-webui.md b/plans/2026-07-08-control-room-webui.md index f7ca436..ecb638f 100644 --- a/plans/2026-07-08-control-room-webui.md +++ b/plans/2026-07-08-control-room-webui.md @@ -1,6 +1,10 @@ # 2026-07-08 — Control room web UI -**Status:** In Progress — N0-N3 (Nomos amendment: chat home + sessions), M1 +**Status:** In Progress (audited 2026-07-11 — still accurate; remaining gaps: +`signal.acked`/`signal.resolved`/`signal.muted` and `relationship.created`/ +`relationship.ended` API calls don't emit `observability.Event`, and +trusted-proxy header auth for Authentik was never added to `combinedAuth`). +N0-N3 (Nomos amendment: chat home + sessions), M1 (dashboard/summary, Overview, Entities table, live event feed, shadcn-svelte component system), M2 (Operations ledger with approve/deny + cancel, Signals page with ack/resolve/mute, live nav badges), and M3 (graph explorer with diff --git a/plans/2026-07-08-liveness-drift-and-ux-cohesion.md b/plans/2026-07-08-liveness-drift-and-ux-cohesion.md index c322ff1..9f05ae5 100644 --- a/plans/2026-07-08-liveness-drift-and-ux-cohesion.md +++ b/plans/2026-07-08-liveness-drift-and-ux-cohesion.md @@ -1,6 +1,8 @@ # 2026-07-08 — Liveness, drift, and UX cohesion **Status:** In Progress — Phases 1–4 code complete; not yet deployed. Phase 5 deferred. +(Audited 2026-07-11 — still accurate; prompt caching within Phase 4 also +confirmed not implemented.) - **Phase 1 (drift/staleness):** done. Health/metrics/events misattribution fix, staleness sweep, `/entities` health+freshness, dashboard/fleet-health diff --git a/plans/2026-07-08-oikos-gaps-and-improvements.md b/plans/2026-07-08-oikos-gaps-and-improvements.md index 985edad..f5917b2 100644 --- a/plans/2026-07-08-oikos-gaps-and-improvements.md +++ b/plans/2026-07-08-oikos-gaps-and-improvements.md @@ -1,6 +1,14 @@ # 2026-07-08 — Oikos gaps, broken things, and improvements -**Status:** Planned +**Status:** In Progress — audited 2026-07-11. Done: A1 (approval FK bug), +A3 (Hermes→Nomos help text), D1 (`upsert_knowledge`), D4-partial (general +`run` tool). Still open: A2 (notifier flooding/dedup), A4 (`resolveHost` +dead code), A5 (`queryRows` stringly-typed columns), A6 (stale +`get_state_snapshot` description), B1-B5 (enrollment auth, fake Infisical +creds, `/query` mesh-only auth unenforced, insecure host key checking, +optional `caller_pubkey`), D2/D3 (no `get_approval_status`/ +`list_pending_approvals`/signal ack-resolve-mute tools), E (README tool +count, Caddyfile placeholders, NOMOS.md duplicate line). ## Goal diff --git a/plans/2026-07-10-general-gated-execution.md b/plans/2026-07-10-general-gated-execution.md index 08d894e..1a9b8bb 100644 --- a/plans/2026-07-10-general-gated-execution.md +++ b/plans/2026-07-10-general-gated-execution.md @@ -1,6 +1,13 @@ # 2026-07-10 — General gated execution: from fixed actions to unlimited-but-gated -**Status:** Planned +**Status:** In Progress — audited 2026-07-11. Done: `ClassifyCommand` risk +classifier, general `run` MCP tool, chat-assent approval (no button +required), blast radius on approval cards, session digest, global activity +feed (`Ops.svelte` "Executions" tab, risk-badged), Learning view +(success-rate trend). Still open: retire the fixed `request_execution` +action enum (`restart, systemctl, pct_exec, apt_upgrade, pct_create` still +hard-coded alongside `run`), and revive auto-act — `internal/actuator/actuator.go:125` +is still a literal `{"success": true, "message": "stub execution"}` stub. ## Goal diff --git a/plans/2026-07-08-nomos-resident-agent.md b/plans/done/2026-07-08-nomos-resident-agent.md similarity index 98% rename from plans/2026-07-08-nomos-resident-agent.md rename to plans/done/2026-07-08-nomos-resident-agent.md index 198cd6c..5a02626 100644 --- a/plans/2026-07-08-nomos-resident-agent.md +++ b/plans/done/2026-07-08-nomos-resident-agent.md @@ -1,6 +1,8 @@ # 2026-07-08 — Nomos resident agent (renames Hermes) -**Status:** In Progress — N0-N3 complete 2026-07-08 +**Status:** Done — 2026-07-11. N0-N3 (rename, agent loop, sessions/streaming, +UI entry point) all verified in current code. N4 (Matrix bridge, proactive +sessions) was explicitly out of scope and remains unstarted. ## Goal diff --git a/plans/2026-07-08-plan-implementation-audit.md b/plans/done/2026-07-08-plan-implementation-audit.md similarity index 96% rename from plans/2026-07-08-plan-implementation-audit.md rename to plans/done/2026-07-08-plan-implementation-audit.md index 107f97e..655ec9a 100644 --- a/plans/2026-07-08-plan-implementation-audit.md +++ b/plans/done/2026-07-08-plan-implementation-audit.md @@ -1,6 +1,12 @@ # 2026-07-08 — Plan vs implementation cross-reference -**Status:** Planned +**Status:** Done — 2026-07-11. Every action this audit recommended has a +corresponding follow-up commit (consolidation `7660e56`, client lifecycle +`efa66c7`/`fcd9f23`/`28ab9b8`, comprehensive audit `43aaf2a`, +DB-as-source-of-truth `a3ebd12`, MCP tool surface `7c6cffb`, apps/105 webhook +cleanup `cefeba7`). Its own Prometheus finding (0% done) still matches the +current state — see [2026-07-05-oikos-prometheus-lxc.md](2026-07-05-oikos-prometheus-lxc.md), +still Planned. ## Goal diff --git a/plans/2026-07-09-chat-sessions-improvements.md b/plans/done/2026-07-09-chat-sessions-improvements.md similarity index 96% rename from plans/2026-07-09-chat-sessions-improvements.md rename to plans/done/2026-07-09-chat-sessions-improvements.md index 77eec3b..e8b9470 100644 --- a/plans/2026-07-09-chat-sessions-improvements.md +++ b/plans/done/2026-07-09-chat-sessions-improvements.md @@ -1,6 +1,10 @@ # 2026-07-09 — Chat sessions: reliability, cost, and session-management fixes -**Status:** Planned +**Status:** Done — 2026-07-11. All 5 findings fixed on `main` +(`49c37fe fix: chat session reliability, cost, and hygiene`): empty/refusal +retry guard in `agent.go`, bulk-tool guidance in `SOUL.md`, tool-result +truncation in `store.go`, `get_state_snapshot` filtering, and session +delete + generated titles. ## Goal diff --git a/plans/2026-07-09-session-execution-and-ux-fixes.md b/plans/done/2026-07-09-session-execution-and-ux-fixes.md similarity index 95% rename from plans/2026-07-09-session-execution-and-ux-fixes.md rename to plans/done/2026-07-09-session-execution-and-ux-fixes.md index 1a46b09..92a683b 100644 --- a/plans/2026-07-09-session-execution-and-ux-fixes.md +++ b/plans/done/2026-07-09-session-execution-and-ux-fixes.md @@ -1,6 +1,11 @@ # 2026-07-09 — Session execution, UX, and learning improvements -**Status:** Planned +**Status:** Done — 2026-07-11. Hard blocker and all major items verified: +`pct_create` wired into `request_execution`, `ToolCallGroup` collapse + +live status, `InlineApproval` blast radius, `http_get` tool, `session-review` +skill. Two minor secondary items not implemented: `list_lxcs` CPU/mem +enrichment, and a dedicated `get_tools_summary` tool (SOUL.md has general +bulk-tool guidance instead). ## Goal diff --git a/plans/2026-07-10-autonomous-plan-execution.md b/plans/done/2026-07-10-autonomous-plan-execution.md similarity index 96% rename from plans/2026-07-10-autonomous-plan-execution.md rename to plans/done/2026-07-10-autonomous-plan-execution.md index 6d99a91..5fa211b 100644 --- a/plans/2026-07-10-autonomous-plan-execution.md +++ b/plans/done/2026-07-10-autonomous-plan-execution.md @@ -1,6 +1,10 @@ # 2026-07-10 — Autonomous plan execution: close the observation gap -**Status:** Planned +**Status:** Done — 2026-07-11. Full scope shipped, including the Option B +stretch goal: atomic `pct_create` decomposition, robust assent-window +open/extend, SOUL persist-through-errors + `maxIterations=40`, and +event-driven auto-continuation (`cmd/nomos/continue.go`). Commits `233b5e4`, +`d2f749d`, `657e1a8`, `d529688`, `84ecb6b`. ## The real problem (not the one we kept fixing) diff --git a/plans/index.md b/plans/index.md index ba0904c..ef87824 100644 --- a/plans/index.md +++ b/plans/index.md @@ -8,15 +8,11 @@ went sideways, open an investigation. | Date | Title | Status | | ---- | ----- | ------ | -| 2026-07-05 | [Oikos Prometheus LXC](2026-07-05-oikos-prometheus-lxc.md) | Planned | -| 2026-07-08 | [Plan vs implementation cross-reference](2026-07-08-plan-implementation-audit.md) | Planned | -| 2026-07-08 | [Oikos gaps, broken things, and improvements](2026-07-08-oikos-gaps-and-improvements.md) | Planned | +| 2026-07-05 | [Oikos Prometheus LXC](2026-07-05-oikos-prometheus-lxc.md) | Planned — not started | +| 2026-07-08 | [Oikos gaps, broken things, and improvements](2026-07-08-oikos-gaps-and-improvements.md) | In Progress — security items (B1-B5) and doc drift (E) still open | | 2026-07-08 | [Control room web UI](2026-07-08-control-room-webui.md) | In Progress | -| 2026-07-08 | [Nomos resident agent (renames Hermes)](2026-07-08-nomos-resident-agent.md) | In Progress | -| 2026-07-08 | [Liveness, drift, and UX cohesion](2026-07-08-liveness-drift-and-ux-cohesion.md) | In Progress | -| 2026-07-09 | [Chat sessions: reliability, cost, and session-management fixes](2026-07-09-chat-sessions-improvements.md) | Planned | -| 2026-07-09 | [Session execution, UX, and learning improvements](2026-07-09-session-execution-and-ux-fixes.md) | Planned | -| 2026-07-10 | [General gated execution: unlimited actions, gated by risk](2026-07-10-general-gated-execution.md) | Planned | +| 2026-07-08 | [Liveness, drift, and UX cohesion](2026-07-08-liveness-drift-and-ux-cohesion.md) | In Progress — Phase 5 deferred | +| 2026-07-10 | [General gated execution: unlimited actions, gated by risk](2026-07-10-general-gated-execution.md) | In Progress — enum retirement + auto-act revival still open | ## Done @@ -37,6 +33,11 @@ See [`done/`](done/) for executed plans: | 2026-07-08 | [Fix MCP analysis tools](done/2026-07-08-fix-mcp-analysis-tools.md) | | 2026-07-06 | [Consolidate Oikos control plane onto mac-mini](done/2026-07-06-consolidate-oikos-control-plane-onto-mac-mini.md) | | 2026-07-08 | [Signal triggers: host health checks](done/2026-07-08-signal-triggers.md) | +| 2026-07-08 | [Plan vs implementation cross-reference](done/2026-07-08-plan-implementation-audit.md) | +| 2026-07-08 | [Nomos resident agent (renames Hermes)](done/2026-07-08-nomos-resident-agent.md) | +| 2026-07-09 | [Chat sessions: reliability, cost, and session-management fixes](done/2026-07-09-chat-sessions-improvements.md) | +| 2026-07-09 | [Session execution, UX, and learning improvements](done/2026-07-09-session-execution-and-ux-fixes.md) | +| 2026-07-10 | [Autonomous plan execution: close the observation gap](done/2026-07-10-autonomous-plan-execution.md) | ## Conventions