Skip to content

fix(agent): complete runtime-owned steer provenance (#81828) - #1

Open
egilewski wants to merge 1 commit into
ygd58:fix/steer-marker-structural-separationfrom
egilewski:codex/steer-provenance-followup-82834
Open

egilewski wants to merge 1 commit into
ygd58:fix/steer-marker-structural-separationfrom
egilewski:codex/steer-provenance-followup-82834

Conversation

@egilewski

Copy link
Copy Markdown

Complete the runtime-owned steer boundary in NousResearch#82467. The current branch sends user-role steers but still tells the model to trust marker text, and can place a newly arrived steer before an already delivered assistant message.

Replace that prompt exemplar with static role-based guidance, append new steers at the conversation tail, and reuse the existing post-tool drain before API calls. Preserve tool payloads, no-tool restashing, old marker helpers, and historical replay compatibility.

This preserves the additional behavior from NousResearch#82834 without maintaining a competing structural-delivery PR. It goes beyond the marker-layout-only alternative in NousResearch#82208 by removing marker-based authority from the prompt. The static prompt changes once; no per-session cache salt is introduced.

Validation: both prompt/chronology regressions fail on the exact parent 9a0d12b8c71b and pass with this patch. The contributor-branch steer, segmentation, and rendered-prompt suites pass 76 tests. A separate current-main replay passes 150 tests, with one native-Windows skip, including actual pre-API delivery, legacy compression anchors, subagent steering, and bounded tool-result handling. Main moved the pre-API code into agent/turn_iteration_prep.py; that replay preserves the new module boundary rather than restoring the old conversation loop.

Not checked: live provider behavior, native Windows, full repository suite, and CodeRabbit (self-authored follow-up). This PR targets the contributor branch; the upstream PR still needs its current-main rebase.

Related NousResearch#81828

Maintenance: GPT-6 in Codex desktop (parent reasoning level unavailable). The account owner loosely reviews these actions and receives the usual GitHub notifications.

The structural delivery change still leaves a prompt exemplar telling the model
to trust marker text. It also inserts a newly arrived steer before any assistant
messages following the last tool result, changing conversation chronology.

Describe the runtime-owned user role without teaching a delivery-shaped marker.
Keep legacy marker helpers for old histories and external callers. Append new
steers at the current tail, preserving tool payloads and prior assistant output,
and reuse the post-tool drain at the pre-API boundary instead of duplicating it.

Follow-up to NousResearch#82467; preserves the additional provenance
and prompt boundary from NousResearch#82834.

Related NousResearch#81828
Co-authored-by: ygd58 <buraysandro9@gmail.com>
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.

1 participant