Skip to content

Preserve bounded tool output, Retry and saved-data privacy - #6469

Draft
BunsDev wants to merge 24 commits into
mainfrom
fix/issue-6064-webkit-retry-nova
Draft

BunsDev wants to merge 24 commits into
mainfrom
fix/issue-6064-webkit-retry-nova

Conversation

@BunsDev

@BunsDev BunsDev commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Lazy-output Retry could lose a stationary click during deferred highlighting, large admitted native output could paint blank, and rejected saved payloads disappeared without explanation. Preserve the Retry gesture and bounded native glyph rendering, show explicit saved input/output withholding notices across web and iOS, and prevent known-withheld output from initiating a lazy read. A validated native lazy-output 401/403 revokes its owning cached chat through the shared denial callback, clearing held transcript/session state, the draft mirror and selective disk snapshots, with fixed warning feedback.

Keep the 256 KiB disclosed-output and 2 MiB envelope bounds. Apply the cap after redaction, clear contradictory previews and reject forged disclosure metadata. Read projection preserves stored bytes; structured display can canonicalize JSON formatting and numeric representation. Validate native response identity before revocation, revoke before cancellation checks, and preserve conversation/draft on 404/409/400/5xx. Existing write-only/flow/harness refusal exceptions remain unchanged.

Published signed head 85c0b91f853c7e638ed7e4a5b90d435ee301d52e has tested merge 0a30240aa8b1292285f0f86d5a8d408a72efd574 with main ea2f41fbcf618cc80a1b6ab6ce03b912a347ea26; merge and candidate trees match. The bounded DEBUG pan observer remains diagnostic. It records class/state/geometry metadata with a 240-second lifetime, 1,600 reservations and a 2 MiB cap, without changing recognizer policy, gestures, offsets or original UI-test bytes. Timing perturbation and potential hit tests cannot prove actual delivery or replace uninstrumented acceptance.

Repair the independent marker collector after XCTest shuts down its selected simulator. A small helper discovers exactly that UUID: Booted retains the live query; Shutdown uses the host macOS reader against the exact unredirected per-device log store. Ambiguous/malformed/transitional metadata, redirected data and substituted/escaped stores fail before reading. The fixed CovenCave/marker predicate, 70-minute lookback and true query failure status remain. Discovery and reading now use 20/1/4/5 seconds for read/interrupt-grace/terminate/kill within the same 30-second owner, unchanged one-minute step, 108-minute job and exact one-minute reserve. Debug remains 1,080 seconds, strict 3,600 and Release 900; no native assertion or allowance changed.

The prior helper-change verification passed nine real-shell/owner/helper contracts, 1,529 app and 107 mobile file executions, hygiene, wiring, lint and typecheck. The 7,229-file executable-check snapshot stayed unchanged; 44 evidence files were added afterward. A disposable normally signed iOS 27.2 probe emitted one marker: the live query found it, the original shutdown query failed 149, and the offline reader recovered the exact marker/PID. The actual fixed workflow/helper succeeds against the owned Shutdown store, and installed app images/signature match the retained candidate. The first temporary-path probe launch failure and a fresh review’s reproduced path-redirection defect remain retained; the repaired five-file source scope passed follow-up review. These reviews are shared-account source reads. The shutdown-collection packet contains 44 files and 43 verified checksums, with original versus published hashes and reversible whitespace-sensitive log/trace records. Hosted iOS 26.5 collection remains incomplete because the actual offline query exceeded its existing limit, as recorded below.

Product qualification at parent e9465e80c9d062ad579f3d1d24b0e83a2207dc15 remains separately bound: 2,270 integrated file lanes with recorded host exclusions; the denial repair retained 12 fail-first assertions, then passed 40 units, seven rendered fixture UI methods and 107 mobile file lanes. The full canonical native suite passed 1,236/1,236 including controlled TCP2; separate recovery passed TCP2 and rendered UI with counters 1/1 and owned cleanup. Production build 3-T67iek5dxTkexqi_cUf passed nine real-HTTP and 60 functional plus two measurement browser cases. The revocation packet records exact identities and the missing pre-rebuild RED implementation-dylib hash. Controlled fixtures and small rAF samples do not establish physical-provider or OS frame/main-thread acceptance.

The prior 5d native diagnostic failed the collector’s shutdown query 149. Both ZIPs and all 1,869 frozen result files plus nine logs were verified. Debug has 60 cases/61 attempts: delayed-history opening first failed the original five-second “Scroll to latest” disappearance check, then its configured retry passed. Strict completed exactly 7×3, 21/21 passed without retry; Release passed two methods on first runs. Three small-drag iterations issue nine events each but show 9/8/8 outer-pan pairs; passing return events can lack a callback while later polling continues. Cause and actual delivery remain unproven. The old uninstrumented e946 native run remains strict 20/21, and original local Release long-trace qualification remains 1/3. Neither is cleared by instrumented passes.

The parent 5bbe2df6 general CI passed all 21 jobs, and CodeQL succeeded. Seven frontend archives were checked against GitHub sizes/digests and extracted-file hashes: 1,204 planned cases, 1,146 executed passes, 58 skips, zero unexpected/flaky cases and zero retries. All 35 scoped acceptance cases and 43 activity cases passed on first attempts. The hosted iOS unit verifier reports 1,236 passes with zero failures/skips/deferred/quarantined cases; its controlled TCP receipt reports provider/tool counters 1/1 and all cleanup gates true. That unit xcresult was not archived, so these are hosted log/verifier results rather than an independent raw per-case unit audit.

The parent 5bbe2df6 native transcript run is terminal with a failure only in the independent marker collector. Its frozen raw results and original logs agree: Debug 60/60 attempts passed, strict seven methods × three repetitions = 21/21 passed, and Release 2/2 passed, with zero skips or retries. Both original ZIP digests, all 395 frozen result files and nine frozen logs were verified; global and per-bundle issues are empty. Read queries added only their expected cache files without changing original bytes. The marker helper admitted the exact selected simulator’s Shutdown store, matching the recorded result device, and entered the fixed-predicate offline log reader. The existing 15-second owner interrupted that query after 15.061 seconds: exit 124, child interrupted, no completed reader exit. No independent writer-error absence is established. A read-only comparison against the retained local iOS 27.2 store (759 MB) completes in 1.694 seconds; it does not replay or fix the unavailable hosted iOS 26.5 store. No manual workflow rerun or duplicate push was launched.

The current collector-only follow-up reallocates the existing 30 seconds after the hosted reader exhausted its 15-second phase and drained in about 0.061 seconds. A real-shell/helper/owner contract first failed a 17-second external reader with timeout 124; 20/1/4/5 admits its completed query while retaining timeout failure and exact owned-reader absence for an unresponsive reader. The first attempted GREEN imposed an unsupported minimum shutdown-duration oracle; an explicit PID check and Python subprocess behavior showed the child was already gone. That mistaken orphan interpretation and both oracle-failure runs are retained. No helper, command-owner, native source or UI-test bytes changed. The exact final ten contracts plus renderer build passed in 41.355 seconds under the unchanged 60-second prerequisite; hygiene 3/3, wiring 2,270 and lint passed. A fresh source-only shared-account review and its follow-up packet check found no findings. The budget packet has 30 files and 29 checksums verified from committed blobs; the 7,273-path check snapshot predates the packet, and the committed tree has 7,303 files. The actual hosted 20-second query also timed out; its terminal receipt is described below.

Automatic exact-head general CI 43870545686 passed all 21 jobs and CodeQL 43870537393 succeeded. All seven frontend archives were independently checked: 1,204 planned, 1,146 executed passes, 58 skips and zero failures/flakes/retries, including all 35 scoped acceptance and 43 activity cases on first attempts. The hosted native unit verifier reports 1,236 passes, no failures/skips and controlled TCP counters 1/1 with cleanup; its raw unit xcresult was not archived. The exact remote commit/PR head, update-by-push reflog and tested merge binding remain verified; the extra-push guard stopped before another push, and the initiating publication actor is not identified by that scoped readback. No manual workflow rerun occurred.

The current native transcript run 43870545584 is terminal with a failure only in the independent marker collector. Frozen raw results and command starts/ends agree: Debug 60 unique cases/60 attempts passed, strict seven methods × three repetitions = 21 executions passed, and Release two methods passed, with zero retries/skips/expected failures. Both GitHub ZIP digests, all 391 original result files and nine frozen logs were verified; global and per-bundle issues are empty, and read queries added only database.sqlite3 caches. The exact selected/result UUID matches. Its canonical offline fixed-predicate reader reached the output header, then the 20-second owner interrupted it after 20.092299375 seconds: terminal exit124/child-2. No completed reader exit or writer-error absence is established. This does not resolve the prior15-second timeout; the underlying hosted store/CPU evidence was not retained, so latency causation remains unproven. Do not increase allowances or rerun unchanged from these passing instrumented counts.

This stays a draft for #6064. The marker query’s hosted latency and completion remain unresolved. Original delayed-history/root-cause attribution, uninstrumented strict/Release qualification, packaged/native frame and main-thread costs, physical/human accessibility acceptance and parent-owner/Val admission remain open. The packaged capture failed with ScreenCaptureKit -3811; a subsequent controlled packaged measurement was blocked before interaction by CUA native-pipe startup failure, with zero recording attempts and verified cleanup. The original simulator CPU trace failed finalization; a separate host-PID selection attempt failed lookup before tracing while the target remained alive. Those Time Profiler paths admitted no app CPU samples. Separate local XCTest drivers on the unchanged retained e946 Release app now provide one mounted-rich scrolling CPU sample and five app-process CPU/launch/harness-clock samples for each small12/mixed120/rich120 initial-render journey. All 18 launches in the latter were contemporaneously bound to closure windows and the retained app binary; original products are unchanged and owned cleanup passed. The audited checkpoint keeps warm-ups, raw arrays and costs separate. These app-process measurements include fixture bootstrap/navigation; they do not isolate main-thread/WebContent/render costs or establish frame/hitch/device/human acceptance. No protected-main merge, release, deployment, protection change or issue closure is claimed.

Refs #6064.

Capture request and pointer-target evidence when the existing Retry assertion fails, and retain the current-main reproduction and raw 500-tool baseline samples. The product repair and full golden-14 qualification remain incomplete.

Refs #6064

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Trim the extra final blank line and refresh the evidence digest.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Capture the stationary primary pointer until release so input highlighting cannot retarget Retry to its disclosure. Preserve drag/cancel and keyboard behavior, correlate concurrent pointer types, and exercise the actual deferred highlighting transition on Chromium and WebKit.

Refs #6064

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
@BunsDev BunsDev changed the title Retain WebKit lazy-output Retry failure evidence Fix lazy-output Retry presses interrupted by input highlighting Nov 12, 2026
Keep accepted output visible before and after inner scrolling while preserving full selection and privacy clearing. Add native oversized/deep and real-pixel regressions plus mixed long-trace and pre-existing-draft browser qualification for #6064.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Replace canonically equivalent text when its projected UTF-8 differs. Retain the failing precomposed-to-combining regression and the full native output/privacy qualification for #6064.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Bind browser, real-server and native source/artifact receipts to their exact candidates, retain first failures and failed frame-recording attempts, and document the remaining packaged, admission, device and human gates for #6064.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
@BunsDev BunsDev changed the title Fix lazy-output Retry presses interrupted by input highlighting Fix Retry presses and blank large native tool output Nov 13, 2026
Derive bounded history disclosure metadata, suppress contradictory previews and known-withheld lazy reads across web and iOS, and keep ordinary admitted loading behavior. Honor shared-redactor changes on deep or shadowed JSON and bound the actual post-redaction UTF-8 result. Structured display follows canonical redactor serialization; read projection does not rewrite stored records.

Retain causal privacy failures and strengthen real API, browser Latest, native history, and no-fetch coverage. Full local app/API/mobile 2243 files, conformance 9 files with explicit host exclusions, final production build, lint/typecheck, 60 browser functional cases, two browser measurement cases, and actual server/native paths passed. Full golden-14 admission and device/human/render-cost acceptance remain separate.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
…imits

Bind the signed source repair and final production/native artifacts to whole local checks, real storage/access paths, packaged UI journeys, six notice-palette captures and preserved first failures. Record the failed ordinary-signature native/host profiling attempts, exact target and timing limitations, corrected wrong-bundle teardown, and remaining admission/device/human gates.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
@BunsDev BunsDev changed the title Fix Retry presses and blank large native tool output Preserve Retry and bounded tool output with explicit saved-data withholding Nov 14, 2026
Combine main's explicit history-tool allowlist with recognized saved-payload disclosure flags. Exclude contradictory input/output and lazy lengths before rail, skill, edit and prompt-context consumers while preserving settled status, safe empty values and request-bound session identity. Retain an exact-object regression for unknown flags and opaque siblings.

The incoming allowlist alone failed the existing withholding regression; the combined implementation passed both focused cases. The complete canonical app/API/mobile/conformance run passed 2262 files with explicit host exclusions, alongside lint, typecheck and wiring. Production/native artifact qualification is recorded separately for this reconciled candidate.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Bind the I9 production/package and hosted source checks to 8733359. Preserve Debug/Release long-trace failures, failed TCP teardown, valid diagnostic scroll trace, post-timeout observations and exact cleanup limits.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Use the documented hittability predicate directly while preserving adaptive search, gestures, final assertions and original allowances. Retain the fixed-count diagnostic failure and source-bound Debug/Release passes without claiming product responsiveness.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Separate successful stop from definitive process exit under a monotonic observation deadline. Preserve uncertainty and failed roots, bound the regression fixture lifecycle, and retain the successful canonical native transport run plus all original failures.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Add five bounded command and job minutes after the retained run completed twenty cases but reached its deadline before the final accessibility audit. Keep all selectors, three iterations, product assertions and owned-shutdown collection intact, and require a new exact-head result.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Give the unchanged Debug selection a reviewed 1080-second outer allowance after the 900-second run ended with 59 passes and its final case unfinished. Keep the strict 3600-second ceiling and every selector, assertion, UI wait, retry policy and renderer bound unchanged.

Retain the failed native run, exact logs and artifact verification, the independent resource review, and the workload regression red/green evidence. Strict testing completed 20/21 successfully with one small-drag assertion failure; this resource change does not repair or qualify that behavior. Related contracts passed 22/22 and all 2262 test files remain wired.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Preserve the original three-iteration small-drag diagnostic with normal signatures, restored canonical source and trace provenance. All three local iterations passed and observed every original pan gesture; the hosted 23F77 failure did not reproduce on installed 23F73 and remains unresolved.

Retain the two reviewed temporary instrumentation revisions, build/test receipts, collection omissions and owned-simulator cleanup. The instrumentation is absent from product source. This does not replace the full 21-execution matrix or frame/device/human acceptance.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Reconcile main ea2f41f, including the landed iPhone conversation-revocation fences, with the existing disclosure, redaction, Retry and bounded rendering work. Preserve main's native cache and generation guards and the issue-owned qualification history.

Canonical lanes passed 1529 app, 625 API, 107 mobile source and 9 conformance files, with host exclusions retained. Lint, typecheck and all 2270 test-file wiring passed. Combined-source review found no integration blocker. Fresh native/client qualification and the lazy-output denial callback policy review remain open; prior hosted and rendered evidence keeps its recorded candidate boundaries.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Reuse the conversation denial callback for validated lazy-output 401/403 before cancellation can discard a received refusal. Preserve response identity, bounds, fixed errors and nonpurging statuses; explain removed held chats through the existing warning banner.

Retain the fail-first 12-assertion result, 40 passing native unit tests, seven passing UI methods and 107 passing mobile source lanes. Stronger denial UI assertions require revoked rows to disappear. Broader server, strict scroll, frame, device and owner qualification remains open.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
@BunsDev BunsDev changed the title Preserve Retry and bounded tool output with explicit saved-data withholding Preserve bounded tool output, Retry and saved-data privacy Nov 16, 2026
Observe existing DEBUG scroll recognizers only when the existing trace file is open, bound metadata collection, and retain independent write-error receipts across strict-stage failures. Preserve every original UI-test byte, gesture, assertion, retry policy and resource ceiling.

Record the reviewed source, fail-first collector contract and normal-signature local three-iteration diagnostic without treating instrumented success as acceptance.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Preserve the first local publication preflight failure and explicitly include the four ignored evidence logs. Keep the original diagnostic commit and verify the final committed packet before its first push.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Add the required disclaimer that checkbox state is not completion evidence; keep #6064 as the durable work record and preserve execution authority. The existing hygiene test reproduces the omission before the notice and passes 3/3 after it; the corrected local app lane passes all 1529 file executions.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Read only the selected simulator’s offline store after XCTest shuts it down, retain the existing live query while booted, and reject redirected data or stores before collection. Preserve the fixed marker, true query status, command budget and every native test assertion/deadline. Retain the hosted first failures, positive signed-probe channel proof and resolved source-review finding. Local verification passed 9 focused contracts, 1529 app and 107 mobile file executions plus hygiene, wiring, lint and typecheck.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
Reallocate the marker owner to 20/1/4/5 seconds while preserving its 30-second total, native test ceilings, 108-minute job and one-minute reserve. Exercise delayed completion and owned-reader cleanup through the real workflow shell, helper and owner; retain the hosted timeout, fail-first result and corrected test-oracle failures.

Coven-Familiar: nova
Coven-Harness: codex / model-unavailable
@BunsDev

BunsDev commented Nov 20, 2026

Copy link
Copy Markdown
Member Author

Queue-sweep disposition, 19 November 2026. Read-only review; no code, branch or thread changes.

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant