chore: deploy Set it Free Loop (review tier, v2.0.0)

Merged
HE
3mo ago
+3025-13

Set it Free Loop — Deployment

Version: 2.0.0
Tier: review
Source SHA: 380fe0edc7a87cfc7b31233a955b37df0223a3a8
Engine policy: codex-gpt-55-high

Components deployed

  • labels
  • governance
  • sfl-pr-review

What is the Set it Free Loop?

The Set it Free Loop is a continuous
quality improvement operating model for software repositories. See the
CATALOG
for all available workflows.

Before merging

  • Run .\deployment\governance\setup-labels.ps1 -Owner <org> -Repo <repo> if labels are not yet configured
  • For each .md workflow: verify gh aw compile .github/workflows/<name>.md succeeds
  • Trigger a workflow manually to confirm output
  • Review sfl.json manifest in the repo root

Summary by cubic

Deploys Set it Free Loop v2.0.0 to add a label-triggered, full-spectrum PR review using moonshotai/kimi-k3 via OpenRouter. Tightens deterministic validation to pin outputs to the triggering head, require complete validated review output, add a final output gate, and enforce stricter review/check consistency, including the approval check title.

  • New Features

    • Adds sfl-pr-review workflow triggered by sfl-review; runs security/correctness/quality passes, posts up to 20 inline threads, submits one consolidated review, and publishes the SFL Reviewer Approval check.
    • Hardens validation: verifies live PR state, repo/PR targeting, severity prefixes, exact shapes for the consolidated review and check summary, and the check title; pins to head_sha; blocks on head drift with noop; rejects contradictory and incomplete outputs.
    • Supports deleted-line findings in inline review comments by using side: LEFT.
    • Updates sfl.json to register sfl-pr-review on copilot using moonshotai/kimi-k3 with OPENROUTER_API_KEY; adds an SFL upstream badge to README.md; bumps github/gh-aw-actions/setup to v0.84.1.
  • Migration

    • Ensure the sfl-review label and OPENROUTER_API_KEY exist; compile the .md workflow and test by labeling a PR.
    • Verify head guard, inline comments (including deleted lines), consolidated review, approval check (title and summary), overflow handling, the inventory/noop gate, and the stricter validator rejecting incomplete or contradictory outputs.

[!NOTE]

Deploy Set it Free Loop PR review workflow (v2.0.0) using kimi-k3 model

  • Adds sfl-pr-review.md and its generated lock file sfl-pr-review.lock.yml, which trigger an automated PR review agent when the sfl-review label is applied.
  • The agent emits inline comments (up to 20), a consolidated review, and a check run; a deterministic validator enforces exact output shapes, severity prefixes, inventory counts, and correct APPROVE/REQUEST_CHANGES conclusions based on Critical/High findings.
  • Head drift causes the agent to emit a noop instead of a review, preventing stale-commit feedback.
  • Updates sfl.json to register the sfl-pr-review component and configure an engine policy routing it to moonshotai/kimi-k3 via OpenRouter with OPENROUTER_API_KEY.
  • Bumps github/gh-aw-actions/setup to v0.84.1 in the actions lock.

Macroscope summarized 8352693.