Skip to content

chore: sync gitlinks — OCR support, and the assertions that use it - #93

Merged
atrawog merged 1 commit into
mainfrom
chore/sync-ocr
Aug 31, 2026
Merged

atrawog merged 1 commit into
mainfrom
chore/sync-ocr

Conversation

@atrawog

@atrawog atrawog commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Produced by task sync, not hand-pinned. Four gitlinks:

charly           -> 79836d59   (its default branch)
distro-omarchy   -> 10a1d66c   (policy B: exactly what charly pins at box/omarchy)
plugin-wl        -> 075ac71b
sdk              -> 7fe92b7b

Policy B verified independently of the script, at the commit actually pinned:

$ git ls-tree HEAD charly                        -> 79836d59
$ git -C charly ls-tree 79836d59 box/omarchy     -> 10a1d66c
$ git ls-tree HEAD distro-omarchy                -> 10a1d66c   ✓ equal

The distro pin equals THE COMMIT CHARLY PINS, not distro-omarchy's latest main.

Correction to an earlier revision of this body

It listed the charly pin as afa7a33b. That was a value read minutes before task sync ran —
afa7a33b is the #514 merge, and tag-on-merge then added 79836d59 (its CHANGELOG) on top.
task sync correctly captured charly's default branch as it stood, so the DIFF is right and
the body's number was stale. Corrected above, and the block that caught it was correct.

The pinned commit carries what this sync claims to bring in, checked rather than assumed:
box/omarchy at 10a1d66c (the OCR assertions) and 8 tesseract entries in
packaging/charly.yml (charly#512).

What it brings in

sdk#201            artifact_contains_text - a fifth shared artifact validator, so wl, cdp,
                   vnc, libvirt and spice screenshots all gain OCR at once
charly#512         the host OCR engine and language pack, declared OPTIONAL per format
plugin-wl#10       the schema field exposing it, and the sdk repin carrying the validator
distro-omarchy#13  the eight assertions themselves
charly#514         the box/omarchy gitlink and import pin

This is the assertion the desktop bed could not make before. A layer can be present, correctly
sized and on screen while drawing nothing: hypr-layers reports it, artifact_min_bytes passes on
a blank PNG, artifact_not_uniform passes on any wallpaper behind it. OCR separates a surface
that MAPPED from a surface that RENDERED - the weather panel really showing its pinned city,
the menu really showing its entries, a notification really showing its body.

The property the validator lives by is that failing to RUN is not failing to MATCH. With no
language data tesseract writes to stderr and exits with empty stdout, which is exactly what a
genuine no-match looks like; that mistake was made for real while building it, and the
validator now names the cause instead of reporting the text as absent.

Why only four gitlinks and not the 17 task sync moved

task sync advances EVERY submodule to its default-branch HEAD, and this run moved 17. The other
13 are unrelated to this work and #66 is in flight covering that ground.

The four committed here are the values task sync produced - not hand-picked - and they are
exactly what Policy B requires.

How tested

task verify
check-policy-b: OK - 6 distro pins equal charly gitlinks
verify-pins: OK - 356 submodules, policy B holds
exit 0

The umbrella's own pre-commit gate ran on this commit:

pre-commit: running the umbrella gate…
check-policy-b: OK — 6 distro pins equal charly's gitlinks
check-harness-parity: OK — 5 shared harness files identical to charly/
pre-commit: OK

Exactly four files:

$ git show --stat HEAD
 charly         | 2 +-
 distro-omarchy | 2 +-
 plugin-wl      | 2 +-
 sdk            | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Rulebook compliance

  • R1 — RCA every anomaly. Every pin here traces to a root-caused defect, not a guess: two
    check verbs that blocked forever on commands which never exit, and a shared validator that
    could not distinguish "I looked and it was not there" from "I could not look". The one
    assertion the bed does NOT make is an upstream watcher race, recorded with its QML and a
    four-run measurement rather than papered over with a longer timeout.
  • R2 — Nothing parked. The OCR gap named when the GUI suites landed is closed across all
    four repos. The 13 unrelated submodule moves are a DIFFERENT cutover already in flight as
    chore(sync): third wave — docs revert + parallel defaults #66, named explicitly — not deferred work.
  • R3 — No duplication. Gitlink moves only. The validator itself lives once in the sdk and
    serves every artifact-producing verb.
  • R4 — No workarounds. These are the values task sync produced; committing a subset of a
    sync's output is not a hand-pin, and Policy B is verified against charly's own gitlinks
    independently of the script.
  • R5 — Delete legacy completely. N/A — pin moves.
  • R6 — Git safety. git status inspected before and after restoring the 13 unrelated
    moves; branched from a fresh main; no force-push, no hook bypass, no direct push to main;
    the pre-commit gate ran and passed.
  • R7 — Prove the gate, not the plan. task verify pasted verbatim on the final tree.
  • R10 — Fresh disposable proof. The bed this wires in is check-omarchy-desktop-vm,
    disposable: true at the pinned commit. Its full R10 is in feat(beds): the OCR assertions — proving surfaces RENDER, not just map distro-omarchy#13 —
    PASS (steps=9), 106 steps: 104 passed, 0 failed, 2 skipped on BOTH the live and the
    post-rebuild pass, zero non-allowlisted warnings, with all eight OCR assertions green in the
    post-rebuild pass after [update] rebuilt the guest from nothing.

Change classification

Change class umbrella gitlink sync — four submodule pins, no file content changes
Verification gate task verify (Policy B across 356 submodules) plus the umbrella's own pre-commit gate, both pasted
Attribution tier fully tested and validated — the pinning gate passed on the final tree, and every repo pinned here was gated in its own PR (R10 bed for omarchy; go test with negative controls for sdk and plugin-wl; the packaging test for charly)

Assisted-by: Claude Code claude-opus-4-6-20260401 (fully tested and validated)

Produced by task sync, not hand-pinned. Four gitlinks:

    charly           -> afa7a33b   (its default branch)
    distro-omarchy   -> 10a1d66c   (policy B: exactly what charly pins at box/omarchy)
    plugin-wl        -> 075ac71b
    sdk              -> 7fe92b7b

Policy B verified independently of the script: distro-omarchy pin equals THE COMMIT CHARLY
PINS, not distro-omarchy latest main.

## What it brings in

    sdk#201            artifact_contains_text - a fifth shared artifact validator, so wl, cdp,
                       vnc, libvirt and spice screenshots all gain OCR at once
    charly#512         the host OCR engine and language pack, declared OPTIONAL per format
    plugin-wl#10       the schema field exposing it, and the sdk repin carrying the validator
    distro-omarchy#13  the eight assertions themselves
    charly#514         the box/omarchy gitlink and import pin

This is the assertion the desktop bed could not make before. A layer can be present, correctly
sized and on screen while drawing nothing: hypr-layers reports it, artifact_min_bytes passes on
a blank PNG, artifact_not_uniform passes on any wallpaper behind it. OCR separates a surface
that MAPPED from a surface that RENDERED - the weather panel really showing its pinned city,
the menu really showing its entries, a notification really showing its body.

The property the validator lives by is that failing to RUN is not failing to MATCH. With no
language data tesseract writes to stderr and exits with empty stdout, which is exactly what a
genuine no-match looks like; that mistake was made for real while building it, and the
validator now names the cause instead of reporting the text as absent.

## Why only four gitlinks and not the 17 task sync moved

task sync advances EVERY submodule to its default-branch HEAD, and this run moved 17. The other
13 are unrelated to this work and #66 is in flight covering that ground.

The four committed here are the values task sync produced - not hand-picked - and they are
exactly what Policy B requires.

## How tested

    task verify
    check-policy-b: OK - 6 distro pins equal charly gitlinks
    verify-pins: OK - 356 submodules, policy B holds
    exit 0

Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: a75c2aa941b2 (branch: main)

Change class: umbrella gitlink sync — four submodule pin moves, no file-content changes.

Blocks

  1. A1 / body-truthfulness (rule 4) — charly pin misstated. The body's "Four gitlinks" list claims charly -> afa7a33b (its default branch), but the CURRENT diff pins the charly submodule to 79836d59ec73e66d479355331e47f3ed42f1ebd9. The other three pins (distro-omarchy 10a1d66, plugin-wl 075ac71, sdk 7fe92b7) match the diff, but the charly pin does not. The body's summary therefore does not account for the actual diff, and the "What it brings in" accounting (charly#512 / charly#514) is anchored to a pin that is not what ships. The author must correct the body to state the real charly pin (79836d5) and reconcile why it differs from the claimed afa7a33b — this is a contradiction between the pasted evidence and the diff, not a cosmetic wording issue.

Verdict: BLOCK


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: a75c2aa941b2 (branch: main)

Security screen: PASS — four submodule pin moves only, no code/config content, no secrets, no scope mismatch, no guardrail changes.

Checklist: All applicable rules PASS or NA.

Comment intake: the sole prior comment (github-actions[bot] BLOCK re: charly pin misstated as afa7a33b) is stale-superseded — the CURRENT body has been corrected to state charly -> 79836d59, which matches the CURRENT diff exactly. The body's "Correction to an earlier revision" section explains the discrepancy (tag-on-merge added 79836d59 on top of the afa7a33b #514 merge) and the diff confirms 79836d59. All four pins in the body (79836d59, 10a1d66, 075ac71, 7fe92b7) match the diff. Policy B verification is internally consistent (distro-omarchy pin equals what charly pins at box/omarchy). The 13 unrelated submodule moves are routed to the NAMED batch #66 (R2 satisfied). R10 evidence names the disposable: true bed check-omarchy-desktop-vm with coherent results (104 passed / 0 failed / 2 skipped, zero non-allowlisted warnings, post-rebuild pass). Attribution tier fully tested and validated is justified for a gitlink sync whose pinning gate ran on the final tree and whose downstream repos were gated in their own PRs. Assisted-by line present in correct form at body end.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@atrawog
atrawog merged commit a9ed0e8 into main Aug 31, 2026
1 of 2 checks passed
@atrawog
atrawog deleted the chore/sync-ocr branch August 31, 2026 13:14
charly-auto-merge Bot added a commit that referenced this pull request Aug 31, 2026
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