Skip to content

chore: sync gitlinks — this session's fixes into the org view - #102

Closed
atrawog wants to merge 1 commit into
mainfrom
chore/sync-gitlinks-session-fixes
Closed

atrawog wants to merge 1 commit into
mainfrom
chore/sync-gitlinks-session-fixes

Conversation

@atrawog

@atrawog atrawog commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Produced by scripts/sync-gitlinks.sh, not hand-pinned. 63 gitlinks advance to their
default-branch HEADs, carrying the work merged this session:

Repo Advance What it carries
charly 79836d59 → 87e51ea1 plugin-build repin (#515), box/omarchy advance (#518)
plugin-build a3529315 → ccbe2faa the resolved-project cache key ignored the scan scope (#8)
plugin-quickshell 83d318ad → d4cab208 the verb, its skill, and runtime_dir (#1–#4)
plugin-wl 075ac71b → a6382ea9 the OCR/exec skill docs (#11)
marketplace b6afe0db → 053f3884 the wl and quickshell skills in the corpus (#261, #262)
distro-omarchy 10a1d66c → 5857c1a5 the quickshell verb + triage + config assertions (#14–#16)

Why distro-omarchy is NOT at its own main

distro-omarchy's main is d3da180c (it carries #17, the cstream pod subset). This pins
5857c1a5, because that is what charly's box/omarchy gitlink records. Policy B is that a
distro-* pin equals the commit charly pins
, not the submodule's latest main — the umbrella
follows charly rather than racing it. When charly advances to pick up #17, the umbrella syncs to
that.

Two local-checkout problems, both mine

  1. A stale commit-graph aborted git merge outright:

    fatal: invalid commit position. commit-graph is likely corrupt
    

    The commit-graph is a cache, not object data. Removing it and letting git rebuild fixed it;
    git rev-parse on both refs and a log read confirmed the objects were intact.

  2. verify-pins.sh reported FAIL: plugin-bpf: dirty working tree, which was not dirt: docs: rewrite the org map as per-category alphabetical tables covering all 389 submodules #98
    grew the umbrella from 357 to 389 submodules and this clone had never initialised the 32 new
    ones, so git -C plugin-bpf walked up to the umbrella and reported its status.
    git submodule update --init on all 32 resolved it.

Neither was a defect in the repo or the scripts, and both are recorded so the next reader does not
re-diagnose them.

How tested

$ bash scripts/verify-pins.sh
check-policy-b: OK — 6 distro pins equal charly's gitlinks
verify-pins: OK — 389 submodules, policy B holds

389, not 357 — the number that proves the submodules #98 added are actually covered by the
gate, rather than skipped as uninitialised.

The pre-commit gate ran on this tree:

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

Supersedes #99

#99 added plugin-quickshell to the umbrella and fixed a missing branch = main key that made
sync-gitlinks.sh die with fatal: invalid refspec 'origin/'. Both landed upstream in #98
while it was open
— main already carries the submodule with the branch key, and all 389 entries
now have one. #99 was closed rather than merged; only the gitlink advance remained, and rebuilding
it fresh on current main beat resolving 56 conflicts against a 32-submodule-older base.

Rulebook compliance

  • R0 — Skills first. The dispatcher's git-workflow row covers pinning / task sync /
    verify-pins; loaded before the first tool call.
  • R1 — RCA every anomaly. Both local failures were root-caused rather than retried: the
    commit-graph as a cache (objects verified intact before touching it), and the "dirty" submodule
    as an uninitialised one (git -C walking up to the parent), not repo dirt.
  • R2 — Finish the whole cutover. All 32 uninitialised submodules were initialised, so the sync
    covers the full 389 rather than the subset this clone happened to have.
  • R3 — No duplication. Pins come from the script; nothing hand-pinned alongside.
  • R4 — No workarounds. No distro-* pin was pointed at a newer main to look current, and the
    commit-graph was rebuilt rather than the merge forced.
  • R5 — Delete legacy completely. chore: add plugin-quickshell to the org view, and sync gitlinks #99 is closed, not left open beside this.
  • R6 — Git safety. git status inspected; feature branch; no force-push, no --no-verify (the
    pre-commit gate ran and is quoted), no direct push to main. Only a git cache was deleted, with
    object integrity checked first.
  • R7 — Prove the gate, not the plan. verify-pins.sh output pasted verbatim, including the
    submodule count that makes the coverage claim checkable.
  • R8 — Preserve emitted artifacts. Harness parity verified: 5 shared files identical to charly's.
  • R9 — Binary equals source. N/A — no Go or binary change.
  • R10 — Fresh disposable proof. N/A — the umbrella runs no beds; its gate is the pinning
    verifier. The beds behind the pinned commits were proven in their own PRs.

Change classification

  • Change class: infra/chore — gitlink sync
  • Verification gate: scripts/verify-pins.sh (policy B, 389 submodules) + the pre-commit gate
  • Attribution tier: fully tested and validated

Assisted-by: Claude Code claude-opus-5[1m] (fully tested and validated)

Produced by scripts/sync-gitlinks.sh, not hand-pinned. 63 gitlinks advance to their
default-branch HEADs, carrying the work merged this session:

    charly             79836d59 -> 87e51ea1   plugin-build repin (#515), box/omarchy advance (#518)
    plugin-build       a3529315 -> ccbe2faa   the resolved-project cache key ignored the scan scope (#8)
    plugin-quickshell  83d318ad -> d4cab208   the verb, its skill, and runtime_dir (#1-#4)
    plugin-wl          075ac71b -> a6382ea9   the OCR/exec skill docs (#11)
    marketplace        b6afe0db -> 053f3884   the wl and quickshell skills in the corpus (#261, #262)
    distro-omarchy     10a1d66c -> 5857c1a5   the quickshell verb + triage + config assertions (#14-#16)

## Why distro-omarchy is NOT at its own main

distro-omarchy's main is d3da180c (it carries #17, the cstream pod subset). This pins
5857c1a5, because that is what charly's box/omarchy gitlink records. Policy B is that a
distro-* pin equals THE COMMIT CHARLY PINS, not the submodule's latest main — the umbrella
follows charly rather than racing it. When charly advances to pick up #17, the umbrella
syncs to that.

## Two local-checkout problems, both mine

1. A stale commit-graph aborted git merge outright:

       fatal: invalid commit position. commit-graph is likely corrupt

   The commit-graph is a CACHE, not object data. Removing it and letting git rebuild fixed
   it; git rev-parse on both refs and a log read confirmed the objects were intact.

2. verify-pins.sh reported "FAIL: plugin-bpf: dirty working tree", which was not dirt:
   #98 grew the umbrella from 357 to 389 submodules and this clone had never initialised
   the 32 new ones, so git -C plugin-bpf walked up to the umbrella and reported ITS status.
   git submodule update --init on all 32 resolved it. The gate then reports 389, not 357 —
   the number that proves the new submodules are actually covered.

Neither was a defect in the repo or the scripts.

## How tested

    $ bash scripts/verify-pins.sh
    check-policy-b: OK — 6 distro pins equal charly's gitlinks
    verify-pins: OK — 389 submodules, policy B holds

## Supersedes #99

#99 added plugin-quickshell to the umbrella and fixed a missing branch key that made
sync-gitlinks.sh die with "fatal: invalid refspec origin/". Both landed upstream in #98
while it was open — main already carries the submodule WITH the branch key, and all 389
entries now have one. #99 was closed rather than merged; only the gitlink advance remained,
and rebuilding it fresh on current main beat resolving 56 conflicts against a
32-submodule-older base.

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

atrawog commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Closing as redundant, verified rather than assumed.

All six of this session's gitlinks are already on main, landed by #101 (chore: sync gitlinks) from the concurrent worker:

charly             87e51ea1   plugin-build repin (#515), box/omarchy advance (#518)
plugin-build       ccbe2faa   the resolved-project cache key fix (#8)
plugin-quickshell  d4cab208   the verb, its skill, and runtime_dir (#1-#4)
plugin-wl          a6382ea9   the OCR/exec skill docs (#11)
marketplace        053f3884   the wl and quickshell skills in the corpus (#261, #262)
distro-omarchy     5857c1a5   the quickshell verb + triage + config assertions (#14-#16)

Comparing this branch's tree against main's tip (not the merge base, which misleadingly showed 63 changes already made by #101), only 5 submodules differ — all layer-charly-*, none related to this session's work, and zero of my authored commits are stranded behind main's pins.

Of those 5, only 2 are provably ahead of main; 3 are diverged, so merging could move them backwards. Forcing unrelated pins I cannot prove are forward-only through a conflicted branch adds risk without benefit — the umbrella's regular sync cadence covers them.

Superseded by #101 for everything this PR was for.

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