원클릭으로
fork-gap-fill-reconstruction
Reconstruct child replacement state from local records first, then fill uncovered gaps from the parent's live map.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Reconstruct child replacement state from local records first, then fill uncovered gaps from the parent's live map.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Collapse multiple change sources into one caller-facing boolean so headless bootstraps know whether a downstream refresh is necessary.
After awaiting persistence work, update the shared budget state for each `tool_use_id` exactly once so no concurrent reader ever sees a half-committed decision.
Issue continuation nudges while the turn stays under budget, then halt once diminishing returns or the budget cap justify stopping.
Lazily extract referenced files for bundled skills so large prompts stay offline until needed.
Persist a cache-safe stop-hook context snapshot only for main session queries so later helpers can resume from stable state without fork pollution.
Sweep stale extension caches before activation, then fall back to a sticky manual-refresh flag if the live refresh fails.
| name | fork-gap-fill-reconstruction |
| description | Reconstruct child replacement state from local records first, then fill uncovered gaps from the parent's live map. |
| metadata | {"author":"ychampion"} |
Domain: multi-agent
Trigger: Apply when a forked or resumed child workflow must inherit prior replacement decisions even though its local transcript lacks full replacement records.
Source Pattern: Distilled from reviewed multi-agent coordination and child-runtime patterns.
Rebuild child state from the records the child actually persisted, then fill any uncovered IDs from the parent's live replacement map. This handles the fork-resume case where inherited replacements were applied during the original run but never written as new child records. The result is a child state that replays the same cached previews the model originally saw instead of freezing those IDs as unreplaced gaps.
seenIds freeze semantics while layering in inherited replacements so resumed children do not recalculate different decisions.When a forked review agent resumes from sidechain transcript records, rebuild its replacement state from those records and then copy any missing preview strings from the parent’s live replacement map so the resumed child continues using the exact previews it saw before the interruption.