Skip to content

docs: gaze report deterministic rendering, --format=markdown and --sections #363

Open

Description

@jflowers

What changed

Gaze now renders every report section, grade, and deterministic recommendation itself. In text mode the AI adapter supplies only a validated summary plus prioritized recommendations (strict JSON), and invalid AI output fails the run while the deterministic report and a rejection callout are still published.

New CLI surface:

  • --format=markdown — deterministic markdown report with no AI provider or API key required.
  • --sections — choose which analyses run and render (crap, quality, classification, health; default all).

Behavior notes:

  • gaze report always uses the built-in report-mode prompt and ignores a local .opencode/agents/gaze-reporter.md, printing a one-line stderr notice.
  • gaze init now treats .opencode/agents/gaze-reporter.md as tool-owned: local customizations are overwritten and reported as updated.
  • The /gaze agent now shows the Gaze-rendered report verbatim and adds only an ## Assessment section with judgment.

Pages needing updates

  • report CLI reference (docs/reference/cli/report.md): markdown format, --sections, grading rubric v1, AI answer contract.
  • CI integration guide: deterministic reports and validated AI judgment; --format=markdown as the no-secret option.
  • /gaze agent docs: verbatim render plus judgment.
  • gaze init docs: gaze-reporter agent is tool-owned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions