[CLI Flag Review] Weekly CLI Flag Consistency Report — 2026-07-12 #6130
Replies: 3 comments
-
|
🔮 The ancient spirits stir, and the smoke test agent was here. Warning Firewall blocked 2 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"
- "registry.npmjs.org"See Network Configuration for more information.
|
Beta Was this translation helpful? Give feedback.
-
|
🔮 The ancient spirits stir across the firewall. Warning Firewall blocked 2 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"
- "registry.npmjs.org"See Network Configuration for more information.
|
Beta Was this translation helpful? Give feedback.
-
|
🔮 The ancient spirits stir, and the smoke-test agent has passed through this discussion. Warning Firewall blocked 2 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"
- "registry.npmjs.org"See Network Configuration for more information.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
📊 Summary
Weekly automated consistency check between
src/cli-options.ts(implementation) and user-facing documentation.src/cli-options.ts): 67docs/usage.mdandcli-reference.md: 58✅ Flags Status
--config-d, --allow-domains--allow-domains-file--ruleset-file--block-domains--block-domains-file--ssl-bump--allow-urls-b, --build-local--agent-image--image-registry--image-tag--skip-pull--docker-host--docker-host-path-prefix--container-runtime-e, --env--env-all--exclude-env--env-file-v, --mount--container-workdir--memory-limit--tty--dns-servers--dns-over-https--upstream-proxy--enable-host-access--network-isolation--topology-attach--allow-host-ports--allow-host-service-ports--enable-dind--enable-dlp--enable-api-proxy--copilot-api-target--openai-api-target--openai-api-base-path--anthropic-api-target--anthropic-api-base-path--openai-api-auth-header--anthropic-api-auth-header--gemini-api-target--gemini-api-base-path--vertex-api-target--vertex-api-base-path--anthropic-auto-cache--anthropic-cache-tail-ttl--rate-limit-rpm--rate-limit-rph--rate-limit-bytes-pm--no-rate-limit--max-model-multiplier--max-model-multiplier-cap--max-permission-denied--max-cache-misses--enable-token-steering--difc-proxy-host--difc-proxy-ca-cert--log-level-k, --keep-containers--agent-timeout--work-dir--proxy-logs-dir--audit-dir--session-state-dir--diagnostic-logsIssue 1 —
--container-runtimenot documented anywheresrc/cli-options.ts(defined), absent fromdocs/usage.md,docs-site/src/content/docs/reference/cli-reference.md, andREADME.md"Container runtime for the agent container. \"gvisor\" — OCI runtime via Docker Compose (translates to runsc). \"sbx\" — Docker sbx microVM with hypervisor isolation. Unknown values are passed through as raw Docker runtime names."docs/usage.mdandcli-reference.md. This is a significant capability (gVisor/sbx isolation) that operators would want to know about.Issue 2 —
--vertex-api-targetand--vertex-api-base-pathnot documentedsrc/cli-options.ts(defined), absent from all docsdocs/usage.md,cli-reference.md, orREADME.md. All other provider*-api-targetand*-api-base-pathpairs (OpenAI, Anthropic, Gemini, Copilot) are documented.docs/usage.mdand thecli-reference.mdoptions summary table.Issue 3 —
--openai-api-auth-headerand--anthropic-api-auth-headernot documentedsrc/cli-options.ts(defined), absent from all docsdocs/usage.mdorcli-reference.md. These enable non-standard auth schemes (e.g., Databricks, Azure OpenAI) so are likely useful to enterprise users.--openai-api-auth-header:"Custom auth header name for OpenAI requests (default: Authorization with ******"--anthropic-api-auth-header:"Custom auth header name for Anthropic requests (default: x-api-key)"Issue 4 —
--max-model-multiplier,--max-model-multiplier-cap,--max-permission-denied,--max-cache-missesnot documentedsrc/cli-options.ts(defined), absent from bothdocs/usage.mdandcli-reference.md--max-model-multiplier: Per-model cost multipliers for effective token accounting--max-model-multiplier-cap: Maximum allowed model cost multiplier (rejects requests over cap with HTTP 400)--max-permission-denied: Maximum 401/403 upstream responses before proxy shuts down--max-cache-misses: Maximum consecutive cache misses before stoppingdocs/usage.md, and add entries to the options summary table incli-reference.md.Issue 5 —
AGENTS.mddescribes--dns-serversdefault as Google DNS, not auto-detectedAGENTS.mdunder DNS Configuration → Default:Google DNS (8.8.8.8,8.8.4.4)docs/usage.mdandcli-reference.md) is to auto-detect from host resolvers and fall back to Google DNS only if detection fails.AGENTS.mdstates Google DNS as the primary default, which is misleading for AI agents using that file."Default: Google DNS (8.8.8.8,8.8.4.4)""Default: auto-detected from host resolvers; falls back to 8.8.8.8,8.8.4.4"AGENTS.md(and identically inCLAUDE.md, which is a copy).Issue 6 —
AGENTS.md/CLAUDE.mdreferencessrc/cli.tsas flag definition locationAGENTS.mdfirst paragraph: "The system is orchestrated bysrc/cli.ts"; Custom instruction header mentionssrc/cli.tsas source of truth for flagssrc/cli-options.ts.src/cli.tsis now a thin entry-point that imports fromcli-options.ts. Any agent told to readsrc/cli.tsfor flag definitions will find an empty 8-line file.AGENTS.md/CLAUDE.mdto note that flag definitions live insrc/cli-options.ts.📋 Recommendations
🔴 High Priority
Document
--max-model-multiplier,--max-model-multiplier-cap,--max-permission-denied,--max-cache-misses— These are cost-control and safety-circuit features that operators running production workloads need to know about. Missing docs means users cannot discover or configure these protections.Document
--container-runtime— gVisor (gvisor) and sbx microVM (sbx) isolation are major security features. Absence from docs means users default to the standard runtime even when stronger isolation is available.🟡 Medium Priority
Document
--vertex-api-target/--vertex-api-base-path— Every other provider target is documented; Vertex AI is the odd one out. Affects Google Cloud users using Vertex AI instead of the direct Gemini API.Document
--openai-api-auth-header/--anthropic-api-auth-header— Required for enterprise deployments using Azure OpenAI or Databricks model serving that use non-standard auth header names.Fix
AGENTS.md/CLAUDE.mdDNS default description — Incorrect defaults in agent instruction files lead AI coding assistants to generate incorrect--dns-serversusage suggestions.🟢 Low Priority
AGENTS.md/CLAUDE.mdto referencesrc/cli-options.ts— Minor accuracy improvement for AI agents doing code investigation.📁 Files Analyzed
src/cli-options.tsdocs/usage.mddocs-site/src/content/docs/reference/cli-reference.mdREADME.mdAGENTS.mdCLAUDE.mdWarning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpgSee Network Configuration for more information.
Beta Was this translation helpful? Give feedback.
All reactions