# Populated GHA-secrets restore env (created from scripts/restore_gha_secrets.template.env)
# NEVER commit this file — it contains the founder's keys.
restore_gha_secrets.env
**/restore_gha_secrets.env

# Runtime env / secrets. The app loads .env via docker-compose env_file + wsgi load_dotenv().
# NEVER commit real secrets. Only .env.example (a template with placeholders) is tracked.
.env
.env.*
!.env.example

# _state/ session artifacts — credentials, auth cookies, binary blobs
# These are ephemeral session files that must NEVER be committed.
_state/cookies*.txt
_state/*.zip
_state/*.bin
_state/login_body.json

# Multi-session coordination SCRATCH dirs (per-program defect backlogs,
# progress tables, offline regen output). These are append-only runtime
# state shared across LLM sessions. They are gitignored ON PURPOSE so that
# `git clean -fd` SKIPS them (clean only removes untracked-and-NOT-ignored
# files; -fdx would still remove them). A stray `git clean -fd` at the repo
# root wiped _state/f500_audit/ mid-program on 2026-05-29 ~10:06Z — ignoring
# it makes that class of accident impossible without the revert risk that
# tracking volatile append-only files carries (see the merge=union note in
# .gitattributes; the durable, tracked coordination ledgers are
# recent_actions.jsonl / open_blockers.jsonl / claims.jsonl).
_state/f500_audit/
_state/launch_regen/

# Claude Code scheduled task lock
.claude/scheduled_tasks.lock

# Git worktree checkout directories — never commit
_wt_*/
archiet-dmn-flask/
archiet_wt_*/

# Claude Code agent worktrees (ephemeral, not project code)
.claude/worktrees/

# Python cache (should not be committed)
__pycache__/
*.pyc

# deploy daemon runtime state (not source)
_state/deploy_daemon_state.json
_state/deploy_daemon.disabled

# Use-case SEO drafts AWAITING founder review (staged, not live). The live
# Next.js build does NOT read this dir; it holds pending drafts until a
# founder approves them (then publish_approved_use_case moves them to the
# live dir, which IS tracked). See app/services/llm_use_case_drafter.py.
frontend/content/seo/use-cases-pending/
