chore(submodules): reconcile .gitmodules to ground truth (prune stale declarations) by hyperpolymath · Pull Request #131 · hyperpolymath/reposystem · GitHub
Skip to content

chore(submodules): reconcile .gitmodules to ground truth (prune stale declarations)#131

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/eager-fermi-bld0gh
Jun 21, 2026
Merged

chore(submodules): reconcile .gitmodules to ground truth (prune stale declarations)#131
hyperpolymath merged 1 commit into
mainfrom
claude/eager-fermi-bld0gh

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Why

The consolidation follow-up promised in #129 (STATE.a2ml: "rpa-elysium path conflict … deferred to a follow-up PR"). .gitmodules declared 5 submodules but only 2 were real gitlinks — the other three paths (rpa-elysium, total-upgrade, total-recall) were committed as ordinary 040000 trees, not 160000 gitlinks, so the declaration and the committed object disagreed and git submodule update --init tried to clone over existing content and failed.

(The orphan-gitlink half of this surgery — avatar-fabrication-facility, claim-forge — already shipped in #130.)

What changed

Make .gitmodules honest: prune the three stale declarations, keeping all tracked content (these paths hold real files, unlike the orphan gitlinks):

Path Committed as Forge Why prune (not de-vendor)
rpa-elysium tree, 171 files exists, reachable (HEAD bda6720) Diverged from the vendored snapshot — of 155 common files 141 differ, with 16 vendored-only and 23 forge-only. De-vendoring would silently discard the vendored-side state, so it's a separate human-gated merge.
total-upgrade tree, 28-file RSR scaffold unverifiable (no GitLab reach here) False submodule claim.
total-recall tree, 28-file RSR scaffold unverifiable False submodule claim; byte-identical duplicate of total-upgrade (same tree 84d1361).

.gitmodules now declares exactly the two consistent gitlinks (git-scripts, git-reticulator); git submodule status / update --init are consistent again. No content removed — only the false claims.

Verification

  • git config -f .gitmodules --get-regexp path → exactly git-scripts, git-reticulator.
  • git ls-tree HEAD still shows the rpa-elysium (171) / total-upgrade (28) / total-recall (28) trees intact — no content lost.
  • git submodule status returns the two gitlinks with no error.
  • config/tools.ncl still references rpa-elysium by name (unaffected — not a submodule reference).
  • The 2026-06-02 verification doc gains a dated "Reconciliation executed" section; STATE.a2ml records the change.

Deferred (outward-facing / divergent / product decisions — not in this PR)

  • Reconcile rpa-elysium with its forge (decide the canonical side; possibly de-vendor) — a 141-file merge.
  • Extract the five local-only standalones (bitfuckit, contractiles, recon-silly-ation, scaffoldia, stateful-artefacts) by creating their forge repos (verified absent).
  • De-duplicate total-upgrade / total-recall.
  • Optionally migrate the two keepers' git@https URLs.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KhFfkfjKaB7Rg957u3uCT6


Generated by Claude Code

… declarations)

.gitmodules declared 5 submodules but only 2 are real gitlinks. The other three
paths — rpa-elysium, total-upgrade, total-recall — were committed as ordinary
trees, not gitlinks, so `git submodule update --init` tried to clone over
existing content and failed.

Prune the three stale declarations, keeping all tracked content:
- rpa-elysium (171 files): forge exists and is reachable but has diverged from
  the vendored snapshot (141/155 common files differ; 16 vendored-only, 23
  forge-only), so de-vendoring is a separate human-gated merge, not a wiring fix.
- total-upgrade + total-recall (28-file RSR scaffolds, byte-identical, sharing
  tree 84d1361): GitLab repos unverifiable from this environment.

.gitmodules now declares exactly the two consistent gitlinks (git-scripts,
git-reticulator); git submodule status/update no longer choke. The orphan-gitlink
half of this surgery (avatar-fabrication-facility, claim-forge) already shipped in
741a982 (PR #130).

Deferred (outward-facing / divergent / product calls): rpa-elysium<->forge
reconciliation; extracting the 5 local-only standalones to forge repos; de-duping
total-upgrade/total-recall.

Docs: STATE.a2ml + the 2026-06-02 verification doc record the reconciliation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KhFfkfjKaB7Rg957u3uCT6
@hyperpolymath hyperpolymath marked this pull request as ready for review June 21, 2026 13:55
@hyperpolymath hyperpolymath merged commit 3250eb1 into main Jun 21, 2026
9 of 10 checks passed
@hyperpolymath hyperpolymath deleted the claude/eager-fermi-bld0gh branch June 21, 2026 13:56
hyperpolymath pushed a commit that referenced this pull request Jun 21, 2026
…al-recall dup

Continues the #131 consolidation — the two reposystem-scoped follow-ups.

rpa-elysium — de-vendor (forge canonical):
The vendored 171-file tree had diverged from the live forge (141/155 common files
differ; 16 vendored-only, 23 forge-only). Per decision the forge is canonical:
replace the vendored tree with a real submodule gitlink at forge HEAD bda6720,
declared in .gitmodules (git@ URL, matching git-scripts/git-reticulator). The full
vendored state is preserved on branch archive/rpa-elysium-vendored-2026-06-21
(171 files) for recovery/diffing — nothing is lost.

total-recall — drop the duplicate:
total-recall and total-upgrade were byte-identical 28-file scaffolds (same tree
84d1361). Keep total-upgrade (an active feat/total-upgrade-scaffold branch targets
it); remove the total-recall duplicate tree.

.gitmodules now declares three consistent gitlinks (git-scripts, git-reticulator,
rpa-elysium); total-upgrade remains a local scaffold tree.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KhFfkfjKaB7Rg957u3uCT6
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.

2 participants