Repository navigation
Description
Independent source-proven native consumer defect
At clean candidate b049f6d6fe02c4f308d35fd161e0972695e3673c, the new actual-running supplemental-result delta path does not preserve a user's collapsed result inspector. The managed linearity improvement can therefore regress real running output UX.
This is a source-proven renderer/shell contract mismatch, NOT a new executed native failure. The fresh current union passed 2503/2503 across four healthy hosts; the normal 92-case native invocation was uninstrumented and was not retried.
Exact dataflow / consequence
- A real RUNNING message has a call with an already delivered supplemental result. Its live DOM has a result
<details id="...-result">. The user collapses that result (open=false). - A later result for the same CallId arrives through the running projection.
ChatMessageHtmlModel.ApplyFrozenSupplementalResults,ChatOutputHtmlModels.cs:337-353, seestarget.HasResultand emits a result-only Replace attarget.Id + "-result".ChatOutputHtmlRenderer.RenderToolResult:307-326creates the replacement<details>with an unconditionalopenattribute.chat-output-shell.html:1567-1578saves/restores expansion state ONLY when the replacement path/ancestor is virtual, or the entire virtual history container is replaced. A running result is not in a virtual history ancestor and its path is not the history container.outerHTMLreplaces the collapsed result withopen=true; the user's result expansion choice is lost. Repeated changed results repeatedly reopen it.
The surrounding call/group may retain its own identity and expansion; that does not preserve the nested result's independent expansion.
Pinned sources:
- Changed running result-only replacement
- Replacement details rendered open
- Expansion preservation excludes running targets
Missing actual-consumer coverage / required outcome
Current ActualRunning_SequentialSingleResults_TotalWorkAndSerializedBytesScaleLinearly tests observe a managed recording sink, not native DOM expansion. The three new VirtualHistory_SequentialResults_ClosedReplacementReplayAndRetiredGenerationReachNativeConsumer rows exercise VIRTUAL history, whose shell branch preserves expansion; their green result cannot qualify the running branch.
Add a genuine running-control native case: deliver a result, close its details through the browser, replace it for the same call, and verify it remains closed with the complete new formatted/inspector payload, stable sibling/call identity and independent ancestor expansion. Include run/null-run and grouped/mixed production paths as applicable. Preserve linear total preparation/bridge bytes, ordinary live delivery and generation retirement. No explicit flush, orderer or deadline relaxation.
Blocks shared #1702/#1703 preservation of real production control behavior while optimizing the running pipeline; related #1765 actual-running optimization and #1758 virtual result deltas. No attribution of historical #1754/#1768 failures.
Evidence: C:\dev\Phantom.Workspaces-Skills\worktrees\vb049-x3.
Activity
JoshuaRowePhantom commentedon Nov 19, 2026
Coupled native consumer design — #1764 / #1775 / #1776
The resumed managed GUI boundary is now genuinely healthy: 165/165, Completed, zero failed/nonpassed/ErrorInfo/Error RunInfo/abnormal counters. Exact original copied authority r1779-resume-1119b/gui-0-original.trx, 300422 bytes, SHA25684982E2C5D4E0AEDBC0A362C1B061E326132EB833917778DEE696A9ACD190D3E. All three original straddling and both one/two-call rows reached full typed payload/inspector, all visibility transitions, baseline/replay/navigation and explicit retirement. All six pinned visible N128/256 controls: fragment delta0, prepared=delivered append UTF8 bytes60032/120064. This is managed projection evidence, not native or startup acceptance. The old Failed hosts remain immutable.
Tests-first native additions exercise: (1) two suppressed narrations straddling the retained mixed two-call owner, two individually delivered typed/escaped results, real native summary-click asymmetry, reveal/suppress/reveal retirement/injection and exact standalone order/full inspector/body, replay and disposal; (2) a native older pinned128-call window with individually drained visible tail appends, stable JS owner/call identity, selection/focus/geometry, navigation/search/current-tail/complete call replay/disposal; (3) the ACTUAL AgentChatOutputControl RUNNING model pipeline in known/plain, null/plain and known/mixed forms, separately delivered initial results and replacements, native summary-click collapse, full typed body/inspector, unchanged sibling object identity/asymmetric expansions/exact IDs/order/count, terminal promotion, full replay/control rebind and retired notification.
#1776 production repair is scoped only to replacing an existing id-addressed result details inside running-items-container. Reuse shell expansion capture/restore for that target, without modifying renderer defaults, new result insertion, all other replacement paths or strict protocol behavior. A blanket preserve-all-details contract was rejected as unnecessarily broad. Existing virtual coverage remains unchanged. Coupled issue search found #1776/#1765/#1764/#1758 and existing investigations, not a separately established new source defect.
Before native invocation run the related existing actual-running managed path/linearity methods together after current-source GUI rebuild --no-restore. Then necessary standard native-project rebuild --no-restore, byte-identical fresh short owned image copy, PE/PDB/source checksum and embedded-shell verification. Reuse the read-only vb049-x3 observer with a new owner GUID/root; arm BEFORE the only native invocation and retain current actual owned descendant executable CLI/profile through the new cases. No global process scan, owner test/probe, cert audit, tracing, install, old CLI substitution, forced flush, timeout relaxation or retry. Native selectors combine all new methods, existing virtual3/narration1 and existing strict million2 UX controls. Any new Failed host/case immediately stops all further edits/execution and returns to parent for isolated diagnosis.
Runtime #1773/#1774 remain outstanding. Historical1754/1768/1517/1175 causality stays UNKNOWN. No batch qualification/integration/review/push/closure or tracking/skills changes.
JoshuaRowePhantom commentedon Nov 19, 2026
Healthy implementation milestone — #1764 / #1775 / #1776 (+ #1779 fixture)
Commit59b04573f8ebe417081d935f6289cc38f668e85e, parentd0c10c5cc4969540abbe36a9551226f286da6c5a. Four owned files committed; index/worktree clean. No push/integration/closure or whole-batch acceptance. Runtime #1773/#1774 are next and remain outstanding.
Production: invalidate former result owners INSIDE a repaired visibility suffix and clear pending results, retaining the existing earlier-owner fallback/reverse reconciliation; skip unchanged full-fragment preparation for visible tail appends outside a full pinned older window while preserving group/current-tail invalidations; preserve existing native running result-details expansion on result-only replacement, scoped to id-addressed results under running-items-container.
Fixture: only both expected inspector newline options change to Environment.NewLine; explicit LF bodies, complete fields/types/order/escaping/copy/inspect/IDs/ownership remain. Added hand-owned ordered typed inspector/body oracles and mutation controls, literal raw-newline/embedded-CR/LF/CRLF escaping contract. Production serializer/IDs unchanged.
Fresh actual hosts (not merely pass counts):
Native proof: observer armed BEFORE invocation; validated owned root/descendants only. Actual host43840 (owned r1776-c1/n image SHA256539A3A30DBDF3D21EA8BE7A7AF0E295BC2CFDD6162869E1C7746692A38952A2E). Current browser13872 parent43840, EdgeWebView157.0.4341.60, SHA256C40A84D4CBD25E4C14EF69A9F39418028239D7DADB08159D1228AB805367CED2. Actual CLI contains --webview-exe-version=0.0.1+d0c10c5cc4969540abbe36a9551226f286da6c5a and --user-data-dir="C:\dev\Phantom.Workspaces-Skills\worktrees\r1776-c1\n\Phantom.Workspaces.Agent.Gui.WebViewTests.exe.WebView2\EBWebView". Actual profile118chars. Live samples bracket ALL FIVE new native rows (18:57:46.7672089Z..18:57:50.3326717Z); exact individual receipts are new-native-case-attestation.json. Version denotes precommit base plus archived exact WIP, not postcommit execution.
Native new contracts: two real narration barriers straddling mixed2-call owner; separately delivered complete typed/escaped body+inspector; both-direction obsolete result retirement/standalone order and asymmetric native call toggles; pinned128-call owner/call JS identity, native selection/focus/geometry unchanged across individually drained outside-visible appends, search/current-tail/full replay/disposal; ACTUAL AgentChatOutputControl RUNNING known/plain,null/plain,known/mixed pipeline with native summary-click result collapse, TWO individually delivered replacements, independent call/ancestor expansion and sibling identity, exact ID/order/count, complete new typed/escaped body/inspector, terminal promotion/full replay/control rebind/retirement.
Strict native million intervals unchanged <30000ms: text7864.112ms (fixture/store setup2177.410ms excluded), tools10764.467ms (setup1898.438ms excluded). Both exactly1000000 messages/metadata visits,200 models, real first/middle/last navigation/full search/tool-owner readback/selection/focus/nonzero geometry. These in-memory-store/native fixture timings and managed projection metrics are NOT full process/durable/network/DB/auth cold startup.
Necessary existing GUI/native builds --no-restore succeeded0warnings/errors, every SDK process certificate-generation=false; no restores/installs/new tools. Fresh PE/PDB identities/source document checksums,387 identical native source/output-copy entries, actual embedded shell bytes versus current source, exact source/diffs/commands/times/buildlogs/dependency versions/images, all raw counters/records/definitions/entries/ErrorInfos/RunInfos retained under sibling r1779-resume-1119b and r1776-c1.2317 preexisting original result artifacts rechecked byte/hash/length/creation/write UTC-tick identical. Both candidate AND skills default test-results.log files restored absent in finally. Historical #1778/#1779 reds remain immutable, not rewritten as healthy.
No owner-case probe, cert/privatekey audit/store access, tracing/global browser/shared-resource scan, cleanup, skills/tracking/stateSQL edit, active-features change, ref rewrite, retry, forced flush, timeout relaxation or historical-cause claim. #1754/#1768/#1517/#1175 causality stays UNKNOWN/unwaived; #1722 excluded; #1735/#1738/#1739 repairs excluded; #1724 separate ReleaseInstall. Entire fresh review has NOT started. Exclusive implementation ownership retained while completing #1773/#1774.