Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
285 changes: 59 additions & 226 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,226 +1,59 @@
node_modules/
**/node_modules/
dist/
**/dist/
.turbo/
**/ .turbo/
/.pnpm-debug.log*
/.next-internal

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# Rust / Soroban
/target/
target/
**/target/
Cargo.lock
# fuzz/ is a standalone binary-only crate (never published, never a
# dependency of anything) run only in CI -- committing its lockfile is
# the standard cargo-fuzz convention and is what keeps a loose upstream
# dependency spec (see fuzz/Cargo.toml's ed25519-dalek comment) from
# silently breaking CI again whenever crates.io publishes something new.
!fuzz/Cargo.lock
# Root workspace lockfile (nirium-soroban-contracts + protocol/) -- these compile
# to deployed WASM artifacts, not a library other Rust projects depend on,
# so the usual "don't commit a library's Cargo.lock" advice doesn't apply
# here; reproducible builds matter more than resolution flexibility. Same
# root cause as fuzz/Cargo.lock: without this, `ethnum` floated to 1.5.2
# and broke CI's contracts build against the current rustc (fixed via
# `cargo update -p ethnum --precise 1.5.3`) with nobody noticing until CI
# finally got far enough to reach that step.
!/Cargo.lock
fuzz/corpus/
fuzz/artifacts/
nirium-soroban-contracts/test_snapshots/
*.wasm



# ---------------------------------------------
# AI Agent Generated Documentation (Ignored)
# ---------------------------------------------
# Ignoring prompts and plans generated for other networks/hackathons
# Ignore all root markdown files except core documentation
*.md
# 13-sep-2026: the *.md rule above is repo-wide (no leading /), so it was
# also silently swallowing every SKILL.md under .agents/skills/ and
# .claude/skills/ — only nirium-core-context/SKILL.md survived, via a past
# `git add -f`. Everything else (full-context-loading, nirium-github-sweep,
# npm-tarball-verify, cross-repo-content-sync, claude-antigravity-setup)
# existed only on this machine's filesystem, not in git — a fresh clone or
# machine swap would have lost them. First pass only excepted SKILL.md
# itself, then found companion .md files (cross-chain/{cctp,axelar,
# layerzero}.md, pitch-deck/references/*.md, copywriting/references/*.md,
# spec-to-code-compliance/resources/*.md) still silently caught by the same
# rule — widened to the whole directory so no future companion file repeats
# this. Explicit exception, not a `git add -f` workaround, so it survives
# future edits to the *.md list above.
!.agents/skills/**
!.claude/skills/**
!README.md
!DECISION_LOG.md
!CONTRIBUTING.md
!NIRIUM_TECHNICAL_PAPER.md
!DEMO_SCRIPT.md
!SECURITY.md
!SECURITY_AUDIT_V2.md
!claude.md
!AGENTS.md
!IsacapKey.md
!SDKs.md
!MCP_INTEGRATION_GUIDE.md
!MARKETING_PLAN_APRIL_2026.md
!Pitch_Alberto_Stellar_House_CDMX.md
!Playbook_Stellar_House_CDMX.md
!SCF_Pitch_Deck_Completo.md
!Elevator_Pitches.md
# Servable legal docs live under public/ — not internal docs, must ship.
!apps/web/public/legal/*.md
!CODE_OF_CONDUCT.md
!LICENSING.md
!SCF_Pitch_Deck_REFINED.md
!INTERNAL_SECURITY_AUDIT.md
!supanirium.md

# ---------------------------------------------
# Legal-sensitive docs: explicit rule, not just *.md
# ---------------------------------------------
# 20-ago-2026: PAQUETE-ABOGADO-2026.md ended up committed (b117f70) with no
# rule covering it at all — the *.md pattern above never protected it, an
# earlier oversight, not a later exception overriding it. Stripped from
# history and given its own explicit rule here so a future edit to the *.md
# exception list above can't silently re-expose it the same way.
PAQUETE-ABOGADO-2026.md

# 20-ago-2026: NiriumMainnet.md is different from the case above — the rule
# for it already existed (see the "Internal product strategy docs" list
# further down), added in the very same commit (1a384b9, 16-jul-2026) that
# ALSO force-added the file to git anyway (git add -f), contradicting the
# rule it had just written. A gitignore rule can't un-track a file once
# tracked — that's what let it stay committed for over a month despite the
# rule existing the whole time. Stripped from history (4 commits rewritten,
# main rebase); no new line needed here, the existing one below already
# covers it correctly now that the file is untracked again.

# Ignoring plans generated if any
implementation_plan.json

# Internal product strategy docs (not committed)
nodos.md
qapitch.md
instaward2-plan.md
propuesta-remzy.md
contrato-remzy-msa.md
SDF.md
boxb-mainnet.md
NiriumMainnet.md

# Secrets
.env
.env.*

# AI config
.gemini/

# Benchmarking
# Python / Local Dev Extras
.venv/
**/.venv/
venv/
**/venv/
*.log
.pyre_configuration
pyrightconfig.json
apps/web/.env.local
*.map
arbitrumagents.md
agent_*_keys.json

# Compliance (internal docs - gitignored)
compliance/eligibility-checklist.md
compliance/social-media-guide.md
compliance/video-demo-script.md
compliance/out-of-scope-findings.md
# Note: claude.md is tracked (see !claude.md exception above)

# JARGUS — Framework propietario de Gio Vargas (pentesting)
# Tracked en el repo PRIVADO — nunca sincronizar al repo público
# (el script de sync solo copia README/SECURITY/SDKs/TECHNICAL_PAPER)

# Working/throwaway dirs (local only)
scratch/
.vercel-backup/
.vercel.bak/
.env*
pitch-deploy/

# Salida generada por scripts/rebuild-public-repo.sh — nunca trackear
nirium-public-rebuilt/

# Python bytecode
__pycache__/
*.pyc

# Preparación de consulta legal — interno, no va al repo público
legal-preguntas-tesoreria.md

# ---------------------------------------------
# Contexto de estrategia SCF — SOLO en el privado
# ---------------------------------------------
# Instalado el 7-ago-2026 con stellar-build. Nada de esto va al repo público
# (nirium-protocol/nirium-core, antes Eras256/Nirium) ni al de la organización (nirium-protocol/nirium-sdk).
#
# Por qué importa aunque hoy viva fuera del repo: ECOSYSTEM.md es el catálogo
# de LumenLoop con los 728 proyectos y sus montos de award, y las notas de
# estrategia dicen contra quién competimos y qué track vamos a usar. Publicar
# eso es regalarle a otro postulante el análisis que nos costó construir — y
# `*.md` ya lo cubre, pero un `!ECOSYSTEM.md` distraído lo desharía en un
# segundo. La redundancia aquí es a propósito.
ECOSYSTEM.md
PROMPT-nirium-audit.md
PROMPT-periplo-build.md
submission-*.md
dossier-*.html
correo-scf-*.md
scheme_upto_stellar.md

# Referencias de terceros clonadas para consulta (viven en ~/stellar-ref).
# Si alguna vez se copian aquí, no se versionan: la mayoría no publica licencia,
# y la que sí la publica se consume como dependencia de npm/crates, no vendorizada.
stellar-ref/
stellar-build/
.stellar-build/

# Catálogo y skills instalados por stellar-build (viven en ~/.claude/skills).
# Se ignoran por si alguien los copia al repo para "tenerlos a mano".
**/skills/data/lumenloop/
**/projects.json
packages/agent/central_issuer.json

# stale deploy artifacts
nirium-soroban-contracts/deployment_id.txt
nirium-soroban-contracts/deploy_output.log
# Public mirror of the Nirium monorepo. Generic rules only: this file is
# published, so it names no internal file.

# Dependencies
node_modules/
.pnpm-store/

# Build output (root-anchored where a folder name is also a site route)
/dist/
/build/
/out/
apps/web/out/
.next/
.next-internal/
*.tsbuildinfo
next-env.d.ts

# Rust / Soroban
target/
**/test_snapshots/
fuzz/artifacts/
fuzz/corpus/
fuzz/coverage/

# Python
__pycache__/
*.py[cod]
.venv/
venv/
*.egg-info/

# Secrets and local configuration: never commit these
.env
.env.*
!.env.example
*.pem
*.key
*secret*.json
*_keys.json
central_issuer.json
.contract-ids.env

# Deployment and tooling state
.vercel/
.turbo/
coverage/

# Logs and OS files
*.log
npm-debug.log*
pnpm-debug.log*
.DS_Store
Thumbs.db

# Editors and local AI tooling
.idea/
.vscode/
.claude/
.agents/
Loading