Repository navigation
Resolve Sight candidates to fresh unique snapshot refs - #145
Conversation
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Tiny Sweeper reviewTiny Sweeper reviewed this change across 5 lane(s) and found 0 active actionable finding(s). Detailed lane evidence and any incomplete work are listed below. State: Incomplete Review snapshot
Completeness: Incomplete FeaturesNone identified with supported citations. TestsNo supported feature-to-test mapping was produced. Test execution is not inferred.
FindingsNo active actionable findings. Could not review: crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-browser/src/surface/surface_tests/perception_tests.rs, tinysweeper/description, tinysweeper/tests Before merge
How this fits togetherflowchart LR
n0["BrowserSurface<br/>changed"]:::changed
n1["...ontrols_are_read_by_the_tree_beside_sight<br/>changed"]:::changed
n2["shadowed_fake<br/>changed"]:::changed
n3["...s_the_page_and_its_refs_reach_their_marks<br/>changed"]:::changed
n4["sighted_fake<br/>changed"]:::changed
n5["harness"]:::impacted
n6["page_fake"]:::impacted
n7["Harness"]:::impacted
n8["...ted_only_in_a_browser_the_module_launched"]:::impacted
n9["sent"]:::impacted
n1 -->|calls| n2
n1 -->|tests| n2
n1 -->|calls| n5
n1 -->|tests| n5
n1 -->|uses| n7
n1 -->|calls| n9
n1 -->|tests| n9
n3 -->|calls| n4
n3 -->|tests| n4
n3 -->|calls| n5
n3 -->|tests| n5
n3 -->|uses| n7
n3 -->|calls| n9
n3 -->|tests| n9
n5 -->|uses| n7
n7 -->|uses| n0
n8 -->|calls| n5
n8 -->|tests| n5
n8 -->|calls| n6
n8 -->|tests| n6
n8 -->|uses| n7
n8 -->|calls| n9
n8 -->|tests| n9
classDef changed fill:#0d4429,stroke:#238636,color:#e6edf3
classDef impacted fill:#161b22,stroke:#6e7681,color:#c9d1d9
classDef flagged fill:#5a1e02,stroke:#d93f0b,color:#ffffff
classDef blocking fill:#67060c,stroke:#f85149,color:#ffffff
Agent review detailscritique
security
tests
commits
description
Evidence and run details
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
tinysweeper found nothing blocking, but could not review everything, so this is not an approval: crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-browser/src/surface/surface_tests/operations_tests.rs, crates/tinycomputer-browser/src/surface/surface_tests/perception_tests.rs, crates/tinycomputer-browser/src/surface/tabs.rs, tinysweeper/description, tinysweeper/tests.
$0.0000 · 0 in / 0 out · 327 embedded · ladder/vectors-oai3
Co-authored-by: Medulla <medulla@tinyhumans.ai>
|
Addressed the stale shadow-ref review: all native candidates, including subtree-read candidates, are now re-resolved by exact role/name against the final full snapshot. Missing or ambiguous native matches are dropped; only Sight selector refs retain the existing fallback behavior. Added regressions for a subtree e2 reassigned to another control and duplicate native matches. Verified: cargo test -p tinycomputer-browser (248 tests + 2 doctests) and cargo clippy -p tinycomputer-browser --all-targets -- -D warnings. |
There was a problem hiding this comment.
tinysweeper found nothing blocking, but could not review everything, so this is not an approval: crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-browser/src/surface/surface_tests/perception_tests.rs, tinysweeper/description, tinysweeper/tests.
$0.0000 · 0 in / 0 out · 350 embedded · ladder/vectors-oai3
Sight candidates currently use CSS mark selectors, which cannot provide trusted snapshot target metadata to host action gates. This change maps only exact role and accessible-name matches that are unique in the fresh native snapshot to the native ref; ambiguous or unmatched Sight candidates keep their original ref. Tree refs also skip the Sight-only same-tab preparation script, which cannot resolve them.
Validation:
cargo test -p tinycomputer-browserpassed (248 tests and 2 doctests), andcargo clippy -p tinycomputer-browser --all-targets -- -D warningspassed.