You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: gaze init --ci scaffolds the AI-report caller workflow #352
gaze init gained a --ci flag (plus a --gaze-version override) that scaffolds .github/workflows/gaze-ai-report.yml — a self-contained starter caller for gaze's reusable AI-report workflow (reusable_gaze_ai_report.yml, first shipped in gaze v2.3.0). The generated workflow owns its own test job (checkout → setup-go → go test -race -count=1 -short -coverprofile=coverage.out ./... → upload-artifact) and calls the reusable workflow with the coverage artifact and the OPENCODE_CONFIG_CONTENT secret.
Key semantics to document:
Threshold inputs are emitted commented out — the workflow is report-only until a human uncomments values (governance gates stay human-owned).
The file is user-owned after first write: re-running gaze init --ci skips it; only --force regenerates it.
The uses: pin is validated >= v2.3.0; dev builds fail closed with guidance; --gaze-version overrides with the same validation (requires --ci).
The workflow's Go version is read from the module's go.modgo directive (fallback: the reusable workflow's default, with a warning).
Requires a Go module at the repository root; otherwise CI scaffolding is skipped with a warning and the .opencode/ scaffolding proceeds.
The console prints a "CI next steps" section after scaffolding: secret-setup one-liner, jq -c . minify tip, second-secret masking pointer, and a threshold-selection prompt.
This is the preferred CI adoption path for gaze AI reports — one command instead of hand-writing caller YAML. Website content describing CI integration should lead with it.
Pages needing updates
CI integration / GitHub Actions guide pages: present gaze init --ci as the preferred adoption path ahead of the hand-written consumer example; note the report-only-by-default thresholds and user-owned file semantics.
CLI reference for gaze init (if mirrored on the site): document --ci and --gaze-version.
Activity
feat(unbound-force#306): scaffold reusable AI-report caller workflow …
chore(unbound-force#306): capture post-review handoff artifacts befor…
feat(#306): scaffold reusable AI-report caller workflow via gaze init…
chore(#306): capture post-review handoff artifacts before PR