# Checklist embedding caches (regenerated on first load)
*.vec.npz

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

# IDE
.vscode/
.idea/

# OS
.DS_Store

# Astro
site/node_modules/
site/dist/
site/.astro/
site/public/app/

# Root-level build artifacts (npm/astro run from repo root, not site/)
node_modules/
.astro/

# Kredo runtime
*.db

# Credentials — NEVER commit
test_agents/credentials/
*.json.bad
# Operator/admin secrets: bootstrap-generated prod passwords, fleet/owner creds,
# break-glass keys. The prod admin password lives only in the deploy transcript,
# never on disk in this repo — these patterns keep it (and any future secret) out
# of git if it's ever written to a file here. Source/tests (*.py) are not matched.
.kredo/
.env
.env.*
*credentials*.json
*creds*.json
admin_credentials*

# Sensitive internal docs — NEVER commit. These enumerate our own
# vulnerabilities / unshipped-fix status; this repo has a PUBLIC remote, so a
# single broad `git add -A` would publish our attack surface. Keep them out of
# git entirely (glob covers dated variants). If one must be shared, do it out of
# band, not through the repo.
*READINESS_REVIEW*.md
*SECURITY_REVIEW*.md
AIKREDO_INVESTOR_READINESS_REVIEW_*.md
prod_admin*
PROD_CREDENTIALS*
ADMIN_CREDENTIALS*
secrets.json
secrets.y*ml
*.secret

# LoRA adapter weights (large binary files)
test_agents/models/

# Assessment logs — may contain credentials and response data
test_agents/assessment_logs/

# Pytest
.pytest_cache/
.venv/

# Patent / legal work product — NEVER commit to ANY repo.
# Mirrored to /Volumes/AI-Models-A/kredo-patent-archive/ and AI-Models-B mirror.
PROVISIONAL_PATENT_APPLICATION.md
PATENT_FILING.md
Patent_Attorney_Preparation_Checklist.docx
Prior_Art_Search_Report.docx
Kredo_IP_Risk_Assessment.docx
Kredo_Drift_Aura_IP_Risk_Assessment.docx
Kredo_Drift_Pitch_Deck.pptx
Kredo_Drift_Proposal_Brint_Ryan.docx
Kredo_Platform_Architecture.docx
Kredo_Drift_Metametric_Math.html
kredo_framework_diagram.html
*.docx
*.pptx
~$*

# Stale backup directory — kept locally only, do not commit
kredo_drift_api.bak/

# Backup manifests and LibreOffice lock files
.backup_manifest.json
.~lock.*

# Patent PDF — binary, stored on AI-Models-A/B mirrors only
PROVISIONAL_PATENT_APPLICATION.pdf
Patent/

# Local working artifacts — never commit
vanguard_assessment_*.md
vanguard_assessment_*.json
vanguard_retest_results.md
vg_app_assessment.py
values_boundaries_prompt_review.md
test_agents/LIVE_*.md
test_agents/FULL_RETEST_RESULTS.md
test_agents/adapters/

# SDK build artifacts
sdk-ts/node_modules/
sdk-ts/dist/

# LoRA adapter binaries
*.safetensors

# LLM judge training artifacts — adapters, training data, run outputs
llm_judge/adapters/
llm_judge/data_*/
*.bak

# One-off experiment outputs (Opus base control, etc.) — keep runner scripts, ignore results
opus_base_control*.log
opus_base_control*.json

# Scratch / tempfiles
*.tmp

# ── Reconciliation cleanup 2026-05-30 ──
# Patent/legal work product — keep LOCAL only (mirrored to AI-Models patent archive). NEVER commit.
docs/exhibits/
docs/PATENT_EXPOSURE_FINDINGS.md
docs/NO_EXPOSURE_MAR23-25.md
docs/figures/
docs/ARCHITECTURE_DIAGRAM-1.svg

# Scratch / one-off experiment runners + calibration data — keep local, don't commit.
# (root-anchored so /runpod_judge.py never shadows the tracked src/kredo_drift_api/runpod_judge.py)
/resubmit_opus_base.py
/run_opus_base_control.py
/runpod_judge.py
llm_judge/benchmark_qwen3_1.7b.py
llm_judge/push_assessment_runpod_test.py
llm_judge/rescore_security_assessor.py
/calibration/
/axiom/
SOURCE_OF_TRUTH.md
aegis_creds.json
aegis_responses_cache.json
aegis_system.md
run_aegis_selftest.py

# ── Vanguard self-test artifacts (2026-06-23; parallels the aegis/opus runners above) ──
# Ad-hoc identity self-assessment run — the runner, its submission/poll helpers, and
# the captured prompts/responses/result JSON. Companion to the already-ignored
# /run_opus_base_control.py; kept local, never committed. (reviews/ deliberately NOT
# ignored — that's a substantive security review, not scratch.)
/run_vanguard_selftest.py
/submit_my_test.py
/poll_only.py
/my_prompts.json
/my_responses.json
/vanguard_selftest_assessment.json
/vanguard_selftest_progress.json
# Self-described disposable review script ("Safe to delete after review").
/tools/eyeball_axiom_fix.py
# Claude Code local editor config (settings.local.json already covered by the global ignore).
.claude/launch.json

# Runner control files — transient per-subject signals, never part of a release
cynic/.stop*
testpilot/.stop*
cynic/.lock*
testpilot/.lock*

# Transient working copies. apply() in run_replicates.sh overwrites these four
# files at the start of EVERY cell with the current condition's memory set, so a
# tracked copy is dirty for the whole of any run — which blocks deploy_drift_api.sh
# ("REFUSING: working tree is dirty") at exactly the moments we most want to ship.
# The canonical copies live in testpilot/conditions/<arm>/ and ARE tracked.
testpilot/00-memory-index.md
testpilot/01-user.md
testpilot/02-journal.md
testpilot/03-soul.md
