Skip to content

chore: pin all 31 missing opencharly org repos as submodules + fix policy-b gate for linked worktrees - #95

Merged
atrawog merged 1 commit into
mainfrom
feat/org-submodule-coverage
Aug 31, 2026
Merged

atrawog merged 1 commit into
mainfrom
feat/org-submodule-coverage

Conversation

@atrawog

@atrawog atrawog commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Completes the org map: all 31 remaining non-archived opencharly org repos are now pinned as flat submodules (path == repo name) at their default-branch (main) HEAD.

  • 31 new gitlinks, per category: layer-charly-* candy repos (8: charly, build, check, image, immich, internals, internals-extra, kubernetes), layer-omarchy-* distro repos (13: base, boot, desktop-apps, dev, fonts, gpu-nvidia, hardware, hyprland, media, network, shell, terminal, themes), check/fixture layers (5: check-local-layer, check-stack-layer, examplestep-consumer, examplestep-deploy-consumer, stepkind-build-consumer), plugins (4: boot-kind, desktop-kind, quickshell, unit), pod-charly-mcp (1).
  • Submodule count: 358 → 389.
  • Every new entry carries branch = main (its repo default — resolved via git ls-remote --symref).
  • Deliberately excluded (documented policy, unchanged): .github (covered by the dotgithub submodule path so this repo keeps its own .github/ for CI), opencharly (the umbrella itself), heroic-heroic (junk repo from the batch-2.7 scaffold word-splitting bug — operator deletion pending, scratchpad).

Gate fix (same commit): scripts/check-policy-b.sh ran git -C charly ls-tree which git's hook env GIT_DIR override (exported to hooks in linked worktrees) hijacked — the nested call resolved box/* against the umbrella gitdir instead of charly's own, failing the pre-commit gate on every worktree-based commit. The nested call now clears GIT_DIR/GIT_WORK_TREE (env -u, call-local only). Verified: the pre-commit hook now passes under an exported GIT_DIR+GIT_INDEX_FILE.

How tested

  1. Pre-commit gate (hook env simulated):
$ cd /tmp/umbrella-org-coverage && GIT_DIR=$(git rev-parse --absolute-git-dir) GIT_INDEX_FILE=$(git rev-parse --git-path index) bash scripts/check-policy-b.sh
check-policy-b: OK — 6 distro pins equal charly's gitlinks
$ GIT_DIR=$(git rev-parse --absolute-git-dir) GIT_INDEX_FILE=$(git rev-parse --git-path index) bash scripts/check-harness-parity.sh
check-harness-parity: OK — 5 shared harness files identical to charly/
  1. Real commit through the hook: git commit ran pre-commit's policy-B + harness-parity assertions and passed (the fixed gate).
  2. Full pinning audit (R10) on the committed tree:
$ cd /tmp/umbrella-org-coverage && task verify
task: [verify] bash scripts/verify-pins.sh
check-policy-b: OK — 6 distro pins equal charly's gitlinks
verify-pins: OK — 389 submodules, policy B holds

Commit f581725, git status --short clean afterwards.

Rulebook compliance

  • R1/RCA: gate failure in linked worktrees root-caused to git's hook-env GIT_DIR export, not papered over; fix is call-local, not a workflow change.
  • R3: no duplication — reuses scripts/verify-pins.sh/policy-B machinery; fix is one nested invocation.
  • R4: no workarounds — no --no-verify, no hooksPath bypass, no force-push.
  • R6: git-safety — branch off fresh origin/main, no destructive ops, no direct push to main.
  • R7/R10: full task verify pasted above on the final committed tree.
  • Policy (README): pin only merged refs (every gitlink is a default-branch HEAD), branch = matches each repo's real default (main), path == repo name.

Change classification

  • Class: gitlinks + one gate-script fix (config/scripting; no candy/schema/Go changes).
  • Verification gate: task verify full pinning audit (389 submodules, policy B holds) + pre-commit gate run live.
  • Attribution: fully tested and validated — verify-pins passed on the final committed tree and the changed gate path executed live under the failing conditions.

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)

…icy-b gate in linked worktrees

Completes the org map: every non-archived opencharly repo is now a flat submodule at path == repo name, pinned to its default-branch (main) HEAD. 389 submodules total.

Excluded by policy: .github (covered by the dotgithub submodule path so this repo keeps its own .github/ for CI), opencharly itself (the umbrella), heroic-heroic (junk repo from the batch-2.7 scaffold word-splitting bug — operator deletion pending).

Gate fix: check-policy-b.sh ran git -C charly ls-tree which git's hook env GIT_DIR override (linked worktrees) hijacked, resolving box/* against the umbrella gitdir and failing the gate on every worktree commit. Nested call now clears GIT_DIR/GIT_WORK_TREE.

Assisted-by: pi (fully tested and validated pending task verify)
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: f581725a40a4 (branch: f581725a40a4f780138f43ef5ad500f940a7b5e8)

Change class: config/scripting — 31 new submodule gitlinks + one gate-script fix in scripts/check-policy-b.sh.

Security screen: PASS — no scope mismatch (all 31 gitlinks + gate fix accounted for), no secrets/exfiltration, no weakened guardrails (the gate fix strengthens the pre-commit gate for linked worktrees), no supply-chain concern beyond the stated submodule pins.

Blocks

  1. A1 — attribution footer format. The body ends with *Assisted-by: pi (fully tested and validated)*, which does not match the required exact form *Assisted-by: <Harness> <Provider Full Model Name> (<confidence>)*. The provider full model name is missing (only a single token pi). Fix the footer to the exact required form.

  2. A1 — body breakdown arithmetic is internally inconsistent. The body claims "layer-omarchy-* distro repos (12)", but the diff adds 13 layer-omarchy-* gitlinks (base, boot, desktop-apps, dev, fonts, gpu-nvidia, hardware, hyprland, media, network, shell, terminal, themes). The body's own breakdown (8 charly + 12 omarchy + 5 fixtures + 5 plugins = 30) does not reconcile with its stated total of 31. Correct the sub-count so the breakdown sums to the actual 31.

Verdict: BLOCK


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

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: f581725a40a4 (branch: f581725a40a4f780138f43ef5ad500f940a7b5e8)

Security screen: PASS — no scope mismatch (all 31 gitlinks + gate fix accounted for in body), no secrets/exfiltration, no weakened guardrails (the check-policy-b.sh fix strengthens the pre-commit gate for linked worktrees by clearing GIT_DIR/GIT_WORK_TREE call-locally), no supply-chain concern beyond the stated opencharly-org submodule pins.

Checklist: All applicable rules PASS or NA.

Comment dispositions:

Verification notes: 31 gitlinks counted in the diff match the body's per-category breakdown and the 358→389 submodule count; task verify pasted output ("389 submodules, policy B holds") is internally consistent; the changed gate path executed live under the exported-GIT_DIR conditions it fixes; single atomic commit; no forbidden framing.

Verdict: PASS


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

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: f581725a40a4 (branch: f581725a40a4f780138f43ef5ad500f940a7b5e8)

Change class: config/scripting — 31 new submodule gitlinks + one gate-script fix in scripts/check-policy-b.sh.

Security screen: PASS — no scope mismatch (all 31 gitlinks + gate fix accounted for in body); no secrets/exfiltration; no weakened guardrails (the check-policy-b.sh fix strengthens the pre-commit gate for linked worktrees by clearing GIT_DIR/GIT_WORK_TREE call-locally); no supply-chain concern beyond the stated opencharly-org submodule pins.

Checklist: All applicable rules PASS or NA.

Verification notes:

  • 31 gitlinks counted in the diff reconcile exactly with the body's per-category breakdown (8 charly + 13 omarchy + 5 fixtures + 4 plugins + 1 pod = 31) and the 358→389 submodule count.
  • Attribution footer *Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)* matches the required <Harness> <Provider Full Model Name> (<confidence>) form; tier justified — the changed gate path executed live under the exported-GIT_DIR conditions it fixes, and task verify ran on the final committed tree.
  • Gate fix is a proper RCA (git hook-env GIT_DIR hijack), call-local env -u, not a workaround; single atomic commit; no forbidden framing.
  • Pasted task verify output ("389 submodules, policy B holds") is internally consistent.

Comment dispositions:

Verdict: PASS


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

View action run

@atrawog
atrawog merged commit 3fec1df into main Aug 31, 2026
1 of 2 checks passed
@atrawog
atrawog deleted the feat/org-submodule-coverage branch August 31, 2026 15:38
charly-auto-merge Bot added a commit that referenced this pull request Aug 31, 2026
github-actions Bot pushed a commit that referenced this pull request Nov 25, 2026
… releases land (#1274)

`charly task sync` on a tree current with origin/main (7f11b25): 74 leaf
submodules rolled to their default-branch HEAD (11 moved), 321 leaf pins
advanced in the index (11 moved) — 22 pins total. The five distro-* pin_map
edges were re-pinned from charly's own gitlinks and did not move.

Two of the moves are what this wave is for (#1273):

  sdk                2bfea23e -> dd87eb2c   sdk#640 — a unit never runs as container root
  plugin-deploy-pod  c87f056c -> c10caae    #97 — a CDI device rides a keep-id unit via a
                                            derived devices-only spec; #95 writes the
                                            deploy entry's image before any overlay write

The other 20 travelled on the same mechanism, each a merged upstream PR:
charly #1275, layer-cdi #20, layer-vectorchord #13, marketplace #652,
plugin-enc #11, pod-charly-mcp #15, pod-immich #23, pod-qwen3-tts #15/#13,
spec #440, plus eleven unmaterialized paths advanced in the index
(layer-devops-tools #8, layer-ollama-cuda #11, layer-ollama-rocm #9,
layer-pre-commit #9, layer-versatiles-style #7, pod-airflow #15,
pod-android-emulator-layer #21, pod-appium-server #9, pod-dbus #8,
pod-jupyter-ml #15, pod-pmtiles-viewer #7).

The plugin-deploy-pod advance moved engineDefaultRuntime from engine_ops.go:139-146 to
129-136, out from under the citation DESIGN A.13 records for "containerd namespace per
deployment" (design/dulling.tsv). The row is re-anchored to the construct's new range and
design/cite-baseline.tsv regenerated for that one row; the construct read at the new pin is
the same one, and the regenerated baseline changes no other row.

Agent: `immich-consolidation` · Claude Code session `113f762e-5d70-484a-9ed9-e34c6423c926`
Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
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