Commit graph

33 commits

Author SHA1 Message Date
071ccc92ac docs(05-01): create execution summary 2026-04-13 09:57:38 +00:00
c5e8cca867 feat(05-01): rewrite mount architecture with per-project instance isolation
- Replace --bind ~/.claudebox + --symlink with direct --bind ~/.claude ~/.claude
- Add compute_canonical_root() function using git rev-parse --git-common-dir
- Add per-project INSTANCE_DIR via sha256sum[:16] of canonical git root
- Overlay projects/ with per-project hash dir for isolated conversation history
- Overlay history.jsonl and SANDBOX.md as file-level bind mounts
- Update credential mount target from ~/.claudebox to ~/.claude
- Add CLAUDE_JSON_FILE (~/.claude.json) detection and conditional bind mount
- Remove stale CLAUDE.md injection logic (D-06: user's real CLAUDE.md used)
- Update dry-run block and print_audit to reflect new mount layout
- Update SANDBOX.md heredoc to remove ~/.claudebox reference
2026-04-13 09:00:53 +00:00
8e5063a29d fix(05): revise plans based on checker feedback 2026-04-13 08:52:28 +00:00
dd064aa858 docs(05): create phase plan — mount rewrite + per-project isolation + GC 2026-04-13 08:47:04 +00:00
a040aaa58a docs(05): research phase domain — per-project instance isolation 2026-04-13 08:41:04 +00:00
af9f1848eb docs(05): capture phase context (assumptions mode) 2026-04-10 16:23:13 +00:00
ee70f08909 fix(planning): restore v2.0 state after executor regression in 6465da8
Commit 6465da8 (phase 04-01 executor) was made from a stale worktree
predating v1.0 completion (ee686a3), accidentally reverting:
  - ROADMAP.md from v2.0 (phases 4-7) back to pre-v1.0 structure
  - STATE.md from milestone v2.0/active back to v1.0/executing
  - Deleted .planning/milestones/ (v1.0 archive files)

This commit restores the correct state:
  - ROADMAP.md: v2.0 structure with v1.0 archived + phase 04 marked complete
  - STATE.md: milestone v2.0, phase 04 complete (1/4 phases, 25%)
  - milestones/: v1.0-ROADMAP.md + v1.0-REQUIREMENTS.md restored
  - MILESTONES.md + RETROSPECTIVE.md: restored from v1.0 completion
  - phases/01-03/: staged deletions of v1.0 phase artifacts (cleaned up)
  - v1.0-MILESTONE-AUDIT.md: audit report documenting the corruption

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 12:44:41 +00:00
aa3c57a417 docs(04): add phase verification — all must-haves passed 2026-04-10 09:33:46 +00:00
390812625d docs(04): add code review fix report 2026-04-10 09:28:11 +00:00
112f604856 docs(04): add code review report 2026-04-10 09:25:49 +00:00
20fbd3f7d3 docs(04-01): complete credential mount and audit redesign plan
- Add 04-01-SUMMARY.md with task details, decisions, deviations, threat flags
2026-04-10 09:22:02 +00:00
6465da8583 feat(04-01): add credential file mount for OAuth passthrough
- Add CREDS_FILE/CREDS_MOUNT detection after mkdir ~/.claudebox
- Conditional --bind in exec bwrap via BWRAP_ARGS array
- Mirror conditional bind in --dry-run display block
- Read-write mount (not ro-bind) for OAuth token refresh
- Silent skip when credentials file absent (no error/warning)
- Refactor exec bwrap to BWRAP_ARGS array for conditional mount support
2026-04-10 09:20:18 +00:00
40e40e3f30 docs(04): create phase 4 plan — credential mount and audit redesign
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:11:05 +00:00
41bd51ed42 docs(04): capture phase context and discussion log 2026-04-10 09:06:17 +00:00
f5b77428a5
docs(phase-03): complete phase execution 2026-04-09 21:24:22 +02:00
9a7fba2219
docs(03): add code review report 2026-04-09 21:21:53 +02:00
7864f5d00d
docs(03-01): complete sandbox-aware prompting plan 2026-04-09 21:19:28 +02:00
2f737d1f3a
docs(03): create phase plan 2026-04-09 21:13:18 +02:00
351dcc5c8b
docs(03): research sandbox-aware prompting 2026-04-09 21:05:52 +02:00
8e900862f9
docs(03): capture phase context 2026-04-09 20:59:38 +02:00
c83129953f
test(02): persist human verification items as UAT
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 17:28:18 +02:00
caabd59ae2
docs(02): add code review report 2026-04-09 17:25:30 +02:00
64cb190b5d
docs(02-02): complete env audit display plan 2026-04-09 17:22:39 +02:00
a0f42f89d5
docs(02-01): complete flag parsing and CLI modes plan 2026-04-09 17:13:18 +02:00
0a4dba4c3c
docs(02): create phase plan 2026-04-09 16:34:14 +02:00
28798102d0
docs(02): research phase domain 2026-04-09 15:39:57 +02:00
bab3d8bc6d
docs(02): capture phase context 2026-04-09 15:33:52 +02:00
e385f414ca
docs(01-02): complete build verification plan
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 11:15:53 +02:00
14642eb32e
docs(01-01): complete nix flake and sandbox script plan 2026-04-09 11:13:09 +02:00
7b1220bdf1
docs(01): resolve open research questions 2026-04-09 11:05:02 +02:00
71790d714b
docs(01): create phase plan
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 11:02:11 +02:00
da29430168
docs(phase-1): research minimal viable sandbox
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 10:55:45 +02:00
527ed51e6a
docs(01): capture phase context 2026-04-09 10:46:40 +02:00