# Environment
.env
*.env.local

# Node
node_modules/
dist/

# Foundry
reference/cache/
reference/out/
reference/broadcast/
reference/lib/
reference/typechain-types/

# Build artifacts
*.zip
.vercel

# Root runtime/generated outputs (must never be tracked)
broadcast/
cache/
deliverables/
.wake/

# Python local artifacts
.python-version
.venv/
.venv-*/
__pycache__/
*.py[cod]
GITHUB-LAUNCH-PREP.md
ENGINEERING-STATE.md
!ENGINEERING-STATE.md
articles/
examples/
spec/
specs/
subgraph/
tools/
CLI-SPEC.md
E2E-TEST-SPEC.md
CHANGELOG.md
COMPUTE-AUDIT-SPEC.md
COMPUTE-LAUNCH-CHECKLIST.md
WORKER-HARNESS-SPEC.md
PLUGIN-REVIEW-2026-03-23.md
AUDIT-*.md
docs/AUDIT-*.md
report.md
python-sdk/CHANGELOG.md
!python-sdk/CHANGELOG.md
E2E-TESTNET-RESULTS-*.md
E2E-TESTNET-SUBSCRIPTION-*.md
.vercelignore
python-sdk/examples/
docs/audit-briefs/
docs/post-audit-launch-checklist.md
**/.next/
**/out/
web/tsconfig.tsbuildinfo

# ─── Private IP (not for public repo) ───
reference/contracts/
reference/test/
reference/script/
reference/scripts/
reference/src/
reference/broadcast/
reference/deployments/
reference/cache/
reference/out/
reference/out-deploy/
reference/out-sizecheck/
reference/crytic-export/
reference/artifacts/
reference/typechain-types/
reference/corpus/
reference/demos/
reference/audit/
reference/audit-independent/
reference/audit-reports-*/
reference/audit-reports-final/
reference/circuits/
reference/dist/
reference/node_modules/
reference/testnet/
reference/README.md
reference/sdk-e2e-test.ts
reference/FORGE-TOPIC-11-RECOVERY-2026-03-19.md
reference/AUDIT-REPORT.md
reference/report.md
reference/hardhat.config.ts
reference/foundry.toml
reference/foundry.toml.bak
reference/medusa.json
reference/wake.toml
reference/tsconfig.json
reference/package.json
reference/package-lock.json
spec/
specs/
articles/
audit/
web/
subdomain-worker/
subgraph/
memory/
scripts/
!scripts/
scripts/*
!scripts/daemon-split-smoke.cjs
!scripts/verify-phase6c.sh
tools/
SECURITY-AUDIT.md
docs/THREAT-MODEL.md
docs/AGENT-SECURITY.md
docs/mev-exposure.md
docs/zk-ceremony.md
docs/launch-framing-checklist.md
docs/launch-implementation-roadmap.md
docs/launch-readiness-prd.md
docs/macbook-validation-runbook.md
docs/post-audit-launch-checklist.md
cli/scripts/
cli/src/drain-v4.ts
cli/test/
DEPLOY-HANDSHAKE.md
TODO.md
brand/
products/arc-402/contracts/lib/

# Plugin tools/ dir — must not be ignored by the global tools/ rule
!plugin/src/tools/
!plugin/src/tools/*.ts

.wake/

# ─── Audit toolchain artifacts ───
crytic-export/
echidna*.yaml
medusa.json

# ─── Internal specs / skill (not for public repo surface) ───
internal-specs/
products/arc402/
skills/
cli/INK6-UX-SPEC.md
cli/MIGRATION-SPEC.md
cli/TUI-SPEC.md
cli/workroom/

# Launch surface — local dev only (root-anchored so arena/ subdirs are not caught)
/test/
/foundry.toml
/foundry.lock
landing/
# Arena Next.js app artifacts — ignored (contracts/ test/ script/ are tracked)
arena/node_modules/
arena/.next/
arena/out/
arena/package.json
arena/package-lock.json
arena/tsconfig.json
arena/next.config.js
arena/next-env.d.ts
arena/app/
arena/lib/
arena/public/
provisioner/
/script/
infra/
.githooks/
.github/
.solhint.json
.gitmodules
contracts/lib/

# Docs — internal only
docs/megabrain-*.md
docs/public-*.md
docs/repo-*.md
docs/launch-scope.md
docs/local-agency.md
docs/SPEC-*.md
docs/agreement-tree-liability.md
docs/architecture/protocol-audit-*.md
docs/operator-standard/
docs/operator/
!arena/scripts/

# Hermes integration — negations must follow the global skills/ (line ~147) and memory/ (line ~105) rules
!hermes/skills/
!hermes/skills/arc402-agent/
!hermes/skills/arc402-agent/SKILL.md
!hermes/workroom/hermes-worker/memory/
!hermes/workroom/hermes-worker/memory/learnings.md
!hermes/workroom/hermes-worker/skills/
!hermes/workroom/hermes-worker/skills/.gitkeep

# Internal process docs — not for public repo
ENGINEERING-STATE.md
docs/release-notes-*.md
docs/release-plan-*.md
docs/release-prep-*.md
docs/prerelease-*.md
docs/phase*-verification.md
docs/release-readiness-report-*.md
