The Karpathy Auto-Researcher Loop for manuscript optimization. Improves prose across multiple axes while enforcing a 90% fidelity floor.
The Taliesin Optimizer is a host-native implementation of the Karpathy Loop. It systematically improves manuscript prose by iterating through Extract -> Mutate -> Grade -> Ledger cycles.
Act as the Architect and Auditor of the manuscript. You must not blindly rewrite; you must evolve the prose while preserving the "Steel" of the original intent and voice.
Taliesin/scripts/manuscript_optimizer.pyCStar/.lore/samples/Fallows Hallow - TALIESIN.txtTaliesin/.state/taliesin-optimizer/global_golden_baseline.json.Fidelity < 90.0%, the mutation is REJECTED.Taliesin/.state/taliesin-optimizer/benchmark_ledger.json.Average Score > Previous Best.The host executes this loop by calling the underlying Python primitives for "Steel" operations while performing all "Thinking" operations via direct host inference.
# Example Kernel-side support call for extraction
python3 Taliesin/scripts/manuscript_optimizer.py --chapter Prologue --extract-only
CStar/.lore/optimized/.