Skip to content

docs: audit and refresh docs to match shipped features#12

Merged
machado144 merged 1 commit into
mainfrom
docs/audit-refresh
Jun 8, 2026
Merged

docs: audit and refresh docs to match shipped features#12
machado144 merged 1 commit into
mainfrom
docs/audit-refresh

Conversation

@machado144

Copy link
Copy Markdown
Contributor

What

A docs audit + refresh to bring all four user-facing doc surfaces back in sync with what actually ships. Recent PRs (dashboard #9, IPv6 #10, Go bump #11, and earlier masking) added features and changed defaults that never made it into the docs.

Kept it useful and tight — no bloat, just fixing what was missing or wrong.

Gaps fixed

Area Before After
aigate serve / web dashboard undocumented everywhere documented in README, user guide, AI ref, help-ai
Audit log (~/.aigate/audit.jsonl) undocumented own section in user guide + help-ai, with event examples
Default config example (user guide) missing *.p12, terraform.tfstate, *.tfvars, ncat/netcat/rsync/ftp, registry.npmjs.org, proxy.golang.org, and the whole mask_stdout block matches InitDefaultConfig
aws_secret preset absent (docs said "5 presets") added; correct description (AWS_SECRET_ACCESS_KEY= match), "6 presets"
Go version badge 1.24+, "From Source (Go 1.24+)" 1.25+ (go.mod is 1.25.11)
README Features claimed cgroups resource limits are enforced removed — the user guide correctly notes they're not yet enforced
AI architecture map missing audit_service.go, masker.go, internal/web/, setup.go, help_ai.go, escape tests added, plus a note on the append-only audit log + read-only dashboard design
help-ai no doctor, no serve/dashboard added doctor to setup + a DASHBOARD & AUDIT LOG section

Files

  • README.md
  • docs/user/README.md
  • docs/AI/README.md
  • actions/help_ai.go (the aigate help-ai output)

Verified

  • go build ./... and go test -short ./... pass
  • pre-commit hooks green: structlint, gofmt, govet, golangci-lint

🤖 Generated with Claude Code

Bring README, user guide, AI reference, and `aigate help-ai` back in sync with
the code after the dashboard, IPv6, masking, and Go-version changes.

- Document `aigate serve` (local web dashboard) and the `~/.aigate/audit.jsonl`
  audit log (run_started / blocked events) — previously undocumented entirely.
- Sync the default-config example in the user guide with InitDefaultConfig:
  add *.p12, terraform.tfstate, *.tfvars; ncat/netcat/rsync/ftp;
  registry.npmjs.org, proxy.golang.org; and the mask_stdout block init writes.
- Add the aws_secret preset (6 presets, not 5) to the user guide table and
  help-ai; fix its description (matches AWS_SECRET_ACCESS_KEY= assignments).
- README: Go badge 1.24+ -> 1.25+; drop the "cgroups limits enforced" claim
  (the user guide already notes limits are not yet enforced).
- AI reference: add audit_service.go, masker.go, internal/web/, setup.go,
  help_ai.go, and the escape tests to the architecture map; note the
  append-only audit log + read-only dashboard design.
- help-ai: add `doctor` to setup and a DASHBOARD & AUDIT LOG section.

Verified: go build ./... and go test -short ./... pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

StructLint — All checks passed

92 rules validated against .structlint.yaml. No violations found.

View full run · Powered by StructLint

@machado144 machado144 merged commit a38e079 into main Jun 8, 2026
6 checks passed
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