Repository navigation
docs(cli): require --auto high in droid exec mission examples - #73
Closed
lukealvoeiro wants to merge 1 commit into
Closed
lukealvoeiro wants to merge 1 commit into
lukealvoeiro wants to merge 1 commit into
Conversation
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Contributor
|
Droid finished @lukealvoeiro's task —— View job The mission examples now consistently include the required high-autonomy flag and a mission prompt. No actionable issues were found. 0 inline comments posted |
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.
Gap
EXEC-23 / EXEC-4 / EXEC-59 (docs make a command fail, P2). Every headless mission example in the docs is rejected by the CLI before anything runs, because missions require
--auto high(or--skip-permissions-unsafe).Evidence
docs/features/missions/reference.mdx:22:droid exec --mission -f mission.mddocs/features/missions/reference.mdx:28-33: worker/validator override example, no--autodocs/cli/droid-exec/overview.mdx:503-509(JP:438-444): uses--auto mediumdocs/reference/cli-reference.mdx:149-153(JP:79-83): the five mission rows. None has--auto, and the four worker/validator rows have no prompt either.apps/cli/src/entrypoints/exec/assertValidOptions.ts:254-258in factory-mono:Invalid flags: --mission requires --auto high or --skip-permissions-unsafe. The orchestrator needs high autonomy to manage workers.--auto high(enterprise/security-review.mdx:51, EN and JP) is consistent with it.Why it matters
Anyone who copies the documented mission command (the main headless example on the Missions reference page, the droid exec overview, or the CLI reference table) gets an immediate "Invalid flags" error.
Fix
--auto highto everydroid execmission example in EN and JP.--auto mediumto--auto highin the droid exec overview example.-f mission.mdto the four worker/validator rows in the CLI reference, which otherwise had no prompt.Validation
docs/(EN and JP) fordroid execmission invocations: every code example now includes--auto high. Remaining matches are prose mentions and changelog entries, not runnable examples.Found by the scheduled CLI arguments audit.