OCG LabTask-Domain Decision System
Search evidence
Live
中文

Domain Decision Packet

file-level decomposition is the only stable path for cross-file state tasks

Back to domains
c

I need to migrate a 50K+ line codebase to a new framework

r

repair@code_engineering/large_repo_migration

C'

No available model substitutes end-to-end autonomous migration. Decompose: Opus 4.8 as planner + routine batch worker; deterministic test suite as validator; hard cases require human gate.

Decision Stack

Use

tasks can be decomposed to file-level, external test suite exists

claude/opus-4.8
Use

simple text/syntax transformations at scale, cost-sensitive

claude/sonnet-4.6
Decompose

task requires multi-file state coherence across >50K tokens

multi-model
Human Gate

output must be directly mergeable patch

human

Cognitive Transitions

model layer
IDRelationActorResultOutput
CT-D2-001locate@cross_file_stateclaude/opus-4.8boundeddegrades after ~50K tokens; Dynamic Workflows improve throughput
CT-D2-002repair@large_repoclaude/opus-4.8boundedeffective for routine batch repair when decomposed to file-level; not autonomous end-to-end migration
CT-D2-003repair@large_repoclaude/sonnet-4.6rejectedloses coherence in long multi-file tasks; use for simple batch transformations only
CT-D2-004generalize@stop_conditionclaude/opus-4.8boundedrecognizes completion earlier than Fable 5; resource consumption more predictable
E-D2-001bounded

Stripe reported Fable 5 compressed months of engineering into days on large codebase migration

Anthropic Fable 5 launch, June 2026
E-D2-002uncertain

Opus 4.8 cross-file state tracking degrades after ~50K tokens

inferred from SWE-Bench Pro results + community reports
E-D2-003bounded

Opus 4.8 Dynamic Workflows feature enables parallel agentic coding

Anthropic Opus 4.8 release, May 2026