Run artifact

workspace/targets/toml/evidence/block-2.md

Evidence: Block 2 ยท Service (block-2)

Stories built

Stacked context

Build directory changes

Pre-build acceptance observation

intent: A valid TOML document produces the required tagged JSON on stdout with no stderr diagnostic. return code: 1 stdout: {} stderr: --- drydock: values at failure --- expected = {'answer': {'type': 'integer', 'value': '42'}} result = CompletedProcess(args=['./toml-decoder'], returncode=0, stdout='{}\n', stderr='') --- drydock: end values --- Traceback (most recent call last): File "decoder-valid-contract.py", line 16, in <module> assert json.loads(result.stdout) == expected ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: Invalid TOML produces a non-zero exit, no successful stdout result, and a stderr diagnostic. return code: 1 stdout: {} stderr: --- drydock: values at failure --- result = CompletedProcess(args=['./toml-decoder'], returncode=0, stdout='{}\n', stderr='') --- drydock: end values --- Traceback (most recent call last): File "decoder-invalid-contract.py", line 12, in <module> assert result.returncode != 0 ^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: The supplied decoder contract gate passes in full. return code: 1 stdout: Traceback (most recent call last): File "<stdin>", line 6, in <module> AssertionError stderr: --- drydock: values at failure --- result = CompletedProcess(args=['sh', 'sources/stage_contract.sh', 'decoder'], returncode=1, stdout='', stderr='Traceback (most recent call last):\n File "<stdin>", line 6, in <module>\nAssertionError\n') --- drydock: end values --- Traceback (most recent call last): File "decoder-stage-contract.py", line 10, in <module> assert result.returncode == 0 ^^^^^^^^^^^^^^^^^^^^^^ AssertionError

Post-build programmatic acceptance

intent: A valid TOML document produces the required tagged JSON on stdout with no stderr diagnostic. target interpreter: /mnt/c/Users/barlo/projects/drydock/.venv/bin/python3 provisioning: not required return code: 0 stdout: {"answer":{"type":"integer","value":"42"}}

intent: Invalid TOML produces a non-zero exit, no successful stdout result, and a stderr diagnostic. target interpreter: /mnt/c/Users/barlo/projects/drydock/.venv/bin/python3 provisioning: not required return code: 0 stdout: line 1: invalid value "["

intent: The supplied decoder contract gate passes in full. target interpreter: /mnt/c/Users/barlo/projects/drydock/.venv/bin/python3 provisioning: not required return code: 0

Agent self-report (advisory)

The build agent declared a failure. This is advisory only; the programmatic acceptance above is the authority for this block's outcome.

The current parser only supports basic scalar key/value pairs; later parser stages must implement arrays, tables, floats, datetimes, and strict validation before rerunning the full suite.

Build summary

RESULT: FAILED

FILES CHANGED:

SUMMARY: Implemented and verified the decoder stdin, tagged-JSON, stderr diagnostic, and exit-status contract. Decoder and architecture gates pass. Full conformance fails on parser features assigned to later stages.

BLOCKERS:

FAILURE_SUMMARY: Full TOML conformance is incomplete
FAILURE_DETAIL: The current parser only supports basic scalar key/value pairs; later parser stages must implement arrays, tables, floats, datetimes, and strict validation before rerunning the full suite.