seedproject-web/.gitignore
Carlos Arias 2c969c0753 feat: content-pipeline/ → agents/ — formalize the agent system in the seed
Adopt the agents/ architecture proven on medellin.co (reference impl):

- Move the content engine to a top-level agents/ dir: orchestrators, prompts,
  config, run.sh, admin console, shared libs. All content-pipeline literals
  repointed (config paths, scripts, admin, LLM-facing prompts/image.md string,
  configure.mjs, new-site.sh, astroagent tokenFile, .gitignore runtime block).
- Every script carries a parseable @agent-manifest header: name, title, class
  (content|operational|runtime|plumbing), trigger, model, prompts, skills (MCP),
  tools, reads/writes tables. 5 content agents + 3 plumbing scripts.
- New agents/catalog.mjs generates the catalog from the headers:
  agents/AGENTS.md (human, grouped by class) + agents/agents.json (machine
  manifest — a clone diffs it against a source to find missing tools/tables/MCP
  before running). configure.mjs regenerates the catalog on every identity
  stamp. No DB table, no watcher.
- config.json gains paths.stateDir/newsDir; publish-tick, write-daily, and
  news-radar read them instead of hardcoding.
- Full cut: content-pipeline/ deleted (the seed has no live crons, so no
  hybrid period needed). Docs updated (AGENTS.md structure + pipeline section,
  README paths).

Clones migrating from content-pipeline/: see medellin.co's
.memory/handoffs/agents-directory-migration.md for the cutover playbook
(one cron set active at a time; migrate drafts/state after repointing cron).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FMQeUnUrAeexcZ7P2Hxa6G
2026-07-11 17:09:15 -05:00

44 lines
1.2 KiB
Text

# ============================================================================
# SeedProject base — cloneable Astro + PHP foundation
# Tracked: engine code (app/src, api framework, agents, 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) ---
agents/logs/*
!agents/logs/.gitkeep
agents/drafts/*
!agents/drafts/.gitkeep
agents/state/*
!agents/state/.gitkeep
agents/calendar.json
agents/messages.json
agents/news-queue.json
agents/news-scan.json
agents/research-scan.json
# --- astroagent runtime workspaces ---
.astroagent/jobs/
.astroagent/work/
app/.astroagent/jobs/
app/.astroagent/work/