Repository navigation
claw: goal_exit_gate -- hard exit for /goal: all epics done + released (Closes #13182) - #13604
Merged
Merged
Conversation
Contributor
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 465e8828-de8a-4faf-9f26-7824d9e75d77) |
gHashTag
enabled auto-merge (squash)
November 11, 2026 05:33
Contributor
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.
Encodes the FORNET_SLASH_GOAL_EXIT_GATE_V1 directive: an agent under /goal does not exit until every linked epic is labeled epic-done AND released. The conjunctive gate holds on any ACTIVE / BLOCKED / UNKNOWN epic; OWN blockers are fixed by the agent, SHARED / FOREIGN are held. t27b native: 6 passed / 0 failed, 2 invariants held; t27c typecheck OK; dupe scan clean.
Note
Low Risk
New claw policy spec and seal only; no runtime wiring in this diff.
Overview
Adds
ClawGoalExitGateas a new t27 spec (specs/claw/goal_exit_gate.t27) plus its Trinity seal, encoding FORNET_SLASH_GOAL_EXIT_GATE_V1: a/goalagent may not exit until every linked epic is done (labeledepic-doneand release merged) and none are ACTIVE, BLOCKED, or UNKNOWN.The module exposes
exit_gate(conjunctive open/held),epics_remaining,epic_is_done, andnext_actionfrom blocker class (OWN → work, otherwise hold), with invariants and six Zig tests. Callers supply issue state; the spec does not talk to GitHub.Reviewed by Cursor Bugbot for commit c6de080. Bugbot is set up for automated code reviews on this repo. Configure here.