Files
truthmark/changes/2026-05-30-version-1-6-1.md
T
9e330a0fd3 fix(cli): fail on error diagnostics (#11)
* fix(cli): fail on error diagnostics

* chore: release 1.6.1

* feat(init): refresh truth doc templates

* fix(init): preserve custom template preambles

* ci: limit GitHub token permissions

* ci: update setup-node action

---------

Co-authored-by: MerlinH <merlinh221@gmail.com>
2026-05-31 00:35:18 +10:00

1.0 KiB

Version 1.6.1

Previous version: 1.6.0 New version: 1.6.1 Diff basis: release/1.6.0..HEAD plus working tree Version action: patch SemVer rationale: The pending release payload contains backward-compatible CLI exit-code correction and published documentation clarification, which require a patch bump.

Release payload:

  • Fix CLI command rendering so returned error diagnostics set a failing process exit code.
  • Document the professional standards and reference alignment behind the default truth-document templates, and cite that rationale from localized README onboarding sections.

User-facing release text:

  • CLI commands that return error diagnostics now fail with a non-zero exit code, making automation reflect Truthmark errors correctly.
  • Default truth-document template rationale is now documented with recognized software-engineering references and linked from the README.

Verification:

  • git diff --check
  • npx tsx src/cli/main.ts check --json
  • npx tsx src/cli/main.ts index --json
  • npm run package:check
  • npm run release:check