Merge remote-tracking branch 'origin/worktree-cancel-primitive' into worktree-agent-handle

This commit is contained in:
Tianyi Cui
2026-06-20 13:56:35 +08:00
3 changed files with 4 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/**
* Tests for the queue-aware `Agent.cancel()` primitive (PR C). `cancel()` is the
* Tests for the queue-aware `Agent.cancel()` primitive. `cancel()` is the
* broad verb — it clears queued + steering work, aborts an in-flight step, and
* drops a turn about to start — whereas `abort()` kills only the current step.
* These tests exercise every window where a cancel can land (idle, pre-step,

View File

@@ -20,9 +20,8 @@
* write path — never the storage primitives directly — so it runs unchanged for
* every backend (memory / jsonl / sqlite).
*
* Each scenario here was previously DUPLICATED in `jsonl.spec.ts` and
* `sqlite.spec.ts`; it now lives once and runs once per backend through the
* fixture. The per-backend specs keep ONLY their storage-mechanics tests.
* Each scenario lives here once and runs once per backend through the fixture;
* the per-backend specs keep ONLY their storage-mechanics tests.
*
* @module @deepseek-ai/dsh-session-persistence/tests/coordinator-contract
*/