From d587765e192517259d259021d98ba54f559e02b7 Mon Sep 17 00:00:00 2001 From: Anton Lykhoyda Date: Tue, 26 May 2026 22:14:00 +0200 Subject: [PATCH] chore(gitignore): collapse codex-pair entries to single .codex-pair/ line (ADR-092) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ask-llm plugin v0.7.1 moved every codex-pair state artifact (marker, log, cache, ignore globs, pause sentinel, inflight locks) under a single .codex-pair/ directory per ADR-092. The old four-line gitignore block (`.codex-pair-context.md`, `.codex-pair-log.jsonl`, `.codex-pair-cache/`, `.codex-pair-state/`) no longer matches the layout — those exact paths never get created by the new hook, so the entries are dead. Replaced with a single `.codex-pair/` entry that covers every nested artifact including any future additions the plugin adds. Verified locally: - migrated .codex-pair-context.md → .codex-pair/context.md - migrated .codex-pair-log.jsonl → .codex-pair/log.jsonl - migrated .codex-pair-cache/ → .codex-pair/cache/ - migrated .codex-pair-state/ → .codex-pair/state/ - the new hook fires on the next Edit (smoke test caught both planted issues: regex-injection HIGH + non-import-type MED in 19s) - `git check-ignore` confirms all three .codex-pair/* paths covered by the single line Co-Authored-By: Claude Opus 4.7 --- .gitignore | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c1b5704..f32df07 100644 --- a/.gitignore +++ b/.gitignore @@ -21,8 +21,8 @@ scripts/rn-fast-runner/**/DerivedData/ # deepsec scanner workspace (local-only — config, data//INFO.md, scan output) .deepsec/ -# codex-pair (per-developer opt-in; marker presence enables the hook) -.codex-pair-context.md -.codex-pair-log.jsonl -.codex-pair-cache/ -.codex-pair-state/ +# codex-pair (per-developer opt-in; marker presence enables the hook). +# Per ADR-092, every state artifact (marker, log, cache, ignore globs, +# pause sentinel, inflight locks) nests under a single directory so one +# line covers everything including future additions. +.codex-pair/