Run 3 Print Diagnostics — Implementation Summary
Date: 2026-04-15 → 2026-04-18
Repositories: operations, documentation
Plan: run-3-diagnostics/project-plan.md
Exit gate: plan/run-3-diagnostics/validate-exit.sh
Phase doc: phase-3-diagnostics/verification.md
Status
Section titled “Status”All six tracker tasks completed. Exit criteria passed.
Three diagnostic capabilities exposed on every print endpoint:
debug=true— response includes the constructed Documint payload alongside the normal result, perSAC::PRINT-DX::FR-0003..0005.dry-run=true— payload is constructed but Documint is not called and no print-status side effects occur, perSAC::PRINT-DX::FR-0006..0009.live-printdocumentation alignment — already-implemented parameter documented as part of the diagnostics surface, perSAC::PRINT-DX::FR-0001..0002.
OpenAPI descriptions updated on every endpoint so the parameters appear in generated client docs and in the api-proxy types.
Key technical decisions
Section titled “Key technical decisions”debugPayload: JsonElement?onGroupRenderResultrather than a separateDiagnosticRenderResultwrapper. The Run 2 refactor torenderGroups()removed the need for a wrapper type — the field on the existing per-group result is the smallest possible change.- Parameter precedence:
dry-run>debug>live-print. Oncedry-run=true,live-printis irrelevant (no Documint call) anddebug=trueis implicit (payload always returned). Documented inSAC::PRINT-DXand asserted in unit testsT-P3-007/T-P3-008. - No print-status side effects in dry-run. Dry-run does not record a print event; this was the deliberate semantic that lets support staff inspect a payload without touching tenant state.
Validation outcome
Section titled “Validation outcome”make buildinoperations— green; new unit tests for parameter precedence and dry-run side-effect-free behaviour.- Integration tests against ContainerizedPostgres — green.
- API-level validation deferred to Run 4 (where dry-run is the primary technique used to validate other phases without Documint connectivity).
Merged in
Section titled “Merged in”operations— #163 (merge7a81c9c), the diagnostics portion.
Copyright: (c) Arda Systems 2025-2026, All rights reserved
Copyright: © Arda Systems 2025-2026, All rights reserved