Commit Graph

716 Commits

Author SHA1 Message Date
William Valentin a76bc94b4d feat(memory): wire user_namespace and working memory config to orchestrator 2026-02-25 12:59:06 -08:00
William Valentin c658660a91 feat(memory): inject session context and write working memory after compaction 2026-02-25 12:58:01 -08:00
William Valentin 2d3ac30d3c feat(memory): thread summary and PA prompt through compaction result 2026-02-25 12:55:31 -08:00
William Valentin dc933243f2 feat(memory): add parameterized compaction prompt builder 2026-02-25 12:54:57 -08:00
William Valentin 8412e3b096 feat(memory): add working memory read/write with TTL expiry 2026-02-25 12:54:39 -08:00
William Valentin 64ebc636c1 feat(memory): add user_namespace and working memory config fields 2026-02-25 12:53:58 -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 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 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 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 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 c5b310c852 feat(audit): add guard-coverage thresholds to canary gate 2026-02-23 22:38:14 -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 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 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 092a9baeae fix(router): align fallback semantics and oauth provider behavior 2026-02-23 17:11:15 -08:00
William Valentin 00b2d646f7 feat(google-auth): centralize oauth token store and service checks 2026-02-23 17:11:09 -08:00
William Valentin 076379bfc1 refactor(config): generate paas profile from default overlay 2026-02-23 17:11:02 -08:00
William Valentin 5b95eb1874 fix(audit): expand tilde paths for audit log output 2026-02-23 17:10:53 -08:00
William Valentin 0bf69acafe fix(lint): clear error-level violations across runtime and ui 2026-02-23 16:51:44 -08:00
William Valentin 49fd2b5327 fix(daily-briefing): add calendar/tasks scope re-auth guidance 2026-02-23 16:07:12 -08:00
William Valentin 056b8ce515 feat(tools): support per-tool timeout override for council runs 2026-02-23 00:01:27 -08:00
William Valentin 80ce8d9aaf fix(gmail-auth): request explicit filter settings scope 2026-02-22 23:42:40 -08:00
William Valentin 266c37b353 feat(tui): add multiline paste mode in minimal UI 2026-02-22 23:30:28 -08:00
William Valentin 8411641061 fix(agent): recover from fake tool execution claims 2026-02-22 23:11:12 -08:00
William Valentin 7e7685a194 fix(agent): recover when action intent has no tool call 2026-02-22 23:01:52 -08:00
William Valentin 50c4f3de57 feat(gmail-auth): request full Gmail scope for filter permissions 2026-02-22 22:27:57 -08:00
William Valentin f04f8a241d feat(gmail): add filter creation tool and auth scope 2026-02-22 22:25:05 -08:00
William Valentin f27aabae3b Improve local service checks and web search tooling 2026-02-22 22:12:44 -08:00
William Valentin b477705806 Isolate turn audio hydration with async local context 2026-02-22 21:41:49 -08:00
William Valentin a761813375 Bind audio.transcribe hydration to current message turn 2026-02-22 21:27:09 -08:00
William Valentin 89246e7da0 Recover cleanly from Telegram markdown parse errors 2026-02-22 21:18:19 -08:00