test: maintenance CLI lifecycle across owner restarts #134

Merged
severus-snape merged 1 commit from test/maintenance-cli-lifecycle into main 2026-10-27 16:38:57 +00:00
Collaborator

Scope

Test-only acceptance gap closure. Real CLI subprocesses connect to the real local maintenance plugin in a separate Harness owner process; only the model runtime is a deterministic FakeRuntime.

Covers initial status, admission while paused, durable pending intent across orderly owner restart, idempotent original-request retry, idle execution once, applied receipt across a second restart and no repeated compaction. Checks one opened runtime session and endpoint cleanup. No production endpoint activation/configuration or other-agent changes.

Verification

  • NORMAL npm test: 717/717 PASS
  • npm run typecheck and npm run build: PASS
  • Dedicated test: PASS (initial fixture invocation used unsupported global --home syntax; corrected to existing VANILLACORE_HARNESS_HOME contract, no product bug claimed)
  • Review status only: existing conversation budget 3 rounds, 0 blockers. No additional review round/reset. Not a fresh review of this candidate.

Limits

Orderly restart, not crash/exactly-once effect proof. Real owner + real CLI, deterministic runtime; no real provider/tmux/transcript/remote access claim. Builds do not activate deployment.

## Scope Test-only acceptance gap closure. Real CLI subprocesses connect to the real local maintenance plugin in a separate Harness owner process; only the model runtime is a deterministic FakeRuntime. Covers initial status, admission while paused, durable pending intent across orderly owner restart, idempotent original-request retry, idle execution once, applied receipt across a second restart and no repeated compaction. Checks one opened runtime session and endpoint cleanup. No production endpoint activation/configuration or other-agent changes. ## Verification - NORMAL npm test: 717/717 PASS - npm run typecheck and npm run build: PASS - Dedicated test: PASS (initial fixture invocation used unsupported global --home syntax; corrected to existing VANILLACORE_HARNESS_HOME contract, no product bug claimed) - Review status only: existing conversation budget 3 rounds, 0 blockers. No additional review round/reset. Not a fresh review of this candidate. ## Limits Orderly restart, not crash/exactly-once effect proof. Real owner + real CLI, deterministic runtime; no real provider/tmux/transcript/remote access claim. Builds do not activate deployment.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harness/core!134
No description provided.