iamnbutler/shelfgoblin

Public

Add fetch pipeline orchestrator with CLI integration

Create scripts/backend/pipeline.ts with 8 sequential stages
(MIGRATE, FETCH, CORRECT, CLASSIFY, DETECT, SCORE, EXPORT, GUARD),
each independently try/caught so one failure doesn't block others.

CLI entry point (scripts/backend/index.ts) maps subcommands to
stage subsets: build (all), fetch, export, classify. Supports
--year, --full, --dry-run, --skip-guard, and --source flags.

Closes #46

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
C4TATasks Agent and Claude Opus 4.6 authored committed by iamnbutler
0c7313fPatch
Parentf5c080f
3 files changed+380-52
StackedSplit
package.json+6 −4
scripts/backend/index.ts+105 −48
scripts/backend/pipeline.ts+269 −0