[claude] Add .gitattributes export-ignore + large-repo clone docs (#1428) #1433
Reference in New Issue
Block a user
Delete Branch "claude/issue-1428"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1428
What this does
.gitattributes(new file)Marks non-essential directories (
docs/,reports/,audits/,reviews/,paper/,scaffold/,intelligence/,assets/,icons/,operations/,org/,concept-packs/,evolution/) asexport-ignoreso they are excluded fromgit archivetarballs and future sparse-export workflows. Also addslinguist-documentationoverrides so Gitea language stats reflect actual code.CONTRIBUTING.md— new "Large-Repo Clone Strategy" sectionDocuments:
--filter=blob:none --depth 1) — fastest for agents; fetches blobs on demand--filter=tree:0) — skips tree objects for historynexus/andtests/export-ignoreaffects archives, not clone — so agents know to use partial-clone flags directlyThis unblocks agents contributing to hermes-agent and the-nexus as both repos grow past the 1000-file threshold.