Add WireGuard TUI implementation

- Add Go TUI with bubbletea for WireGuard management
- Implement client CRUD operations with QR code generation
- Add configuration and validation modules
- Install/update scripts for client setup
- Update Makefile to build binaries to bin/ directory
- Add .gitignore for Go projects
This commit is contained in:
Calmcacil
2026-01-12 19:03:35 +01:00
parent 5ac68db854
commit 26120b8bc2
37 changed files with 6330 additions and 97 deletions

View File

@@ -1,22 +1,14 @@
# Agent Instructions
**IMPORTANT**: All agents MUST read `.agent/AGENTS.md` for project-specific instructions before starting work.
## Project Overview
This project uses **bd** (beads) for issue tracking and **Gitea** for external issue tracking.
## Gitea Issues Workflow
When asked to work on Gitea issues:
1. Read issue via API: `curl -s "https://gitea.calmcacil.dev/api/v1/repos/{owner}/{repo}/issues/{number}"`
2. Analyze requirements and scope
3. Create task list with `todowrite` for multi-step work
4. Implement fix following existing patterns
5. Commit with `Closes #{number}` in message (auto-closes issue)
6. Push to remote
See `GITEA_ISSUES.md` for detailed workflow.
## Beads Workflow
Run `bd onboard` to get started with beads.
- **Primary workflow**: Use `bd` CLI for issue tracking
- **External issues**: Gitea API for external bug/feature tracking
- **Agent instructions**: `.agent/` directory contains project-specific agent guidance
## Quick Reference
@@ -28,29 +20,9 @@ bd close <id> # Complete work
bd sync # Sync with git
```
## Landing the Plane (Session Completion)
## Documentation
**When ending a work session**, you MUST complete ALL steps below. Work is NOT complete until `git push` succeeds.
**MANDATORY WORKFLOW:**
1. **File issues for remaining work** - Create issues for anything that needs follow-up
2. **Run quality gates** (if code changed) - Tests, linters, builds
3. **Update issue status** - Close finished work, update in-progress items
4. **PUSH TO REMOTE** - This is MANDATORY:
```bash
git pull --rebase
bd sync
git push
git status # MUST show "up to date with origin"
```
5. **Clean up** - Clear stashes, prune remote branches
6. **Verify** - All changes committed AND pushed
7. **Hand off** - Provide context for next session
**CRITICAL RULES:**
- Work is NOT complete until `git push` succeeds
- NEVER stop before pushing - that leaves work stranded locally
- NEVER say "ready to push when you are" - YOU must push
- If push fails, resolve and retry until it succeeds
- `.agent/AGENTS.md` - Project-specific agent instructions (READ THIS FIRST)
- `GITEA_ISSUES.md` - Gitea issue workflow details
- `README.md` - Project overview and setup