matter-os / docs /STATUS_MATRIX.md
tmepass000's picture
MATTER OS v0.1.0
87b48de verified
|
Raw History Blame Contribute Delete
20.8 kB

MATTER OS - requirement-to-implementation status matrix

Spec: MATTER OS Master Specification & Implementation Blueprint v1.0 (5 Nov 2026). Build: matter-os 0.1.0. Host measured: Linux sandbox, Python 3.12, 2 CPUs, 7.8 GB RAM, no GPU. Free/open-source components only.

Status legend

  • implemented: works end-to-end here and is covered by tests.
  • partial: real, working code, but some part of the decision is missing or simplified (the note says which).
  • stubbed: module, interface and config exist, clearly labelled; calls return NOT_SUPPORTED / raise UNSUPPORTED_METHOD.
  • deferred: not started in this build.

No decision was dropped or merged. Where a capability cannot run on this host it exists as a labelled stub.

Decisions 1-38 (owner-approved)

# Decision Status Where Honest notes
1 Discovery scope: BEYOND known databases partial discovery/generators.py, discovery/search.py, evidence/novelty.py Random, evolutionary and symmetry-aware generation produces structures outside the reference set. "Beyond" is only checked against the local searched set (ASE g2 + elemental reference crystals + the project's own candidates). No external database is queried by default (OPTIMADE connector is partial).
2 Design generation: rearrange / combine / new implemented discovery/transformations.py, discovery/generators.py Rearrange: substitution, vacancy, interstitial, permutation, distortion, rotation, translation, strain, defects, topology change. Combine: fragment assembly, molecular linking, compositional mixing, interfaces, heterostructures. New: random clusters, symmetry-aware crystals, guided motifs, SMARTS graph grammar, evolutionary crossover/mutation. A learned generative model is stubbed (no validated training data).
3 Fully autonomous research within boundaries implemented orchestration/missions.py, agents/ 13-stage missions run unattended within budget, quotas, gates. Agents are deterministic and rule-based (no LLM).
4 Progressive multi-physics partial simulation/adapters/ Real: EMT, Lennard-Jones, Langevin MD, harmonic statistical mechanics, HF and DFT (PySCF). Coupled physics, EM field models and continuum/FEM are stubs.
5 Unified discovery intelligence (evolutionary, neural, reasoning) partial discovery/search.py, discovery/active_learning.py, agents/ Evolutionary search + Gaussian-process surrogate + rule-based scientific reasoning. No neural network models (no validated data). LLM provider interface stubbed.
6 Unrestricted math exploration; physics validation separates possibility from feasibility implemented core/constraints.py, evidence/maturity.py Generation is only bounded by hard rules the owner sets; maturity gates (M0-M3) separate "generated" from "simulated" from "independently supported".
7 Multiscale partial adapters Atomic, molecular, cluster and periodic crystal scales work. Subatomic and continuum scales are stubbed.
8 Broad properties partial adapters Working: energies, forces, relaxed geometries, lattice constant, bulk modulus, vibrational frequencies, ZPE, harmonic free energy, dynamical-stability proxy, MD averages, HOMO-LUMO gap, dipole. Electrical/optical/magnetic/transport properties return NOT_SUPPORTED.
9 Dynamic virtual universe (T, P, forces, fields) partial simulation/adapters/ase_md.py, core/representation.py Temperature works (MD, harmonic thermo). Pressure and external fields are representable but every solver returns NOT_SUPPORTED for them.
10 Maximum-rigor verification partial evidence/replication.py, simulation/benchmarks.py, simulation/convergence.py Repeated calculations, alternate methods (HF vs DFT geometry), trusted benchmarks, convergence/sensitivity tests, uncertainty records. Comparison against literature/databases is limited to registered benchmarks and the bundled reference set. No experiments.
11 Hybrid local + free cloud partial configs/resource_policy.yaml Local execution implemented. Free-cloud workers: config tier + flag only (stub, disabled).
12 Self-improving research strategies under controlled evaluation partial agents/meta.py, agents/specialists.py (MetaLearningAgent) Strategy statistics are tracked and the agent proposes improvements, which must be deployed by the owner and can be rolled back. A deployed override really changes the search mix. Evaluation is a single mission's recorded evidence, not a separate sandbox re-run or statistical test.
13 Outputs: editable 3D structures, files, predictions, reports, records implemented core/io.py, storage/archive.py, evidence/reports.py XYZ/extXYZ, CIF, MOL/SDF; transform API; run bundles; Markdown/JSON reports; project archives.
14 Interactive 3D universe + advanced dashboard partial apps/dashboard/index.html, visualization/ Single-page dashboard with all six section-13 panels plus a dependency-free canvas 3D viewer (rotate/zoom/pan, bonds weighted by confidence, cell, labels, forces, start-to-relaxed slider). Symmetry/field overlays are text, not graphics. Served and API-tested here, but not visually checked in a browser (headless Chromium could not be downloaded).
15 Fixed specialists + dynamic agents implemented agents/coordinator.py, agents/specialists.py, agents/dynamic.py All 13 named agents exist. Dynamic agents inherit exactly the permissions of a template role (tested).
16 Central-distributed coordination implemented agents/coordinator.py The coordinator routes stages with task contracts; agents share a workspace (mission checkpoint) and exchange structured messages.
17 Independent, collaborative and competitive work partial agents/, discovery/search.py (AdaptiveSearch) Independent stage work and collaboration (review requests, debate) are implemented. Competition exists as strategy competition (UCB1 AdaptiveSearch and per-strategy statistics), but the default mission runs strategies in sequence and does not hold a bandit competition.
18 Individual + shared memory implemented agents/memory.py, knowledge/ Short-term task memory, long-term role memory (DB), shared knowledge graph.
19 Debate & evidence; majority vote last resort implemented agents/debate.py Evidence-weighted resolution; a majority vote is labelled LAST RESORT and never counts as validation. Invoked automatically when a claim has contradictions.
20 Sandbox experimentation + controlled deployment, versioning, rollback partial agents/meta.py Proposal, owner-gated deployment, version numbers, rollback. No isolated sandbox environment for testing improvements before deployment.
21 Human goals + AI-generated research questions partial orchestration/missions.py, agents/coordinator.py Human goals are fully supported. AI-generated follow-up questions (research-autopilot) come from rule-based templates; branches are created but not started automatically.
22 Adaptive allocation, controlled competition, reserved validation implemented orchestration/resources.py, simulation/service.py Reserved validation slots and run-budget fraction, adaptive concurrency, a design sub-budget so execution and validation stages keep capacity.
23 Open data, own experiments, AI hypotheses partial knowledge/ingestion.py ASE bundled open data (LGPL) and own computations are ingested with provenance; hypotheses are recorded. OPTIMADE connector is partial (network-dependent, not used by the demo). Literature ingestion is stubbed.
24 Multiobjective selection (novelty is one dimension) implemented discovery/optimization.py Non-dominated sort, crowding distance, exploration reserve driven by novelty. Never collapsed to one scalar.
25 Complete records, replication, comparison with published results implemented storage/, evidence/replication.py, simulation/benchmarks.py Immutable signed run records, environment manifests, seeds, project archive reconstruction, 4 published-reference benchmarks.
26 Minimal restrictions + essential sandboxing, integrity, compute limits, real-world controls partial orchestration/jobs.py, agents/tools.py Each job runs in its own worker process with its own directory, a CPU-time limit, a resident-RAM watchdog and wall-time enforcement. Agents have narrow tool lists and no shell. No lab control exists. Not an OS-level sandbox (no containers or seccomp on this host).
27 Unified representation: graphs, geometry, quantum states, fields partial core/representation.py Composition, graph (typed edges, confidence, method provenance), geometry/cell/symmetry, conditions and lineage are implemented. Quantum states are method-specific descriptors (HOMO/LUMO, dipole, S²), with no universal format claimed. Fields are scalar/vector conditions; spatial field maps are not implemented.
28 Search: guided, random, evolutionary, generative, adaptive partial discovery/search.py Guided, random, evolutionary and adaptive search work. Generative search is stubbed.
29 Adaptive simulation fidelity implemented simulation/router.py Staged plan (cheap checks, then approximate screening, then higher fidelity, then independent method/replication), with recorded rationale and NEEDS_METHOD when nothing fits.
30 Confidence, propagation, alternative hypotheses, automatic retesting partial evidence/uncertainty.py Five uncertainty components, each quantified or explicitly marked "not quantified"; root-sum-square combination only over quantified components; competing hypotheses recorded. A retest_required flag is computed, but automatic retesting is not triggered.
31 Database / structural / property / mathematical novelty partial evidence/novelty.py All four dimensions are computed, relative to the searched local sources only (caveat attached to every result).
32 Evidence grading, reproducibility score, confidence, limitations implemented evidence/maturity.py, evidence/service.py Gate trace per level, reproducibility score, confidence label, limitations, contradictions.
33 Predefined templates + procedurally generated environments partial core/representation.py (boundary profiles) Templates: vacuum, cluster, periodic bulk, surface (heterostructure with vacuum), defect. Procedurally generated environments and test conditions are deferred.
34 Adaptive sequential / parallel / staged execution implemented orchestration/scheduler.py Mode chosen from dependencies, capacity and reserved slots.
35 Exploration-first selection implemented discovery/optimization.py, agents/specialists.py (ExperimentPlanner) A configurable fraction of selections is reserved for the most novel candidates (demo: 2 of 4 were exploration picks).
36 Complete failure learning partial orchestration/failures.py Failures are archived and classified (7 classes), with likely causes plus confidence, and counterfactual tests are proposed. Avoidance rules are derived from statistics. Counterfactual tests are proposed, not automatically executed.
37 Hybrid agent communication implemented agents/messaging.py Shared workspace + structured messages + coordinator routing.
38 Automatic ingestion with provenance, versions, provisional/verified statuses implemented knowledge/graph.py, knowledge/governance.py Append-only versioned facts; verified requires an M3+ claim; unsupported agent claims stay proposed.

Decisions 39-60 (architect-selected)

# Area Status Where Honest notes
39 Multi-horizon, interruptible, resumable missions partial orchestration/missions.py The horizon field exists; missions checkpoint after every stage and resume after a crash (tested). Long-running campaigns are not scheduled differently from short ones.
40 Hierarchical goals (objectives, constraints, milestones, stop/review) partial core/schemas.py (Goal) The schema supports nested subgoals. Only the min_m3_candidates stop condition is evaluated automatically; milestones are displayed, not auto-ticked.
41 Hard/soft candidate constraints implemented core/constraints.py Elements, charge, spin parity/multiplicity, stoichiometry, atom count, distances, extent, space group, boundary profile, registered custom rules.
42 Periodic table / isotopes / oxidation / spin / electron count partial core/elements.py All elements via ASE data; electron counts; spin parity; flags for heavy and superheavy regimes. Isotope masses beyond standard weights are flagged not_tabulated; the oxidation-state table is small.
43 Boundary conditions partial representation + adapters Periodic, non-periodic, surface, cluster, defect and vacuum work. Solvent/continuum and custom profiles are representable, but no solver here supports them (NOT_SUPPORTED).
44 Plugin/adapter solver architecture implemented simulation/contract.py, simulation/registry.py, configs/solver_registry.yaml 15 registered solvers: 6 real (ase_lj, ase_emt, ase_md, statmech_harmonic, pyscf_hf, pyscf_dft) and 9 stubs (xtb/tblite, Quantum ESPRESSO, CP2K, Psi4, LAMMPS, GROMACS, OpenMM, EM field model, continuum FEM).
45 Benchmarks, convergence, sensitivity, versioned parameter sets partial simulation/benchmarks.py, simulation/convergence.py 4 benchmarks reproduced; convergence and sensitivity tests; versioned parameter sets in the registry. No automated re-calibration loop.
46 Data provenance for every datum implemented core/provenance.py, knowledge/provenance.py Source, license, access date, version, checksum, parsing method, transformations, units, attribution.
47 Typed knowledge graph implemented knowledge/graph.py All 16 entity types from section 11, typed edges, versioned facts. Stored in SQLite tables.
48 Uncertainty/diversity-aware active learning partial discovery/active_learning.py, scripts/active_learning_benchmark.py GP surrogate with EI, uncertainty, information gain, novelty and validation-value acquisition plus a diversity penalty; scores are logged. Measured: no improvement over the random baseline on the Cu5Au2 pool test (see docs/benchmarks/active_learning.json).
49 Agent evaluation partial agents/evaluation.py Role benchmarks (6, all pass), output-schema checks on every stage, tool-use audit log, performance history. No calibration metrics.
50 Quotas, budgets, priority queues, cancel, checkpoint, degradation, reserved validation implemented orchestration/ All tested: hard quota refusal, per-mission hard run budget, priority ordering, cancel then resume from checkpoint, timeout, low-RAM degradation, reserved slots.
51 Autonomy modes + pause/stop implemented orchestration/missions.py, dashboard suggest-only, approval-required, bounded-autonomous, research-autopilot; pause, resume, cancel (needs confirmation), approve, reject, branch, change budget, global pause.
52 Immutable records, semantic versions, environment manifests, rollback partial storage/db.py, agents/meta.py SQLite triggers block UPDATE/DELETE on run records; HMAC-signed checksums; environment manifests; versioned improvements with rollback. Software-version rollback is left to VCS/packaging.
53 Evidence-first reports implemented evidence/reports.py Methods, uncertainty, novelty caveats, failed alternatives, reproducibility bundle, claim-strength labels.
54 Configurable validation gates implemented configs/evidence_gates.yaml Screening, simulation, replication and experimental-confirmation gates, plus tolerances.
55 Versioned plugins for all module types partial simulation/registry.py Solvers are true plugins (allowlisted dynamic loading). Generators, search, agents, connectors, visualization and exporters are modular packages with stable interfaces but are not dynamically loaded.
56 Local-first, optional free-cloud workers partial apps/api.py, configs/ Local-first works. Cloud workers are a stub.
57 Observability: logs, metrics, traces, job state, resources, decisions, timelines partial storage/db.py (audit_log, metrics), API /observability/* Structured audit log, metrics, job states, sampled peak worker RAM, agent decisions, message timelines. No distributed tracing.
58 Snapshots, archives, checkpoints, integrity implemented storage/archive.py, orchestration/checkpoints.py SQLite online snapshots; tar.gz archives with per-member SHA-256 (tamper detected); job checkpoints; integrity report.
59 Least privilege, isolation, secrets excluded, signed artifacts partial agents/tools.py, orchestration/jobs.py, core/provenance.py Tool allowlists, worker processes, secret redaction in logs and agent memory, HMAC-SHA256 signatures with a local key. This is an integrity check, not a PKI signature, and isolation is process-level only.
60 Milestone-gated releases partial tests/, docs/ 89 tests, documentation and this matrix. No CI pipeline or release automation on this host.

Other named requirements

Requirement Status Notes
13 named agents (section 8) implemented research_coordinator, atomic_structure_researcher, molecular_researcher, quantum_researcher, physics_researcher, material_designer, evolution_search_agent, experiment_planner, validation_agent, novelty_analyst, data_steward, resource_agent, meta_learning_agent (tests/integration/test_missions_agents_knowledge.py::test_roster_has_all_13_named_agents).
Task contract fields (section 8) implemented core/schemas.TaskContract.
13-stage experiment lifecycle (section 9) implemented orchestration/missions.LIFECYCLE.
Section 14 APIs: Project, Mission, Candidate, Simulation, Agent, Evidence, Knowledge, Resource, Export implemented Every listed operation has an HTTP endpoint under /api/v1 (tests/integration/test_api.py).
Experiment-record minimum fields (section 14) implemented core/schemas.RunRecord.
Error taxonomy (section 14) implemented core/errors.ErrorCode (all 11 codes).
Dashboard panels (section 13): mission board, candidate explorer, simulation center, agent observatory, knowledge explorer, report studio + human controls implemented (not visually verified) apps/dashboard/index.html.
Section 16 project layout implemented All 16 entries are present: README.md, LICENSES_AND_ATTRIBUTION.md, pyproject.toml, configs/ docs/ apps/ core/ discovery/ simulation/ agents/ orchestration/ knowledge/ evidence/ storage/ visualization/ tests/ examples/ scripts/. A thin matter_os/ package adds the app container, CLI and demo.
Section 17 test categories implemented unit, integration, security, scientific, reproducibility.
Held-out benchmarks for predictive-model calibration (section 17) deferred No predictive ML model is used for reported values, so there is nothing to calibrate yet.

Phase exit gates (section 19)

Phase Exit gate Result
0 Foundation Create project, candidate, immutable run record Met
1 Scientific core Round-trip formats; geometry/unit invariants Met (XYZ/CIF/SDF round-trip; hash/fingerprint invariance under rotation, translation and permutation; unit tests)
2 Search MVP Seeded reproducible search + Pareto reporting Met
3 Simulation Reproduce selected benchmarks Met: EMT Cu a0 = 3.5901 Å vs 3.61 Å experimental (-0.55 %, tolerance 1.5 %); LJ13 = -44.326801 ε (dev 4e-7); LJ38 = -173.928427 ε (dev 4e-7); H2 RHF/STO-3G = -1.116714 Eh vs -1.1167 (dev 1.4e-5)
4 Evidence/knowledge Evidence report with no unsupported claim promotion Met
5 Agent system Bounded missions completed with auditable tool use Met
6 Adaptive research Measured improvement over fixed baseline Not met: active learning measured no better than random order (median 34-37 vs 32.5 evaluations, pool 60, 30 trials)
7 Interface Inspect lineage/evidence and control missions Met via API and served UI; not visually verified
8 Hardening Release checklist; limitations documented Partial: recovery, backup, security tests, documentation done; no CI, no container

Resource limits measured on this host

See docs/RESOURCES.md.