diff --git a/.claude/memory/MEMORY.md b/.claude/memory/MEMORY.md index 7e52e0b6..9f4d5ed8 100644 --- a/.claude/memory/MEMORY.md +++ b/.claude/memory/MEMORY.md @@ -41,6 +41,7 @@ - [Mike — font preference](user_font_preference.md) — Mike prefers Lucida Console for monospace UI. ## Feedback +- [Re-clone submodule creds](reclone-submodule-creds.md) — Re-cloning the restructured claudetools (projects now submodules): set `credential.helper=store` GLOBALLY before `git submodule update --init --recursive` or every Gitea submodule fails "could not read Username". Steps in RECLONE.md. - [Bot alerts need a ticket link](feedback_bot_alert_ticket_link.md) — Syncro ticket bot-alerts MUST include a clickable link: https://computerguru.syncromsp.com/tickets/ (internal id, not ticket number). post-bot-alert.sh posts raw text; put the URL in the message. - [Mac RMM authentication fixed](feedback_mac_rmm_auth_fixed.md) — Use `.claude/scripts/rmm-auth.sh` helper instead of heredoc pattern. Heredoc with `--data-binary @-` fails on macOS. Helper uses `jq -n --arg` to build JSON safely. Usage: `eval "$(bash .claude/scripts/rmm-auth.sh)"` sets $TOKEN, $RMM, $REPO_ROOT. Updated in /rmm Phase 0. - [Verify committed state before push](feedback_verify_committed_state_before_push.md) — webhook builds from origin/main: verify the COMMITTED build (git stash + build), not the working tree; bad git-add pathspec silently aborts staging. Stage by directory. diff --git a/.claude/memory/reclone-submodule-creds.md b/.claude/memory/reclone-submodule-creds.md new file mode 100644 index 00000000..f798ff2d --- /dev/null +++ b/.claude/memory/reclone-submodule-creds.md @@ -0,0 +1,22 @@ +--- +name: reclone-submodule-creds +description: Re-cloning claudetools (now submodule-based) needs credential.helper set GLOBALLY or submodule init fails +metadata: + type: feedback +--- + +When re-cloning the restructured `claudetools` (history rewritten 2026-06-18; projects +are now git submodules under `projects/`), `git submodule update --init --recursive` +fails for every `https://git.azcomputerguru.com` submodule with **"could not read +Username ... terminal prompts disabled"** — even though the top-level clone succeeded and +`~/.git-credentials` already holds `azcomputerguru` creds. + +**Why:** `credential.helper=store` set *locally on the superproject* does NOT propagate to +the child `git clone` processes that submodule recursion spawns (they run in fresh repos). + +**How to apply:** before the recursive submodule init, run +`git config --global credential.helper store` (the single `~/.git-credentials` line covers +`git.azcomputerguru.com`). Then `git submodule update --init --recursive` populates all 23. +Also: a fresh clone has empty git `user.name`/`user.email` — `sync.sh` auto-corrects from +`identity.json`, but set them if running git before first sync. Re-clone steps: `RECLONE.md` +at repo root; pre-split bundle on Jupiter `\\172.16.3.20\Backups\Gitea-Storage`. diff --git a/errorlog.md b/errorlog.md index 0db6726a..8c6411ca 100644 --- a/errorlog.md +++ b/errorlog.md @@ -17,6 +17,8 @@ Categories (the `[type]` tag): _(none)_ = skill/command execution failure · +2026-06-19 | GURU-KALI | git/submodules | [friction] fresh claudetools re-clone: 'git submodule update --init --recursive' failed with 'could not read Username / terminal prompts disabled' for all https://git.azcomputerguru.com submodules; fix = set credential.helper=store GLOBALLY (local-on-superproject does NOT propagate to per-submodule child clone processes). ~/.git-credentials already had the cred. [ctx: ref=reclone-submodule-creds event=2026-06-18-restructure] + 2026-06-18 | GURU-5070 | agy/search | gemini CLI threw ineligible/projectId setup error (throwIneligibleOrProjectIdError), empty response after 3 attempts [ctx: mode=search host=GURU-5070] 2026-06-18 | GURU-5070 | agy | gemini returned no response (empty after 3 attempts) [ctx: mode=search err= at process.processTicksAndRejections (node:internal/process/task_queues:104:]