Skip to content

M1: Ensure deterministic output ordering and normalization #31

@jeffpatton1971

Description

@jeffpatton1971

Add explicit ordering rules and normalization so the same input yields byte-for-byte stable output.

Definition of done

  • Sort commands and parameters deterministically.
  • Normalize line endings to \n or platform-consistent rules.
  • Avoid timestamps, machine names, absolute paths in generated XML.

Acceptance checks

  • Unit test runs generation twice and asserts same output string.

8) Unit tests for model + renderer + validator

Title: M1: Unit tests for canonical model, MAML renderer, and schema validator
Type: Tests
Labels: adr:001, milestone:m1, area:tests, type:test

Description
Add unit tests that lock the behavior for the Core layer.

Definition of done

  • Tests cover:

    • Model creation
    • Renderer output contains key nodes
    • Validator success/failure
    • Determinism

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions