Add profile-driven runtime adapter resolution

This commit is contained in:
2026-05-18 20:53:16 +02:00
parent 850979ccf1
commit b36a935f48
6 changed files with 618 additions and 19 deletions

View File

@@ -36,6 +36,29 @@ web framework binding.
The default config is local and dependency-light.
`RuntimeConfig.from_profile(...)` can derive this config from a
Markitect-compatible memory profile. It reads explicit adapter declarations
when present and also understands the first local store aliases used by the
fixtures:
- `local-graph-store` -> file-backed graph store
- `local-event-log` -> JSONL event log
- `markitect-context-package` -> local no-op package compiler boundary
`resolve_runtime_adapters(config)` materializes the local adapter bundle. It
supports:
- in-memory or file-backed graph stores
- in-memory or JSONL event logs
- recording or JSONL audit sinks
- no-op package compiler
- disabled or in-memory semantic index
- in-memory runtime registry
External adapter modes are valid configuration values, but they must be
supplied explicitly by the caller. The local resolver reports
`missing_external_adapter` instead of silently replacing them.
## Health
`health_report` emits: