Skip to content

Bug: #1764 native narration promotion regression times out at post-promotion readiness boundary; isolated diagnosis required #1772

Open

Description

@JoshuaRowePhantom

Mandatory STOP / parent-routed isolated diagnosis required

Blocked issue: #1764. This is a NEW executed native failure, not a diagnosis of any historical failure. Root cause UNKNOWN; no fixture/product causal guess has been made. Parent must route a dedicated diagnose-unrelated-test-failure agent before any further edits, retry or execution. This implementer did NOT invoke a diagnosing agent.

Candidate/worktree: C:\dev\Phantom.Workspaces-Skills\worktrees\pf1117-1545, branch batch/1702-1703-startup-first-1117, unchanged HEAD 24a47202ea704cba47872a042680fe665d53af51. Owned uncommitted diff:3 files,+273 lines; index unchanged from clean incoming baseline. Source fix and managed/native regressions retained, NO commit/push/integration/closure.

Exact failing case / original authority

Phantom.Workspaces.Agent.Gui.WebViewTests.ChatOutputBrowserIntegrationTests.VirtualHistory_NarrationPromotion_RetiresEarlierResultDomAndPreservesCallExpansion

System.TimeoutException: The operation has timed out. Existing event-driven WaitForNativeHistoryConditionAsync at ChatOutputBrowserIntegrationTests.cs:375, called by new test at line434, after running.Remove(active) and awaited model.DrainHistoryAsync(). Awaited condition is literally document.getElementById('history-2004-c0') !== null.

Original TRX: C:\dev\Phantom.Workspaces-Skills\worktrees\pf1117-1545\Phantom.Workspaces.Agent.Gui.WebViewTests\TestResults\jrowe_DAEMON_2026-11-19_04_56_53_net10.0.trx.
SHA256 2093DD86140C6A92377722CD15004B029A1F925EF29B863FA0FCC3A97A982B73,17625 bytes,UTCticks639306898503351458; host6455fbf9-0453-4f3e-8f2f-3e021f67e086.

Original summary FAILED; total6/executed6/passed5/failed1; error/timeout/aborted/inconclusive/passedButRunAborted/notRunnable/notExecuted/disconnected/warning/completed/inProgress/pending all0. Six result records/definitions/entries. One ErrorInfo for this timeout; one Error RunInfo naming the failed case, one completed-Blame/no-sequence Warning. No attachments or new dumps/sequences. Passing5 do not waive Failed host.

Assertions reached BEFORE failure: both separately drained injected results passed complete independently specified formatted-body and exact inspector payload/marker checks; both original call IDs existed and their open/closed state was assigned; narration was hidden and current running output was present. The promotion's standalone ownership/order/payload/expansion assertions and subsequent reverse native transition were NOT reached. Do not claim them passing.

Executions/builds/provenance

Approved command, exactly once:
.\scripts\run-tests.ps1 -NoBuild -Mode fast -TestProject Phantom.Workspaces.Agent.Gui.WebViewTests\Phantom.Workspaces.Agent.Gui.WebViewTests.csproj -TestResultsPath C:\dev\Phantom.Workspaces-Skills\worktrees\r1764-k6\native-results.log -TestNames VirtualHistory_

Related managed selection first completed healthy232/232/0 (VirtualChatHistoryProjectionTests,ChatOutputHtmlModelTests,ChatOutputHtmlStructuralInvariantsTests), including all4 new sequential virtual-worker visibility rows and six existing N128/256 sequential-result rows. Original managed host140a324f-2789-4b8d-a6ce-d5b57edac651, summary Completed,232 records/definitions/entries; zero ErrorInfos/error RunInfos/abnormal counters; informational long-running warnings and ordinary completed-Blame warning retained. GUI TRX SHA256 67B587F2E8AFEBE6F5027440E045EE4A4F5639B9D61B2D223509DF9BD39E1D78. No passing-managed override of Failed native host.

Both necessary existing Rebuilds ultimately0warnings/0errors, no restores/installs/newtools. Initial managed nullable compile correction retained before first test execution. SDK invocations set process-local DOTNET_GENERATE_ASPNET_CERTIFICATE=false; no certificate/store access.

387 native files copied identically from fresh standard native-project output into owned short image ...\r1764-k6\n. Actual browser PID11624,parent31816 CLI during THIS run specified current full version and exact owned profile C:\dev\Phantom.Workspaces-Skills\worktrees\r1764-k6\n\Phantom.Workspaces.Agent.Gui.WebViewTests.exe.WebView2\EBWebView (118 chars; nonreparse ancestry). Captured native PIDs have exited. Full live CLI/ancestry retained. Managed400-file image retained; PE/portable-PDB GUID+stamp identities and physical source checksums verified for14 managed assemblies/714 documents and12 native assemblies/650 documents;32/31 nonphysical documents explicitly unverified, not silently counted. Actual full source/PDB/DLL copies retained.

Evidence / mandatory diagnosis handoff

COPY-ONLY evidence: C:\dev\Phantom.Workspaces-Skills\worktrees\r1764-k6. Exact baseline/index/preimages, complete baseline source ZIP, tested/stopped exact diffs and source, build commands/times/full logs including pre-test compile correction, both original raw TRX copies and source-path hashes/ticks, complete XML summaries/result/definition/entry records, case sets/ErrorInfos/RunInfos, compiled-image/source manifests and native actual-process CLI evidence. stopped-integrity.json:291 previously recorded original TRX/dump/sequence files unchanged bytes/lengths/UTCticks, original index unchanged, default scripts\test-results.log remained absent in finally for EACH invocation. No retained cleanup.

Isolated diagnosis prompt: independently read this original TRX, retained exact tested source and actual native CLI/provenance; determine why the post-promotion event-driven native condition at line434 did not complete without guessing from managed green. Preserve assertions, expected full payloads/order/ownership/expansion, synchronization and historical evidence. Parent controls any authorized diagnosis execution; no unapproved retries, instrumentation, orderers, fixed pumps or widened selection. Only after isolated evidence-backed diagnosis may parent authorize a fix/resume.

#1765/#1766/#1756 untouched. Original #1768 owner NONOBJECTFRAME remains BLOCKING UNKNOWN/excluded; original reconnect timeout cause UNKNOWN; #1754 OPEN UNKNOWN and historical #1517/#1175 unwaived. No entire-batch qualification. Source/build/native ownership is RELEASED to parent for routing, not to another ordinary scope before diagnosis.

Activity

  1. added
    bug
    on Nov 19, 2026
  2. JoshuaRowePhantom commented on Nov 19, 2026

    @JoshuaRowePhantom
    OwnerAuthor

    NEW isolated read-only diagnosis — RELATED (new fixture selector contract defect), not a production verdict

    I independently examined the current candidate, original raw TRX/log, actual retained DLL/PDB/source bytes, embedded shell, archived process CLI, and GitHub specifications/search. No delegation, execution/retry/discovery, product assembly loading/execution, source/index/helper/state writes, install, browser/CDP access, cleanup, ref movement, commit or push occurred. Existing occurrence #1772 is the persistent bug; no duplicate is needed. This finding does not qualify #1764 or establish native promotion correctness.

    Observed authority and host disposition

    FQN (Fact; no parameters): Phantom.Workspaces.Agent.Gui.WebViewTests.ChatOutputBrowserIntegrationTests.VirtualHistory_NarrationPromotion_RetiresEarlierResultDomAndPreservesCallExpansion.

    Authority read directly: C:\dev\Phantom.Workspaces-Skills\worktrees\r1764-k6\native-original-jrowe_DAEMON_2026-11-19_04_56_53_net10.0.trx.

    • SHA256 2093DD86140C6A92377722CD15004B029A1F925EF29B863FA0FCC3A97A982B73; 17625 bytes; LastWriteTimeUtc ticks 639306898503351458; retained-copy CreationTimeUtc ticks 639306898506118814.
    • Candidate original Phantom.Workspaces.Agent.Gui.WebViewTests\TestResults\jrowe_DAEMON_2026-11-19_04_56_53_net10.0.trx independently has the same SHA/length/write ticks; its creation ticks are 639306898503340929. Creation and write ticks are not interchangeable.
    • Run 6455fbf9-0453-4f3e-8f2f-3e021f67e086; failed execution 3f4dd288-7082-47dc-8e57-e6daf867a6fe; test ID 5b108657-6575-75c1-9429-f9cc797b37ba; computer DAEMON.
    • Failed case start 2026-11-19T04:56:55.8284629-08:00, end 04:57:26.4227524-08:00, reported duration 00:00:30.5691517. Run start 04:56:47.5267561-08:00, finish 04:57:30.3176255-08:00.
    • ResultSummary Failed. total/executed=6, passed=5, failed=1; error, timeout, aborted, inconclusive, passedButRunAborted, notRunnable, notExecuted, disconnected, warning, completed, inProgress, pending are each 0. Six result records/definitions/entries. An assertion helper's TimeoutException is a Failed test, not a nonzero TRX timeout/aborted counter.
    • One ErrorInfo; Error RunInfo at 04:57:26.4308653-08:00 names this failure; Warning RunInfo at 04:57:30.2643732-08:00: Data collector 'Blame' message: All tests finished running, Sequence file will not be generated. Zero ResultFile/CollectorDataEntry attachments. Raw native-results.log independently reports Failed 1/Passed 5/Skipped 0/Total 6; invocation receipt exit 1. No crash/hang dump is attached and no abort is established.

    Exact ErrorInfo:

    System.TimeoutException : The operation has timed out.
       at Phantom.Workspaces.Agent.Gui.WebViewTests.ChatOutputBrowserIntegrationTests.WaitForNativeHistoryConditionAsync(ControllableWebViewControl browser, String condition) in C:\dev\Phantom.Workspaces-Skills\worktrees\pf1117-1545\Phantom.Workspaces.Agent.Gui.WebViewTests\ChatOutputBrowserIntegrationTests.cs:line 375
       at Phantom.Workspaces.Agent.Gui.WebViewTests.ChatOutputBrowserIntegrationTests.<VirtualHistory_NarrationPromotion_RetiresEarlierResultDomAndPreservesCallExpansion>b__8_0() in C:\dev\Phantom.Workspaces-Skills\worktrees\pf1117-1545\Phantom.Workspaces.Agent.Gui.WebViewTests\ChatOutputBrowserIntegrationTests.cs:line 434
       at Phantom.Workspaces.Agent.Gui.WebViewTests.ChatOutputBrowserIntegrationTests.<VirtualHistory_NarrationPromotion_RetiresEarlierResultDomAndPreservesCallExpansion>b__8_0() in C:\dev\Phantom.Workspaces-Skills\worktrees\pf1117-1545\Phantom.Workspaces.Agent.Gui.WebViewTests\ChatOutputBrowserIntegrationTests.cs:line 486
       at Phantom.Workspaces.Agent.Gui.WebViewTests.WebViewAppFixture.<>c__DisplayClass3_0.<<InvokeAsync>b__0>d.MoveNext() in C:\dev\Phantom.Workspaces-Skills\worktrees\pf1117-1545\Phantom.Workspaces.Agent.Gui.WebViewTests\WebViewAppFixture.cs:line 51
    --- End of stack trace from previous location ---
    --- End of stack trace from previous location ---
    

    Other five executions (passes, not host-green): sequential rows (run:null,mixed:False,callOpen:True)=11a45895-a17e-4db8-84e0-2f41bc0665ee; (completed-run,True,False)=7fdfa708-a5c6-4e6b-93e1-de0d7393ff1c; (completed-run,False,False)=2cbfd651-15a0-4cd2-835b-64ed25429340; middle edits=4385360e-f0fc-4737-b26a-8b267e9d45b4; long run=3e179275-6d37-4e9a-9330-8dad390df497.

    Proven operation order and fixture/renderer mismatch

    Current source references below are candidate-relative; their byte identity to tested PDB documents is independently verified in the provenance follow-up.

    1. Test lines 385–421 creates 2000 prefix users, calls first/read at identity/index 2000 and second/write at 2001 (completed run), narration at 2002 (active run), and separately drains result additions at 2003/2004. Result strings are exactly complete first payload;\nsecond line; and complete second payload;\nlast line; (here \n denotes one LF). Injected pair targets derive from real owner IDs: history-2000-0-result, history-2001-0-result.
    2. Before removal, both event-driven result waits and AssertNativeToolPayloadAsync complete. That helper (295–345) checks an object with actual formatted text/details, Boolean target/inspector/formattedBody/inspectMarker/copyMarker clauses, and null firstFailedClause. Inspector expectation is complete AIContent serialization with indentation and LF, not just a substring. Successful returned objects are not printed: failed-case TRX has neither StdOut nor StdErr. Thus this is reached assertion evidence, not an archived literal per-node JSON/DOM snapshot.
    3. Lines 422–430 execute assignments first call open=true, second=false, group=true, then return one aggregate Boolean !history-2002 && running-container.textContent.includes('complete current running output;'). The assertion passed. There is no archived independent readback of each expansion property or all running-container contents; the Boolean must not be expanded into invented raw facts.
    4. Lines 432–433 remove the active running item and await DrainHistoryAsync. ChatOutputHtmlModels.cs:3258–3273 refreshes virtual visibility from remaining running IDs. VirtualChatHistoryProjection.cs:680–708 detects the affected narration and earlier result owners, enters the new full-reclassification guard; 646–670 clears/rebuilds ownership without replacing entry identities. Classify:744–784 makes the narration a visible barrier, disallowing those later results from injection into earlier owners. This is the intended static contract, not observed post-promotion DOM.
    5. The native readiness predicate at test 434–435 is literally document.getElementById('history-2004-c0') !== null. The tested producer uses history-2004-0, not -c0: ChatOutputHtmlRenderer.cs:85 ContentId is $"{messageId}-{subIndex}"; ChatOutputHtmlModels.cs:600–605 passes that ID to RenderContent. An unclaimed standalone FunctionResultContent takes ChatOutputHtmlRenderer.cs:646–659 -> RenderCollapsible 924–941, yielding <details class="chat-content chat-tool" ... id="history-2004-0"> (no -result suffix). Injected paired results instead use RenderToolResult 304–337, chat-tool-result and -result suffix. These are different legitimate presentations, not missing result data.
    6. The same incorrect -c0 namespace is used by both downstream payload calls at 436/438 (history-2003-c0, history-2004-c0). Correcting only readiness is incomplete. In this file the -c0 convention also exists in manually authored Message(...) HTML at 2541–2545; that handwritten fixture is not the model-rendered ID contract. No production path examined translates -0 into -c0.
    7. Wait helper 348–377 subscribes before executing JS, installs a MutationObserver and immediately checks; only a true condition posts the unique token, then the managed TCS waits 30 seconds. The failure is at that TCS wait. No token, DOM snapshot, failing generation ID or frame payload is retained for this case. The raw failure proves no completion, not which post-promotion nodes existed. A correctly published intended DOM still cannot satisfy this fixture selector. A slower timeout cannot repair the namespace mismatch.

    Verdict RELATED: this newly added native test introduces an independently sufficient fixture contract defect, in the same new change being validated for #1764. This is a causal selector/data-flow argument, not a changed-file-overlap heuristic. It is not evidence that the new production reclassification guard is incorrect, nor proof that production publication succeeded. Do not repair the renderer to invent -c0 IDs. The underlying post-promotion native state remains unverified until the repaired strict oracle is authorized and executed.

    Tightly coupled downstream contract audit / narrow repair

    Repair all three new standalone selector literals consistently to history-2004-0 (readiness), history-2003-0 and history-2004-0 (payloads). Preserve complete literal body/inspector equality, copy/inspect markers, event-based synchronization and 30-second bound. Keep grouped -call / -result selectors as-is. Do not replace expected payloads with renderer-generated expected HTML, hide duplicate results, deduplicate DOM, raise timeout, skip native, add fallback IDs or catch-and-pass.

    The independently specified expected promoted tail is: surviving call owners 2000,2001, then narration 2002 with exactly complete promoted narration;, then standalone first result 2003 and second result 2004 with the exact two full strings above, one occurrence each. Original injected result nodes must be absent and neither owner text may retain those result payloads. Owner/call identities must remain stable; first call stays open, second closed, ancestor tool group open; all DOM IDs unique. Two standalone pre bodies are expected here: null call arguments produce no call pre, narration/prefix are text, and the standalone payloads use generic .chat-tool (not paired .chat-tool-result). Existing order, ID, retired-DOM and two-pre assertions at 440–461 are meaningful; they were not reached. Reverse reactivation must suppress narration/standalone wrappers and restore exactly two injected results with the same full payloads and call expansion; lines 462–476 were not reached either. No later failure is claimed.

    Expected Tests (after parent authorization; none executed by this diagnosis)

    Test Class Required coverage
    VirtualHistory_NarrationPromotion_RetiresEarlierResultDomAndPreservesCallExpansion (existing new case, repaired) ChatOutputBrowserIntegrationTests Strict native end-to-end of both separately drained inserts, initial exact bodies/inspectors, corrected standalone targets, both earlier DOM retirements, literal full ordered promoted tail, unique stable IDs, asymmetric call expansion and group expansion, reverse suppression/reinjection. Capture clause-level actual IDs/text/details/expansion on failure rather than relying on one Boolean; never weaken assertions.
    History_NarrationVisibility_RetiresAllEarlierOwnersAndMatchesCompleteBaseline (existing four rows) VirtualChatHistoryProjectionTests Retain null/completed run, mixed contents, earlier-result precedence, full ordered source identities, replacement/removal, reverse visibility, find/navigation/disposal and baseline comparison. Existing renderer-produced HTML comparisons are supplementary, not an independent payload/DOM oracle.
    ChatOutput_NarrationPromotion_UsesStandaloneContentIdsAndPreservesCompletePayloads (suggested focused regression) ChatOutputHtmlStructuralInvariantsTests Through the real model, assert independently literal history-2003-0/history-2004-0 IDs, full literal payload/serialized inspector and markers, encounter order, exactly-once placement and absence of obsolete paired results. Do not call production RenderContent/RenderToolResult to manufacture expected HTML.

    No new runtime probe is needed to establish the selector defect. The next parent-authorizable execution, not performed here, is the repaired exact native Fact after a necessary existing targeted build, retaining original TRX/raw per-clause readbacks; any new failure requires its own untouched evidence. Broader #1764 native acceptance and historical blockers remain unwaived.

    GitHub searches performed before disposition: virtual history native, "history-2004", "standalone" "result" "native", "NarrationPromotion", "c0" "native", "fixture" "selector". #1772 already matches this occurrence; #1764 is the production requirement. #1759/#1760/#1761 are historical oracle/readback leads only. This does not diagnose earlier #1771 fixture failures, #1768 owner/reconnect UNKNOWN, #1754 or historical #1517/#1175. No body, label, old comment, state or openness was mutated.

  3. JoshuaRowePhantom commented on Nov 19, 2026

    @JoshuaRowePhantom
    OwnerAuthor

    Independent tested-source / native-image provenance and preservation appendix

    Companion to #1772 (comment) . These are direct byte/metadata observations, not reliance on an implementer handoff, health-summary narrative, version label or receipt's claimed verification.

    Candidate unchanged: C:\dev\Phantom.Workspaces-Skills\worktrees\pf1117-1545, HEAD 24a47202ea704cba47872a042680fe665d53af51. Read-only GIT_OPTIONAL_LOCKS=0 status before/after has exactly these three unstaged modifications; cached diff empty; untracked status adds nothing:

    156 0 Phantom.Workspaces.Agent.Gui.Tests/VirtualChatHistoryProjectionTests.cs
    109 0 Phantom.Workspaces.Agent.Gui.WebViewTests/ChatOutputBrowserIntegrationTests.cs
      8 0 Phantom.Workspaces.Agent.Gui/ViewModels/DocumentModels/VirtualChatHistoryProjection.cs
    

    Actual candidate index: SHA256 7D9402CEC39A3EFEDBAFA0EEA660441AC2CCC1008FA9CC9D1FB63A001EA9A604, length354389, UTC write ticks 639306888569304101; same SHA as retained base-index. Both baseline ZIP and exact current archived tested-source files were read, with no extraction/writes. ZIP base-source.zip lacks this new native test and new earlier-owner guard; its renderer/model/shell bytes equal current bytes. The namespace finding is established from actual producer/test contracts, not merely their changed/unchanged status.

    Actual archived PE / portable-PDB identities, read using already installed PowerShell framework System.Reflection.Metadata / PEReader, never Assembly.Load/product execution:

    Assembly in r1764-k6\native-compiled-image PE CodeView GUID; Age; Stamp Actual portable-PDB debug header ID
    Phantom.Workspaces.Agent.Gui 0713b16f-9be5-2936-2ca2-d5f653251e71;1;572191158 6FB11307E59B36292CA2D5F653251E71B6F11A22
    Phantom.Workspaces.Agent.Gui.WebViewTests 9e674e84-06ba-4009-9056-6d5f743f3ae2;1;3866856931 844E679EBA06094090566D5F743F3AE2E38D7BE6
    Phantom.Workspaces.Gui.Shared 130e2d9d-dabb-1c9a-8b6a-3daca8e65386;1;2242406798 9D2D0E13BBDA9A1C8B6A3DACA8E653868E69A885

    GUID/stamp byte representations match corresponding PDB IDs. SHA256 PDB document algorithm is 8829d00f-11b8-4213-878b-770e8597ac16. For the following seven examined physical documents, actual PDB checksums equal BOTH exact current candidate file hashes AND native-compiled-source archived-file hashes:

    Agent.Gui\ViewModels\DocumentModels\ChatOutputHtmlModel.cs
     D6BDBCD470FF30690A8134E5022B11B5AD820ADC020A2F8D6474CA956C068AAC
    Agent.Gui\ViewModels\DocumentModels\ChatOutputHtmlModels.cs
     9DFA147513694297A4A9E40BE85D5EDE574FD1AB7ADD872F16E77CB52C340947
    Agent.Gui\ViewModels\DocumentModels\ChatOutputHtmlRenderer.cs
     C6A3978F445E0A80B04EA80159C44A185B4BB2D50249C217F5841B69ED0C9C53
    Agent.Gui\ViewModels\DocumentModels\VirtualChatHistoryProjection.cs
     D59B41ED5E1FFC6A4196B5B5D5DBB9F98781AC0C48138EE52B32217250C6862D
    Agent.Gui.WebViewTests\ChatOutputBrowserIntegrationTests.cs
     04AC69BDFC56428C28DAE732465E692122410C1184913FB749FE8C97930F7502
    Agent.Gui.WebViewTests\WebViewAppFixture.cs
     218276F88A1A46C657428677ADA5ACF41CED466A27E827C41E8FC45B8586A778
    Gui.Shared\Controls\ControllableWebViewControl.cs
     FC067643046955FD7AD1DF686C83E05C166BF594C2451FCB1B39132EBE912CD2
    

    Above paths omit the common Phantom.Workspaces. prefix only for readability. All three modified source files also still match stopped-source; managed test source SHA is DA47822A597DA19B978AAC15DEFC36387CD73753C10B47D156ABDA9DC9C6F414 (not claimed independently PDB-checked in this diagnosis).

    Compiled IL and PDB source alignment, not just source filenames:

    • Native test async MoveNext: sequence point IL_082f=432, IL_0841=433, IL_08aa=434–435; actual ldstr IL_08b0 is document.getElementById('history-2004-c0') !== null.
    • Same MoveNext IL_0918=436–437, ldstr IL_091e=history-2003-c0; IL_0991=438–439, ldstr IL_0997=history-2004-c0. IL_0a0a=440–461 and IL_0bd8=464–465 bound unreached later assertions. These strings are present in the actual archived tested DLL.
    • Wait helper async MoveNext IL_007f=362–374 (observer installation/immediate check); IL_0146=375 (30-second managed token wait).
    • Gui renderer ContentId sequence point IL_0000=85, actual ldstr IL_0014=-; RenderContent IL_02b5=659 (standalone result -> generic collapsible), actual ldstr IL_02b6=chat-tool. Paired RenderToolResult IL_001b loads <details class="chat-tool-result" data-copy-target data-inspect-target, with source sequence points 315–337.
    • Production ApplyVisibility IL_011c=704–705 is new earlier-owner predicate, IL_0145=707 is its RebuildMetadata call; this confirms the archived candidate actually contains the new guard, rather than an old production DLL paired with current source.

    Native image and shell verification: independently hashed all 387 entries from raw native-copy-manifest.json against their actual current native-project bin\Debug\net10.0-windows source files AND actual r1764-k6\n destination files; zero length/SHA mismatches. Separately compared these actual archived-image/native-output/owned-copy files byte-for-byte by SHA:

    Agent.Gui.dll       07DC497F8404D934B1B05C8B13F8E9ED4B0DBA2AE9F9DBCD1FC187D3141F9F38
    Agent.Gui.pdb       03944D37F5C4B28B68E8739127F093230096C0B2B9B0C9757A290D4119EFA321
    Agent.Gui.WebViewTests.dll 26A9BCEF115CA51C8042BAE3452F417C51C2890A783572243165FEFDE9DA1450
    Agent.Gui.WebViewTests.pdb 819126C2D43CDC94766D879F8AD71761862AAF4DAFE7B056C8B0EE3122BEBEC7
    Avalonia.Controls.WebView.dll A02B945954BFBFC1904FBF3F599B5CD37669CD41D21A64322554FF13FAAD91E4
    

    The first four abbreviated names have the common Phantom.Workspaces. prefix. Actual Shared DLL SHA 6C4B46011223E3A8C598FE4017DFC8769C141C26DACFBF8793AAD1878B220C90.

    Using the Gui PE's managed-resource RVA/ManifestResource offset, I read actual embedded Phantom.Workspaces.Agent.Gui.Assets.chat-output-shell.html into memory:75522 bytes; SHA256 4B0D8371A1BA867640313C9EC688589FEF9AA994C76B6984FC046B1213294A8F, equal current asset AND baseline ZIP entry. It contains 10 inline script blocks and one inline style block; no external script/link tags matched. Thus relevant JS/CSS was not merely assumed from a loose source file. Native fixture LoadShellHtml 3888–3898 reads this resource from ChatOutputBrowserCommands' Gui assembly; ShowReadyBrowserAsync 2508–2516 loads it and awaits Ready.

    Transport / generation boundaries: fixture CreateModel 3732–3746 uses real ChatOutputHtmlModel with its local BrowserSink. BrowserSink 3763–3794 posts production JSON command formats but does not carry AgentChatOutputControl's output-generation binding. Shared bridge 112–136 batches on a UI-thread timer;192–250 delivers commands via InvokeScript;284–294 forwards native messages to JavaScriptMessageReceived. DrainHistoryAsync waits worker publication/queued UI posting (Virtual projection430–433, worker499–525, publication1075–1087), not an acknowledgement of every native DOM mutation. The observer handshake supplies the attempted native readiness barrier. Shell1555–1583 uses exact command.path, reports missing targets, and saves/restores details.open keyed by stable IDs across virtual replacement; it does not invent a -c0 alias. This test therefore must not be described as proof of production-control rebind/generation retirement merely because other cases in the same host test that separately.

    Actual archived CLI, read from native-owned-processes-live.json, not queried now: test app PID31816,parent49672 at owned r1764-k6\n\Phantom.Workspaces.Agent.Gui.WebViewTests.exe; WebView browser PID11624,parent31816, actual CLI executable C:\Program Files (x86)\Microsoft\EdgeWebView\Application\157.0.4341.60\msedgewebview2.exe, --webview-exe-name=Phantom.Workspaces.Agent.Gui.WebViewTests.exe, --user-data-dir="C:\dev\Phantom.Workspaces-Skills\worktrees\r1764-k6\n\Phantom.Workspaces.Agent.Gui.WebViewTests.exe.WebView2\EBWebView". Renderer PID36064,parent11624 has --type=renderer, same exact owned profile, --renderer-client-id=8, --device-scale-factor=1.25. Profile string length118, archived ancestry nonreparse. These are provenance observations, not an inspection of that profile or proof of a particular frame's post-promotion DOM. Original TRX definitions use the owned n DLL and other case stdout identifies host31816. No failing-case frame ID, generation ID, post-promotion raw DOM/readback JSON or per-condition failure payload was found in the enumerated raw log/TRX/XML files; successful helper results were not logged. No browser/CLI was launched or queried here; no installed runtime executable bytes/mapped modules were attested. Retained DLLs/PDBs and copied files establish an evidence chain, not a universal proof that every host-loaded module matched every archived assembly at every instant. Only the seven specified source documents/three PDB identities and the specified embedded asset were independently examined at that depth.

    Separate managed host: original GUI TRX run 140a324f-2789-4b8d-a6ce-d5b57edac651 is Completed,232 records, total/executed/passed232, failed0, all other counters0, ErrorInfos0. This does not prove native DOM/expansion or waive the Failed native host.

    Preservation: end-of-investigation authority still has exact SHA/length/write/creation ticks above. Index still has exact SHA/ticks above; HEAD/status unchanged; scripts\test-results.log still absent, consistent with raw default-before/default-after files. Independently rehashed287 prior-original manifest entries inside the authorized candidate:zero SHA/length/write-tick mismatches; four manifest paths outside the authorized candidate were deliberately not followed. No original, dump, sequence, receipt, image, source or index was copied, moved, removed or modified by this investigation. No source/build/test/execution ownership was acquired; none is retained. Parent retains authorization/state responsibility; implementation remains paused. GitHub changes are new evidence comments only.

  4. JoshuaRowePhantom commented on Nov 19, 2026

    @JoshuaRowePhantom
    OwnerAuthor

    Implementation notes — bounded fixture correction committed; fresh exact Fact passed; current CLI proof missing

    Commit b90a12ddb61cd92230d58c4c035af0cc8ed5a61a coherently includes preserved #1764 reconciliation/coverage plus this independently diagnosed test-only selector correction. Parent24a47202ea704cba47872a042680fe665d53af51; candidate C:\dev\Phantom.Workspaces-Skills\worktrees\pf1117-1545, branch batch/1702-1703-startup-first-1117.

    Only new edits to incoming WIP were exactly three literals in ChatOutputBrowserIntegrationTests.cs434/436/438: history-2004-c0 -> history-2004-0; history-2003-c0 -> history-2003-0; history-2004-c0 -> history-2004-0. The renderer is unchanged. Every existing paired -call/-result selector and full payload/inspector/order/uniqueness/retirement/asymmetric expansion/reverse assertion is preserved. No fallback/timeout/skip/suppression/new hook. Production and managed WIP files unchanged from incoming bytes.

    After necessary existing native project Rebuild --no-restore (0warnings/0errors), exactly one approved targeted scripts\run-tests.ps1 invocation selected VirtualHistory_NarrationPromotion_RetiresEarlierResultDomAndPreservesCallExpansion, using the owned short native image r1772-l7\n and no-build/fast. No wider class selection or managed duplication.

    Fresh original host94987851-938a-47d3-b43b-cfe6f1acff4c Completed; total/executed/passed1/1/1, all other counters0;1 record/definition/entry;0 ErrorInfos/error RunInfos/attachments,1 completed-Blame/no-sequence Warning. No new dumps/sequences. Original:
    C:\dev\Phantom.Workspaces-Skills\worktrees\pf1117-1545\Phantom.Workspaces.Agent.Gui.WebViewTests\TestResults\jrowe_DAEMON_2026-11-19_05_16_59_net10.0.trx
    SHA256 F6B6850F2FE63FADE6841778301B2B8D626CC9865C642C85D3D3C9568E42A2A8;4033bytes;UTCticks639306910192574987.

    The Fact now reaches both promotion and reverse contracts, including both exact multiline standalone payloads and serialized inspector equality, obsolete paired-node removal, owner payload retirement, narration/result encounter comparisons, unique IDs/two pre bodies, asymmetric expansion/group preservation, reverse suppression/restored paired payloads and exactly-two paired results. Final TRX StdOut reports NATIVE1764 host22436 and actual selected r1772-l7\n assembly. Successful clause-level DOM JSON was not printed. This is fixture/model native consumption, not production-control generation/rebind proof.

    Fresh12 PE/PDB identities,650 physical PDB document checksums/copies,31 explicitly nonphysical/unverified documents,387 copied-image hashes and embedded-shell/source equality retained. Test DLL3C60727538EDB8DC1ECEA3A0EA730A1FCC24E0D4EE0E44EB6742782684BCA70C;PDB89B80E48CD9B73BB5A25F533F801D208843C174041E46C6E106E55BAA720F0CC;GUID522619c1-fd61-4563-bdd7-2e32beb47092;stamp3487801103.

    REQUIRED EVIDENCE GAP: prearmed reused external owned-filesystem-event/descendant-process observer missed browser CLI/profile (BrowserCliCaptured=false). No current browser executable/profile claim is made; selected assembly/PID and historical browser CLI are not substitutes. No rerun for proof. Parent must retain this incomplete attestation in acceptance.

    Original failed6/5/1 host and SHA2093DD86140C6A92377722CD15004B029A1F925EF29B863FA0FCC3A97A982B73 remain immutable FAILED; old managed232/232 remains scoped managed evidence, not an upgrade of that old host. Source commit is green for the executed exact Fact, not entire-batch qualification.

    Evidence C:\dev\Phantom.Workspaces-Skills\worktrees\r1772-l7 contains baseline/index/preimages, exact3-selector delta, tested/committed matching patch, source/PDB/DLL/full copied image, build/command/times, raw original TRX/full XML/health, observer-start/final and missing-proof receipt. Default candidate test-results.log stayed absent in finally;287 historical candidate originals unchanged; clean candidate status/index after owned-only commit. No push/integration/closure, certificate/store access, cleanup or unrelated scope execution. Source/build/native ownership released to parent for #1765/#1766/#1756 and next independent batch gate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions