urfave/cli v3 extension: scope-tokens, audit log, lockdown writer, argv-validation framework. Intended for the urfave/cli ecosystem.
- Go 99.7%
- Shell 0.2%
- Makefile 0.1%
|
Some checks failed
ci / test (push) Has been cancelled
ci / lint (push) Has been cancelled
ci / govulncheck (push) Has been cancelled
ci / docs (push) Has been cancelled
codeql / analyze (go) (push) Has been cancelled
pages / build (push) Has been cancelled
pages / deploy (push) Has been cancelled
Part of the agentic-os-kai#505 load-point framework rollout. closes coilysiren/cli-guard#43 Audit-log: coily://1780119139/AGPHOXTT - coily git commit |
||
|---|---|---|
| .agents/skills/cli-guard | ||
| .claude | ||
| .github | ||
| audit | ||
| config | ||
| decision | ||
| dispatch | ||
| docs | ||
| egress | ||
| examples | ||
| exitcode | ||
| ghcache | ||
| ghidcache | ||
| ghratelimit | ||
| gittree | ||
| hook | ||
| lockdown | ||
| mcporter | ||
| passthrough | ||
| policy | ||
| profile | ||
| profiles | ||
| repocfg | ||
| respfmt | ||
| scope | ||
| scripts | ||
| shell | ||
| skillgen | ||
| ssh | ||
| stscache | ||
| sudo | ||
| ttlcache | ||
| verb | ||
| workdir | ||
| .agentic-os.toml | ||
| .gitattributes | ||
| .gitignore | ||
| .golangci.yaml | ||
| .pre-commit-config.yaml | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| go.mod | ||
| go.sum | ||
| godoc-current.txt | ||
| LICENSE | ||
| Makefile | ||
| mkdocs-requirements.txt | ||
| mkdocs.yml | ||
| README.md | ||
| SECURITY.md | ||
| staticcheck.conf | ||
cli-guard
cli-guard is a security-boundary framework for urfave/cli v3 applications, designed to sit between AI agents (or any semi-trusted automation) and the host system, featuring:
- argv validation rejecting shell metacharacters before they reach
execve - append-only JSONL audit log with lumberjack rotation
- read / write / delete scope tokens, validated per verb
--commit-scoperesolution binding every audit row to a git toplevel- clean+synced gate refusing repo-shaped verbs on a dirty tree
- per-repo command allowlist loaded from per-repo YAML config files (e.g.
.ward/ward.yaml,.coily/coily.yaml) - thin pass-through wrapper for embedding existing CLIs as audited subcommands
- per-invocation CONNECT proxy with consumer-supplied egress allowlist
- public exit-code taxonomy for orchestrators
- reusable dispatch subsystem firing
claudeagainst a real open issue, headless or interactive
Documentation
See docs/FEATURES.md for a feature inventory, examples/ for runnable demos one per primitive, and the CLI reference for the rendered command tree of every example. Local dev verbs run through make (see the Makefile).
Support
If you found a bug or have a feature request, create a new issue. Participation in this community is governed by the Code of Conduct. Security disclosures go through SECURITY.md.
Sibling repo: cli-mcp.
License
See LICENSE.
See also
- AGENTS.md - agent-facing operating rules.
- docs/FEATURES.md - inventory of what ships today.
Cross-reference convention from coilysiren/agentic-os#59.