Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
24799e0
test(bidi): prepare Browser Session ACL RED dependencies
seonghobae Sep 10, 2026
a657dbf
test(bidi): add hostile Browser Session ACL RED
seonghobae Sep 10, 2026
b81d559
test(bidi): canonical-format Browser Session ACL RED
seonghobae Sep 10, 2026
108ed64
test(bidi): require non-constructible authorized actions
seonghobae Sep 10, 2026
c849e84
feat(bidi): bind live Browser Session authority to lifecycle mapping
seonghobae Sep 10, 2026
d738377
fix(bidi): keep lifecycle mapping adapter-owned and current
seonghobae Sep 10, 2026
dbedabc
test(bidi): cover lifecycle mapping failure and destruction edges
seonghobae Sep 10, 2026
185ec27
feat(bidi): expose lifecycle-bound presentation ACL
seonghobae Sep 10, 2026
6bf863f
chore: refresh lockfile for BiDi lifecycle ACL
seonghobae Sep 10, 2026
13e71aa
style: apply canonical rustfmt to BiDi lifecycle ACL
seonghobae Sep 10, 2026
8a9b9e4
style: apply canonical rustfmt to BiDi ACL tests
seonghobae Sep 10, 2026
2a8cffa
test: reject exact BiDi lifecycle binding reuse before replacement
seonghobae Sep 10, 2026
a5f68d3
fix(bidi): quarantine duplicate lifecycle binding keys
seonghobae Sep 10, 2026
215338b
test(bidi): reject remote context alias across owned handles
seonghobae Sep 10, 2026
48eefea
fix(bidi): fail closed on live remote context alias
seonghobae Sep 10, 2026
67ee72a
fix(bidi): cover remote context alias guard exactly
seonghobae Sep 10, 2026
e35c986
docs(adr): define Browser Session to BiDi lifecycle ACL
seonghobae Sep 10, 2026
b1c1648
docs(adr): index Browser Session BiDi ACL decision
seonghobae Sep 10, 2026
3b2e800
docs(adr): index Browser Session BiDi lifecycle ACL
seonghobae Sep 10, 2026
8ca6c5a
docs(adr): bound BiDi execution by remote lifecycle evidence
seonghobae Sep 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions crates/originweave-bidi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ homepage.workspace = true
publish = false

[dependencies]
originweave-browser-session = { path = "../originweave-browser-session" }
originweave-core = { path = "../originweave-core" }
originweave-fingerprint = { path = "../originweave-fingerprint" }

[lints]
Expand Down
14 changes: 10 additions & 4 deletions crates/originweave-bidi/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
//! Narrow WebDriver BiDi adapter contracts for OriginWeave browser sessions.
//!
//! This crate depends inward on presentation-identity values. It records only
//! capabilities that the pinned WebDriver BiDi specification can express; it
//! does not expose generic JavaScript or DevTools pass-through authority and it
//! does not claim that a command acknowledgement proves page-visible state.
//! This crate depends inward on presentation-identity and Browser Session values. It records only
//! capabilities that the pinned WebDriver BiDi specification can express; it does not expose generic
//! JavaScript or DevTools pass-through authority and it does not claim that a command acknowledgement
//! proves page-visible state.

#![forbid(unsafe_code)]
#![deny(missing_docs)]

mod lifecycle_acl;
mod presentation_capabilities;

pub use lifecycle_acl::{
AuthorizedWebDriverBidiPresentationAction, AuthorizedWebDriverBidiPresentationPlan,
WebDriverBidiAclError, WebDriverBidiCreatedContext, WebDriverBidiLifecycleAdapter,
WebDriverBidiLifecycleBackend, WebDriverBidiPresentationOperation,
};
pub use presentation_capabilities::{
WEBDRIVER_BIDI_PRESENTATION_DOCTORING_SOURCE_COMMIT, WEBDRIVER_BIDI_PRESENTATION_REVISION,
WebDriverBidiBrowsingContext, WebDriverBidiCommandError, WebDriverBidiPresentationCommand,
Expand Down
Loading
Loading