Skip to content

safe-bash Playwright: implement Cloudflare-supported standard CLI capabilities and output parity #769

Closed

Description

@kamilio

The current public Cloudflare consumer uses safe-bash 0.1.669. A fresh differential check against the official @playwright/cli@0.1.20 confirms that only 14 built-in commands are implemented by default. Most official commands exist only as catalog metadata or host hooks. The user now explicitly requires all Cloudflare-supported capabilities and standard help/behavior, superseding the earlier subset-only direction in #735.

Concrete mismatches:

  • --help removes most original commands and appends internal Client capabilities, lifecycle and host-limit explanations. Several implemented forms are marked [limited].
  • Global --json, --raw, and --version are not implemented.
  • State, cookies, local/session storage, mouse actions, most element actions/navigation, eval/code, PDF, request inspection/routing and tracing are absent from the built-in implementation despite relevant Cloudflare browser APIs.
  • Output/artifact behavior also diverges: the default screenshot emits raw PNG on stdout, while the standard CLI reports a saved artifact. Cosmetic help edits alone do not establish compatibility.

Required implementation and verification:

  1. Inventory every command and option from the pinned official CLI; implement every capability the current Cloudflare provider can execute. Keep one standard parser/command interface, with differential help, result, error, artifact and session tests.
  2. Implement standard state-save/state-load, cookies, localstorage and sessionstorage commands with exact replacement semantics. Provide host-side hooks needed for owner-scoped Workers KV persistence; provider IDs, credentials and user/agent ownership remain controlled by the consumer. IndexedDB behavior must match the selected standard options rather than being silently assumed.
  3. Preserve bounded input/output, cancellation, owned-browser retirement and authenticated user-and-agent isolation. Updated user direction: remove custom URL/domain/scheme blocking, browser HTTP proxies, deny-all guardrails and WebSocket/service-worker bans. Use normal Cloudflare browser networking and standard Playwright request APIs; do not impose lifetime network or invocation quotas. Scripts must not access another owner's sessions/storage.
  4. Expose required native browser capabilities through a coherent adapter. Do not require every consumer to reimplement the standard CLI as custom abilities.
  5. Test actual Chromium and the actual Cloudflare adapter and published standalone package. Distinguish provider-unsupported desktop/test/video functionality from missing library implementation; do not advertise fabricated success for unsupported effects.

Root task ownership: this Codex task is handling CLI parity/capabilities and the Poe consumer's KV integration in isolated worktrees. Existing #746/#763 work remains with its current owners. Browser snapshot fix #762 is being qualified from its public release separately.

The next comment contains the exact official global help output captured from @playwright/cli@0.1.20; the current source diff and command-by-command audit are being retained with consumer evidence.

Activity

  1. self-assigned this
    on Sep 18, 2026
  2. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Official @playwright/cli@0.1.20 stdout from playwright-cli --help (exit 0):

    playwright-cli - run playwright mcp commands from terminal
    
    Usage: playwright-cli <command> [args] [options]
    Usage: playwright-cli -s=<session> <command> [args] [options]
    
    Core:
      open [url]                  open the browser
      attach [name]               attach to a running playwright browser
      close                       close the browser
      detach                      detach from an attached browser
      goto <url>                  navigate to a url
      type <text>                 type text into editable element
      click <target> [button]     perform click on a web page
      dblclick <target> [button]  perform double click on a web page
      fill <target> <text>        fill text into editable element
      drag <startTarget> <endTarget> perform drag and drop between two elements
      drop <target>               drop files or data onto an element
      hover <target>              hover over element on page
      select <target> <val>       select an option in a dropdown
      upload <files...>           upload one or multiple files
      check <target>              check a checkbox or radio button
      uncheck <target>            uncheck a checkbox or radio button
      snapshot [target]           capture page snapshot to obtain element ref
      find [text]                 search the page snapshot for text or a regexp, returning matching nodes with surrounding context (like search snippets)
      eval <func> [target]        evaluate javascript expression on page or element
      dialog-accept [prompt]      accept a dialog
      dialog-dismiss              dismiss a dialog
      resize <w> <h>              resize the browser window
      delete-data                 delete session data
    
    Navigation:
      go-back                     go back to the previous page
      go-forward                  go forward to the next page
      reload                      reload the current page
    
    Keyboard:
      press <key>                 press a key on the keyboard, `a`, `arrowleft`
      keydown <key>               press a key down on the keyboard
      keyup <key>                 press a key up on the keyboard
    
    Mouse:
      mousemove <x> <y>           move mouse to a given position
      mousedown [button]          press mouse down
      mouseup [button]            press mouse up
      mousewheel <dx> <dy>        scroll mouse wheel
    
    Save as:
      screenshot [target]         screenshot of the current page or element
      pdf                         save page as pdf
    
    Tabs:
      tab-list                    list all tabs
      tab-new [url]               create a new tab
      tab-close [index]           close a browser tab
      tab-select <index>          select a browser tab
    
    Storage:
      state-load <filename>       loads browser storage (authentication) state from a file
      state-save [filename]       saves the current storage (authentication) state to a file
      cookie-list                 list all cookies (optionally filtered by domain/path)
      cookie-get <name>           get a specific cookie by name
      cookie-set <name> <value>   set a cookie with optional flags
      cookie-delete <name>        delete a specific cookie
      cookie-clear                clear all cookies
      localstorage-list           list all localstorage key-value pairs
      localstorage-get <key>      get a localstorage item by key
      localstorage-set <key> <value> set a localstorage item
      localstorage-delete <key>   delete a localstorage item
      localstorage-clear          clear all localstorage
      sessionstorage-list         list all sessionstorage key-value pairs
      sessionstorage-get <key>    get a sessionstorage item by key
      sessionstorage-set <key> <value> set a sessionstorage item
      sessionstorage-delete <key> delete a sessionstorage item
      sessionstorage-clear        clear all sessionstorage
    
    Network:
      requests                    list all network requests since loading the page. each request is numbered for use with the `request` command.
      request <index>             show full details (headers, body, response) of a single network request by its number from the `requests` command.
      request-headers <index>     print only the request headers for a single network request by its number from the `requests` command.
      request-body <index>        print only the request body for a single network request by its number from the `requests` command.
      response-headers <index>    print only the response headers for a single network request by its number from the `requests` command.
      response-body <index>       print the response body for a single network request by its number from the `requests` command. textual bodies are inlined; binary bodies are saved to a file and the path is printed.
      route <pattern>             mock network requests matching a url pattern
      route-list                  list all active network routes
      unroute [pattern]           remove routes matching a pattern (or all routes)
      network-state-set <state>   set the browser network state to online or offline
    
    DevTools:
      console [min-level]         list console messages
      run-code [code]             run playwright code snippet
      recording-start             start recording user actions
      recording-stop              stop recording user actions and print them as playwright code
      tracing-start               start trace recording
      tracing-stop                stop trace recording
      video-start [filename]      start video recording
      video-stop                  stop video recording
      video-chapter <title>       add a chapter marker to the video recording
      video-show-actions          annotate subsequent cli/mcp actions on the page with a callout that names the action and highlights the target element
      video-hide-actions          stop annotating actions performed on the page
      show                        show playwright dashboard
      pause-at <location>         run the test up to a specific location and pause there
      resume                      resume the test execution
      step-over                   step over the next call in the test
      generate-locator <target>   generate a playwright locator for the given element
      highlight [target]          show (or with --hide, remove) a highlight overlay for an element; `--hide` without a target hides all page highlights.
    
    WebMCP:
      webmcp-list                 list the webmcp tools registered by the page
      webmcp-call <name>          call a webmcp tool registered by the page
    
    Install:
      install                     initialize workspace
      install-browser [browser]   install browser
    
    Browser sessions:
      list                        list browser sessions
      close-all                   close all browser sessions
      kill-all                    forcefully kill all browser sessions (for stale/zombie processes)
    
    Global options:
      --help [command]            print help
      --json                      output response as JSON
      --raw                       output only the result value, without status and code
      --version                   print version
    
  3. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Verification coordination: current source and published @poe-platform/safe-bash@0.1.676 audit against @playwright/cli@0.1.20 confirms 92 catalog commands, 14 default built-ins, and 76 command-option bindings. No duplicate browser implementation edits are being made.

    For the active implementation described below, please hand off the owning task, concrete commit SHA (or explicitly uncommitted status), reserved file/write scope, remaining work and commit ETA.

    Important real-Chromium oracle result for that owner: default state-save excludes IndexedDB and has no --indexed-db flag (that flag exits 1). state-load removes stale cookies/localStorage and clears IndexedDB omitted from the saved state, but preserves existing sessionStorage entries. Replacing the whole context must not silently lose that behavior. Standard traces produce .trace/.network/resources artifacts, not a default ZIP. Source and published CLI native checks, plus the actual Cloudflare adapter cancellation fixture in local workerd/Chromium, have run; this is not deployed Cloudflare/Poe consumer qualification.

  4. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Implementation is active in the dedicated poe-code worktree. The first milestone adds shared standard CLI output/help/global flags, real browser actions and storage commands, context replacement for state-load, and host persistence callbacks. Native Chromium has passed the new state/action/eval/PDF checks. Additional event/network/tracing/runtime capabilities remain in progress; this is not a full-parity claim.

    Release 0.1.676 is publicly available and its publication verification succeeded (run 35339413950). A direct Cloudflare before/after fixture confirms #762: JavaScript runs in both versions, and 0.1.676 excludes hidden noscript/script/style text from snapshots.

    The separate Poe page rendering failure was traced to the poe2 consumer, not to JavaScript being disabled or a defect in the library interceptor: the shared URL guard rejected Poe's public static CDN, and the 16-request pending queue dropped additional assets. Narrow browser-only asset admission and a bounded 64-request queue now load 27 static CDN assets with HTTP 200. On Cloudflare the page hydrates, the logo loads, and entering an email enables Go (no submission). Generic web_fetch and internal host restrictions remain unchanged. Those consumer fixes will be included in the consumer PR.

    The owner-scoped KV profile store has passed Workers runtime checks for cold recovery, KV propagation misses, owner isolation, expiry, deletion, concurrent saves, and cancellation. Controller integration and complete cloud qualification remain outstanding. Existing #746/#763 stay with their current resolver.

  5. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Cloud qualification update: an owned authenticated test Worker on the Poe Dev account now passes native JavaScript, hierarchical snapshots, cookies/localStorage, state save/load, console capture, actual trace ZIP creation, and native action recording. Recorder output contains the actual button click as Playwright code.

    Owner-scoped KV profiles passed graceful controller replacement and a forced Durable Object abort: the replacement object had a different instance ID and restored the saved storage. Separate owner DOs did not see each other's cookies. Explicit close prevented implicit reopening; explicit open retained saved cookies; delete-data cleared the profile. The probe cleaned both owners afterward.

    The cloud test exposed and reproduced a real disposal race: final storage checkpoint and browser release ran concurrently. The new regression holds the checkpoint pending and verifies that browser release waits for it.

    Network mocks now run within the mandatory host URL policy, with context identity taken from CDP. Matching a route does not admit an internal/protected URL, and mock responses use the normal transfer/byte accounting path.

    This is evidence against the local unreleased implementation, not a publication claim. Remaining work includes the complete supported options/capability matrix, isolated run-code transport, final integrated edge cases, review, and release. Production-account qualification is blocked before runtime by Cloudflare auth error 10000. The urgent Poe asset/queue repair is independently ready in poe-internal/poe2#14903 and CI is being addressed.

  6. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Further real Cloudflare qualification passed: IndexedDB survives controller restart; native prompt acceptance and binary file upload work; PDF and PNG commands produce valid files. Viewport, locale, color scheme, and cookies now survive restoration together. Cold session listing exposed a missing persisted-session index; the fix has reproduce-first Workers coverage and does not allocate browsers to list saved sessions.

    The isolated run-code prototype executes the actual pinned Playwright library in a Worker Loader guest with outbound network disabled. Native locators, page evaluation, cookies, new pages, context options, and context closure were verified against the parent browser. Revocation blocks delayed guest commands; implementation is now being integrated with owner limits and retirement on cancellation.

    Provider limitation found by the expanded artifact probe: Cloudflare's pinned Playwright download saveAs, saveAsStream, and stream read a Worker-local filesystem path, while Chromium created the download in its remote filesystem. Standard CDP supplies a path but no generic file-reading stream handle, and the documented Browser Run API exposes no download retrieval operation. No replay or URL refetch workaround will be substituted for the original download. This needs provider transport support; the consumer will report the limitation explicitly instead of leaking an ENOENT.

    Public safe-bash/safe-fs 0.1.679 is available and includes the separately owned staging fixes. #746 and #763 remain open for their remaining actual consumer/cloud acceptance. The expanded Playwright implementation in this issue is still uncommitted and unpublished; current tests do not establish a release or production deployment. Urgent Poe hydration PR: poe-internal/poe2#14903.

  7. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Implementation coordination: no concrete candidate commit or write-scope handoff has arrived yet. The resolver is now implementing a bounded native milestone in its isolated issue checkout: standard global output/flags, navigation, keyboard/mouse, and supported target actions. Existing independent native acceptance/oracle fixtures are retained. This work does not rewrite network policy or Cloudflare transport. Please hand off any existing candidate SHA and reserved files so overlapping work can be integrated rather than duplicated. Full storage/network/runtime coverage and deployed qualification remain required; this is not a closure or parity claim.

  8. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Coordination: the complete implementation is actively owned in /Users/kjopek/Workspace/poe-code-playwright-capabilities (base c98f143), covering packages/safe-bash/src/playwright/**, the Playwright CLI entrypoint, associated plugin/native tests, session contract, and integration-input registration. Please do not start another implementation of those files; the current patch is uncommitted while final native/config regressions are being closed. I will post the delivery SHA and release proof here.

    The current focused core suite passes 310 tests; native transport checks cover cancellation, deadlines, output/page quotas, same-owner reuse, ordinary user exceptions, and emulation changes. Direct Cloudflare live tracing now passes: real .trace and .network files are published during recording, the trace grows after navigation, and stopping retains the final files/resources. The native screenshot resource basename includes @, which the old artifact validator rejected; this is fixed in producer and consumer.

    Remaining active work is final standard configuration/default parity and a Cloudflare-only screen-emulation reset after a run-code interaction. A separate read-only consumer security/lifecycle review found no actionable high/medium findings. Expanded work is not yet published; public 0.1.680 is the separate mainline release. Urgent Poe asset-loading PR poe-internal/poe2#14903 has an updated review-fix commit; its preceding CI run passed.

  9. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Cloudflare run-code qualification now passes the complete CLI flow: native locators and page mutation, repeated runs, ordinary script exceptions, new tabs, cookies, and mobile emulation. The repeated-connection regression was a Chromium inspector cache issue: guest disconnect clears actual device metrics but the retained inspector session still caches its earlier override. Repeating the same set operation is ineffective; clearing device metrics on that retained session immediately before restoring the native settings fixes it. Both viewport-only and exact Pixel-device cases passed through subsequent storage checkpoints/snapshots and a later check.

    The root cause and passing evidence are preserved locally, and a repeated-run native regression is added. The guest's returned emulation state also has a separate 64 KiB strict validation boundary. Native code generation now uses the pinned provider's real language generators (JavaScript/TypeScript, Python, Java, C#), with exact action output tested against the official CLI.

    Final checks are closing the remaining known advertised snapshot JSON and INI configuration differences before the source commit/release. No publication or production-deployment claim yet.

  10. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Candidate implementation is committed locally as 7d0897d, rebased onto current main a57fe89. It is not pushed or published yet. Reserved scope remains the Playwright source, CLI entrypoint, associated tests/contracts and third-party attribution; please do not duplicate this implementation.

    Validation: 324 focused tests, strict source types, maintained workspace build, guarded ESLint (0 errors), and the rebased runner checks pass. Direct Cloudflare JSON/INI configuration, native JSON accessibility trees, Python action output, custom test IDs, configured scripts and restart/cookie retention pass. The consumer also fixes guest-created page/context init scripts disappearing on disconnect; native regression covers duplicate registrations, ordinary errors, last-page closure and bounded metadata (13 native cases pass).

    Final cloud acceptance exposed one remaining timeout interaction: a 1.5-second native action timeout currently bounds the entire isolated init-page module startup. Checking this against the official behavior before publication. The separate Poe page-loading PR poe-internal/poe2#14903 is fully green and both exact-head reviews are clean.

  11. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Implementation delivered to remote main in 7d0897d, followed by the independently bounded code-execution timeout fix in 75d1fa3. Remote main was verified after push. The scoped safe-package release has been dispatched; publication is not yet verified.

    Final combined Cloudflare checks pass: JSON/INI configuration, native JSON snapshots, Python code generation, custom test IDs, CJS init-page scripts, cookie/config restoration, and native timeout state in both directions. A script that changes defaults and then throws preserves them: a later isolated call reports the exact native 25 ms click timeout and 40 ms navigation timeout. Guest-created init scripts survive disconnect with duplicate multiplicity and context semantics preserved; 14 native runner tests pass.

    Final guarded ESLint completes with 0 errors (4 unrelated existing warnings), strict source types and focused tests pass, and all 546 maintained runner checks pass after rebase. Remaining host/provider constraints are explicitly recorded in the capability matrix; this is not a claim that local dashboard/OS facilities or the provider’s missing download/video transport exist.

  12. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Native browser follow-up: removing our network proxy confirms ordinary HTTP navigation, the Poe development login page, and the Cloudflare API are reachable through Cloudflare's native browser network. Public poe.com can still return its own Cloudflare challenge/403; JavaScript executes successfully, so that response is distinct from our former URL/CDN blocking.

    One compatibility bug reproduced independently in native Chromium: a same-document SPA navigation during snapshot capture makes safe-bash throw Snapshot stale during capture, even when the native page.ariaSnapshot({ mode: 'ai' }) completes with a valid current tree.

    Reproduction: serve <button>Ready</button> through a local Playwright route, open that HTTPS page with the controller, and call history.pushState(null, '', '#spa-settled') while the snapshot hook is active. The controller's framenavigated listener increments its snapshot epoch; native capture succeeds, but our post-capture epoch comparison rejects it. Direct native capture returns the Ready button tree. This matches the development-site navigation failure observed in the Cloudflare probe.

    The original CLI0.1.20 calls the native snapshot directly. Proposed narrow correction: preserve stale-reference rejection and retry only a generation-invalidated, read-only whole-page capture once within the original deadline. Do not replay navigation/actions, and do not reuse an explicit subtree root across a navigation. Source correction is being coordinated before the next release; this comment does not claim it is published.

  13. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Tracked the separate native binary-upload hang upstream: cloudflare/playwright#229.

    A standalone @cloudflare/playwright 1.3.6 + Miniflare 4.20260708.1 reproduction sends all 6 MiB of zero bytes to a local HTTP server, but page.evaluate() stays pending beyond 20 seconds. A 1 MiB binary control and 33 × 2 MiB printable uploads complete. This is established only in local Miniflare Browser Rendering; it is not a proven hosted Cloudflare failure.

    The public report contains only the standalone SDK/local HTTP reproduction and version/byte-count evidence. The separate safe-bash lifetime diagnostic-retention failure on larger cumulative traffic remains tracked here and is being fixed with bounded rolling history.

  14. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Six atomic fixes are now verified directly on remote main through 59bdf58 (no PR): shared command input/output budgeting, final boolean-negation semantics, reported-error exit status and JSON envelopes, native eval serialization, canceled native-route registration cleanup, and explicit fixture callback types. The native-route correction retains normal native networking: no broker, URL policy, proxy, or new lifetime quota. Combined browser suite: 685 pass, zero fail, one optional real-browser test skipped in that unit invocation; the separate actual Chromium and Cloudflare 1.3.6/local-workerd differential runs each pass all 84 cases plus transfer limits and cancellation. Full guarded lint and scoped strict types pass. Browser release has been dispatched separately; no published/deployed parity or full issue-closure claim yet. Storage replacement and remaining acceptance continue.

  15. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    The native Cloudflare implementation is published in safe-bash/safe-fs 0.1.683; the consumer is now in ready PR poe-internal/poe2#14917, rebased onto current main.

    The public release and fresh verification passed. Independent verification matched archive integrity, provenance, attribution files and the compiled runtime fixes. The consumer uses the public packages without producer source aliases.

    Final Cloudflare development-account Worker 8bcb87f7-458c-4943-9afd-1528398a1a62 passed ordinary CLI navigation, JavaScript, routing, native action code generation, traces, storage save/load, restoration after an actual cold Durable Object restart, owner separation, close/reopen and delete-data. Browser code generators now load only after browser admission. Native request APIs and 66 MiB aggregate uploads also passed their respective probes.

    The adapter removes custom URL policies, the request proxy, WebSocket/service-worker bans, guest outbound-network disabling and lifetime invocation/transfer quotas. Authenticated user-and-agent ownership remains. CLI help/output comes from the standard library implementation.

    The instruction audit found no directive requiring those browser restrictions. The consumer PR narrows the misleading web_fetch guidance and the general resource-accounting wording. Producer contract/QA guidance was corrected in 3cf6848f.

    Remaining independent findings: public poe.com still returns its origin challenge with JavaScript enabled (#771); the local SDK binary-upload transport stall is tracked in cloudflare/playwright#229. These development-account probes do not claim a production deployment or origin-challenge clearance. Consumer CI/review is in progress.

  16. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Same-context storage restoration and private native target shielding are now delivered directly on remote main and published as @poe-platform/safe-bash, safe-fs, and safe-js 0.1.686, source cfd11d65979002bcf35b31d35ba9465269d33d53. The completed publishing job in workflow 35371934675 records all three exact versions; their exact public registry metadata is available. The workflow's independent public verification remains in progress, so this is not yet a whole-workflow success claim.

    The replacement path preserves the live context, existing tabs, selected page and sessionStorage while replacing cookies/localStorage/selected IndexedDB state. It removes the destructive replaceContext fallback. The native setStorageState path is unchanged; consumers without that native setter supply the exported createPlaywrightStorageOriginPreparer together with createPlaywrightPrivateTargetTransport and independently owned native CDP control. Missing support is reported explicitly, not simulated by replacing the context. Normal browser networking remains unchanged: no URL policy, HTTP proxy, service-worker ban or new lifetime quota.

    Pre-delivery evidence includes 97 focused storage units and strict types, native preservation, actual Cloudflare/local Browser Rendering preservation and repeated restoration, plus the private-target transport's 44 units and actual native/Cloudflare tests. Independent installed-public 0.1.686 command replay is underway without producer-source overlays. Previous installed-public 0.1.685 native/Cloudflare output qualification remains separately recorded.

    The consumer's documented development-account ownership, KV and cold-DO checks are acknowledged, not reopened as an unproven generic ownership gate. The remaining incremental consumer action is upgrading the public dependency and wiring the new preparer/transport, then checking preservation, second-load removal and cancellation on that updated adapter. No production rollout, origin-challenge clearance or full issue closure is claimed here. Ready fixes continue to be pushed while releases run.

  17. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Producer delivery and publication are now verified, not merely dispatched:

    • Direct remote main: d29df701d9333ed2260a569f71c79b850f2f9314, no PR.
    • poe-code@17.0.3: GitHub workflow 35373743647 succeeded and actually published npm/GitHub releases. Exact tag and revalidated public registry latest bind the delivery source; public archive SHA-512 independently verified.
    • @poe-platform/safe-bash, safe-fs, safe-js 0.1.688: workflow 35373741282 succeeded, including exact public archives, provenance, fresh npm install and imports.
    • The final concrete supported-effects omission was ignored console --clear / requests --clear. Reproduced on public .685, corrected on main, 32 focused tests and types passed. Independent installed-public .688 native Chromium and actual Cloudflare 1.3.6/local-workerd runs now pass all three output modes, followup-empty/new-only events, reset request numbering, artifact/session/lease cleanup; zero skipped. 2,239 archive/installed files authenticated, compiled event code bound to delivery source, signatures/attestations verified. No producer-source overlay.

    The pinned official inventory contains 92 commands and 76 command-option occurrences, with 93 actual help captures; the coherent adapter registers 84. No other supported registration/flag omission was found in this bounded audit. The eight exceptions are video-start/stop/chapter (native lifecycle unimplemented; Cloudflare video limitations), show/tray (host UI lifecycle), and pause-at/resume/step-over (tool-server debugger lifecycle). These are not blanket native-provider failures or fabricated supported effects.

    Keep #769 open for the precise remaining consumer delta: inspected PR14917 still pins .683 and its browser resource lacks prepareStorageOrigin. Upgrade to the new public release, wire the trusted preparer/private-target transport and independent same-browser CDP control, then replay preservation/current readback/second-load removal/cancellation in the existing development account. Existing owner/KV/cold-DO negative evidence is acknowledged; production rollout is not invented as a new gate. Related external origin challenge and managed-Python hook remain #771 and #746. No ready producer fix is being held while releases run.

  18. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Consumer follow-up: .688 dependency/preparer/private-target/control wiring is implemented locally for PR14917; cloud qualification found two concrete defects rather than assuming preservation passed.

    Actual development Cloudflare differential: seed+close IndexedDB, then delete from private restoration target => deleted; insert native context.storageState({indexedDB:true}) before the same deletion => blocked. Fresh IDB open/delete DOM callbacks pass all baseline/resume/script-enable modes. The pinned provider reader opens databases without closing them; producer #774 now tracks the maintained census fix. Consumer checkpoints also use that native read and are being switched to the safe owned collector.

    A separate cancellation probe shows the accepted control WebSocket can be aborted before restoration cleanup; consumer correction is underway. Full preservation/current-readback/second-load-removal/cancellation qualification remains pending. Producer #773 lifetime-retirement fix release is running. No production deployment or poe.com challenge clearance claimed.

  19. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    Verified producer delivery/publication: remote main 6256c18, poe-code 17.0.4 and all three scoped safe packages 0.1.690. Exact installed-public native plus actual CF1.3.6/local-workerd #774 acceptance passed, including owned IndexedDB census, initial/closed-historical origins and private-target retirement. No account deployment is inferred.

    Consumer integration is actively progressing in home-owned isolated worktrees against existing PR14917 head 6190b0392 reconciled cleanly with current main d828d7549. Reserved write scope: new browser-private-transport.ts/browser-storage-control.ts and shell-browser-resource.ts (helper worker), persistent-playwright.ts/shell-playwright.ts plus native storage admission tests (storage worker); coordinator owns package pins/lock and final main delivery. Raw secondary WebSocket private-target leakage has now been concretely reproduced with a failing actual Workerd WebSocketPair test. Both primary and secondary connections will share private identity ownership; the trusted control will remain separate. Public native reader will replace unsafe provider IndexedDB checkpoint census. No new PR, consumer push or completed consumer release is claimed yet.

  20. kamilio commented on Sep 18, 2026

    @kamilio
    MemberAuthor

    The precise remaining consumer delta is now delivered and qualified.

    • PR poe-internal/poe2#14917 is pushed at c469d3ff57d9d886303816fddbed63dee5dffc46, rebased on current main, with all consumer pins/lockfile coherent at public safe-bash/safe-fs 0.1.691.
    • Public release 35382645670 is fully successful, including public archive/provenance/fresh-import verification. Producer source is 98db897d2fd627943befcd809e393e6c9de3042c; independent exact installed archive runtime/types and keepNames/minified browser-realm differential pass.
    • Consumer primary and guest browser connections share private-target shielding. Trusted control uses an independent connection to the same owned browser. The released safe reader replaces the SDK's leaky IndexedDB checkpoint census; profile state seeds standard contextOptions before acquisition and explicit state overrides win.
    • Actual development-account Cloudflare Worker 934971b0-fb52-4ea1-8df0-df8b719fdaad, installed public .691, no producer-source alias: preservation/current readback/second empty-load removal/cancellation all passed. Native target identities, selected page and sessionStorage survive live loads; cookies/localStorage/IndexedDB restore and clear correctly. Console/request clear follows standard output.
    • KV/controller-browser restart also passed: CLI tab order/selection, cookies/localStorage and closed-origin IndexedDB-only history persist; an empty load succeeds after native SDK census. This is controller/browser recreation, distinct from the previously recorded .683 actual cold-DO proof.

    Closing the producer capability issue: required producer publication and the explicitly named consumer wiring/qualification are complete. Consumer PR is not merged or deployed by this task; final-head CI is running. No poe.com origin-challenge clearance is claimed. The clean native-origin diagnostic is #775, closed at the owner's request; #771 was deleted. Production rollout is not added as a new gate to this issue.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions