feat: rename --budget-conscious to --lite with v2 5-agent pipeline design#399
feat: rename --budget-conscious to --lite with v2 5-agent pipeline design#399lukeinglis wants to merge 1 commit into
Conversation
…sign Add --lite flag to both ceo and run subcommand parsers, thread the flag through cmd_ceo, cmd_run, _run_single_cycle, and _build_ceo_task. When active, the CEO task string includes a Lite Mode section describing 7 optimizations: archive-only researcher, skip baseline eval, review pipeline reduction, archivist consolidation, strategist context compression, single hypothesis per cycle, and invocation budget cap. Add a Lite Mode section to ceo.md with the full v2 protocol for each optimization, including concrete bash examples and the invariant that Sacred Rules and precheck gates remain unchanged. Add 8 unit tests in TestLiteMode covering parser acceptance, defaults, task section injection, and flag propagation through both ceo and run code paths. Closes #398 Signed-off-by: Luke Inglis <lukeinglis21@yahoo.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #399 +/- ##
==========================================
+ Coverage 87.31% 87.40% +0.09%
==========================================
Files 61 61
Lines 9339 9409 +70
==========================================
+ Hits 8154 8224 +70
Misses 1185 1185 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
✅ Factory Review: KEEPVerdict: KEEP Experiment: #10 Score Comparison
Guard Checks
Known Gap
Posted by Factory CEO |
Context: Lite Mode v2 DesignThis PR is PR 1 of 8 in the lite mode series. It establishes the ProblemNon-API users on monthly subscription plans (Claude Max/Pro) hit session and token limits during factory cycles. The v1 Token Consumption AnalysisA standard single-hypothesis Improve cycle consumes:
Agent count drops from 12 invocations (11 agents + 1 headless) to 5 invocations (Researcher-lite, Strategist, Builder, Evaluator x1, Archivist batch). The 7 Optimizations (defined in this PR's CEO prompt section)
Remaining PRs
Full spec: Known Gap
|
Closes #398
Changes
--liteboolean flag to bothceoandrunsubcommand parsers inbuild_parser(), following the same pattern as--no-githublitebool throughcmd_ceo(),cmd_run(),_build_ceo_task(), and_run_single_cycle()lite=True,_build_ceo_task()appends a## Lite Modesection to the CEO task string describing 7 optimizations:## Lite Modesection toceo.mdwith full v2 protocol for each optimization, including concrete bash examplesTestLiteModeclass with 8 unit tests covering parser acceptance, defaults, task injection, and flag propagation