mjdi

Search documentation

Search the mjdi v0.10.0 documentation

mjdi docsv0.10.0latest

Release report — mjdi 0.10.0 (P2: advanced capabilities and ecosystem expansion)

Released 2026-11-24 against mojo 1.2.0 (2016d0cd). This report records

Source: mjdi/docs/release-report-0.10.0.md

Released 2026-11-24 against mojo 1.2.0 (2016d0cd). This report records what shipped, what ran, and what did not — per the release policy in release-checklist.md: nothing is reported as passing that did not run.

Scope delivered

All 18 P2 mission items are addressed: 16 implemented and verified, 2 deferred with compiler experiments (P2-06 async factories, P2-11 borrowed providers).

ItemOutcomePrimary evidence
P2-01 keyed registrationsshippedregister_keyed[T, K] family + Keyed[T, K]; tests/test_keyed.mojo; cf_duplicate_keyed, cf_reserved_key, cf_unkeyed_with_keyed_only
P2-02 qualified dependenciesshippedInject[T, K] with DefaultKey default; cf_missing_qualified; E021/E007 variants
P2-03 multi-bindingsshippedAll[T] + count_all[T](); tests/test_multi_bind.mojo; cf_multi_not_copyable; MJDI-E028/R007/R006
P2-04 optional dependenciesshippedOptionalInject[T]; tests/test_optional.mojo; MJDI-R005; absence-is-runtime contract
P2-05 provider decoratorsshippedProviderDecorator + register_decorated[...]; tests/test_provider_decorators.mojo; copy-modify-write singleton mode
P2-06 async factoriesdeferred with compiler evidenceexperiments/exp11_async_feasibility.mojo; async-factories.md
P2-07 assisted injectionshippedregister_assisted[T, P, factory], Assisted[P], container.assisted[T]; tests/test_assisted.mojo; cf_assisted_resolve, cf_assisted_non_assisted, crash crash_assisted_unpopulated
P2-08 registry bundlesshippedadd_provider[H, R](); tests/test_bundles.mojo; cf_bundle_collision
P2-09 conditional providersshippedcomptime if selection patterns; tests/test_conditional.mojo; docs/conditional-providers.md
P2-10 named/child scopesshippedcreate_scope(name) / child_scope(); tests/test_child_scopes.mojo + test_scope_matrix.mojo; examples/scope_hierarchy
P2-11 borrowed providersdeferred with compiler evidenceexperiments/exp12_borrowed_feasibility.mojo; borrowed-providers.md
P2-12 factory dependency metadatashippedregister_factory_with_deps[T, factory, D1, D2, D3, scope]; tests/test_factory_deps.mojo; cf_factory_dep_unregistered
P2-13 playgroundshipped/playground route; scripts/export_playground_artifacts.py + tools/playground_export.mojo; provenance-labeled precomputed output
P2-14 MCP improvementsshipped5 new read-only tools (diagnostics_lookup, symbol_lookup, example_search, release_notes_lookup, graph_validate); 24 bun tests + Python contract tests; body/graph size caps
P2-15 documentation quality gatesshippedscripts/verify_docs.py (74 files, block-tag convention, mojo blocks compiled, links/anchors, archived snapshots, stale-API detection) wired into CI
P2-16 migration guidesshippedmigration-0.7-to-0.8.md (actual delta, before/after, verification steps) + migration-guide-template.md
P2-17 package distributionshippedscripts/install.sh (checksum-verified install, offline mode), scripts/make_release.py (archive + SHA256SUMS + SBOM), distribution.md ecosystem review
P2-18 security postureshippedSECURITY.md, security-posture.md, workflow least-privilege (ci.yml contents: read), tag-gated release with checksums + SBOM

What ran in the release environment (linux-x86_64)

  • Toolchain: mojo 1.2.0 (2016d0cd) via pixi (pixi.lock), matching release/manifest.json's target_compiler.
  • The authoritative suite: 114/114 checks green on the final tree — 52 unit programs, 33 compile-fail fixtures (each rejected with its pinned fragment), 4 crash-expected fixtures, 2 strengthening checks (MJDI-A001 stable ID, the golden debug-diagnostics pair), 4 composition-root templates, 1 Python tooling runner check (59 unittest cases), 1 e2e walkthrough, 17 golden example runs (including the new keyed_providers, plugin_pipeline, assisted_reports, and scope_hierarchy examples).
  • Coverage gates: 814/814 (100%) library API-surface declarations and 166/166 (100%) example declarations, both above the 95% gate.
  • Generated-artifact gates: gen_diagnostics.py --check (55 catalog entries with variant titles and retired-ID records), gen_api_reference.py --check (380 declarations parsed, the P2 surface included), test_inventory.py --check (114/114 current), export_graph_fixtures.sh fixture drift check.
  • Documentation quality gate (new in this release): verify_docs.py green — every Mojo-looking block carries an explicit tag (mojo / mojo snippet / mojo pseudocode / text), all 5 standalone mojo blocks compile, all internal links and anchors resolve, every archived version in the manifest has its snapshot, and no stale API references remain.
  • Metadata validation: validate_metadata.py green across every synced location (manifest, docs-versions, website nav, llms.txt versioned URLs, changelog).
  • Website: bun run lint, bun test (24 MCP tool-logic tests), bun run build green; /playground and the MCP endpoint smoke-tested on the production build (tools/list returns the 14 tools; each new tool exercised end-to-end against the deployed content).
  • Distribution artifacts: make_release.py produced the archive, SHA256SUMS, and SBOM; the checksum pair verified on a fresh extraction; install.sh exercised end-to-end in offline mode.

What did NOT run here

  • linux-aarch64 and macos-arm64 suite runs: no ARM64 or macOS host in the release environment. The CI matrix runs the same inventory on ubuntu-24.04-arm and macos-latest — those jobs are the ci-verified evidence (compiler-compatibility.md).
  • Release signing: documented as the opt-in publisher-side step (security-posture.md → Release signing); not executed because no release key is provisioned.

The deferred items: compiler evidence

P2-06 (async factories) and P2-11 (borrowed providers) are deferred — not skipped — with recorded experiments run against the pinned compiler:

  • exp11 (async): the compiler ships async/await with an explicit "experimental and unstable, do not expect correctness" warning; await crossing a raising error path fails to lower to LLVM IR ('pop.cast_from_builtin' op cannot convert...); no task or cancellation primitives exist. Shipping an async factory surface on top of a self-disclaimed runtime would violate the project's honesty bar. The design that will adopt them is in async-factories.md.
  • exp12 (borrowed): struct fields cannot hold references, and the only provable borrow shape on this compiler is the method receiver (ref self -> ref[self.name] T) — the visitor-overload pattern already shipped for linear services. A borrowed-provider surface needs compiler guarantees that do not exist yet; the design sketch and its blockers are in borrowed-providers.md.

Both experiments are executable: pixi run mojo run -I . experiments/exp11_async_feasibility.mojo (and exp12), and CI runs every experiments/exp*.mojo.

Honesty notes

  • The playground serves frozen toolchain output — every graph, output, and compiler rejection was produced by the real compiler at release time and the generator verifies each artifact against its pinned expectation; the page states that nothing executes on the server.
  • The API reference regenerated in this release now includes the full P2 surface (the generator previously emitted only the pre-0.10.0 set — caught and fixed during this release's verification; --check gates it).
  • The 0.8.0 and 0.9.0 archived website snapshots (missing before this release — the doc gate caught it) were extracted from their release archives and the site's per-version navs were filtered to the pages each release actually shipped.

Changed surfaces worth calling out

  • Inject[T] is now Inject[T, K: AnyType = DefaultKey] — the second parameter defaults, so existing spellings compile unchanged (the 0.7 → 0.8 migration guide pattern holds here too: additive with a defaulted parameter).
  • The DependencyResolver trait gained resolve_optional / resolve_all / resolve_assisted with raising defaults (MJDI-R005/R006/R008) — custom resolver implementers must add the three methods (the trait contract changed; application code is unaffected).
  • The diagnostic catalog grew to 55 entries; E022/E025 are recorded reserved-never-emitted.
  • The website gained the archived 0.8.0/0.9.0 snapshot sets, per-version filtered navs, the playground, and the expanded MCP tools.

Verdict

mjdi 0.10.0 is the P2 release as specified: the composition capabilities ship with compile-time guarantees intact, the two compiler-blocked items are deferred with executable evidence rather than faked, and the ecosystem set (playground, MCP, doc gates, migration, distribution, security) is implemented, tested, and documented. The release gate is green on the verified platform.