Context
After the repo cleanup removes ~15,000+ lines of code, documentation will be stale. This issue tracks the final documentation sweep.
What to do
Fix known doc bug
docs/configuration.md states credential profiles use os.environ.setdefault() ("env vars win"), but factory/user_config.py:164-166 does os.environ[k] = v (unconditional override)
- This contradicts both reality and CLAUDE.md, which correctly documents the override behavior
- One-line fix, zero risk
Update CLAUDE.md
- Remove references to removed modes (improve, research, meta, founder, refine, etc.)
- Remove runner-switching documentation (bob/codex/opencode sections)
- Remove references to removed subsystems (dashboard, ACE, telemetry, notify)
- Update Architecture section to reflect simplified 4-layer system
- Update "Running the factory" examples to only show create/design/refactory/outer-loop
- Update environment variable documentation
Regenerate SPEC.md
- Run
factory spec generate to rebuild from the pruned codebase
- Verify it accurately reflects the simplified architecture
Update docs/
Update README.md
- Update CLI Quick Reference section to match surviving commands
- Remove references to removed modes and subsystems
Related
- Depends on all deletion issues completing first
- Research found 29 of 40
FACTORY_* env vars are undocumented — this is a separate issue (env var index) but could be partially addressed here
Context
After the repo cleanup removes ~15,000+ lines of code, documentation will be stale. This issue tracks the final documentation sweep.
What to do
Fix known doc bug
docs/configuration.mdstates credential profiles useos.environ.setdefault()("env vars win"), butfactory/user_config.py:164-166doesos.environ[k] = v(unconditional override)Update CLAUDE.md
Regenerate SPEC.md
factory spec generateto rebuild from the pruned codebaseUpdate docs/
docs/configuration.mdsections about deleted config fieldsdocs/index.md— remove runner comparison contentdocs/codex-mcp.mdif not already deleted in Delete dead runners (bob/codex/opencode) and runner infrastructure cleanup #1345docs/runner-v2-spec.mdfactory.mdsmoke test if it references dead runnersUpdate README.md
Related
FACTORY_*env vars are undocumented — this is a separate issue (env var index) but could be partially addressed here