Skip to content

ci: bump reusable_gaze_ai_report gaze-version to the first release with deterministic report rendering (spec 040 SC-008) #313

Closed

Description

@jflowers

Context

Spec 040 (specs/040-deterministic-ai-report-rendering/) made gaze report publish a deterministic report and reduced the AI to a validated judgment slot. The dogfood Gaze AI Report job in .github/workflows/test.yml runs through the reusable workflow reusable_gaze_ai_report.yml, which installs the gaze version supplied by gaze-version (currently the workflow default, i.e. a release predating this change).

That means the dogfood job does not exercise this code yet: it still runs the old adapter/prompt path until a release ships spec 040 and the pin is bumped.

Scope

  1. After the release containing spec 040 (v2.4.0 or later), bump the default gaze-version in reusable_gaze_ai_report.yml and the dogfood caller input in test.yml.
  2. Verify quickstart §10 (specs/040-deterministic-ai-report-rendering/quickstart.md): the job publishes the full deterministic report with validated AI slots, or fails non-zero, and never passes with model narration alone.
  3. Keep the hopdog thresholds 38/6/8 unchanged — this is a version bump, not a gate change.

Candidate follow-up (DE-005)

The rewritten /gaze agent still carries prose binary-resolution and analyzer-detection steps. Consider collapsing that judgment-free chain into one intent-level tool in a later change.

References

Activity

  1. jflowers commented on Nov 7, 2026

    @jflowers
    CollaboratorAuthor

    Scope update from PR #317 (dogfood the AI report with gaze built from the commit under test): the dogfood job now installs gaze from the checked-out tree (build-from-source: true) instead of via gaze-version, so this issue's first scope item — bumping the dogfood caller's gaze-version input in test.yml — is moot.

    Remaining live scope:

    1. Bump the default gaze-version in reusable_gaze_ai_report.yml in the commit tagged as the first spec-040 release (v2.4.0+), so the bump ships inside the release it points at.
    2. Verify quickstart §10 (specs/040): the job publishes the full deterministic report with validated AI slots or fails non-zero — never passes with narration alone.
    3. Keep dogfood thresholds 38/6/8 unchanged.
  2. jflowers commented on Nov 15, 2026

    @jflowers
    CollaboratorAuthor

    v2.4.0 is released and verified — closing per the quickstart §10 gate (SC-008). Part of epic #337 (Release plan: v2.4.0), Phase 2.

    Release

    • Tag v2.4.0 (annotated tag, target 7b44c3afb629de13390025306ced9bc6eda76794) published 2026-11-15T23:28:59Z via release.yml — run 43774857283, all jobs green: Validate Module Major, Validate Workflow Floor, Validate AI Report Default, Preflight, Release (GoReleaser), Sign macOS (signed + notarized, cask pushed to the tap; Push Unsigned Cask correctly skipped).
    • HEAD CI was fully green before dispatch: run 43772220569 on 7b44c3a — all jobs success.

    Quickstart §10 (SC-008) — full deterministic report with validated AI slots

    The dogfood Gaze AI Report job on the tagged commit (gaze built from source as dev-7b44c3afb629, so the report was produced by exactly the code shipped as v2.4.0):

    • Job Gaze AI Report / Gaze AI Report in run 43772220569 — conclusion success.
    • Published report content (step summary, mirrored to the step log): # 🔍 Gaze Full Quality Report with ## 📊 CRAP Summary, ## 🧪 Quality Summary, ## 🏷️ Classification Summary, and ## 🏥 Overall Health Assessment including the 5-row scorecard (CRAPload 🟢 A-, GazeCRAPload 🟢 A, Avg Line Coverage 🟢 A-, Contract Coverage 🟡 C+, Complexity 🟢 B+).
    • AI slots present and validated (no rejection callout): <!-- gaze:ai-summary --> carrying the narrative summary and <!-- gaze:ai-recommendations --> carrying 5 prioritized recommendations.
    • Threshold gates enforced and passing: CRAPload: 23/38 (PASS), GazeCRAPload: 6/6 (PASS), AvgContractCoverage: 39/8 (PASS).

    No narration-only pass is possible on this code: the report body is Gaze-rendered, the model supplies only the two delimited slots, and an invalid AI answer would have exited non-zero and failed the job.

    Caller pinned to @v2.4.0 without gaze-version

    • Workflow content at the tag (reusable_gaze_ai_report.yml @ v2.4.0): gaze-version input default: "v2.4.0" — a pinned caller omitting the input installs v2.4.0.
    • Real install check (temp GOBIN): go install github.com/unbound-force/gaze/v2/cmd/[email protected] succeeded; go version -m on the installed binary reports mod github.com/unbound-force/gaze/v2 v2.4.0 (the same authoritative check the install canary uses — ldflags version stamping is a GoReleaser-only path, so a module install's gaze --version prints dev by design).

    Change bookkeeping (tasks 3.3/3.4, archive of openspec/changes/bump-ai-report-default-v2.4.0/) follows in the accompanying PR.

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions