Changes:
- Added RAG_ARGUMENTS dict to common.py with 3 flags:
- --chunk-for-rag (enable semantic chunking)
- --chunk-size (default: 512 tokens)
- --chunk-overlap (default: 50 tokens)
- Removed duplicate RAG arguments from create.py and scrape.py
- Used .update() pattern to merge RAG_ARGUMENTS into UNIVERSAL_ARGUMENTS and SCRAPE_ARGUMENTS
- Added helper functions: add_rag_arguments(), get_rag_argument_names()
- Updated tests to reflect new argument count (15 → 13 universal arguments)
- Fixed test expectations for boolean_args (removed 'enhance', 'enhance_local')
Result:
- Single source of truth for RAG arguments in common.py
- DRY principle maintained across all commands
- All 88 key tests passing
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>