chore(contract): phase 4b Task 9 proof recorded (headless PASS, interactive pending)
This commit is contained in:
1 parent
1ad53eff40
commit
4fb0aefa3e
2 files changed
+11
No files matched your search
@@ -68,3 +68,8 @@ STEP 3 gate `[gated 2026-11-04]` (user: "oui aux deux, lance"): plan r3 (`docs/s
|
||||
- skills/capitalize/SKILL.md, skills/close/SKILL.md, skills/{feat,bugfix,hotfix,ship-feature,commit-change}/SKILL.md, agents/commit-changer.md (§ Capitalize candidates, one line), lib/capitalize-commit.md (unchanged unless a citer needs it)
|
||||
- CLAUDE.global.md ("Proactive capitalization", only if the brainstorm changes it), README.md, USAGE.md, CHANGELOG.md, ARCHITECTURE.md
|
||||
- .claude/tasks/TODO.md, .claude/tasks/plans/ (spike notes), docs/superpowers/{specs,plans} (transient)
|
||||
## PROOF (Task 9)
|
||||
- Step 0 (2026-11-04, user go): `~/.claude/memory.json` moved to `$CLAUDE_JOB_DIR/tmp/memory.json.off`; capture is on from the next session.
|
||||
- Step 1 headless (2026-11-04 12:08, `claude -p --model haiku`, live user settings, mod `memory@skills-dir`, scratch repo `$CLAUDE_JOB_DIR/tmp/proof9/repo.gYdo` on `feature/probe`, `GITFLOW_NO_PUSH=1`, fixture `.claude/memory/blockers.md` with one unrelated BLK): four tool calls as scripted (ToolSearch select, `ls /nonexistent-dir-xyz`, `git commit --allow-empty -m "fix: probe"`, `mcp__memory__memory_pending {}`), rc 0, cost $0.011. Answer: `memory_pending (project repo.gYdo, 1 session(s))` / `index: read blockers.md; skipped learnings.md (missing)` / `milestones (this session): - commit fix: probe (12:08)` / `failures: - NEW ×1 ls: cannot access '/nonexistent-dir-xyz': No such file or directory — command: ls /nonexistent-dir-xyz` + excerpt. Log: `$CLAUDE_JOB_DIR/tmp/proof9/out.jsonl`. The run leaves a `p:<tmp path>` key in the real store; the sweep ages it out (R3 conf 12).
|
||||
- Step 3 interactive (user + model, R3 conf 5): pending — in a scratch repo on a feature branch the model runs `git commit --allow-empty -m "fix: probe"`, the user sends two composer prompts, the transcript grep expects exactly one `memory: commit fix: probe` on the first; then `/clear` and a `memory_pending` call lists the probe session `(earlier session)`.
|
||||
|
||||
@@ -251,3 +251,9 @@ Docs (rob 13, rob 15, simp 10): Task 8 adds `.claude/tasks/TODO.md` (4b ticked,
|
||||
- **commit-changer channel (conf 10).** The data rule names the channel: the body file is written with a quoted heredoc whose delimiter is unique (`MEMCAP_EOF_<random>`), never `echo`/`printf` of captured text; the captured block goes with BOTH commit-changer dispatches (STEP 1 propose and STEP 2 `edit <n>`).
|
||||
- **st.pending at /clear (conf 11).** The `session.end` hook clears `st.pending` as well as the cached `enabled`.
|
||||
- **Task 9 headless details (conf 12).** The `-p` prompt tells haiku to run `ToolSearch("select:mcp__memory__memory_pending")` first; the scratch repo session runs with `GITFLOW_NO_PUSH=1` exported in the command that creates the repo (no remote anyway); the run leaves a `p:<tmp path>` key in the user's real store: Task 9 notes it, and the next session's sweep ages it out (3 sessions per project); no store edit by hand.
|
||||
|
||||
## RESULTS (Task 9)
|
||||
- Step 0 (2026-11-04, user go): `~/.claude/memory.json` moved to `$CLAUDE_JOB_DIR/tmp/memory.json.off`; capture is on from the next session.
|
||||
- Step 1 headless (2026-11-04 12:08, `claude -p --model haiku`, live user settings, mod `memory@skills-dir`, scratch repo `$CLAUDE_JOB_DIR/tmp/proof9/repo.gYdo` on `feature/probe`, `GITFLOW_NO_PUSH=1`, fixture `.claude/memory/blockers.md` with one unrelated BLK): four tool calls as scripted (ToolSearch select, `ls /nonexistent-dir-xyz`, `git commit --allow-empty -m "fix: probe"`, `mcp__memory__memory_pending {}`), rc 0, cost $0.011. Answer: `memory_pending (project repo.gYdo, 1 session(s))` / `index: read blockers.md; skipped learnings.md (missing)` / `milestones (this session): - commit fix: probe (12:08)` / `failures: - NEW ×1 ls: cannot access '/nonexistent-dir-xyz': No such file or directory — command: ls /nonexistent-dir-xyz` + excerpt. Log: `$CLAUDE_JOB_DIR/tmp/proof9/out.jsonl`. The run leaves a `p:<tmp path>` key in the real store; the sweep ages it out (R3 conf 12).
|
||||
- Step 3 interactive (user + model, R3 conf 5): pending — in a scratch repo on a feature branch the model runs `git commit --allow-empty -m "fix: probe"`, the user sends two composer prompts, the transcript grep expects exactly one `memory: commit fix: probe` on the first; then `/clear` and a `memory_pending` call lists the probe session `(earlier session)`.
|
||||
|
||||
Reference in new issue
Block a user