feat(engine): EngineShardAdapter — engine as a canonical-mode shard (WP-0014 T5)

engine/adapter.py: EngineShardAdapter implements adapters.ShardAdapter (read/write
run extension transform hooks; profile derived from active extensions, E-5;
current_rev for apply-under-drift) + build_engine_shard() helper (explicit ids or
activation provider). runtime.available() added. Engine shard passes assert_conformant
and attaches to an InformationSpace — resolve + edit (overlay->apply->write-through)
work, and the declared profile reflects the active extensions. 5 tests green, pyflakes clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-16 00:36:24 +02:00
parent 8b353f1077
commit ff96ee0c48
5 changed files with 170 additions and 1 deletions

View File

@@ -110,7 +110,7 @@ profile; the derived profile is valid and conformance-passes.
```task
id: SHARD-WP-0014-T5
status: todo
status: done
priority: high
state_hub_task_id: "2fbf498c-efe9-400a-8a13-7f1b521b3534"
```