markitect-main/tests/unit/spaces
tegwick 7da77396a9 feat(spaces): implement Phase 3 Persistent Transclusion Context
Implements persistent transclusion context for Information Spaces:

- ScopedVariables: Variable scope layers (request > document > space)
- SpaceTransclusionContext: Extends TransclusionContext with DB persistence
- CrossSpaceResolver: Resolve references across space boundaries
- ReferenceGraph: Track document dependencies for cache invalidation
- PersistentReferenceGraph: Repository-backed reference tracking
- RenderCache: Cache rendered output with invalidation support
- CacheInvalidator: Event-driven cache invalidation using reference graph

Key features:
- Variable precedence: request overrides document overrides space
- Reference tracking during transclusion processing
- Transitive dependent calculation for cache invalidation
- Event bus integration for automatic invalidation on content changes

47 unit tests covering all components.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-08 08:36:50 +01:00
..
__init__.py feat(spaces): implement Phase 0-1 of Information Space Service 2026-02-08 02:02:46 +01:00
test_events.py feat(spaces): implement Phase 2 Event System 2026-02-08 07:41:47 +01:00
test_models.py feat(spaces): implement Phase 0-1 of Information Space Service 2026-02-08 02:02:46 +01:00
test_repositories.py feat(spaces): implement Phase 0-1 of Information Space Service 2026-02-08 02:02:46 +01:00
test_transclusion.py feat(spaces): implement Phase 3 Persistent Transclusion Context 2026-02-08 08:36:50 +01:00