diff --git a/.ai/PROJECT_CONTEXT.md b/.ai/PROJECT_CONTEXT.md index f6ea2946..0694c480 100644 --- a/.ai/PROJECT_CONTEXT.md +++ b/.ai/PROJECT_CONTEXT.md @@ -89,6 +89,15 @@ python -m scripts.seed_trees # seed (from **Never pass `--rev-id`** to alembic — let it generate the hex hash. +**On hosts without native `python`/`node`/`npm`** (e.g. the code-server LXC), run commands inside the already-running containers instead: + +```bash +docker exec resolutionflow_backend pytest --override-ini="addopts=" +docker exec resolutionflow_backend alembic upgrade head +docker exec -w /app resolutionflow_frontend npm run build +docker exec -w /app resolutionflow_frontend npx tsc -b +``` + --- ## URLs & test users diff --git a/AGENTS.md b/AGENTS.md index 29db82d4..19aa95fa 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -40,7 +40,7 @@ Prefer correct architecture over minimal diff. Flag "simpler approach" tradeoffs ### Tooling you do NOT have - **No GitNexus tools.** Use `grep -r`, `rg`, `git grep`, or `find` for code search. For blast-radius reasoning, grep call sites manually and read the files. -- **No gstack slash commands** (`/review`, `/ship`, `/qa`, `/browse`, `/investigate`, `/design-review`, `/plan-*`). Run the equivalent work directly: `pytest` for tests, `npm run build` for frontend validation, manual PR description for review flow. +- **No gstack slash commands** (`/review`, `/ship`, `/qa`, `/browse`, `/investigate`, `/design-review`, `/plan-*`). Run the equivalent work directly: `pytest` for tests, `npm run build` for frontend validation, manual PR description for review flow. If `python`/`npm` aren't on PATH, the host runs services in Docker — use the `docker exec resolutionflow_{backend,frontend} …` form documented in `.ai/PROJECT_CONTEXT.md` rather than installing toolchains. - **No `/codex` second-opinion command.** You are Codex. ### Git trailer