feat: add agent-native session control#180
Conversation
edc delivery + security + quality reviewscope: delivery verdict: partially delivered / needs confirmation delivery / architecture findingimportant — parent replacement during successful sub-session allocation is not fail-closed
delivery / architecture notesmaterial contract coverage otherwise looks good:
securityno exploitable security finding survived review. checked:
limitations: review was diff/context based; i did not run the claimed bun/rust/playwright suites locally. quality findingadvisory — test suite encodes the weaker stale-parent behavior
|
|
fixed the stale-parent session-open finding in 3fcf1d4. openSubSession now revalidates the parent session/id after child creation before returning success or notifying; notification errors remain best-effort only after that invariant passes. added regression coverage for post-create parent disappearance and UUID replacement. verification: bun test tests/unit/session-open.test.ts; bun test tests/unit/session-open.test.ts tests/integration/api.test.ts tests/unit/session-control-fast-path.test.ts; bun run typecheck; bun test. |
# Conflicts: # src/public-assets.ts
summary
wolfpack session create <project>for server-owned top-level sessionswolfpack agent spawn <project>for same-harness children; retainwolfpack session openas a deprecated compatibility aliassessionIdvalues across create/spawn/list/status/read/send/wait/killdeploy-local.sh --broker=yesbefore mutation when invoked from a broker-owned Wolfpack sessioncommand contract
verification
git diff --checkpasseddeployed QA
--no-enter, coded JSON failures, and ambiguous-selector rejection passedproject-prefix selection remains tracked separately in #178. alternate-screen snapshot isolation is independent in #184.