Status: M8.1 architecture and policy boundary
M8 adds integrated, source-backed validation across the complete MPAS Configuration Studio working configuration.
Validation must combine existing namelist and Streams validation primitives without inventing MPAS semantics, silently repairing user configuration, or promoting source evidence into executable rules without explicit review.
Validation follows the established project source hierarchy:
- MPAS-Model source and the complete recursive Registry include closure.
- Native MPAS-generated default inputs for the pinned build profile.
- Official MPAS documentation as secondary explanatory evidence.
- README files, examples, tutorials, and ecosystem material as supporting evidence only.
The active configuration authority is MPAS-Atmosphere 8.4.2.
The official mesh-source authority remains separately pinned to the existing validated mesh baseline until a dedicated mesh-source migration is performed.
M8 does not replace working validation that already exists.
Existing source-backed validation includes:
- required editor values;
- logical value parsing;
- integer value parsing;
- real value parsing;
- source-backed finite-choice enforcement;
- import syntax validation;
- duplicate assignment protection;
- unknown option protection;
- invalid imported-value protection;
- review-before-apply semantics.
MPASConfigValueCodec, the namelist importer, and the existing working-state
model remain authoritative for their existing responsibilities.
Existing source-backed validation includes:
- known Registry stream identity;
- supported attributes;
- required attributes for explicitly included streams;
- ordered stream-list membership;
- unknown member rejection;
- duplicate member rejection;
- immutable membership protection;
- missing required external-list references;
- serializer consistency checks;
- review-before-apply import protection.
MPASStreamsModel, MPASStreamsWorkingState, MPASStreamsSerializer, and
MPASStreamsImporter remain authoritative for their existing responsibilities.
The M5g.2 relationship catalogs are source-backed semantic evidence.
They are NOT an editor-validation rule engine.
The existing relationship classifications include:
hard_rulewarningdocumentation_onlyunsupported
These names must not be interpreted out of context.
A relationship classified as hard_rule with:
enforcement_scope = catalog_integrity
is a hard rule for source-catalog integrity.
It is NOT automatically a hard rule for a user's MPAS configuration.
M8 must not promote such a relationship into editor validation merely because
its classification is hard_rule.
The following remain non-executable unless a later M8 review explicitly promotes a specific relationship using independent source-backed evidence:
- CPP profile applicability;
- derived-dimension expressions;
- source-description applicability;
- source-description dependency wording;
- package
active_whenexpressions; - nested stream relationships beyond their already-supported structural role;
- source discrepancies.
Descriptive prose is not executable logic.
CPP expressions are not evaluated by the browser.
Package active_when expressions are not evaluated by the browser.
Derived dimension expressions are not evaluated by the browser.
Nested stream references are not recursively expanded into inferred runtime requirements.
M8 may introduce a user-configuration validation rule only when all of the following are true:
- the behavior is supported by authoritative source evidence;
- the required operands exist in the Studio working state;
- the condition can be evaluated deterministically;
- the expected valid/invalid state is unambiguous;
- severity is explicitly reviewed;
- provenance can be attached to the result;
- a regression test covers the rule;
- the rule does not depend on unsupported inference.
Promotion must be deliberate.
No relationship is promoted merely by being present in the M5g.2 catalog.
M8.1 starts with:
0 promoted cross-configuration editor-validation relationship rules.
Later M8 milestones may add explicitly reviewed rules one class or relationship at a time.
Every integrated validation finding will eventually use a common result shape.
Required conceptual fields:
- stable validation code;
- severity;
- blocking state;
- validation scope;
- MPAS core;
- human-readable message;
- affected subject IDs;
- source/provenance evidence;
- originating rule identifier when applicable.
Optional fields may include:
- record;
- option;
- stream;
- stream-list filename;
- Registry entity ID;
- source relationship ID;
- suggested navigation target.
The result model must never contain an automatic configuration repair.
A deterministic source-backed violation that prevents a configuration from being considered valid.
An error may block export or project acceptance only when that blocking behavior is explicitly defined by the owning M8 rule.
A source-backed concern that does not prove the working configuration invalid.
Warnings do not silently change working state.
Source-backed explanatory or provenance evidence useful to the user but not a configuration failure.
Documentation-only evidence belongs here when surfaced by the validation UI.
M8 validation is separated into explicit scopes:
Validation of individual namelist values and namelist structure.
Validation of Streams declarations, attributes, external list membership, and supported references.
Only explicitly promoted deterministic relationships involving more than one configuration object or subsystem.
Non-executable source-backed guidance, discrepancies, CPP conditions, descriptive relationships, and unsupported expressions.
For the same source catalogs and same working configuration, M8 validation must produce the same ordered validation result.
Validation ordering must be deterministic.
No result may depend on object enumeration accident, browser timing, or network completion order.
M8 reports configuration state.
M8 does not silently:
- change option values;
- include or omit options;
- add or remove Streams declarations;
- alter stream-list membership;
- normalize unsupported values;
- infer package activation;
- evaluate CPP conditions;
- repair imported material.
Any future explicit fix action must be a separate user-requested operation.
Every rule derived from source authority must retain enough provenance for the user to understand why the finding exists.
Where available this includes:
- source repository;
- source ref/version;
- source path;
- source line;
- Registry entity ID;
- relationship ID;
- source certainty;
- original source wording or expression where appropriate.
Define policy boundaries, result schema, deterministic ordering, provenance, and zero-rule promotion baseline.
Expose existing namelist type/value/state validation through the common result model without weakening the current codec or importer.
Expose existing Streams structural/state validation through the common result model without weakening the current model, working state, serializer, or importer.
Review candidate source-backed relationships individually.
Only explicitly approved deterministic relationships become executable configuration rules.
Provide a unified reviewable validation workspace with:
- errors;
- warnings;
- information;
- source provenance;
- affected configuration objects;
- navigation to relevant configuration controls.
Produce a deterministic validation report suitable for inclusion in the M9 project/reproducibility bundle.
Run complete automated regression, validators, source-boundary audits, manual
browser validation, checkpoint tagging, and controlled merge to main.
M8.1 does not:
- create cross-configuration editor rules;
- evaluate CPP expressions;
- evaluate package
active_when; - evaluate derived dimensions;
- recursively expand nested stream references;
- change existing serializers;
- change import behavior;
- change working state;
- change the UI;
- repair configuration automatically.
M8.1 establishes the boundary before implementation begins.