1.5 KiB
1.5 KiB
Release Checklist
Pre-merge checks for changes that touch sensitive paths. Each section below applies only when the PR diff intersects the listed files.
Bootstrap path changes (mandatory pre-merge)
For any PR touching the analyst-bootstrap path (agnes init, cli/lib/pull.py,
cli/lib/hooks.py, app/web/setup_instructions.py, /api/welcome,
config/agnes_workspace_template.txt), run this protocol locally before
requesting review:
git clean -fdxin the repo (no build artifacts).- Boot FastAPI locally against a clean test instance state.
- Empty terminal in
/tmp/test-analyst-1. From the web/setup?role=analyst, click the analyst tile and copy the paste prompt. - Paste into Claude Code and let it run.
tree -a /tmp/test-analyst-1and compare with the expected tree from the design spec (docs/superpowers/specs/2026-05-04-clean-analyst-bootstrap-design.md§5.2). claudein that folder. Three queries:- "What tables can I see?"
- "SELECT count(*) FROM " (a table from the catalog)
- "Show me last 5 rows of " All must work without further intervention.
/exit. Verify SessionEnd hook ran (server-side audit log showsagnes push;du -sh /tmp/test-analyst-1/user/sessions/non-empty).- Second
claudein same folder. Verify SessionStart hook fires (agnes pullrequest in audit log). - Second workspace
/tmp/test-analyst-2with the same PAT (within TTL). Repeat steps 5-7. Verify global~/.config/agnes/is not duplicated; the second workspace has its own DuckDB.