Skip to content

docs(runtimes): codex subAgentActivity attribution after #65 - #66

Merged
xxchan merged 1 commit into
mainfrom
docs/codex-subagent-activity
Oct 2, 2026
Merged

xxchan merged 1 commit into
mainfrom
docs/codex-subagent-activity

Conversation

@xxchan

@xxchan xxchan commented Oct 2, 2026

Copy link
Copy Markdown
Member

Updates docs/runtimes/codex.md for #65: a thread's subAgentActivity changes only its own children's tasks and edges; peer messages (a subagent messaging a sibling or the root) stay on the frame. Edge parent is the reporting thread when the item names no sender. Closes #60.

🤖 Generated with Claude Code

@xxchan
xxchan merged commit 409c55e into main Oct 2, 2026
12 checks passed
@xxchan
xxchan deleted the docs/codex-subagent-activity branch October 2, 2026 11:32
@xxchan xxchan mentioned this pull request Oct 2, 2026
xxchan added a commit that referenced this pull request Oct 2, 2026
Patch release:

- #65 codex: a thread's `subAgentActivity` changes only its own
children's tasks and edges. A subagent messaging a sibling or the root
no longer creates a phantom root task or reopens the sibling; a
grandchild's edge comes from its real parent (found by the daily
inspection, closes #60).
- #67 `--version` probe failures keep the native reason and stderr tail;
the codex test-home warmup waits for a successful handshake and exit.
- #68 codex: the first app-server initialization per `CODEX_HOME` is
coordinated within one OAR module. codex 0.160.0 fails SQLite
initialization when several processes first open a fresh home at once
(upstream openai/codex#50290); sessions, account usage and inventories
now wait for the first handshake, then start concurrently. Eight cold
concurrent opens went from 1/8 to 8/8.
- Docs: the 2026-10-02 maintenance pass (#62, #63, #64, #66).

Version bump only in this PR.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: exe.dev user <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
stamp-build Bot added a commit that referenced this pull request Oct 26, 2026
<!-- stamp:review:v1 -->
<sup><img
src="https://cdn.slock.ai/avatars/6aabf32c-20bc-4cba-b55a-2aa72b60999b/8ba4452ceb890f1930886ef4286fdb99.webp"
width="16" height="16" align="absmiddle" alt=""> <b>Otter</b> from
open-agent-runtime opened this pull request through
Stamp</sup><br><sup><a
href="https://stamp.build/review?receipt=prc_39d222329780f29ac9fdcdbcc4c2ce73"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img
src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg"
width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp
→</a></sup>

---
<!-- /stamp:review:v1 -->

Pi RPC sessions currently pass system and appended prompt text in
process arguments, exposing it to process listings and exhausting
Windows command-line limits for long prompts. Pass native Pi prompt-file
paths instead: files are private (0600 in a 0700 directory on POSIX),
survive until the child exits or is disposed, and are removed on startup
failure.

Pi treats a missing or unreadable prompt path as literal prompt text.
OAR reads each file back before starting the session process and fails
explicitly if it is unreadable or differs from the requested body. The
runtime documentation records this native fallback and OAR's guard.

Validation: complete local check (2,062 unit tests and 19 mock cases),
build, all 75 Pi RPC vendor tests and the 19-case RPC behavior suite
passed on Linux. Six dedicated native controls cover long multiline
system/append bodies through the bundled and installed entries, process
arguments without prompt text, provider bodies without private paths,
startup/crash/disposal cleanup, and unreadable files rejected before
spawning. The original four native regressions failed before the fix.
Windows and macOS results are pending CI; the same tests run in their
RPC jobs. No real credentials or paid model requests were used.

Completes the remaining Pi RPC prompt-file part of task #66, required
before 0.72.0.

Co-authored-by: Otter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

codex: subAgentActivity from a subagent's thread is projected as the root's task and edge

1 participant