-
Notifications
You must be signed in to change notification settings - Fork 0
generate: run until stopped when no --count is given (cangen-style) #486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -99,7 +99,11 @@ | |
| }, | ||
| "count": { | ||
| "type": "integer", | ||
| "description": "Number of frames to generate", | ||
| "description": ( | ||
| "Number of frames to generate. Defaults to 1 for a dry-run plan; " | ||
| "required (and must be finite) when `dry_run=false`, since this " | ||
|
Comment on lines
100
to
+104
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Update both AGENTS.md reference: AGENTS.md:L82-L90 Useful? React with 👍 / 👎. |
||
| "tool cannot interrupt an unbounded live run." | ||
| ), | ||
| "default": 1, | ||
| }, | ||
| "gap": { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
--countis omitted,main()calls this emitter outsideexecute_command()'s exception wrapper. If active acknowledgement is required, or if--ack-activereceives anything other thanYES,enforce_active_transmit_safety()raisesCommandErrorhere before thetryblock and it escapes as a traceback instead of the documentedACTIVE_ACK_REQUIREDorACTIVE_CONFIRMATION_DECLINEDresult envelope. Catch and emit this error at the streaming boundary so active-safety failures remain actionable and machine-readable.AGENTS.md reference: AGENTS.md:L359-L370
Useful? React with 👍 / 👎.