Steve Yegge
c9207fce63
Close bd-ar2.8: Add edge case tests for export metadata updates
Added comprehensive tests for multi-repo export metadata handling:
1. TestExportWithMultiRepoConfigUpdatesAllMetadata (P2)
- Verifies export with multi-repo config updates metadata for ALL JSONL files
- Confirms each repo gets correct keySuffix in metadata keys
- Tests full integration: getMultiRepoJSONLPaths -> getRepoKeyForPath -> updateExportMetadata
- Validates subsequent exports succeed without "content has changed" errors
2. TestUpdateExportMetadataInvalidKeySuffix (P3)
- Tests failure handling for invalid keySuffix containing ':' separator
- Confirms validation logic from bd-ar2.12 works correctly
All tests pass. bd-ar2 epic nearly complete - only one P3 task remains!
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>