Skip to content

docs(readme): split agent-gate run flags into primary + advanced sections#34

Closed
WZ wants to merge 1 commit into
mainfrom
docs/run-advanced-section
Closed

docs(readme): split agent-gate run flags into primary + advanced sections#34
WZ wants to merge 1 commit into
mainfrom
docs/run-advanced-section

Conversation

@WZ
Copy link
Copy Markdown
Owner

@WZ WZ commented May 7, 2026

Summary

The README's `### Flags` block listed every `agent-gate run` flag in one column. After v0.3.4 the binary's own `--help` splits them into a primary block (`--mode`, `--enforce-allowlist`, `--config`) and a trailing `Advanced Flags:` block (`--upstream-ca`, `--upstream-insecure-skip-verify`, `--hijack-host`). This PR mirrors that split in the README so the docs match what the binary actually prints.

Drive-by: dropped the "advanced — most users don't need this" preamble from `--hijack-host`'s description since the new section heading already says that. Same wording change shipped in the binary in v0.3.4.

Added a one-liner at the end pointing readers at `agent-gate run --help` so future flag changes only need a `--help` glance to verify the docs are in sync.

Pure docs. No code, no behavior change.

Test plan

  • Render the README locally; both blocks are syntactically valid markdown
  • Cross-checked against v0.3.4's actual `agent-gate run --help` output — the section heading and the three advanced flags match

Mirrors the layout that v0.3.4's `agent-gate run --help` actually
prints. The everyday flags (--mode, --enforce-allowlist, --config)
stay together; --upstream-ca, --upstream-insecure-skip-verify, and
--hijack-host move into a clearly labeled "advanced flags" block at
the bottom so first-time readers see the common surface first.

Drive-by: dropped the "advanced — most users don't need this"
preamble from --hijack-host's description since the section heading
now does that work, matching what we already shipped in the binary's
help text.

Added a one-liner pointing readers at `agent-gate run --help` so the
README and the binary stay in sync as the source of truth.
@WZ
Copy link
Copy Markdown
Owner Author

WZ commented May 7, 2026

Superseded by a larger README/RUNBOOK split — closing in favor of that PR.

@WZ WZ closed this May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant