Skip to content

fix: add CI gate to prevent .received.txt snapshot files from being committed #4880

Closed

Description

@thomhurst

Description

CLAUDE.md warns never to commit .received.txt files, but there is no automated enforcement:

  • No CI step to fail if any .received.txt files exist in committed code
  • No pre-commit hook to prevent .received.txt commits
  • Developers could accidentally commit received files instead of verified files

Suggested Fix

  • Add a CI workflow step: find . -name "*.received.txt" -exec false \; (fail if any exist)
  • Add a .gitignore entry or pre-commit hook for *.received.txt
  • Document the exact git commands for snapshot acceptance in contributing docs

Activity

  1. added 2 commits that reference this issue on Feb 19, 2026
    66f9a89
    84b4edd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions