# 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
