feat: publish scripts from active sessions#1357
Conversation
Size Report
Startup median (7 runs, lower is better):
Top changed chunks:
|
|
Four blockers before readiness:
CI is green and the branch is mergeable, but these code findings and missing device evidence keep |
|
Addressed the review points:
Live iOS evidence
Live Android evidence
Replays used the persistent worktree daemon so the returned live session remained addressable for the required continuation command. All validation sessions were closed; Final local gates: formatting, typecheck, lint, Fallow, build, 106 focused tests across 7 files, and both provider-route scenarios pass. |
|
Addressed in
Validation on this head:
The broad affected-test fanout also exercised these touched tests successfully, but unrelated suites hit the repository's documented host-contention timeouts; the affected paths above were rerun together with two workers and passed cleanly. Live iOS/Android publish → cold replay → continue evidence is already attached here: #1357 (comment). This follow-up commit changes validation/client/CLI behavior only and does not modify either device provider. |
|
Summary
Adds
session save-script [path] [--force]for publishing an armed open-to-destination recording without closing the live session.Implements the accepted ADR 0016 lifecycle and portability contract, including terminal aborted/published states, descriptor-driven mutation ordering, target-evidence validation, atomic no-clobber publication, CLI/client/MCP metadata, help guidance, and provider-backed coverage.
Closes #1346.
Validation
pnpm format:checkpnpm typecheckpnpm lintpnpm build