MagWorksManaged Intelligence

Reference

Versions and decision timeline

Current as of 2026-09-12. Versions are the ones the repositories carry; the substrate publishes from a private registry and the product pins exact versions.

Current versions

Layer Repository Packages Version line
1 magpie 34 @magpie/* packages, lockstep 0.7.20
2 mag-composition @mag/composition-core 0.2.0 · composition-prompt 0.1.0 · composition-knowledge 0.1.0 · composition-capability 0.9.0 · composition-conversation 0.4.0 per package
3 matterandgas-com the deployed application (Next.js 16 / React 19 / Amplify Gen 2 + CDK) continuous

The substrate, by wave

Wave What it added
6 Framework extraction — the event spine, ledger, tenant boundary and module contract packaged as @magpie/* (ADR-0008).
7 Correctness — executor idempotency, token propagation, review-resume hardening, ledger logical-transition idempotency.
8 AI runtime — evals + CLI + archive, pointer-flip audit and promote/rollback (ADR-0011), per-step routing (0012), tool contract (0013), review edit/resume (0014).
9 Execution reliability — idempotency (ADR-0015), control plane, blob, jobs, webhooks, scheduler, reconciliation.
10 Knowledge substrate — records, extraction, chunking, embeddings, vector store, retrieval, drift reconciliation; the hash-binding chain.
11 Module composition — manifest registry, IdP tenancy, in-memory bootstrap, CDK constructs.
12 Transactional substrate — unit of work, records, server bootstrap.
13 Release governance — ADR-0016 and the INV-REL-* invariants, surface snapshots, anti-bypass greps; ADR-0017 records doctrine.
14 Operational AI substrate — capability declarations (0020), per-transition rows and hash chain (0019), production embedder (0018), records-backed knowledge (0023), vector-as-cache (0031), OpenAI provider and provider fallback (0021), cost ceilings and rate quotas (0022), replay/recovery tooling.
15 Streaming — gateway and provider streaming for Bedrock and OpenAI against the frozen ADR-0024 contract.
OEI Records migration runner (ADR-0033).
0.6–0.7 Identity-first prompt resolution (0036), coalescing output projection (0037), gateway-enforced structured output (0039), relationship memory (0038, MEM-B), entity-scoped ledger history, streamed transition emission.

Decision records

  • Substrate — 30 ADRs, 0007 through 0039. Accepted and implemented: 0007, 0008, 0011–0024, 0031, 0033, 0035–0037, 0039.
  • Composition — 15 ADRs, 0001 through 0015, all Accepted.
  • Product — 22 ADRs: 0001–0011 (waves 0–5, evaluation governance, execution contract, construction model, knowledge tenancy, resolver topology) and 0025–0042 (constitution governance, Desks, Solutions, the Normalizer, memory, context taxonomy, the Governed Operation Kernel, the Solution object model, token generation).

Test posture

Repository Test files Test cases (approx.)
magpie 181 3,000
mag-composition 7 175
matterandgas-com 622 10,500

All suites run locally with the same command continuous integration uses.