markitect-main/tests/unit/spaces
tegwick 4588cbeee8 feat(spaces): implement Phase 8 Git History Tracking
Implements optional git-based version control for information spaces:
- HistoryConfig model for configuring history tracking
- Commit, Branch, HistoryEntry, DiffResult models
- IHistoryBackend and IHistoryQuery interfaces
- GitHistoryBackend using git CLI for version control
- GitHistoryEventHandler for event-driven auto-commits
- HistoryEventCoordinator for managing space history
- HistoryQueryService for high-level history queries
- Automatic commits on DOCUMENT_ADDED/REMOVED/CONTENT_CHANGED events
- Support for:
  * Commit log with pagination and filtering
  * Diff between versions
  * File content at specific versions
  * Branch creation and switching
  * Version restoration
  * Uncommitted changes detection
- 43 comprehensive unit tests with git availability checks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-08 18:03:35 +01:00
..
__init__.py feat(spaces): implement Phase 0-1 of Information Space Service 2026-02-08 02:02:46 +01:00
test_api.py feat(spaces): implement Phase 6 API Layer 2026-02-08 12:29:11 +01:00
test_composability.py feat(spaces): implement Phase 7 Composability 2026-02-08 17:41:40 +01:00
test_events.py feat(spaces): implement Phase 2 Event System 2026-02-08 07:41:47 +01:00
test_history.py feat(spaces): implement Phase 8 Git History Tracking 2026-02-08 18:03:35 +01:00
test_models.py feat(spaces): implement Phase 0-1 of Information Space Service 2026-02-08 02:02:46 +01:00
test_rendering.py feat(spaces): implement Phase 4 HTML Rendering Mode 2026-02-08 08:42:27 +01:00
test_repositories.py feat(spaces): implement Phase 0-1 of Information Space Service 2026-02-08 02:02:46 +01:00
test_sync.py feat(spaces): implement Phase 5 Directory Sync Mode 2026-02-08 12:11:37 +01:00
test_transclusion.py feat(spaces): implement Phase 3 Persistent Transclusion Context 2026-02-08 08:36:50 +01:00