Commit Graph

854 Commits

Author SHA1 Message Date
William Valentin 40828d424f docs(memory): add pi personal assistant memory implementation plan
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 12:29:44 -08:00
William Valentin cc70c3e524 docs(design): Pi-inspired personal assistant memory design
Two-tier memory model (working memory + long-term store) with a unified
user namespace across all channels. Addresses four gaps: cross-session
forgetting, compaction context loss, no proactive recall, and channel
fragmentation.

Key design decisions:
- user/working namespace written on every compaction (TTL-based expiry)
- user/profile + user/patterns as shared identity across channels
- Session-start injection before first turn (one-time, idempotent)
- Opt-in via memory.user_namespace config; default is unchanged behavior

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 12:23:49 -08:00
William Valentin b5b4cb0a84 docs(state): fix feature gap scorecard and add missing phase entries
The scorecard claimed 128/128 (100%) which was never accurate — the
2026-02-06 gap analysis listed 16 MISSING features that remain
deferred. Updated to ~114/130 (~88%) with explicit list of deferred
items: channel adapters (Matrix/Zalo/LINE/Feishu/Mattermost), providers
(MiniMax/Moonshot/Vercel AI/OAuth), native companion apps, ClawHub,
Bonjour/mDNS, skill safety scanner, and elevated mode.

Also added missing progress entries for Phase 3 (companion/canvas/voice
deepening), Phase 4 (rollout/operator readiness), and the post-phase
test fixes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 12:02:07 -08:00
William Valentin b39010d602 fix(tests): resolve 4 post-phase test failures
- platformClients.integration: iOS/Android push tests lacked
  setStatus() call before listNodes(), so platform filter excluded
  nodes. Added publishHeartbeat() to set platform on connection state.
- server.test: agent.send now emits run_state events before done (Phase
  1). Added sendAndWaitForDone() helper and updated test to find done
  event rather than assuming index 0.
- handlers.test: updated agent.send/cancel assertions to use find()
  and pass send arg to agent.cancel, consistent with run_state events.
- httpBody: req.destroy() closed socket before 413 response could be
  sent. Removed socket destruction from body reader; 413 responses now
  send Connection: close so Node closes the connection cleanly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 11:55:14 -08:00
William Valentin 787dd61a6d docs(rollout): add phase 4 readiness plan 2026-02-25 11:23:47 -08:00
William Valentin eec54ace9d test(voice): cover tts fallback 2026-02-25 11:21:49 -08:00
William Valentin e3e98058b0 feat(canvas): persist artifacts and surface UI 2026-02-25 11:18:53 -08:00
William Valentin ac60fa5be3 feat(companion): add reconnect resilience 2026-02-25 11:12:21 -08:00
William Valentin 7b170cff4d Phase 2 reactions v2 priority and cooldown 2026-02-25 10:36:56 -08:00
William Valentin e4ee6acce8 Phase 1 run-control semantics and run_state events 2026-02-25 10:22:44 -08:00
William Valentin ae21681958 docs(observability): seed phase-0 baseline probe artifacts 2026-02-25 09:42:48 -08:00
William Valentin 8b5266c66c docs(observability): document phase-0 telemetry and baseline workflow 2026-02-25 09:22:56 -08:00
William Valentin 0b8f7c7299 feat(audit): add phase-0 baseline summary tooling
Diagrams reviewed: docs/architecture/AGENT_DIAGRAM.md, docs/architecture/GATEWAY_SESSIONS_AND_QUEUE.md, docs/api/PROTOCOL.md (no changes required).
2026-02-25 09:14:38 -08:00
William Valentin 2311826092 feat(metrics): add phase-0 baseline counters
Diagrams reviewed: docs/architecture/AGENT_DIAGRAM.md, docs/architecture/GATEWAY_SESSIONS_AND_QUEUE.md, docs/api/PROTOCOL.md (no changes required).
2026-02-25 09:05:31 -08:00
William Valentin 6bcdb13bf4 feat(observability): emit run and reaction baseline audit events
Diagrams reviewed: docs/architecture/AGENT_DIAGRAM.md, docs/architecture/GATEWAY_SESSIONS_AND_QUEUE.md, docs/api/PROTOCOL.md (no changes required).
2026-02-25 08:54:19 -08:00
William Valentin 23b813a92f feat(audit): add phase0 run/reaction baseline audit events 2026-02-25 00:12:31 -08:00
William Valentin c89889d9c1 chore(compose): comment out flynn service for systemd runtime 2026-02-24 22:18:18 -08:00
William Valentin 527dadb678 chore(makefile): add docker compose dependency targets 2026-02-24 22:17:48 -08:00
William Valentin 875e545472 chore(makefile): add llamacpp service aliases 2026-02-24 22:12:07 -08:00
William Valentin 129229b053 chore(makefile): add ollama service management targets 2026-02-24 22:11:19 -08:00
William Valentin fc934c34dc fix(tui): clear local session on /reset in agent mode 2026-02-24 13:34:32 -08:00
William Valentin ed6b0362c0 fix(tui): reset agent-backed minimal sessions 2026-02-24 13:26:40 -08:00
William Valentin 37be391a40 Unify TUI runtime commands with gateway and harden gateway restart 2026-02-24 13:14:53 -08:00
William Valentin db2f697741 docs(plan): add OpenClaw gateway-first TUI runtime unification plan 2026-02-24 10:43:01 -08:00
William Valentin d4d3000656 docs(runtime): document /runtime command path and status semantics 2026-02-24 10:41:38 -08:00
William Valentin c44bc387b7 fix(tui): reserve /runtime and block local tool-loop fallback 2026-02-24 10:41:33 -08:00
William Valentin 2e192ef407 feat(runtime): forward Flynn prompt to pi and harden backend mode commands 2026-02-24 10:41:27 -08:00
William Valentin 4188c68130 feat: add persisted manual pi backend mode controls 2026-02-23 23:06:40 -08:00
William Valentin 3e5e82c76e docs(eval): record applied runtime rollback in decision log 2026-02-23 22:48:32 -08:00
William Valentin 8b1f2d9a67 docs(eval): close pi canary phase with rollback decision and probe evidence 2026-02-23 22:44:30 -08:00
William Valentin 959216ac5c feat(audit): add router-based guard probe harness for pi canary 2026-02-23 22:44:26 -08:00
William Valentin 7b80c1e7a4 docs(eval): record guard-coverage preprobe window and updated gates 2026-02-23 22:38:18 -08:00
William Valentin c5b310c852 feat(audit): add guard-coverage thresholds to canary gate 2026-02-23 22:38:14 -08:00
William Valentin 2d42f65b9f docs(eval): enforce min-sample gates in canary artifacts and decision log 2026-02-23 22:34:54 -08:00
William Valentin 34d1562ce8 feat(audit): add sample-size gate thresholds for canary evaluation 2026-02-23 22:34:50 -08:00
William Valentin 2d31f85c75 docs(eval): add window B telemetry slice and maintain hold decision 2026-02-23 22:31:06 -08:00
William Valentin 9156adb2a8 docs(eval): record pi canary window A results and hold decision 2026-02-23 22:29:08 -08:00
William Valentin 4f88e047fd docs(plan): add pi canary evaluation gate and tracking (diagram review no topology change) 2026-02-23 22:26:35 -08:00
William Valentin afddd1ba7a feat(audit): add pi canary summary analyzer and cli script 2026-02-23 22:26:29 -08:00
William Valentin 1dfa6ce2b4 fix(pi): inherit default model and api key for embedded agent 2026-02-23 22:06:42 -08:00
William Valentin e8204f5d42 feat(pi): support Agent runtime export in pi_embedded backend 2026-02-23 21:59:51 -08:00
William Valentin 559fe61168 fix(daemon): wire external backends into router deps 2026-02-23 21:54:57 -08:00
William Valentin ca713ce6d8 chore(pi): install pi-agent-core and align module defaults 2026-02-23 21:25:48 -08:00
William Valentin 722f0837f5 docs: document pi_embedded canary path and update state 2026-02-23 21:13:06 -08:00
William Valentin a389cd659c feat(routing): add pi canary guardrails and backend audit telemetry 2026-02-23 21:13:01 -08:00
William Valentin ac61c9c3fb feat(backends): add optional pi_embedded backend and config wiring 2026-02-23 21:12:52 -08:00
William Valentin 0af44330b5 test(doctor): isolate gmail missing-token check from host auth store 2026-02-23 20:48:03 -08:00
William Valentin c4f5dfb52f test: stabilize breaking-change expectations for doctor, tools, and model reset 2026-02-23 20:46:58 -08:00
William Valentin b1b59ef25d docs(agents): require diagram review on every code change 2026-02-23 18:49:44 -08:00
William Valentin 36c2ad1b52 docs(agents): require ai-optimized diagram updates on flow changes 2026-02-23 18:49:15 -08:00