# ============================================================================
# SeedProject base — cloneable Astro + PHP foundation
# Tracked: engine code (app/src, api framework, content-pipeline, astroagent).
# Ignored: secrets, dependencies, build output, and per-site runtime state.
# ============================================================================

# --- secrets (NEVER commit) ---
**/.env
api/config.php
api/system/.installed

# --- dependencies (installed per site via scripts/new-site.sh) ---
node_modules/
api/vendor/

# --- build output (regenerable) ---
# NOTE: anchored to the repo root — app/public/ (theme static assets) and
# api/public/ (framework front controller) are source, not build output.
app/dist/
app/.astro/
/public/
/public-preview/

# --- logs ---
*.log

# --- per-site runtime state (regenerated; dirs kept via .gitkeep) ---
content-pipeline/logs/*
!content-pipeline/logs/.gitkeep
content-pipeline/drafts/*
!content-pipeline/drafts/.gitkeep
content-pipeline/state/*
!content-pipeline/state/.gitkeep
content-pipeline/calendar.json
content-pipeline/messages.json
content-pipeline/news-queue.json
content-pipeline/news-scan.json
content-pipeline/research-scan.json

# --- astroagent runtime workspaces ---
.astroagent/jobs/
.astroagent/work/
app/.astroagent/jobs/
app/.astroagent/work/
