deepseek-harness/packages/agent-loop/tests
Tianyi Cui 0000cdb2c2 feat(agent-loop): config-driven session resume via RESUME_SESSION_ID
A config agent with `resumeSessionId` set continues a persisted session
instead of starting a fresh `${id}-session-<uuid>`. The id is sourced from
an env var in cordis.yml, so the coding-agent demo can resume a prior
conversation without code changes. The resume is deferred until the
`sessionPersistence` backend loads (via ctx.inject) and is contained: a
missing/unreadable id logs a warning and starts no agent. Adds a real-API
resume e2e proving cross-process continuity through the JSONL backend.
2026-06-16 22:28:01 +08:00
..
agent.spec.ts fix(agent-loop): decide turn balance + idle-injection flush from the log (review #32) 2026-06-15 23:44:54 +08:00
config-session-id.spec.ts feat(agent-loop): config-driven session resume via RESUME_SESSION_ID 2026-06-16 22:28:01 +08:00
coverage-edges.spec.ts fix(agent-loop): decide turn balance + idle-injection flush from the log (review #32) 2026-06-15 23:44:54 +08:00
inbox.spec.ts Enforce 100% per-file test coverage on packages/*/src 2026-06-11 14:58:36 +08:00
loop.spec.ts feat(agent-loop): turn-enclosure invariant + post-turn error model 2026-06-15 20:56:17 +08:00
mock-adapter.ts Add branded ID types: CallId, SessionId, AgentId 2026-06-11 15:17:56 +08:00
properties.spec.ts test: address Codex review of property tests (PR 3) 2026-06-14 00:24:23 +08:00
resume.spec.ts feat(agent): create/resume factory seam 2026-06-15 21:12:14 +08:00
review-fixes.spec.ts fix(agent-loop): contain finalizer append-listener throws (review #32 round 2) 2026-06-16 00:37:18 +08:00