chore(gitignore): collapse codex-pair entries to single .codex-pair/ line (ADR-092)#180
Merged
Merged
Conversation
…line (ADR-092) 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 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ask-llmplugin 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 no longer matches the layout — those exact paths never get created by the new hook, so the entries are dead..codex-pair-context.md.codex-pair/.codex-pair-log.jsonl.codex-pair-cache/.codex-pair-state/Why this matters
Plugin v0.7.1's hook self-gates on
.codex-pair/context.md. The old marker at.codex-pair-context.mdis no longer recognized — so contributors who set up codex-pair under v0.6.x see the hook go silent after the plugin update (the log goes ~6 days without entries — that's how I noticed). New contributors enabling codex-pair only need the single.codex-pair/gitignore entry; the entire opt-in state directory is per-developer and never committed.Verified locally
.codex-pair-context.md→.codex-pair/context.md(marker preserved verbatim).codex-pair-log.jsonl→.codex-pair/log.jsonl.codex-pair-cache/→.codex-pair/cache/.codex-pair-state/→.codex-pair/state/import typeMED) in 19sgit check-ignore -vconfirms all three new paths are covered by the single.codex-pair/lineTest plan
git check-ignoreRefs
ask-llmplugin v0.7.1🤖 Generated with Claude Code