Steps
- Clone
figentra/stackraandcdinto it. - Toolchain:
mise trust && mise install.mise.tomlpins Node, pnpm, gitleaks, the Infisical CLI, uv and Maestro, and setsAWS_PROFILE=bedrock. - Dependencies:
pnpm install. - Tools mise does not pin (no mise backend carries them): OpenCode v2 (
https://opencode.ai/install), the Claude Code CLI, the AWS CLI (brew install awscli) and, once a service adopts it, Encore (brew install encoredev/tap/encore). Maestro also needs a JDK onPATH. - Logins:
infisical login(the project config is the committed.infisical.yaml).- Add a
bedrockprofile to~/.aws/config, thenaws sso login --profile bedrock. OpenCode reaches Kimi K3 on Amazon Bedrock through it. - Sign in to Claude Code.
- MCP servers:
pnpm agents:syncrenders.mcp.jsonfrom the committed.mcp.yaml. Tokens come from Infisical throughtools/scripts/mcp.sh, never from a file. - Check:
pnpm doctor.
What pnpm doctor checks
Doctor prints a ✔ / ✖ / ! line per check with the fix beneath each failure, and exits 1 if any required check fails. It runs only non-secret status commands and never prints a value.
Delegating work to OpenCode afterwards:
pnpm delegate <task-type> "<brief>" (routing in .agents/routing.yaml) and pnpm ai:spend for the daily cap. Both land with their own pull request.