cli: flags after the brief, token counts, ssh paths and auth failures behave - #1669
Open
santoshkumarradha wants to merge 3 commits into
Open
santoshkumarradha wants to merge 3 commits into
santoshkumarradha wants to merge 3 commits into
Conversation
… behave Re-cut from #1604. - delegate programs read flags wherever they sit, refuse unknown ones, and `--` still ends them (#1567) - `do --json` on the run engine carries input and output tokens (#1558, token item) - the ssh control-path check counts OpenSSH temporary suffix (#1580) - an unsubmitted run with passing checks says so and gives the command to submit; the exit code stays 2 (#1584) - a 401 or 403 is an auth failure everywhere and is not retried as a provider error; the failure names the key source on the default service, and `codeaf do` carries the reason to its error field (#1590)
santoshkumarradha
marked this pull request as ready for review
September 29, 2026 01:22
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.
Re-cut from #1604 onto current dev: only the CLI and provider items.
senior-dev "<brief>" --max-cost 0.5folded the flag into the brief and used the default ceiling. Flags are now read wherever they sit for every delegate program; an unknown flag is refused;--still ends them.codeaf do --jsonon the run engine printed zero tokens beside a non-zero spend. Workers, supervisor and summary now carry input and output tokens to the receipt.--hostunder a long codeaf home failed at ssh bind because the control-path check ignored OpenSSH's 17-character temporary suffix. Both forms must now fit, or multiplexing stays off.codeaf docarries the reason into its error field. Key order is unchanged.Not included: #1558's workspace default.
--workspacedefaulting to the home directory is documented and used by the hosted road, so changing it is not a safe drive-by; that item stays open. #1566 is already on dev.Fixes #1567
Fixes #1580
Fixes #1584
Fixes #1590
Part of #1558