Nightly Maintenance Pipeline

Automated jobs that keep the codebase clean, documented, and high-quality — running every night while the team sleeps.

8
Total Jobs
3
Active
0
Disabled
5
Planned

Universal Job Pattern

1
Pre-Scan
Deterministic TypeScript

Identifies candidates with zero LLM cost. Gates the pipeline — no candidates means no Claude API call.

Output:candidates.json
2
LLM Review
Claude (if candidates exist)

Makes semantic judgments that static analysis can't. Scoped to review, not data gathering.

Output:decisions.json
3
Apply
Deterministic TypeScript

Creates PR, updates memory files, posts to Slack. Fully testable without LLM mocking.

Output:PR + Slack

Pipeline Timeline (UTC)

Implementation Roadmap

1
Phase 1: Foundation
Already running, proving the pattern
Daily OverviewRunning
Dead Code CleanupRunning
Kanban HygieneRunning
2
Phase 2: Code Quality
Re-enable kanban hygiene + add code review
New Code ReviewerPlanned
3
Phase 3: Automation
Boy scout + dependency health — high automation value
Boy Scout ScannerPlanned
Dependency HealthPlanned
4
Phase 4: Intelligence
Documentation + performance — requires more design work
Documentation GeneratorPlanned
Performance BaselinePlanned