Срез с 2026-10-11 (2 сессии): метрики и сравнение с 11.10, 6 блокировок размечены в корпус (135/135), хвостов нет, поправки владельца; находки RT-21…RT-25, бэклог B13–B17. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
5.6 KiB
JSON
7 lines
5.6 KiB
JSON
{"id": "2026-10-24-001", "session": "a0d0e55f", "ts": "2026-10-15T19:21:53.930Z", "cwd": "/Users/andrejepifancev/Projects/cc-harness", "branch": "main", "tool": "Bash", "command": "grep -rn \"npm i\\|npm install\\|brew install\\|plugin install\\|go install\" --include=\"*.md\" --include=\"*.sh\" . | grep -v \"^./docs/retro/2026\" | head -20", "file_path": null, "hook": "guard-main(Bash)", "message": "PreToolUse:Bash hook error: [\"$HOME/.claude/hooks/guard-main.sh\"]: BLOCKED: shell write on main (grep -rn \"npm i\\|npm install\\|brew install\\|plugin install\\|go install\" --includ). Create an isolated worktree first (superpowers:using-git-worktrees). Only 'openspec archive' commits may land on main di", "expected": null}
|
|
{"id": "2026-10-24-002", "session": "a0d0e55f", "ts": "2026-10-15T19:22:13.088Z", "cwd": "/Users/andrejepifancev/Projects/cc-harness", "branch": "main", "tool": "Bash", "command": "grep -rn \"plugin add\\|marketplace\\|caveman@\\|superpowers@\" --include=\"*.md\" --include=\"*.sh\" README.md docs global install.sh 2>/dev/null | head -20", "file_path": null, "hook": "guard-main(Bash)", "message": "PreToolUse:Bash hook error: [\"$HOME/.claude/hooks/guard-main.sh\"]: BLOCKED: shell write on main (grep -rn \"plugin add\\|marketplace\\|caveman@\\|superpowers@\" --include=\"*.md\" --in). Create an isolated worktree first (superpowers:using-git-worktrees). Only 'openspec archive' commits may land on main di", "expected": null}
|
|
{"id": "2026-10-24-003", "session": "a0d0e55f", "ts": "2026-10-15T19:36:14.904Z", "cwd": "/Users/andrejepifancev/Projects/cc-harness", "branch": "main", "tool": "Bash", "command": "git show origin/feat/6-guard-main-target:docs/retro/fixtures/hook-blocks.jsonl | python3 -c '\nimport sys,json,re,collections\nrs=[json.loads(l) for l in sys.stdin if l.strip()]\nc=collections.Counter()\nfor r in rs:\n cmd=r.get(\"command\") or \"\"; cwd=r.get(\"cwd\") or \"\"; fp=r.get(\"file_path\") or \"\"\n if r[\"tool\"]!=\"Bash\": c[\"edit/write: \"+(\"вне репо (.claude/ или tmp)\" if (\".claude/\" in fp or \"/tmp/\" in fp or \"/private/\" in fp) else \"в репо\")]+=1; continue\n if re.search(r\"\\d>{1,2}\\s*/dev/null|\\d>&\\d\",cmd): c[\"bash: N>/dev/null или N>&M\"]+=1\n if \"/.wt/\" in cwd: c[\"bash: cwd в .wt/\"]+=1\n if re.search(r\"\\bgit\\s+-C\\s+\\S+\\s+worktree\",cmd): c[\"bash: git -C … worktree\"]+=1\n if re.search(r\"mkdir\\s+-p\\s+\\S*\\.wt/\",cmd): c[\"bash: mkdir -p .wt/\"]+=1\n if re.search(r\"\\bsed\\s+-i\",cmd): c[\"bash: sed -i\"]+=1\n if re.search(r\"\\bgit\\s+(-C\\s+\\S+\\s+)?(commit|push)\\b\",cmd): c[\"bash: git commit/push\"]+=1\n if \"<<\" in cmd: c[\"bash: heredoc\"]+=1\n if \"/Users/andrey.epifancev/.claude/\" in cmd: c[\"bash: путь в ~/.claude\"]+=1\nfor k,v in c.most_common(): print(f\"{v:4} {k}\")\nprint(\"cwd roots:\",collections.Counter(re.sub(r\"^/Users/andrey\\.epifancev/\",\"~/\",r[\"cwd\"]).split(\"/.wt/\")[0] for r in rs).most_common(8))'", "file_path": null, "hook": "guard-main(Bash)", "message": "PreToolUse:Bash hook error: [\"$HOME/.claude/hooks/guard-main.sh\"]: BLOCKED: shell write on main (git show origin/feat/6-guard-main-target:docs/retro/fixtures/hook-blocks.jsonl |). Create an isolated worktree first (superpowers:using-git-worktrees). Only 'openspec archive' commits may land on main di", "expected": null}
|
|
{"id": "2026-10-24-004", "session": "a0d0e55f", "ts": "2026-10-23T19:05:33.550Z", "cwd": "/Users/andrejepifancev/Projects/cc-harness", "branch": "main", "tool": "Bash", "command": "bash tests/run.sh > /private/tmp/claude-501/-Users-andrejepifancev-Projects-cc-harness/a0d0e55f-be61-459b-924f-66d15a515f97/scratchpad/main-final.log 2>&1; echo \"exit $?\"; tail -1 /private/tmp/claude-501/-Users-andrejepifancev-Projects-cc-harness/a0d0e55f-be61-459b-924f-66d15a515f97/scratchpad/main-final.log; OPENSPEC_TELEMETRY=0 openspec list 2>&1 | tail -3; OPENSPEC_TELEMETRY=0 openspec validate --specs --strict 2>&1 | tail -1; git status --short; ls ~/.claude/hooks/; git branch -a", "file_path": null, "hook": "guard-main(Bash)", "message": "PreToolUse:Bash hook error: [\"$HOME/.claude/hooks/guard-main.sh\"]: BLOCKED: shell write on main (bash tests/run.sh > /private/tmp/claude-501/-Users-andrejepifancev-Projects-cc-h). Create an isolated worktree first (superpowers:using-git-worktrees). Only 'openspec archive' commits may land on main di", "expected": null}
|
|
{"id": "2026-10-24-005", "session": "a0d0e55f", "ts": "2026-10-23T19:07:43.623Z", "cwd": "/Users/andrejepifancev/Projects/cc-harness", "branch": "main", "tool": "Write", "command": null, "file_path": "/Users/andrejepifancev/Projects/cc-harness/hook-check.tmp", "hook": "guard-main(Edit/Write)", "message": "PreToolUse:Write hook error: [\"$HOME/.claude/hooks/guard-main.sh\"]: BLOCKED [guard-main]: запись в hook-check.tmp — репозиторий /Users/andrejepifancev/Projects/cc-harness на main. Работай в worktree на ветке (superpowers:using-git-worktrees).", "expected": null}
|
|
{"id": "2026-10-24-006", "session": "a0d0e55f", "ts": "2026-10-15T19:34:55.903Z", "cwd": "/Users/andrejepifancev/Projects/cc-harness", "branch": "main", "tool": "Bash", "command": "grep -rn \"workspace\" --include=*.md -il . 2>/dev/null | head -20; ls ~/.claude/roles ~/.claude/harness 2>&1 | head -30", "file_path": null, "hook": "guard-main(Bash)", "message": "PreToolUse:Bash hook error: [\"$HOME/.claude/hooks/guard-main.sh\"]: BLOCKED: shell write on main (grep -rn \"workspace\" --include=*.md -il . 2>/dev/null | head -20; ls ~/.claude/r). Create an isolated worktree first (superpowers:using-git-worktrees). Only 'openspec archive' commits may land on main di", "expected": null}
|