fix: require applied receipts before continuation work and replay persisted input #177
Open
severus-snape
wants to merge 1 commit from
fix/completion-integrated-receipt-replay into main
pull from: fix/completion-integrated-receipt-replay
merge into: harness:main
harness:main
harness:feat/minato-native-matrix-e2ee
harness:docs/canonical-github-repositories
harness:feat/hayate-agent-naming
harness:fix/reconcile-uncertain-completion
harness:fix/context-ownership-and-checker
harness:fix/night-start-catchup
harness:fix/recovery-failed-only-warning
harness:fix/recovery-inconclusive-real-behavior
harness:fix/nongit-snapshot-fixture
harness:fix/taskscope-archive-safe-compat-test
harness:fix/cron-result-test-barrier
harness:fix/continuation-explicit-task-scope
harness:feat/native-api-tls
harness:fix/productive-continuation-nongit
harness:fix/productive-continuation-budget
harness:fix/completion-nudge-retry-separation
harness:fix/integrated-ci-8061-contract-regressions
harness:fix/completion-reviewer-false-blocked
harness:feat/host-update-admission
harness:fix/runtime-overlay-tolerant
harness:feat/runtime-config-overlay-request
harness:fix/recovery-truthful-diagnostic
harness:fix/semantic-turn-continuation
harness:fix/image-gate-nested-process
harness:fix/targeted-runner-ci
harness:fix/small-pr-default-rule
harness:fix/skill-autoload-size
harness:investigate/completion-monitor-stop
harness:fix/image-fullsuite-pr165
harness:fix/targeted-test-policy
harness:feat/vertical-kiss-rule
harness:fix/chat-ack-recovery
harness:fix/repetition-budget-integrated
harness:feat/authenticated-natural-budget-reset
harness:feat/adaptive-skills-integrated
harness:fix/operator-reset-compatibility
harness:feat/operator-task-budget-reset
harness:fix/actionable-recovery-integrated
harness:fix/continuity-bounded-reconciliation
harness:fix/crash-safe-continuity
harness:fix/nudge-budget-stall-repair
harness:fix/wait-authority-denial-receipts
harness:fix/improvement-default-enabled
harness:fix/human-night-report
harness:proposal/nightly-20261028-atomic-usage
harness:fix/context-foreground-stall-0101
harness:fix/context-foreground-backoff-0100
harness:fix/context-maintenance-root-0199
harness:fix/context-maintenance-critical
harness:fix/result-authority-lifecycle
harness:fix/severus-reviewed-model-routing
harness:fix/severus-private-api-reviewed
harness:fix/review-notification-main-integration
harness:fix/wait-accounting-budget
harness:fix/dispatcher-model-rules
harness:fix/operator-foreground-integration
harness:fix/live-parent-result-authority-integration
harness:docs/cron-local-contract
harness:test/zero-gateway-acceptance
harness:feat/compaction-selection-lifecycle
harness:feat/context-strategy-lifecycle
harness:feat/nightly-strategy-lifecycle
harness:feat/completion-strategy-lifecycle
harness:test/maintenance-cli-lifecycle
harness:fix/maintenance-receipt-validation
harness:feat/maintenance-client
harness:fix/review-sampling-newbase
harness:feat/local-maintenance-control
harness:fix/maintenance-admission
harness:feat/session-observer
harness:docs/semantic-assessment-lifecycle
harness:test/semantic-correction-boundary
harness:fix/semantic-resumption-context
harness:fix/context-maintenance-recovery
harness:feat/memory-orchestration-live
harness:fix/reload-restart-alias
harness:fix/stop-stale-reply
harness:fix/session-open-cleanup
harness:fix/session-provider-lifecycle
harness:refactor/cron-report-plugin
harness:feat/cron-follow-through
harness:fix/durable-task-resumption
harness:fix/session-model-precedence
harness:feat/provider-lifecycle
harness:feat/tool-catalog-generations
harness:feat/runtime-extension-modules
harness:fix/plugin-lifecycle-drain
harness:refactor/nightly-strategy
harness:refactor/completion-strategy
harness:refactor/context-strategy-plugins
harness:feat/review-engine-selection
harness:refactor/review-engine-plugin
harness:feat/durable-task-waits
harness:fix/single-activity-status
harness:fix/night-report-receipts
harness:feat/runtime-policy-overlays
harness:feat/policy-generation-lifecycle
harness:refactor/default-memory-engine
harness:feat/replaceable-memory-orchestration
harness:refactor/matrix-gateway-ownership
harness:fix/gateway-default-route-lifecycle
harness:feat/worker-native-activity
harness:feat/matrix-native-activity
harness:feat/native-turn-activity
harness:feat/composable-policy-contract
harness:fix/context-maintenance-coexistence
harness:fix/recovery-claim-evidence
harness:fix/recheck-stalled-continuation
harness:fix/review-json-admin-extension
harness:fix/deliver-startup-recovery
harness:fix/validate-explicit-completion
harness:fix/main-result-followup
harness:fix/deliver-sanitized-diagnostics
harness:feat/automatic-build-version
harness:feat/bounded-upgrade-handover
harness:fix/registry-layer-size
harness:feat/gateway-progress
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
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!177
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/completion-integrated-receipt-replay"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope
One consolidated continuation-receipt slice on main
4953b1f5c2(includes #175). Require an applied context-preparation receipt before continuation work, retain host preparation identity across restart, and replay the persisted preparation input. Exactly five files; no unrelated WAIT/cleanup changes.Evidence
Exact tree:
9670d2e09f.Implementation: 58 focused tests, typecheck; independent exact-tree review additionally verified 14 context tests, one real-Harness replay test and two extra probes. These are retained prior-run results, not a newly run full suite or CI claim.
Normal owner ReviewService on the original worktree and real home: passed, no P0/P1; 1/3 rounds, no history or budget grant/reset. Fingerprint 2f145f27f98255a29f836a36a2265b15bc055bb6135ca453f2a227eafc5faa55. Commit/push/publish assertions pass both before and after commit with the same fingerprint.
Limits
Nonblocking P2: task-only recovery may reconstruct different resume text under the original identity and conservatively fail with a digest conflict. Proven replay covers original persisted input after the applied receipt is durable, not universal crash exactly-once between a runtime effect and saving its receipt. The replay regression injects the persistence-boundary interruption, not OS process death. Independent P2/P3 follow-ups remain optional and are not silently folded into this PR.
Leave OPEN for normal review and required CI. No merge, build, CI polling/rerun, rollout, restart or deployment performed or authorized by this delivery.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.