nexus/doc
Forgotten 2acf28a51a Implement task-scoped sessions, queued run chaining, and session reset API
Heartbeat service now resolves session state per-task using agentTaskSessions,
with resolveNextSessionState handling codec-based serialization and fallback
to legacy sessionId. Queued runs are chained — when a run finishes or is reaped,
the next queued run for the same agent starts automatically. Queued runs for
an agent with an already-running run wait instead of failing.

Add task-sessions list endpoint and extend reset-session to accept optional
taskKey for targeted session clearing. Block pending_approval agents from
API key auth. Update agent/company delete cascades to include task sessions.
Update spec docs with task-session architecture.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 14:02:17 -06:00
..
plans Add agent management followup plan 2026-02-19 13:03:13 -06:00
spec Implement task-scoped sessions, queued run chaining, and session reset API 2026-02-19 14:02:17 -06:00
CLIPHUB.md Reorganize docs and add implementation spec 2026-02-17 09:07:15 -06:00
DATABASE.md Replace PGlite with embedded-postgres and add startup banner 2026-02-18 11:45:43 -06:00
DEVELOPING.md Replace PGlite with embedded-postgres and add startup banner 2026-02-18 11:45:43 -06:00
GOAL.md Expand GOAL.md with Paperclip vision and mission statement 2026-02-18 16:46:33 -06:00
PRODUCT.md Reorganize docs and add implementation spec 2026-02-17 09:07:15 -06:00
SPEC-implementation.md Replace PGlite with embedded-postgres and add startup banner 2026-02-18 11:45:43 -06:00
SPEC.md Reorganize docs and add implementation spec 2026-02-17 09:07:15 -06:00
TASKS-mcp.md Add product spec and MCP task interface docs 2026-02-16 19:07:30 -06:00
TASKS.md Add task management data model spec 2026-02-16 14:25:00 -06:00