# Process ## Never "try" a credential helper to see if it works **What happened.** On 2026-10-31 the first push to Gitea failed for lack of credentials. The agent retried with `-c credential.helper=manager`. Git Credential Manager returned a stored login for `gitea.marek-novak.cz`, Gitea rejected it, and git then told GCM to erase that login. The push finally worked once the author copied Ludus's repo-local `credential.helper` into this repository. **Why it bit.** Git calls `credential reject` after an authentication failure. With GCM that deletes the stored credential, so a failed probe is not harmless: it can break every other repository that relied on the entry. **How to apply it.** When a push needs credentials, ask the author how this machine authenticates for that host. Never probe with a different helper, and never read, print or search for token values. On this machine, each repository carries its own `credential.helper`. ## Pin to a sibling's lockfile when the machine's Node is old **What happened.** The first `pnpm install` resolved the newest versions. `@axe-core/playwright@4.14` needs Node ≥ 22.12, and `typescript-eslint@8.72` pulled in `eslint-visitor-keys@5`, which declares ≥ 22.13. This machine runs 22.11. Pinning every direct dependency to the versions in Ludus's `pnpm-lock.yaml` and turning `engine-strict` off gave an install that every gate passes on. **Why it bit.** A caret range is a promise about the future, and the future had moved past this machine's Node. Ludus, a known-good sibling on the same machine, was a better source of versions than the registry. **How to apply it.** Start a new repository from a sibling's resolved versions, and pin them exactly. Unpin deliberately, in its own commit, after upgrading Node (G0.20).