Replies: 1 comment
Exploratory implementation reportI built the complete vertical slice in a contribution-only fork to test the boundary before asking maintainers to review a PR. This is deliberately not an upstream PR and uses no real credentials.
What the prototype implements
Proof completed
Pitfalls the implementation exposed
Suggested upstream shapeMy current recommendation is a smaller first upstream slice than this exploration branch:
If this direction fits T3, could a maintainer confirm the preferred ownership boundary and PR shape? I can then split or reduce the exploratory branch to match that direction rather than sending the full prototype unsolicited. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
T3 Code agents can drive the collaborative preview browser, but authenticated development testing stops when a fresh session requires a password or private deployment-bypass URL.
Today
preview_typeaccepts literal text. Supplying a credential would therefore expose it across the model/tool boundary. Reusing browser cookies is useful but does not provide autonomous recovery after logout, expiry, or profile reset.Would the maintainers be open to a provider-neutral Browser Credential Profiles capability for development and test environments?
Proposed smallest useful scope
For a password, the sensitive operation must be atomic: lock the target tab, revalidate the live top-level origin and frame, suspend recording/snapshots/evaluation, resolve the secret locally, fill it, immediately submit or clear it, and only then release the tab. Returning while the password remains readable in the DOM would allow another browser operation to extract it.
A possible agent-visible shape is:
The result would contain only a coarse state such as
succeeded,credential-invalid,origin-not-allowed,profile-expired,vault-locked, orunsupported-host.Private deployment-bypass URLs need a distinct operation. They must not be sent through ordinary
preview_navigate, the renderer, the visible address bar, snapshots, network diagnostics, action history, or browser history. If Chromium/Electron cannot provide that guarantee, secret navigation should remain out of scope rather than fall back to literal navigation.Security invariants
The current architecture appears to offer useful seams:
PreviewAutomationBrokeralready pins a provider session to one physical desktop runtime.ElectronSafeStorageabstraction and protected Linux-backend selection.Before proposing code, guidance would be appreciated on:
I have a concrete non-production use case and would be willing to contribute after the maintainers choose the boundary. Any implementation would use sentinel test credentials and include negative leakage, malicious-redirect, origin, concurrency, locked-vault, and version-skew tests.
All reactions