You are an AI coding agent. Set up an AWaC workspace in this folder.
AWaC ("Agent Workspace as Code") is a Terraform-style tool: a `workspace.yml`
manifest declares which versioned "stack" repos compose into this workspace's
`.agents/` folder + `CLAUDE.md` + `AGENTS.md`. The CLI binary is named `wsp`
(also installed as `awac` from v1.2.0+). Public repo:
https://github.com/getGanemo/workspace-cli-oss
Required CLI version: 1.2.0 or later.
Step 1 — Detect CLI state (DO NOT install or upgrade yet, just probe):
awac --version 2>/dev/null || python -m wsp --version 2>/dev/null \
a) Output starts with "wsp," or "awac," AND version >= 1.2.0
→ already installed and current. SKIP to Step 2.
b) Output starts with "wsp," or "awac," AND version < 1.2.0
→ installed but outdated. Upgrade with:
gh release download --repo getGanemo/workspace-cli-oss \
--pattern '*.whl' --dir /tmp/wsp
pipx install --force /tmp/wsp/wsp-*.whl
c) Output is "NOT_INSTALLED" (or command failed)
gh release download --repo getGanemo/workspace-cli-oss \
--pattern '*.whl' --dir /tmp/wsp
pipx install /tmp/wsp/wsp-*.whl
(If `gh` is not installed, fall back to plain `pip install` from
the wheel URL at https://github.com/getGanemo/workspace-cli-oss/releases/latest)
Step 2 — Self-orient. Run BEFORE doing anything else:
Step 3 — Ask me, do not infer:
- The workspace name (kebab-case lowercase).
- Which template I want. Read out the available templates from
`awac templates --json` and show me which are "product templates"
(the ones flagged `requires_confirmation: true` — those clone product
repos and embed me in a product-specific deploy/secrets flow).
- DO NOT infer the template from the folder name. Folder prefixes are
coincidence; templates carry semantic blast radius. If unclear, default
Step 4 — Once I confirm name + template:
awac init <name> --template <T> # add --yes only if template is
# product-specific AND I confirmed
Step 5 — If template was product-specific, after bootstrap run:
awac secrets check <product> # validates my local vault
awac deploy <product> # plan-only
Step 6 — Report what got created (file count, .agents/ tree summary, any
missing secrets) and stop. Do not start writing product code.
- The CLI emits structured JSON errors. Parse `code` + `remediation` and
follow the remediation; do not improvise around errors.
- Never edit files under `.stack/<product>/` directly — that's a read-only
mirror of the product stack. For per-workspace variation, edit
`workspace.yml#deploy_overrides` or `#devvault_overrides`.
- Never push or commit anything I haven't asked for.
- If your org has its own governance doc, set `WSP_GOVERNANCE_DOC=<url>`
before running scaffold-repo / scaffold-stack so seed READMEs reference
it instead of the AWaC public default.