Skip to content

Gate clone verification on region significance too - #77

Merged
hongnoul merged 2 commits into
mainfrom
feat/clone-region-summary
Aug 24, 2026
Merged

Gate clone verification on region significance too#77
hongnoul merged 2 commits into
mainfrom
feat/clone-region-summary

Conversation

@hongnoul

Copy link
Copy Markdown
Owner

Follow-up to #74: hwatu clone's verify loop still summarized with average_match_percent, the same background-diluted mean the diff protocol moved away from.

  • per-position entries gain significant_regions
  • the report gains the summed significant_regions and the single worst_region across scroll offsets (tagged with its scroll_y)
  • the stderr/report summary leads with the region gate: verify: N significant region(s) across P positions; X% average pixel match

A faithful clone is significant_regions == 0 at every offset; the average stays as the trend number. Additive only: existing report fields unchanged.

Verified: cargo test -p hwatu 114/114, clippy -D warnings, fmt clean.

…e-in-chrome

- `hwatu --version` / `-V` / `version` now print the version and git
  hash instead of 'unknown flag' (reported in #72; the unknown-flag
  guard correctly refused to web-search it, but there was no real
  handler).
- packaging/PKGBUILD: 0.6.0 -> 0.7.0 with updated sha256. The stale
  0.6.0 AUR package is why `hwatu setup --client ...` failed in #72:
  setup shipped in 0.6.1.
- README: answer 'how does it compare with claude-in-chrome?' (#73)
  in the comparison section.
clone's verify loop still summarized with average_match_percent, the
same background-diluted mean the region-significance work (#74) moved
the diff protocol away from. Per-position results and the report now
carry significant_regions (summed across scroll offsets) and the
single worst_region (tagged with its scroll_y), and the human summary
line leads with the region gate instead of the average. A faithful
clone is significant_regions == 0 at every offset; the average stays
as the trend number.
@hongnoul
hongnoul force-pushed the feat/clone-region-summary branch from c7ba01e to 93cb308 Compare August 24, 2026 04:38
@hongnoul
hongnoul merged commit cc84148 into main Aug 24, 2026
14 checks passed
@hongnoul
hongnoul deleted the feat/clone-region-summary branch August 24, 2026 04:41
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