05480fdce9
Build / Backend Build (push) Failing after 1s
Build / Frontend Build (push) Failing after 1s
Build / Docker Build (push) Has been skipped
Build / Kubernetes Deploy Smoke Test (push) Has been skipped
Release / Prepare Scheduled Release (push) Has been skipped
Release / Publish Release (push) Failing after 0s
* chore: ignore local agency and team snapshots * feat: add team agent profile templates * KANBAN * template * prototype * Fix tenant runtime pool deployment * Fix local team profiles runtime override * Update local team profiles testing guide * Adapt local team profiles test deployment * Patch tenant NFS server to ClusterIP * Use NFS export root for workspace mounts * Tighten team task completion projection * Fix team event body map comparison * before modification * temp_peer1 * leadermodel * team_fix * fix(team): harden workflow completion and workspace handling * fix(team): harden redis workflow protocol * discord link updated * chore: checkpoint team workflow fixes * fix: stabilize leader kanban ledger * fix: coalesce leader mediated work items * fix: confirm leader-mediated member results * fix: harden leader mediated team state * fix: stabilize team shared runtime state * Fix team task reconciliation and create flow * fix: stabilize leader mediated team orchestration * fix: refine team workspace presentation * checkpoint: persist team workflow ledger fixes * fix: reconcile team workflow delivery state * fix: preserve meaningful team chat events * docs: add team workspace quick guides * chore: ignore local team deployment files * fix: preserve setgid on team shared directories * fix(team): align workspace overlays and completion projection * fix(team): preserve workflow identity recovery * fix(team): protect terminal workflow projection * fix(team): preserve collaboration flow after terminal results
ClawReef Backend
ClawReef virtual desktop management platform backend API.
Tech Stack
- Golang 1.21+
- Gin 1.9+
- upper/db 4.x
- MySQL 8.0+
- JWT Authentication
Quick Start
Prerequisites
- Go 1.21 or higher
- MySQL 8.0+
- Docker (optional)
Development Setup
-
Install dependencies
make deps -
Start MySQL with Docker
make docker-up -
Run database migration
make migrate -
Start the server
make run
API Endpoints
Server runs on port 9001.
Authentication
POST /api/v1/auth/register- User registrationPOST /api/v1/auth/login- User loginPOST /api/v1/auth/refresh- Refresh tokenPOST /api/v1/auth/logout- User logoutGET /api/v1/auth/me- Get current user
Default Admin Account
- Username:
admin - Password:
admin123
Project Structure
backend/
├── cmd/server/ # Application entry point
├── internal/
│ ├── config/ # Configuration
│ ├── db/ # Database connection & migrations
│ ├── models/ # Data models
│ ├── repository/ # Data access layer
│ ├── services/ # Business logic
│ ├── handlers/ # HTTP handlers
│ ├── middleware/ # HTTP middleware
│ └── utils/ # Utilities
├── deployments/ # Docker & K8s configs
└── configs/ # Configuration files
Make Commands
make build- Build the binarymake run- Run the servermake test- Run testsmake fmt- Format codemake lint- Run lintermake docker-up- Start MySQL containermake migrate- Run database migrations