# CLAUDE：タスク分解と処理工程

CURRENT_STATUS: UNKNOWN
OBSERVATION: UNOBSERVED
FRESHNESS: UNKNOWN
PAGE_TYPE: reference
CANONICAL_URL: /providers/pm-claude-core-03
CLAIM_IDS: none
EVIDENCE_IDS: PM-CLAUDE-CORE-03-DOCUMENT-READBACK
UNKNOWN_IDS: PM-CLAUDE-CORE-03-CURRENTNESS
OPS_IDS: none

## Summary
CORE-03のstage、artifact、handoff、parallel/serial、resume/retry、verification、transaction境界をClaude Agent SDK/Claude Codeの公開surfaceへ対応づける。会話session、subagent、tool result、hook、permission、filesystem、外部systemを同一状態として扱わない。S063 Frozen TOCとCore claimは変更しない。

## Current judgment
CORE-03のstage、artifact、handoff、parallel/serial、resume/retry、verification、transaction境界をClaude Agent SDK/Claude Codeの公開surfaceへ対応づける。会話session、subagent、tool result、hook、permission、filesystem、外部systemを同一状態として扱わない。S063 Frozen TOCとCore claimは変更しない。

## Scope
CORE-03のstage、artifact、handoff、parallel/serial、resume/retry、verification、transaction境界をClaude Agent SDK/Claude Codeの公開surfaceへ対応づける。会話session、subagent、tool result、hook、permission、filesystem、外部systemを同一状態として扱わない。S063 Frozen TOCとCore claimは変更しない。

## Confirmed

## UNKNOWN
- PM-CLAUDE-CORE-03-CURRENTNESS: 原資料の確定版から収録しています。外部根拠の最新性を今回の取込日で確認済みと扱いません。本文の未解決事項・残余制約を保持します。

## Evidence
- PM-CLAUDE-CORE-03-DOCUMENT-READBACK (IMPL): 原資料との収録照合

## Practice
CORE-03のstage、artifact、handoff、parallel/serial、resume/retry、verification、transaction境界をClaude Agent SDK/Claude Codeの公開surfaceへ対応づける。会話session、subagent、tool result、hook、permission、filesystem、外部systemを同一状態として扱わない。S063 Frozen TOCとCore claimは変更しない。
## 資料の識別情報
Source SHA-256 3104ee65e97df945c88ec165cedf3d0a3b1ceb164aab60074be2be320079e828

## Product Mapping — Claude / CORE-03
PRODUCT_MAPPING_ID: PM-CLAUDE-CORE-03-v0.1

PROVIDER: Claude / Anthropic

CORE_PACKET: PKT-GEMINI-A-CORE-03-v0.1

AS_OF: 2026-09-09

STATUS: PUBLIC_MAPPING_AUDITED / FIXED_RELEASE_REUSED / LIVE_RUNTIME_UNKNOWN

LAYER: PRODUCT_MAPPING

## Scope
CORE-03のstage、artifact、handoff、parallel/serial、resume/retry、verification、transaction境界をClaude Agent SDK/Claude Codeの公開surfaceへ対応づける。会話session、subagent、tool result、hook、permission、filesystem、外部systemを同一状態として扱わない。S063 Frozen TOCとCore claimは変更しない。

## Surface separation
| SURFACE | PUBLIC ROLE | BOUNDARY |
| --- | --- | --- |
| Agent loop | model→tool execution→tool result→次turn→ResultMessage | loop終了やfinal textはartifact受入・外部commitの証明ではない |
| Subagent | 独立context/tool範囲でfocused taskを実行し要約を返す | summaryは完全なlineage/receiptではない。partial、agent ID、session IDを別記録する |
| Session | prompt、tool call/result、responseの会話履歴を保存しcontinue/resume/fork | filesystemや外部systemを保存・復元しない |
| Hooks / permissions | tool call前後のallow/deny/modify、観測、承認 | hook eventは業務認可・immutable receipt・外部最終状態ではない |
| Application workflow | artifact ledger、lock、merge、readback、acceptance | Anthropic productのbuilt-in guaranteeではなくOrganization実装 |

## Core → Claude mapping
| ROW | CORE CONTRACT | EVIDENCE | DECISION / RESIDUAL |
| --- | --- | --- | --- |
| PM-C03-CLAUDE-001 | stage decomposition | Agent loopは複数turn/tool callを進め、subagentはfocused taskを独立contextへ隔離する | 分解はcontext節約だけで決めず、input/output/owner/verifierをapplication contractで固定。stage数・費用閾値はUNKNOWN |
| PM-C03-CLAUDE-002 | handoff / ownership | subagent resultはparentへ戻り、完了時はagent ID、maxTurns停止時はpartialを持ち得る | partialをcompleteにしない。parent session ID、agent ID、input snapshot、accepted result、next ownerを記録 |
| PM-C03-CLAUDE-003 | resume / lineage | custom/general-purpose subagentは同じsessionでagent IDを指定してresume可能。built-in Explore/Planはone-shot | resumeは履歴継続でありartifact/external state同期ではない。fork/continue/resumeを別route化 |
| PM-C03-CLAUDE-004 | parallel / serial | subagentは独立context/permissionsを持ち、複数subagentではpermission promptが個別発生し得る | read-only・別target・決定的mergeだけparallel候補。shared write、approval、side effectはserial/lock/readbackを要求 |
| PM-C03-CLAUDE-005 | guard / approval | PreToolUseは毎tool callへ適用可能。allow rule/mode/callbackの評価経路が異なる | tool listを完全なdeny boundaryと誤認しない。tool名・入力digest・decision・actor・attemptを保存し、業務認可は別gate |
| PM-C03-CLAUDE-006 | failure containment | hook docsはsubagent permission prompt増殖、recursive hook loop、Python/TS session-hook差を明記 | recursion guard、depth/turn上限、top-level marker、language/version matrixを必須化。公開注意事項はlive failure再現ではない |
| PM-C03-CLAUDE-007 | artifact / verification | sessionは会話を保存するがfilesystemは保存しない。ResultMessageはfinal text、usage、cost、session IDを返す | result、session transcript、file artifact、external receipt、business acceptanceを別eventで結合。readback欠落時は未完了 |
| PM-C03-CLAUDE-008 | release / live boundary | Python Agent SDK v0.2.152 / commit a8b1e28 / bundled CLI 2.1.259を既存anchorとして再利用 | 固定版code/live testは未実施。rolling docsの現在値を採用版の挙動やtenant設定へ外挿しない |

## Safe fixed-version profile
採用版を固定し、非機密temporary repository、synthetic tools、外部接続なしで実施する。

- single-stage baselineとread-only subagent fan-out/fan-inを同一acceptanceで比較。

- maxTurns partialをcompleteとして受け入れない。

- custom subagentのsession ID/agent IDを保存し、resume後のlineageを照合。

- same-target parallel writeはversion guard/lockなしで拒否。

- PreToolUse allow/deny/modify、permission mode、callbackを組合せ、tool開始前のdecisionを記録。

- top-level markerなしのrecursive hook spawnを拒否し、上限到達を観測。

- tool side effect後のcancel/timeout/lost resultはfilesystem/external readbackを先に行い、blind retryしない。

- final text、tool result、session history、artifact digest、external receipt、business acceptanceを別照合。

今回はClaude API、organization、workspace、SDK process、model、tool、filesystem test、外部systemを操作していない。既存CORE-03の6/6およびLangGraph/SQLite 15/15はCOMPILER_EXPERIMENTのまま保持し、Claude実測へ再分類しない。

## Organization Overlay handoff
採用SDK/CLI/model、permission mode、allowed/denied tools、subagent depth/turn/concurrency、session store、artifact store、lock、retry/timeout、retention、RTO/RPO、approval owner、log/redaction、acceptance ownerはOrganization OverlayのUNKNOWNとする。

## Provenance
- EXT-C03-021: Anthropic Agent SDK agent loop

- EXT-C03-022: Anthropic Agent SDK subagents

- EXT-C03-023: Anthropic Agent SDK sessions

- EXT-C03-024: Anthropic Agent SDK hooks

- EXT-C03-025: Anthropic Agent SDK user input/approvals

- EXT-C01-032: Python Agent SDK v0.2.152 release anchor (reused)

## Exit
Claude public mappingはbounded complete。Core変更なし。live fault injection、fixed-code parity、external atomicity、Organization値はUNKNOWNのまま追跡する。

NEXT: /agent/start.json
STOP: This is a knowledge projection, not an execution order.