Kida 0.3.3

syntax() terminal filter, PR comment CI reports, CachedBlocksDict fix

Released 2026-04-07.

Kida 0.3.3 adds JSON/YAML syntax highlighting for terminal output, enables CI report posting as PR comments, and fixes a cache miss tracking bug.

Highlights

  • syntax()terminal filter — Regex-based JSON and YAML highlighting in terminal mode.
  • PR comment CI reports — GitHub Action now posts reports as pull request comments.
  • CachedBlocksDictfix — Cache miss tracking corrected with expanded test coverage.

Added

Terminal

  • syntax()filter — Regex-based syntax highlighting for JSON and YAML content in terminal rendering mode. Applies color tokens to keys, strings, numbers, and structural characters.

GitHub Action

  • PR comment postingpost-to: pr-commentposts rendered reports directly to pull requests in addition to step summaries.
  • Comment deduplicationcomment-headeridentifies comments by report type so re-runs update the existing comment instead of creating duplicates.
  • Append modecomment-mode: appendcombines multiple reports (e.g., pytest + coverage) into a single PR comment separated by horizontal rules.
  • Extra contextcontextinput accepts a JSON string of additional template variables merged into the data context at render time.

Fixed

  • CachedBlocksDictmiss tracking — Block lookups that miss the cache are now properly recorded. Added comprehensive test coverage for cached blocks, purity checks, and t-strings.

Upgrade Notes

  1. No breaking changes. Drop-in upgrade from 0.3.2.
  2. GitHub Action version tag updated to@v0.3.3.