Skip to content

feat: split init into setup + init, add help-ai command#4

Merged
machado144 merged 1 commit intomainfrom
feat/split-init-setup-helpai
Feb 12, 2026
Merged

feat: split init into setup + init, add help-ai command#4
machado144 merged 1 commit intomainfrom
feat/split-init-setup-helpai

Conversation

@machado144
Copy link
Contributor

Summary

  • Split aigate init into two commands to fix bug where sudo aigate init wrote config to /root/.aigate/ instead of the user's home
  • aigate setup (requires sudo): creates OS group/user for ACLs
  • aigate init (no sudo needed): writes ~/.aigate/config.yaml
  • New aigate help-ai command prints comprehensive AI-friendly usage examples
  • Updated README and user docs to reflect two-step flow

Test plan

  • go build ./... compiles
  • go test ./... all tests pass (including integration)
  • Manual test: sudo ./aigate setup + ./aigate init + ./aigate help-ai
  • CI pipeline checks pass

Split `aigate init` into two commands to fix sudo bug where
`sudo aigate init` wrote config to /root/.aigate/ instead of
the user's home directory.

- `aigate setup` (requires sudo): creates OS group/user
- `aigate init` (no sudo): writes ~/.aigate/config.yaml
- `aigate help-ai`: prints comprehensive AI-friendly usage examples
@machado144 machado144 force-pushed the feat/split-init-setup-helpai branch from 07c53b3 to 318877b Compare February 12, 2026 20:10
@machado144 machado144 merged commit 16483ff into main Feb 12, 2026
2 checks passed
@machado144 machado144 deleted the feat/split-init-setup-helpai branch February 12, 2026 20:12
murilopmachado added a commit that referenced this pull request Mar 5, 2026
Split `aigate init` into two commands to fix sudo bug where
`sudo aigate init` wrote config to /root/.aigate/ instead of
the user's home directory.

- `aigate setup` (requires sudo): creates OS group/user
- `aigate init` (no sudo): writes ~/.aigate/config.yaml
- `aigate help-ai`: prints comprehensive AI-friendly usage examples
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