Conversation
…unded state transfer in branching code agents) Adds ari-core/PLAN_artifact_summary_handoff.md: a research plan that formalizes ARI's parent->child node state transfer (work_dir artifact inheritance + structured node_report summaries) as a controllable handoff policy, and designs an ablation study (code_only / summary_only / code_plus_summary / full_log / truncated_log / rolling / failure-only) on CSR SpMV optimization with deterministic evaluation. Section 0 pins a verified audit of the current implementation (bfts_loop.py work_dir copy + _OUTPUT_BLACKLIST, node_report builder, _format_parent_report_block planner injection, cost_trace.jsonl token records) including seven divergences the plan must account for (no linear search, no search_trace.jsonl, planner-vs-agent injection surfaces, no memory-off switch, advisory-only node timeout, gitignored experiments/, no overflow detection). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Update PLAN_artifact_summary_handoff.md to the controlled artifact/history study (RQ-A scaffold; RQ-B field-level content; RQ-C cross-node transfer; RQ-D capability x handoff), and fix the §0.2 premises that block a clean comparison: B1 memory third-channel, B2 deterministic evaluator drives selection, B3 exogenize the LLM-self-determined metric contract, plus sterile-gate asymmetry, dead timeout, full_log overflow, seed/digest. Add MASTER_PLAN_handoff_impl.md (dependency DAG, critical path, MVP cut) and a per-subtask Plan.md under each affected directory. Each Plan.md records its inter-plan dependencies and deletion requirements. Per-dir README Contents indexes synced for the new files. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
kotama7
force-pushed
the
plan-artifact-summary-handoff
branch
from
June 13, 2026 18:17
7f5d571 to
f179b7f
Compare
Bring the handoff-plan branch up to date with main (claim_gate package, metric_contract, routing, web_provenance, docs tooling). README ## Contents conflicts resolved by regenerating with scripts/readme_sync.py so main's new modules and the new per-subtask Plan.md files are both listed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Close the two coverage gaps in the per-subtask implementation plans: - ari-core/ari/Plan.md: root-file edits (core.py evaluator dispatch, cost_tracker.py provenance) that had only been cross-referenced. - ari-skill-memory/Plan.md: memory backend side of RQ-C (push/pull surface, ancestor-scoped topology, retrieved-text logging; Phase C). Both carry inter-plan dependencies and deletion requirements. MASTER subtask index + completion log updated; ari/ README Contents synced. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adopt the more-detailed-implementation options on delegation: task=SpMM, implementation branch=bfts_compare. Freeze valid predicate, epsilon model (C=8), _scientific_score normalization (TARGET=4.0x), N=10, failure codebook, primary contrast, H-B/H-C/H-D directions, qwen3 8/14/32B gradient, run-level stats (n>=10, cluster bootstrap, TOST margin=log(1.05)), timing W=3/R=10. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
分岐型LLMコード生成エージェントにおけるノード間状態受け渡し(handoff)を研究対象として定式化し、ARI を reference implementation として ablation 実験を行う研究計画
ari-core/PLAN_artifact_summary_handoff.mdを追加します。提案手法 Artifact-Summary Handoff は、親ノードの全対話履歴・全ログを子へ渡さず、code artifact state(work_dir 経由のファイル継承) と operational summary state(実験状態の構造化要約) のみを渡すことで、探索深度とプロンプト長を切り離します。
計画の骨子
実装監査(計画 §0 に固定)
計画の前提を現行コードに対して監査済み。一致点(work_dir 継承 +
_OUTPUT_BLACKLIST、node_report.json の全フィールド、cost_trace.jsonl の per-call prompt_tokens など)に加え、計画が依拠してはいけない7つの食い違いを §0.2 に明記しています:frontier_scoreは fallback スコアリング)変更内容
ari-core/PLAN_artifact_summary_handoff.md追加のみ(コード変更なし)scripts/readme_sync.py --check通過確認済み🤖 Generated with Claude Code