Skip to content

Add semantic screen state: snapshot/diff and describe-screen#231

Merged
JE-Chen merged 1 commit into
devfrom
feat/screen-state-batch
Jun 19, 2026
Merged

Add semantic screen state: snapshot/diff and describe-screen#231
JE-Chen merged 1 commit into
devfrom
feat/screen-state-batch

Conversation

@JE-Chen

@JE-Chen JE-Chen commented Jun 19, 2026

Copy link
Copy Markdown
Member

Remaining-backlog batch 13 — the semantic companion to the pixel diff, full five layers + headless tests + EN/Zh v23 docs + README.

Feature (utils/screen_state, pure-stdlib)

  • Snapshot & diffsnapshot (a11y -> {role,name,bbox}), diff_snapshots (added/removed/moved + human summary), snapshot_screen/screen_changed (live baseline + diff). AC_screen_snapshot/AC_screen_diff/AC_screen_changed + ac_*.
  • Describedescribe_screen: {app, element_count, by_role, controls} — a cheap agent 'where am I'. AC_describe_screen + ac_describe_screen.

Verification

  • 7 tests pass; ruff clean; radon no CC≥C (split diff_snapshots into helpers); bandit clean; PySide6-free.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 73 complexity · 2 duplication

Metric Results
Complexity 73
Duplication 2

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@JE-Chen JE-Chen merged commit 4e404b1 into dev Jun 19, 2026
16 checks passed
@JE-Chen JE-Chen deleted the feat/screen-state-batch branch June 19, 2026 09:11
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant