Run artifact

workspace/targets/toml/blueprint/FEATURE-Arrays-of-Tables-Ordering.md

FEATURE: Arrays of Tables Ordering

FieldValue
Version20260814 V1
DescriptionRejects invalid ordering and structural conflicts involving TOML arrays of tables.
Depends OnFEATURE-Arrays-of-Tables.md, FEATURE-Table-Redefinition.md
Providesarray-of-table ordering validation
ConsumesTOML arrays of tables, table-definition validation

Purpose

The parser enforces TOML 1.0.0 ordering and conflict rules for arrays of tables.

Behavior

Programmatic Acceptance

Requires: executable=go; scope=test
Requires: executable=sh; scope=test

=== AC arrays-of-tables-ordering-conformance ===
Intent: The implementation rejects the authoritative invalid table-ordering and conflict cases.
Suite: scoped

import os import subprocess import sys

result = subprocess.run( ["sh", "sources/stage_test.sh", "invalid/table/*"], capture_output=True, text=True, env={**os.environ, "TOML_TEST_VERSION": "v2.2.0"}, ) print(result.stdout) print(result.stderr, file=sys.stderr) assert result.returncode == 0 === END AC arrays-of-tables-ordering-conformance ===

=== AC arrays-of-tables-ordering-exit ===
Intent: An invalid array-of-table ordering document exits unsuccessfully.

source = "[fruit.physical]\ncolor = \"red\"\n[[fruit]]\nname = \"apple\"\n" result = subprocess.run( ["go", "run", "./cmd/toml-decoder"], input=source, capture_output=True, text=True, ) assert result.returncode != 0 === END AC arrays-of-tables-ordering-exit ===

User Acceptance

Guardrails