Repository navigation
Conversation
This branch has not been deployed
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.
Problem
OpenPI's subagent timing spans child Session history, individual executions, result delivery and the parent host's ability to continue. We need a current comparison of the mainstream designs before choosing lifecycle changes. Related: #196 and #512.
Value
Give the design discussion a source-pinned comparison of OpenCode V2, Kimi Code, Claude Code, Codex and DeepSeek Harness. Distinguish mechanisms already present on main from proposed changes and historical issue evidence.
Approach
Add a draft research record and index entry. Compare context, execution identity, foreground/background calls, continuation, notifications, authority and recovery. Recommend retaining Pi-native child Sessions, clarify Session/run/delivery/host boundaries, and record design ablations. This proposal is not an accepted Decision.
OpenPI is pinned to main
31b2d045; four peer repositories are pinned to exact commits, and Claude Code is scoped to official rolling documentation. Forty downloaded source files and sixteen peer permalinks were verified against bounded receipts outside Git. No peer harness or model benchmark was executed.Validation
bun run check: passed, including a run with Node 24.22.1 and Bun 1.3.14.bun run test: passed in an isolatedPI_CODING_AGENT_DIR; Node: 2,421 passed / 8 skipped; UI: 107 files / 1,640 passed.git diff --check: passed.Impact
Documentation only. User-visible runtime behavior, model-facing tools/context, runtime lifecycle, persisted configuration/data and compatibility: unchanged. The recommendations remain draft; the reported timing symptom has not been reproduced on the pinned main.