Skip to content

Add self-healing locator write-back (learned-locator store)#262

Merged
JE-Chen merged 1 commit into
devfrom
feat/locator-repair-batch
Jun 20, 2026
Merged

Add self-healing locator write-back (learned-locator store)#262
JE-Chen merged 1 commit into
devfrom
feat/locator-repair-batch

Conversation

@JE-Chen

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

Copy link
Copy Markdown
Member

Self-healing/meta batch (from multi-agent web research; verified absent — the top net-new gap). Full layers + tests + EN/Zh v54 docs + README.

Feature (utils/locator_repair, pure-stdlib via json_store)

  • RepairStore closes the heal→durable-fix loop: runtime self-healing previously threw away the corrected location (heals were logged but never persisted), so every run re-healed. record captures the corrected locator (coords/VLM description/method) and auto-applies it when confidence >= auto_threshold (default 0.9), else queues a pending suggestion; approve/reject gate queued ones; resolved(key) returns the latest applied/approved fix for reuse. repair_from_heal adapts a HealEvent (object or dict).
  • Executor AC_repair_record / AC_repair_resolved / AC_repair_pending / AC_repair_approve; MCP ac_repair_*; Builder under Tools.

Verification

  • 10 tests pass (high-conf auto-apply, low-conf queue, approve→resolvable, reject, latest-wins, from-heal object+dict, cross-instance persistence, executor round-trip, wiring, facade); ruff clean; radon no CC≥C; bandit clean; PySide6-free.
  • Stacked on decision table (Add DMN-style decision tables #261); rebased cleanly onto dev.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 46 complexity · 0 duplication

Metric Results
Complexity 46
Duplication 0

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 010f0d2 into dev Jun 20, 2026
16 checks passed
@JE-Chen JE-Chen deleted the feat/locator-repair-batch branch June 20, 2026 13:05
@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