Summary
Child slice of #128. Preserve PR #132 as the bounded formatter cleanup slice instead of letting the parent roadmap close directly.
Evidence
Scope
- Keep RunContract presentation formatter behavior stable.
- Keep shared prompt rendering semantic sections readable.
- Keep public CLI/Pi wording backward-compatible unless explicitly additive.
Non-goals
- Do not fold GitHub/PR/kapi-agent semantics into RunContract core.
- Do not change workflow-validation completion authority.
- Do not merge RunContract advisory quality with runtime readiness probe.
Acceptance criteria
Verification
npm test -- test/run-contract-format.test.ts test/run-contract-prompt-renderer.test.ts test/presentation-ui.test.ts
npm run verify
Part of #128.
Summary
Child slice of #128. Preserve PR #132 as the bounded formatter cleanup slice instead of letting the parent roadmap close directly.
Evidence
src/presentation/run-contract-format.ts.src/domain/run-contract-prompt-renderer.tslong template literal sections into smaller helpers.messages.tsno longer owns RunContract formatter helpers; prompt rendering remains shared and adapter-neutral.Scope
Non-goals
Acceptance criteria
src/presentation/messages.tsdelegates RunContract compact formatting to a shared presentation helper.renderRunContractPromptremains the service/CLI shared prompt renderer.npm run verifypasses, or unrelated failures are documented.Verification
npm test -- test/run-contract-format.test.ts test/run-contract-prompt-renderer.test.ts test/presentation-ui.test.ts npm run verifyPart of #128.