ktx/packages/cli/test/context/core
Kevin Messiaen 9587049283
fix(git): disable gpg signing for ktx's own commits (#299)
ktx commits under a synthetic identity (ktx <ktx@example.com>) that can
never own a GPG secret key. On a machine with commit.gpgsign=true, git
tried to sign every ktx commit and failed with "No secret key", breaking
ingest, scan, wiki, memory, and bootstrap commits.

Inject commit.gpgsign=false as a per-invocation -c override in the single
core git client factory every ktx commit flows through. This honors the
existing principle of not mutating the user's repo config, and is
locale-independent (no error-message matching).

Also harden the repo-isolation fixture helper to disable signing on its
raw commits so the suite is deterministic regardless of the contributor's
global git config.

Fixes KLO-735.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 14:02:26 +02:00
..
abort.test.ts feat(cli): add ingest LLM rate-limit governor with paced retries (#261) 2026-06-05 12:10:27 +02:00
config-reference.test.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
git.service.assert-worktree-clean.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
git.service.delete-directories.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
git.service.init-identity.test.ts fix(git): disable gpg signing for ktx's own commits (#299) 2026-06-15 14:02:26 +02:00
git.service.patch.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
git.service.repo-isolation.test.ts fix(git): disable gpg signing for ktx's own commits (#299) 2026-06-15 14:02:26 +02:00
git.service.reset-hard.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
git.service.test.ts fix(cli): survive ktx.yaml version skew and derive repo ownership from disk (#293) 2026-06-11 22:10:47 +02:00
session-worktree.service.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00