Skip to content

hygiene(conflict-markers): allowlist rerere-cache-dividend memory file#932

Merged
AceHack merged 2 commits intomainfrom
hygiene/conflict-markers-allowlist-rerere-file-2026-04-30
Apr 30, 2026
Merged

hygiene(conflict-markers): allowlist rerere-cache-dividend memory file#932
AceHack merged 2 commits intomainfrom
hygiene/conflict-markers-allowlist-rerere-file-2026-04-30

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented Apr 30, 2026

Summary

Adds the rerere memory file (landed via PR #694) to the conflict-markers lint ALLOWLIST.

The file's worked-example trace at lines 117-121 contains literal merge marker tokens (<<<<<<<, =======, >>>>>>>) inside a fenced code block — used as documentation of the MEMORY.md sibling-DIRTY conflict shape that rerere recorded. The lint correctly flagged them as line-start markers; the allowlist mechanism is exactly the documented escape valve for legitimate-discussion files.

Composes with the existing allowlist entry for feedback_otto_341_*.md — same pattern, same reasoning.

Test plan

  • bash tools/hygiene/check-no-conflict-markers.sh passes locally
  • Allowlist comment explains why the file is exempt
  • No other allowlist additions

🤖 Generated with Claude Code

…e (PR #694 substrate)

The rerere memory file landed via PR #694 (2026-04-30) contains a
worked-example trace at lines 117-121 showing the MEMORY.md sibling-
DIRTY conflict shape inside a fenced code block. Those literal merge
markers are documentation (the rule's worked example), not accidental
leakage from a botched merge.

Adding the file to ALLOWLIST keeps the lint-as-mechanism approach
working — accidental marker leakage still fires; documented examples
in named substrate files are explicitly opted in.

Composes with the existing allowlist entry for Otto-341 lint-
suppression file, same pattern.
Copilot AI review requested due to automatic review settings April 30, 2026 18:19
@AceHack AceHack enabled auto-merge (squash) April 30, 2026 18:19
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the conflict-marker hygiene lint allowlist to exempt a specific memory file that intentionally contains literal git merge marker tokens within a fenced code block (as documentation), preventing false-positive lint failures.

Changes:

  • Add memory/feedback_rerere_conflict_resolution_cache_dividend_amara_2026_04_28.md to the allowlist in tools/hygiene/check-no-conflict-markers.sh.
  • Document the allowlist rationale inline next to the new entry.

Comment thread tools/hygiene/check-no-conflict-markers.sh Outdated
Copilot review thread: the rationale comment hard-coded 'lines 117-121'
which is liable to drift as the memory entry evolves. Reworded to
describe the example by section ('Worked-example trace' quoting the
MEMORY.md sibling-DIRTY conflict shape) rather than line position.
The file-level allowlist scope is the durable contract.
@AceHack AceHack merged commit dbda48c into main Apr 30, 2026
24 checks passed
@AceHack AceHack deleted the hygiene/conflict-markers-allowlist-rerere-file-2026-04-30 branch April 30, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants