feat: add pause and resume goal commands - #44
Merged
Conversation
danyel117
commented
Sep 4, 2026
danyel117
left a comment
Contributor
Author
There was a problem hiding this comment.
Claude Opus final review: APPROVE.
The first review requested three corrections: persist the pause before cancelling timers, acknowledge the pre-applied pause accurately, and document OpenCode V1 command preprocessing precisely. Commit 5ac71e4 resolves all three.
Opus independently verified the pinned V2 prompt/tool context contracts, V1 command hook behavior, command ownership and replay safety, Plan-mode enforcement, lifecycle guards, generated bundle reproducibility, package contents, and the full local gate: 230 tests, lint, typecheck, build, and pack. No merge-blocking findings remain.
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
/pause_goaland/resume_goalserver commands in OpenCode V1 and V2 for remote integrations that expose the server command catalog/pause_goalbefore its acknowledgement turn, then cancel scheduled/watchdog continuations so later idle events cannot restart the goal/goalforwarding behaviorcommand_nameis configured so all three controls remain availableVerification
bun run lintbun run typecheckbun test(230 passing; one pre-existing timing test was rerun after a transient failure and the complete suite then passed)bun run buildbun run pack:dry-run5ac71e4Closes #36
AI assistance: implemented and reviewed with OpenCode agents and independently reviewed with Claude Opus.