seedproject-web/agents/config.json
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

89 lines
1.8 KiB
JSON

{
"site": {
"url": "https://example.com",
"name": "SeedProject Site",
"topic": "your subject area",
"audience": "your target audience",
"language": "en"
},
"paths": {
"projectRoot": "/www/wwwroot/seedproject-web",
"appDir": "app",
"blogContentDir": "app/src/content/blog",
"blogDataFile": "app/src/lib/blog-data.js",
"calendar": "agents/calendar.json",
"draftsDir": "agents/drafts",
"logsDir": "agents/logs",
"stateDir": "agents/state",
"newsDir": "agents"
},
"models": {
"research": "claude-opus-4-8",
"writer": "claude-sonnet-4-6",
"reviewer": "claude-opus-4-8"
},
"seo": {
"minScore": 85,
"blockApproveOnFail": true,
"autoRevise": true,
"maxReviseAttempts": 3
},
"publish": {
"auto": true,
"notBefore": "07:00"
},
"news": {
"enabled": true,
"recencyDays": 5,
"maxPerScan": 8
},
"author": {
"slug": "site-author",
"name": "Site Author"
},
"image": {
"provider": "higgsfield",
"preferredModel": "soul_2",
"aspectRatio": "3:2",
"outputFormat": "jpg",
"credit": {
"caption": "Illustrative cover image. Not a photograph of any specific establishment.",
"author": "SeedProject Site"
}
},
"editorial": {
"calendarDays": 90,
"refillThreshold": 7,
"refillCount": 14,
"timezone": "America/New_York",
"contentMix": {
"guide": 0.3,
"list": 0.25,
"news-roundup": 0.2,
"trend": 0.15,
"review-summary": 0.1
},
"wordCounts": {
"news-roundup": [
600,
900
],
"trend": [
800,
1200
],
"review-summary": [
900,
1300
],
"list": [
1000,
1500
],
"guide": [
1200,
1800
]
}
}
}