docs: record authorized isolated Runner repair and Claude auth dependency

This commit is contained in:
Takeshi
2026-10-13 08:07:19 +09:00
parent 231b3bd857
commit e6e96d86d7
9 changed files with 61 additions and 3 deletions
@@ -0,0 +1,17 @@
{
"authorization": "Human user 許可します after P13 combined Runner change request",
"scope": [
"P13 submitted-result recovery",
"P13 added-document full-content packet dedup"
],
"excluded": [
"P24 existing marker filtering",
"repair cap increase",
"direct DB/state editing",
"API-key billing switch"
],
"source_live_untouched": true,
"original_completed_count": 9,
"implementation_worker_started": false,
"current_dependency": "Claude subscription access token renewal required"
}
@@ -0,0 +1,6 @@
{
"runner/core.py": "893ffa63f8ff1607815316d5e2368e272472e973462f63b8a09c931a96e62607",
"runner/cli.py": "800a0ddb1a3bbbb4a6e4f491fea41e54f5f694e2f38187957c3a87026c6b604a",
"tests/test_runner.py": "b171622be1542123c9c523dfbce5d2734b5bdd0fe6689a46b7e21a88fdc4d80d",
"prompts/ui.txt": "dab822e55f094db4c68dd6581a170243f6a703bc34f42b9c72f469f65617f322"
}
@@ -0,0 +1 @@
{"job_id": "6a9371a6ca094551b253ef8c74c1d1c0", "state": "failed", "project": "the-tree-runner-p13-recovery", "task_id": "RP13-01", "operation": "commander", "created": 1791846206.9575748, "pid": 54356, "started": 1791846206.992317, "exit_code": 2, "result": {"output": ""}, "finished": 1791846207.8316338, "stdout_tail": "", "stderr_tail": "gate: authentication_expired: claude auth loginで更新してください\n"}
@@ -0,0 +1,31 @@
{
"id": "RP13-01",
"title": "Authorized P13-only submission recovery and new-document packet dedup",
"authorization": "Human user 許可します in The Tree thread, following combined RECOVERY_PROPOSAL.md and PACKET_PROPOSAL.md request",
"source_baseline_pins": {
"runner/core.py": "893ffa63f8ff1607815316d5e2368e272472e973462f63b8a09c931a96e62607",
"runner/cli.py": "800a0ddb1a3bbbb4a6e4f491fea41e54f5f694e2f38187957c3a87026c6b604a",
"tests/test_runner.py": "b171622be1542123c9c523dfbce5d2734b5bdd0fe6689a46b7e21a88fdc4d80d",
"prompts/ui.txt": "dab822e55f094db4c68dd6581a170243f6a703bc34f42b9c72f469f65617f322"
},
"scope": [
"runner/core.py",
"tests/test_runner.py"
],
"required": [
"Allow blocked submission recovery only when prior failure is submit scope_violation, latest actual implementer result is submitted for this exact task/base/contract, no active run/operation, HEAD is expected, unchanged spec and current check_scope passes. Reject unknown/stale/tampered result or other blocked reason. Do not launch a new implementer or change repair count.",
"Existing normal submit behavior and scope/secret/symlink guards remain. Recovery records provenance and uses ordinary submit, validate, independent review and integration.",
"For P13-03 only, replace redundant added JSON/Markdown document patch text with explicit added-file metadata and full raw-text source supplied once. Only original-base-absent new docs in docs/plans/original-completion-2026-10-02/execution/p13-03/**, with matching snapshot/hash/ref. Existing-file diffs, ALL code diffs, validation sources and complete source set remain. Reject inconsistent/missing snapshots; no opaque compressed payload.",
"Preserve existing500000 guard, acceptance IDs, repair2 cap, original specs, policy digests, auth/sandbox/billing and all existing workflows. Do not implement P24 legacy marker filtering.",
"Test positive recovery and failures for still-out-of-scope, worker-blocked, active-run/operation, stale/tampered result, wrong HEAD/spec, unrelated blocked cause; assert unchanged repairs and required downstream gates.",
"Test new-doc content/raw SHA preservation, missing/inconsistent source, existing document/code/binary/path cases, capacity guard unchanged. Existing Runner tests pass.",
"Read-only final actual P13 working-tree evidence 7facilities84slots6categories retained; prototype 541186 to318302bytes is proposal, not formal result. Final real packet recomputation remains mandatory."
],
"forbidden": [
"No direct live state DB repair or policy change. No task re-registration, new P13 repair attempt or task cap change.",
"Do not mutate live The Tree, live P13 worktree or actual Runner production checkout from worker.",
"Do not use live provider auth/API/billing during tests; mock provider behavior only.",
"No native engine or full game regressions."
],
"workflow_hash_note": "Contract spec SHA uses git output stdout.strip UTF8, not raw file bytes. Record representations explicitly. Registered validator exact argv is python -B -m unittest discover -s tests -p test_runner.py -v."
}
@@ -0,0 +1 @@
{"job_id": "62c2edb046d04312a5c24dd97331df35", "state": "succeeded", "project": "the-tree-runner-p13-recovery", "task_id": "RP13-01", "operation": "prepare", "created": 1791846343.3097239, "pid": 55095, "started": 1791846343.33996, "exit_code": 0, "result": {"project": "the-tree-runner-p13-recovery", "acceptance_completed": 0, "acceptance_total": 1, "tasks": [{"id": "RP13-01", "state": "ready", "submitted": null, "candidate": null, "main_base": null, "reason": null, "repairs": 0}], "costs": [], "cost_note": "nullは未取得。estimated_cost_usdはAPI請求額とは別。API自動切替無効。"}, "finished": 1791846343.48224, "stdout_tail": "/Users/korizatou114/Projects/TheTree-managed-worktrees/runner-p13-recovery/RP13-01-implement\n{\n \"project\": \"the-tree-runner-p13-recovery\",\n \"acceptance_completed\": 0,\n \"acceptance_total\": 1,\n \"tasks\": [\n {\n \"id\": \"RP13-01\",\n \"state\": \"ready\",\n \"submitted\": null,\n \"candidate\": null,\n \"main_base\": null,\n \"reason\": null,\n \"repairs\": 0\n }\n ],\n \"costs\": [],\n \"cost_note\": \"nullは未取得。estimated_cost_usdはAPI請求額とは別。API自動切替無効。\"\n}\n", "stderr_tail": ""}
@@ -0,0 +1 @@
{"job_id": "62c2edb046d04312a5c24dd97331df35", "state": "queued", "pid": 55095, "poll": "workflow_job", "note": "Starting is not acceptance or completion."}
@@ -0,0 +1 @@
{"id": "RP13-01", "contract": {"id": "RP13-01", "title": "P13限定の提出復旧と新規文書資料削減", "requirement_ids": ["RP13-01"], "acceptance_ids": ["RP13-01"], "spec_ref": "docs/spec/RP13-01.json", "base_commit": "c88e2afbea3e1091a4cb048f49bd9891a6bdb869", "worker": "codex", "allowed_paths": ["runner/core.py", "tests/test_runner.py"], "depends_on": [], "resource_locks": ["runner-p13-code-isolated"], "validation_ids": ["runner-unit"], "max_repair_attempts": 2, "spec_sha256": "c7ce1e08eefe0bc48afb17dcfec014221102f88072f8d9a3ef9f95b4a2c6664a"}, "state": "ready", "worktree": "/Users/korizatou114/Projects/TheTree-managed-worktrees/runner-p13-recovery/RP13-01-implement", "submitted": null, "candidate": null, "main_base": null, "reason": null, "repairs": 0, "evidence": [], "owner_approval": null}
@@ -254,6 +254,6 @@
"validate_facility_value_contracts.py": "91640e2a76cd6cc9186f7b85c0bf379b24b6cac0d48962815235ee628e7ae43e",
"validate_plan.py": "23678227d9b3c556f1bd903f4b5b3147c4a82ce5085e10055481026803451b80",
"validator_update_checks.json": "f997d0f3de2cea29550840b1d5cb23647d64f81329de46758551e2b6c8fecc27",
"work_packages.json": "98943e9d766e6ab21a343d707c565bfc81f6de17a067534fd006b1e6c0fd7d58"
"work_packages.json": "ead307b30edda2c2ae6895c185bc634e6f30f41cd65f38eb82fbf1a0efee9152"
}
}
@@ -7742,9 +7742,9 @@
"scope": "Actual Claude run decision, not completion."
}
],
"progress_summary": "最終worker成果は7施設/84使用枠/施設外6分類を共有参照で保持し、--verify-onlyと必須負例18種に対応。root局所確認はPASS、現main適用性もschema2比較で確認。Runner提出はroot読取診断が生成した範囲外pycで停止。pycをSHA一致でcheckout外へ保存し範囲違反は解消したが、Runnerはblocked再提出不可・修正2/2。最終5filesを未採用checkpointへ内容保持保存。限定的再提出復旧案のRunner変更許可待ち。正式検証/正式独立レビュー/統合未実施、受入0。 キャッシュ隔離後のRunner check_scope再検査はPASS・実行中runなし。未提出版のreview資料は541186bytesで500000上限超を確認。新規文書の全文を保持し差分側重複だけ除くreadonly prototypeは318302bytes、受入省略0・code/validation保持。再提出復旧+新規文書資料削減の限定Runner変更案を提示し許可待ち。",
"progress_summary": "最終worker成果は7施設/84使用枠/施設外6分類を共有参照で保持し、--verify-onlyと必須負例18種に対応。root局所確認はPASS、現main適用性もschema2比較で確認。Runner提出はroot読取診断が生成した範囲外pycで停止。pycをSHA一致でcheckout外へ保存し範囲違反は解消したが、Runnerはblocked再提出不可・修正2/2。最終5filesを未採用checkpointへ内容保持保存。限定的再提出復旧案のRunner変更許可待ち。正式検証/正式独立レビュー/統合未実施、受入0。 キャッシュ隔離後のRunner check_scope再検査はPASS・実行中runなし。未提出版のreview資料は541186bytesで500000上限超を確認。新規文書の全文を保持し差分側重複だけ除くreadonly prototypeは318302bytes、受入省略0・code/validation保持。再提出復旧+新規文書資料削減の限定Runner変更案を提示し許可待ち。 ユーザーが両対策を許可。隔離cloneの現在Runner baseline4pinsを固定して支援RP13-01を登録しworktree準備(原88成果へ追加しない)。CommanderはCLI loggedInとは別のtoken期限チェックでauthentication_expired、実装worker未起動。認証更新依頼中。",
"remaining_gaps": [
"再提出復旧と新規文書の重複送信削減を、修正回数/500000上限/全内容/正式ゲートを維持してRunnerへ限定実装するための許可・実装・検証。",
"両Runner対策はユーザー許可済み。現行の未コミットRunner改修を保持した隔離repo/修正契約を準備。Claude subscription認証更新後、同一RP13支援タスクで実装・検証・独立レビュー・限定適用。原P13修正2/2・500000上限・正式ゲートは維持。",
"最終提出SHAの正確argv正式検証、exact資料容量確認、別Claude正式レビュー、統合。"
],
"updated_at_jst": "2026-10-13T03:57:28.764352+09:00"