32
- Applies heuristic filtering (language, topic, description quality)
33
- Outputs: `data/raw/YYYY-WNN.json`, `data/raw/YYYY-WNN-external-news.json`, `data/snapshots/YYYY-WNN-stars.json`
34
35
-**Stage 2: Analyze** (Copilot CLI only)
36
-- Reads raw JSON; applies AI analysis to classify repos as signal/noise/gaps
37
-- Outputs: `data/analyzed/YYYY-WNN-summary.md` with quality score and summary sections
35
+**Stage 2: Analyze** (Copilot CLI agents, gpt-5.5)
36
+- Two-step AI analysis using dedicated Copilot CLI agents configured in `.github/agents/`:
37
+ 1. **Weekly Synthesis** (`weekly-synthesis`) — generates a compact industry narrative (~2 000 tokens) from press context and historical signals
38
+ 2. **Weekly Analysis** (`weekly-analysis`) — consumes the synthesis plus raw crawl data to produce the full editorial with signal/noise/gaps classification
39
+- Both agents use gpt-5.5 (configured in agent frontmatter) with only `read`/`write` tools
40
+- Outputs: `data/analyzed/YYYY-WNN-summary.md` with quality score, `data/analyzed/YYYY-WNN-correlations.json`, `data/analyzed/YYYY-WNN-press-context.md`
41
- Quality gate: Blocks publish if quality_score < 60 or missing required sections
42
43
**Stage 3: Generate** (`scripts/generate_content.py`)
61
- **Notifications:** RSS feeds + GitHub Releases
62
- **Automation:** GitHub Actions
63
- **Deployment:** GitHub Pages
61
-- **Analysis engine:** Copilot CLI only; no GitHub Models/OpenAI analysis fallback
64
+- **Analysis engine:** Copilot CLI agents (`weekly-synthesis`, `weekly-analysis`) using gpt-5.5; no GitHub Models/OpenAI fallback
65
66
## Quick start
67
95
## Content structure
96
97
- `content/weekly/YYYY/WNN.md` — immutable weekly summaries (published once, never modified)
95
-- `content/monthly/YYYY/MM.md` — monthly rollups (append-only)
96
-- `content/yearly/YYYY.md` — yearly summaries (append-only)
98
+- `content/monthly/YYYY/MM.md` — monthly rollups with synthesis narrative, SEO editorial titles (max 70 chars), cross-links to weekly/yearly pages, trend-arc sections, and structured frontmatter (themes, gaps, repos)
99
+- `content/yearly/YYYY.md` — yearly narrative summaries with SEO titles, ≤155-char meta descriptions, and cross-links to monthly pages
100
- `data/raw/YYYY-WNN.json` — GitHub crawler output (JSON object with keys: `week`, `new_repos`, `trending_repos`, `signals`, `metadata`)
101
- `data/raw/YYYY-WNN-external-news.json` — external RSS enrichment output from sources configured in `config/external_news_sources.json`
102
- `data/analyzed/YYYY-WNN-summary.md` — AI analysis with quality score