Skip to content

feat: allow media, documents and large files in git - #3

Merged
eskokoivula merged 1 commit into
mainfrom
feat/allow-media-in-git
Oct 16, 2026
Merged

eskokoivula merged 1 commit into
mainfrom
feat/allow-media-in-git

Conversation

@eskokoivula

Copy link
Copy Markdown
Contributor

What and why

The check no longer rejects video, audio, PDF, Office files, design sources or archives, and it has no size limit. Project repositories must be able to hold their deliverables. Secrets, operating system junk and top-level images stay blocked. CONTRIBUTING.md now states GitHub's own limits (blocks files over 100 MiB, Git warns over 50 MiB; source: GitHub Docs, "About large files on GitHub"). The AGENTS.md block, the enforcement table, the PR template and the README diagram drop the old rule. DECISIONS.md records the decision.

The copies follow in BuildexLabsAI/repo-template#3, ai-video-opas#10, janbot#2, UAE-SponSlot#7, forg#5 and versuz#519; merge this one first.

How it was tested

  • bash tests/check-standard.test.sh: 59 passed, 0 failed (media and documents pass; a 10 MB file passes untracked, indexed, staged, and as a committed file that grows; secrets, junk and top-level images still fail).
  • bash src/check-standard.sh --canonical src: OK, 0 warnings.
  • A repository from the updated template committed a 9.6 MB PDF and a 7.6 MB HTML file through the pre-commit hook.
  • Codex review at high reasoning effort, two rounds: round 1 found two blocking documentation issues (MB vs MiB, the top-level image rule), both fixed; round 2 found nothing blocking.
  • shellcheck runs in this pull request's CI (not installed locally).

Checklist

  • The title follows Conventional Commits
  • No secrets
  • README.md and AGENTS.md still match how to install, run and test
  • DECISIONS.md has a line for any decision made here

🤖 Generated with Claude Code

The check no longer rejects video, audio, PDF, Office files, design sources or
archives, and it has no size limit. Secrets, operating system junk and
top-level images stay blocked. CONTRIBUTING.md states GitHub's own limits
instead (blocks files over 100 MiB, warns over 50 MiB). The AGENTS.md block,
the enforcement table, the PR template and the README diagram drop the old
rule. Tests cover media, a large untracked, indexed and staged file, and a
committed file that grows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eskokoivula
eskokoivula merged commit 5ebea1d into main Oct 16, 2026
2 checks passed
@eskokoivula
eskokoivula deleted the feat/allow-media-in-git branch October 16, 2026 11:52
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.

1 participant