v0.2 - Real Workspaces: - Project-specific claudebox StatefulSets (pantheon, aeries) - Init containers for git clone via SSH - Deploy key secrets template - Project ConfigMaps for CLAUDE.md v0.3 - Git Integration: - Dockerfile with rdev-bot git identity - openssh-client for SSH operations - Image version bump to v0.3.0 v0.4 - API Server: - Go REST API with chi router - Endpoints: /projects, /claude, /shell, /git, /events - SSE streaming for real-time output - OpenAPI docs via Scalar at /docs - Kubernetes RBAC for pod exec - Executor and project registry packages Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
100 lines
2.2 KiB
YAML
100 lines
2.2 KiB
YAML
# ConfigMaps for project-specific CLAUDE.md files
|
|
# v0.2 - Project configuration
|
|
#
|
|
# These provide Claude Code with project-specific instructions.
|
|
# The CLAUDE.md is mounted at /workspace/CLAUDE.md in each claudebox.
|
|
#
|
|
# Note: If the repo already has a CLAUDE.md, this will override it.
|
|
# Consider using the repo's CLAUDE.md directly or merging them.
|
|
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: claudebox-pantheon-config
|
|
namespace: rdev
|
|
labels:
|
|
app.kubernetes.io/name: claudebox-pantheon
|
|
app.kubernetes.io/part-of: rdev
|
|
rdev.orchard9.ai/project: pantheon
|
|
data:
|
|
CLAUDE.md: |
|
|
# Pantheon
|
|
|
|
Go API backend for the Orchard9 platform.
|
|
|
|
## Environment
|
|
|
|
This is running in a remote claudebox pod on k3s (rdev).
|
|
- Workspace: /workspace (persistent, git-managed)
|
|
- Claude config: /root/.claude (persistent auth)
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
# Build
|
|
go build ./...
|
|
|
|
# Test
|
|
go test ./...
|
|
|
|
# Run locally (if applicable)
|
|
go run ./cmd/api
|
|
```
|
|
|
|
## Git
|
|
|
|
SSH keys are mounted for git operations.
|
|
- Fetch: `git fetch origin`
|
|
- Pull: `git pull origin main`
|
|
- Push: `git push origin HEAD` (v0.3+)
|
|
|
|
## Constraints
|
|
|
|
- This is a REMOTE environment - no local filesystem access
|
|
- Changes persist across pod restarts
|
|
- Commits are attributed to rdev-bot
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: claudebox-aeries-config
|
|
namespace: rdev
|
|
labels:
|
|
app.kubernetes.io/name: claudebox-aeries
|
|
app.kubernetes.io/part-of: rdev
|
|
rdev.orchard9.ai/project: aeries
|
|
data:
|
|
CLAUDE.md: |
|
|
# Aeries
|
|
|
|
Orchard9 Aeries project.
|
|
|
|
## Environment
|
|
|
|
This is running in a remote claudebox pod on k3s (rdev).
|
|
- Workspace: /workspace (persistent, git-managed)
|
|
- Claude config: /root/.claude (persistent auth)
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
# Build (adjust for your project)
|
|
# go build ./...
|
|
# npm run build
|
|
# etc.
|
|
```
|
|
|
|
## Git
|
|
|
|
SSH keys are mounted for git operations.
|
|
- Fetch: `git fetch origin`
|
|
- Pull: `git pull origin main`
|
|
- Push: `git push origin HEAD` (v0.3+)
|
|
|
|
## Constraints
|
|
|
|
- This is a REMOTE environment - no local filesystem access
|
|
- Changes persist across pod restarts
|
|
- Commits are attributed to rdev-bot
|