Skip to content

Resolve Sight candidates to fresh unique snapshot refs - #145

Merged
senamakel merged 2 commits into
epic/202-tinycomputerfrom
epic-202-h4-stability-observation
Oct 21, 2026
Merged

senamakel merged 2 commits into
epic/202-tinycomputerfrom
epic-202-h4-stability-observation

Conversation

@senamakel

@senamakel senamakel commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

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-browser passed (248 tests and 2 doctests), and cargo clippy -p tinycomputer-browser --all-targets -- -D warnings passed.

Co-authored-by: Medulla <medulla@tinyhumans.ai>
@tinysweeper

tinysweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Tiny Sweeper review

Tiny 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
Priority: none
Reviewed head: 9992b77ccef2
Updated: 2026-10-21T05:10:58Z

Review snapshot

Change surface Files Review signal Count
Production 2 Active findings 0
Tests 2 Noted findings 0
Documentation 0 Resolved findings 0
Configuration 0 Pending checks/questions 6

Completeness: Incomplete
Test assessment: No supported feature-to-test mapping was available; this does not mean tests are absent or passed.

Features

None identified with supported citations.

Tests

No supported feature-to-test mapping was produced. Test execution is not inferred.

  • Unreviewed: tinysweeper/tests

Findings

No 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

  • Complete the critique review for crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-browser/src/surface/surface_tests/perception_tests.rs.
  • Complete the security review for crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-browser/src/surface/surface_tests/perception_tests.rs.
  • Complete the tests review for tinysweeper/tests.
  • Complete the description review for tinysweeper/description.

How this fits together

flowchart 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
Loading
Agent review details

critique

  • Conclusion: Neutral
  • Scope reviewed: incomplete; unanswered: crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-browser/src/surface/surface_tests/perception_tests.rs
  • Lane summary: Reviewed 0 files; 0 findings. 2 files could not be reviewed: crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-browser/src/surface/surface_tests/perception_tests.rs.

security

  • Conclusion: Neutral
  • Scope reviewed: incomplete; unanswered: crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-browser/src/surface/surface_tests/perception_tests.rs
  • Lane summary: Reviewed 0 files; 0 findings. 2 files could not be reviewed: crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-browser/src/surface/surface_tests/perception_tests.rs.

tests

  • Conclusion: Neutral
  • Scope reviewed: incomplete; unanswered: tinysweeper/tests
  • Lane summary: No reviewer produced a usable response.

commits

  • Conclusion: Neutral
  • Scope reviewed: all assigned evidence
  • Lane summary: Nothing sensitive found in what this pull request commits.

description

  • Conclusion: Neutral
  • Scope reviewed: incomplete; unanswered: tinysweeper/description
  • Lane summary: No reviewer produced a usable response.
Evidence and run details
  • Models: ladder/vectors-oai3
  • Spend: $0.000046
  • Tokens: 0 input · 0 output · 0 cached · 350 embedding
Head State Pass summary
1877b01e53ea incomplete 0 active finding(s), 0 resolved finding(s) (at 2026-10-21T05:06:24Z)
9992b77ccef2 incomplete 0 active finding(s), 0 resolved finding(s) (at 2026-10-21T05:10:58Z)

tinysweeper 0.1.2

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-21T05:06:08.952757Z
We couldn’t complete this review. Comment @codex review to try again.
1877b01 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 83c52e21-1e59-44d8-96f6-3cbf1195acc2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@tinysweeper tinysweeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@senamakel

Copy link
Copy Markdown
Member Author

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.

@tinysweeper tinysweeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@senamakel
senamakel merged commit ea838d1 into epic/202-tinycomputer Oct 21, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant