# PHASES Layout (UPPERCASE)

This repository organizes orchestration logic under uppercase phase folders.

Execution order (runtime):
1. `PHASE-01-INGEST`
2. `PHASE-02-CAPTIONS`
3. `PHASE-03-DIGEST-CONTRACT`
4. `PHASE-04-RENDER`
5. `PHASE-05-ORCHESTRATOR`
6. `PHASE-06-NOTIFICATIONS` (called by orchestrator)
7. `PHASE-07-SCHEDULE`

Phase folders:
- `PHASES/PHASE-01-INGEST/`
- `PHASES/PHASE-02-CAPTIONS/`
- `PHASES/PHASE-03-DIGEST-CONTRACT/`
- `PHASES/PHASE-04-RENDER/`
- `PHASES/PHASE-05-ORCHESTRATOR/`
- `PHASES/PHASE-06-NOTIFICATIONS/`
- `PHASES/PHASE-07-SCHEDULE/`

Ownership map:
- `PHASES/PHASE-01-INGEST/`:
  `tweets/`, `logs/scrape`, `logs/process`, `cookies.json`, `ACCOUNTS/`
- `PHASES/PHASE-02-CAPTIONS/`:
  caption scripts, `CLAUDE.md`, `logs/caption`
- `PHASES/PHASE-03-DIGEST-CONTRACT/`:
  digest contract and `INTEREST.md`
- `PHASES/PHASE-04-RENDER/`:
  `index.php.template`, `twitter-app/`
- `PHASES/PHASE-05-ORCHESTRATOR/`:
  orchestration script, `digests/archive/`, `COMPLETED-DAYS.md`, `logs/digest`
- `PHASES/PHASE-06-NOTIFICATIONS/`:
  Telegram notifier
- `PHASES/PHASE-07-SCHEDULE/`:
  scheduling runbook
