mirror of
https://github.com/coleam00/Archon
synced 2026-04-21 21:47:53 +00:00
* feat(cli): Add git repository safety check Add validation to ensure CLI workflows only run from within a git repository. If the user runs from a subdirectory, the CLI resolves to the repo root. Running from a non-git directory produces a clear error message with guidance. - Add git.findRepoRoot() check before workflow commands - Bypass check for version/help commands - Add tests for git repo validation behavior * docs: Update CLI documentation for git repository requirement * fix(cli): Improve error handling and tests for git repo check - Move git.findRepoRoot() inside try-catch block to ensure proper error handling and database cleanup on unexpected errors - Add path existence validation before git check for clearer error messages - Improve tests: test real git.findRepoRoot behavior instead of mocks - Add tests for path validation and command categorization logic |
||
|---|---|---|
| .. | ||
| architecture.md | ||
| archon-architecture.md | ||
| cli-developer-guide.md | ||
| cli-user-guide.md | ||
| cloud-deployment.md | ||
| configuration.md | ||
| getting-started.md | ||
| migration-guide.md | ||
| new-developer-guide.md | ||
| releasing.md | ||
| slack-setup.md | ||
| worktree-orchestration-research.md | ||
| worktree-orchestration.md | ||