You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: Several code examples omit the -- separator before the agent command, inconsistent with the canonical usage shown in README.md (sudo awf --allow-domains github.com -- curl ...)
Suggestion: Add -- separator to all examples in AGENTS.md/CLAUDE.md for consistency
📋 Recommendations
High Priority
Fix --memory-limit default value in docs/usage.md (2g → 6g) — quick one-line fix
Document --gemini-api-target / --gemini-api-base-path in both usage.md and cli-reference.md
Document --difc-proxy-host / --difc-proxy-ca-cert in both files
Document --config <path> in both files
Medium Priority
Add --diagnostic-logs, --docker-host, --upstream-proxy to both doc files
Sync usage.md to include the 4 flags already in cli-reference.md but missing from usage.md: --exclude-env, --env-file, --openai-api-base-path, --anthropic-api-base-path, --allow-host-service-ports, --audit-dir
Low Priority
Add predownload and logs audit subcommand sections to docs/usage.md
Add --difc-proxy to the predownload options in cli-reference.md
Update AGENTS.md / CLAUDE.md examples to use -- separator consistently
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
📊 Summary
src/cli.tsdocs/usage.mdcli-reference.mdusage.mdcli-reference.md✅ Flags Status
Main Command Flags
cli.tsusage.mdcli-reference.mdREADME.md--config <path>-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-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--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--gemini-api-target--gemini-api-base-path--rate-limit-rpm--rate-limit-rph--rate-limit-bytes-pm--no-rate-limit--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-logsSubcommands
cli.tsusage.mdcli-reference.mdawf logsawf logs statsawf logs summaryawf logs auditawf predownloadpredownload --difc-proxy🔴 High Priority
Issue 1:
--memory-limitdefault value mismatchdocs/usage.mdline 89(default: 2g)(default: 6g)— matchessrc/cli.tsline 1427:'6g'andcli-reference.mdline 44docs/usage.mdline 89 to show(default: 6g)Issue 2:
--gemini-api-targetand--gemini-api-base-pathundocumenteddocs/usage.mdandcli-reference.mdsrc/cli.ts(lines 1508–1515) but not mentioned in either doc file--openai-api-target,--anthropic-api-targetsections in both filesIssue 3:
--difc-proxy-hostand--difc-proxy-ca-certundocumenteddocs/usage.mdandcli-reference.mdsrc/cli.ts(lines 1534–1543) have no user-facing documentation--enable-api-proxywhere relevantIssue 4:
--config <path>undocumenteddocs/usage.mdandcli-reference.md--config <path>flag (reads JSON/YAML config file or stdin) is defined insrc/cli.tsline 1303–1306 but absent from all doc files--configflag and noting it can accept-for stdin🟡 Medium Priority
Issue 5:
--diagnostic-logsundocumenteddocs/usage.mdandcli-reference.mdsrc/cli.tslines 1577–1583 for collecting container diagnostics on non-zero exit; not in any public docIssue 6:
--docker-hostundocumenteddocs/usage.mdandcli-reference.mdsrc/cli.tslines 1385–1390 but not documentedIssue 7:
--upstream-proxyundocumenteddocs/usage.mdandcli-reference.mdsrc/cli.tslines 1444–1449 but not in docshttps_proxy/http_proxyIssue 8:
--exclude-envand--env-filemissing fromdocs/usage.mddocs/usage.md(both are present incli-reference.md)cli-reference.mdbut were never added to theusage.mdoptions listusage.mdoptions block alongside--env-allIssue 9:
--openai-api-base-pathand--anthropic-api-base-pathmissing fromdocs/usage.mddocs/usage.md(both are present incli-reference.md)--openai-api-target/--anthropic-api-targetentries inusage.mdIssue 10:
--allow-host-service-portsand--audit-dirmissing fromdocs/usage.mddocs/usage.md(both are present incli-reference.md)cli-reference.mdbut not inusage.mdoption listusage.mdoption block🟢 Low Priority
Issue 11:
awf predownloadsubcommand missing fromdocs/usage.mddocs/usage.mdawf predownloadis documented incli-reference.md(line 950) but completely absent fromusage.mdusage.mdIssue 12:
awf logs auditsubcommand missing fromdocs/usage.mddocs/usage.mdawf logs auditis documented incli-reference.md(line 1185) but not inusage.md, which only coverslogs statsandlogs summaryawf logs auditusage and examples todocs/usage.mdIssue 13:
predownload --difc-proxyoption undocumenteddocs/usage.mdandcli-reference.mdpredownloadsubcommand has a--difc-proxyflag (src/cli.tsline 2286) not mentioned incli-reference.md's predownload section--difc-proxyto the predownload options table incli-reference.mdIssue 14: AGENTS.md / CLAUDE.md examples missing
--separatorAGENTS.mdlines 129, 383, 388, 392, 516 (identical file content asCLAUDE.md)--separator before the agent command, inconsistent with the canonical usage shown inREADME.md(sudo awf --allow-domains github.com -- curl ...)awf --allow-domains github.com 'curl https://api.github.com'awf --allow-domains github.com \ "npx@github/copilot@0.0.347 ..."--separator to all examples in AGENTS.md/CLAUDE.md for consistency📋 Recommendations
High Priority
--memory-limitdefault value indocs/usage.md(2g→6g) — quick one-line fix--gemini-api-target/--gemini-api-base-pathin bothusage.mdandcli-reference.md--difc-proxy-host/--difc-proxy-ca-certin both files--config <path>in both filesMedium Priority
--diagnostic-logs,--docker-host,--upstream-proxyto both doc filesusage.mdto include the 4 flags already incli-reference.mdbut missing fromusage.md:--exclude-env,--env-file,--openai-api-base-path,--anthropic-api-base-path,--allow-host-service-ports,--audit-dirLow Priority
predownloadandlogs auditsubcommand sections todocs/usage.md--difc-proxyto thepredownloadoptions incli-reference.md--separator consistently📁 Files Analyzed
src/cli.tsdocs/usage.mddocs-site/src/content/docs/reference/cli-reference.mdREADME.mdAGENTS.mdCLAUDE.mdBeta Was this translation helpful? Give feedback.
All reactions