mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #5179] [GUI] add true same-turn coding-agent steering with a reproducible Harness patch #5333
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#5333
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/5179
Author: @TaskPuppyNatani
Created: 11/4/2026
Status: 🔄 Open
Base:
main← Head:fix/desktop-steering📝 Commits (5)
f646f74[GUI] add same-turn agent steering with a source-built Harness patchb33a7de[GUI] integrate upstream main into same-turn steeringc593308[GUI] gate same-turn steering on parent turn availability82bb652[GUI] bind steering admission to the expected parent turn3a5df08Merge upstream/main into steering availability📊 Changes
23 files changed (+15780 additions, -96 deletions)
View changed files
📝
.gitattributes(+3 -0)➕
apps/desktop/scripts/harness-steering.mjs(+66 -0)📝
apps/desktop/scripts/stage-harness.mjs(+4 -1)➕
apps/host/scripts/steering-e2e.mjs(+42 -0)📝
apps/host/server/agent/agent-bridge.mjs(+83 -4)📝
apps/host/server/agent/gateway-client.mjs(+1 -0)➕
apps/host/server/agent/steering.mjs(+77 -0)📝
apps/host/server/index.mjs(+7 -0)📝
apps/host/src/components/PlanCard.tsx(+22 -4)📝
apps/host/src/lib/chat-photos.ts(+2 -0)📝
apps/host/src/lib/client.ts(+3 -3)📝
apps/host/src/lib/store.ts(+210 -41)📝
apps/host/src/lib/while-busy.ts(+6 -5)📝
apps/host/src/screens/Chat.tsx(+18 -29)📝
apps/host/src/screens/Settings.tsx(+1 -1)➕
apps/host/tests/agent-steering.test.mjs(+286 -0)➕
apps/host/tests/chat-steering-ui.test.mjs(+168 -0)➕
apps/host/tests/chat-steering.test.mjs(+377 -0)📝
apps/host/tests/no-model-chat.test.mjs(+1 -1)📝
apps/host/tests/ui-do.test.mjs(+8 -7)...and 3 more files
📄 Description
Summary
Adds true same-turn coding-agent steering to Strata's desktop interface.
Users can send corrections while an agent is working without cancelling the entire run or creating a replacement turn.
The implementation includes:
Integration
Updated against Strata 0.2.11 with Control/engine integration 0.1.57.
3a5df0840c343540d89d916fd9152d94df06165e9f7d977d220e9fdf2ec53cf2620cdadac1cfb24eEarlier upstream merge conflicts are resolved.
DeepSeek Harness dependency
True steering requires a separately built, patched DeepSeek Harness.
571902028a75c64c1d767f4ae5fd099485f0ddf0strata-harness-soft-cut-v2fdac9e2dcf0cf4be9bee4c7018ff4c664c2e718552f67e2830abde9ed09dff49Reproducible patching, staging, and provenance verification are documented under
packaging/harness/.An unpatched Harness cannot provide this feature. Release packaging must include the patched component.
Verification
Completed verification includes:
These figures represent separate verification runs, not cumulative unique test counts.
Recorded live steering evidence
A retained local Harness session from a scientific-calculator coding task confirms successful same-turn delivery.
The parent agent's numeric turn 1 began at event sequence 11 and ended at sequence 571.
Three corrections were committed at event sequences 44, 488, and 555. Each matched its steering receipt and had the expected numeric parent-turn provenance.
A separate verification helper session was linked to the parent. A brief subsequent parent turn began only after all three corrections had been delivered.
No steering correction was redirected into that subsequent turn.
Evidence limitations
The recovered Harness records were found under the regular Strata profile, not the intended isolated test profile. Therefore, the exact AppImage that produced the recorded session cannot be independently established.
The session records also do not independently verify the precise local model family.
The recorded events confirm same-turn steering in that local session, but should not be treated as proof of exact packaged-build provenance.
Remaining validation
The PR remains a draft pending remaining validation and upstream review.
Refs #4004 and #4783.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.