feat(buzz-acp): turn WIP checkpoints + four-way empty outcomes (WO #691) - #12
Merged
Merged
Conversation
…ock#691) SPEC-08: drop OUTBOX/wip bundles every 5 min and on termination; resume from newest WIP; split returned_empty into killed_turn_cap / killed_idle / crashed / empty.
added 4 commits
August 25, 2026 22:43
Use WIP_OUTBOX_REL / BRANCH_WATCHER_REQUEST_SUFFIX outside cfg(test), drop needless as_deref_mut on the crashed-error arm, and rustfmt the lint-failing heartbeat watcher tests.
Allow unused extend_in_flight_deadline (test-only call sites), use is_multiple_of / ? / Error::other where clippy 1.95 requires them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tracks seascope WO: https://github.com/Theremoteaidoc/remote-aid-medical/issues/691
(Buzz issues disabled — closing keyword cannot auto-close the WO; Orchestrator closes block#691 on merge.)
Closes block#691 (seascope WO; hand-close on merge)
SPEC-08 turn checkpointing (
crates/buzz-acp):wip_checkpoint.rs:OUTBOX/wip/<ts>.bundledrops every 5 min + on termination;latest_wip_bundlepicks newest by mtime;split_empty_outcomeclassifies empty turns.HeartbeatStatereplaces collapsedReturnedEmptywithKilledTurnCap/KilledIdle/Crashed/Empty.pool.rs: sidecar WIP ticker duringrun_prompt_task; force-drop on cancel/timeout/exit; resume path prependsresume_wip_hintwhen a WIP bundle exists.test_wip_outbox_path_outside_branch_watcher_glob— wip/ path cannot match branch-watcher glob (OUTBOX/branch/request.goonly).-D warningscleared in touched buzz-acp files (dead_code allow on test-onlyextend_in_flight_deadline,is_multiple_of,?,Error::other).Branch-watcher unchanged (already persona-scoped to
OUTBOX/branch/).files-touched:
crates/buzz-acp/src/wip_checkpoint.rscrates/buzz-acp/src/pool.rscrates/buzz-acp/src/lib.rscrates/buzz-acp/src/agent_heartbeat.rscrates/buzz-acp/src/acp.rs(rustfmt)crates/buzz-acp/src/liveness_watcher.rs(rustfmt + clippy)crates/buzz-acp/src/queue.rs(rustfmt + clippy allow)crates/buzz-acp/tests/initial_heartbeat.rscrates/buzz-acp/tests/liveness_watcher.rsEvidence