Skip to content

feat: Add output footer watermark to review results #106

Description

@ajianaz

Summary

Add a footer watermark to cora-cli review output so users can easily identify that the review was generated by Cora and which version was used.

Proposed Behavior

Terminal Output

───────────────────────────
Reviewed by Cora v0.1.x
https://github.com/ajianaz/cora-cli
───────────────────────────

SARIF Output

  • Include cora.version in runs[0].tool.driver.properties (if not already present)

JSON Output

  • Add top-level "cora_version": "0.1.x" field

Scope

  • All output formats: terminal (stdout), SARIF, JSON
  • Version pulled from env!("CARGO_PKG_VERSION") at compile time — no runtime overhead
  • No config needed — always-on, lightweight

Acceptance Criteria

  • Footer printed after terminal review output
  • SARIF includes cora version in properties
  • JSON output includes cora_version field
  • Footer only shown when there are results (not on clean diffs)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions