← Back to Pull requests

chore: run the check script as no-mistakes' lint step #59

Merged
aadehamid merged 1 files (5 lines) on Nov 29, 2026 05:12 UTC
View on GitHub
aadehamid aadehamid commented on Nov 29, 2026 05:08 UTC
Author

Summary

Adds .no-mistakes.yaml, so way-of-working's fast path can run here. no-mistakes reads the file only from the default branch, and its lint step then runs this repository's check script before every push it makes.

+.no-mistakes.yaml
+  commands:
+    lint: "scripts/check.sh"

The owner chose the fast path on 2026-11-28 (personal-agent-skills, docs/decisions/2026-11-28-fast-path.md) and asked on 2026-11-28 to set it up in each repository.

Evidence

  • Before: git show origin/HEAD:.no-mistakes.yaml fails: no file, so the fast path cannot run here.

  • After: the file names scripts/check.sh, which exists and is executable. no-mistakes init and no-mistakes doctor (exit 0) ran in this clone; they change no tracked file.
  • scripts/check.sh on ba45d3f exits 0; its last line: "Nodes: 15 (expected 15). Edges: 26 (expected 26)."
  • Review

    Independent review: Antigravity (agy-review.sh), round 1, READY. PR review: Pi (pi-review.sh --role pr): the Cursor bot did not review the newest pull request, #58, so the "Not available" row applies.

    Merge Danger

    Door: two-way

    Revert the PR, or delete the file, to turn the fast path off here.

    Blast Radius: none

    No code, CI or hook changes. The file is read only by no-mistakes runs.

    🤖 Generated with Claude Code

    Diff: 5 lines (+5 / -0) across 1 files Reviewer: cursor[bot] Review duration: 3m
    All Vouch review confidence checks passed
    Residual risk 0.08 = Change Risk (0.24) × (1 − Review Confidence (0.65)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.24 · 5 lines diff across 1 files
    0.24
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.53 · 2 substantive comment(s)
    0.53
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    64%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.107
    Rapid Merge rapid_merge
    0.100
    Real PR Conversation Timeline
    4 items
    aadehamid aadehamid commented on Nov 29, 2026 05:09 UTC
    Author

    MERGE
    Reviewed commit: ba45d3f3029b8ed6b1053fe96fbe0f1554dbd89a

    I applied AGENTS.md and REVIEW_STANDARDS.md. No rule there blocks this change. The diff adds only .no-mistakes.yaml, which sets commands.lint to scripts/check.sh — the file exists, is executable, and is the script CI runs (ci/src/liong_ci/main.py:119) and the pre-push hook runs. The file's comment lines claim nothing beyond what way-of-working's references/fast-path.md states ("no-mistakes trusts this file only from the default branch… every head it pushes, its own fix commits included, has passed the check script"), so the check-description boundary rule holds. .no-mistakes.yaml is not among the archive's sources (BASELINE in scripts/check_docs.py), so no archive rebuild is owed. .no-mistakes.yaml is on the default branch only when merged, exactly as fast-path.md requires, and this PR carries the path:full and agent:claude labels for path-ledger.py report. I verified the body's claim about #58: #58's head had check suites from 2026-11-27T05:59 and merged at 06:02:27 with no bot review comment, so the "Not available" row applies and Pi as PR reviewer follows the table.

    Non-blocking

  • PR body — the required "Whether the code was refined" line ("Simplify: ran on <commit>" or why skipped, way-of-working changing.md, "What the body says") is missing. Skipping ce-simplify-code is allowed for this change (mechanical config churn), but the body should say so. No defect in the change itself; fix in the body or a follow-up.
  • Missing evidence

    The decision file in personal-agent-skills (docs/decisions/2026-11-28-fast-path.md) and the owner's 2026-11-28 request to set the fast path up in each repository are outside the material this review could inspect; way-of-working's fast-path.md and SOURCES.md (1u) corroborate the 2026-11-28 owner choice on which the body's premise rests. I did not re-run scripts/check.sh myself (it needs the SQL Server and Neo4j services); the body's exit-0 evidence and the PR's CI status cover it.

    <!-- pi-review:pi-review-Na5bYv -->

    cursor[bot] cursor[bot] commented on Nov 29, 2026 05:11 UTC
    Reviewer

    <!-- CURSOR_AUTOMATION_ID: 2deecc08-c063-11f1-bb68-864e54d14197 | RUN_ID: bc-c4f28375-8894-450f-b296-eb5dc03dc8b7 -->
    No findings. .no-mistakes.yaml sets the lint command to scripts/check.sh, the command the fast-path setup names, and the file is outside the review archive. The check job succeeded on ba45d3f.

    <div><a href="https://cursor.com/agents/bc-c4f28375-8894-450f-b296-eb5dc03dc8b7?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a href="https://cursor.com/automations/2deecc08-c063-11f1-bb68-864e54d14197"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/view-automation-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/view-automation-light.png"><img alt="View Automation" width="141" height="28" src="https://cursor.com/assets/images/view-automation-dark.png"></picture></a>&nbsp;</div>

    <sub>Sent by Cursor Automation: Review Engineering Drawing pull requests</sub>

    aadehamid aadehamid commented on Nov 29, 2026 05:23 UTC
    Author

    Correction to this body: docs/decisions/2026-11-28-fast-path.md in personal-agent-skills records only the choice of the fast path, not a request for this file in other repositories. The owner asked for it in a session on 2026-11-28, answering a note that the fast path was ready only in personal-agent-skills and that another repository needs no-mistakes init and this file merged through the full path: "okay can you sync 2."

    Reviewers
    Assignees
    aadehamid aadehamid
    Labels
    risk: low confidence: 64.6% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 23.7% (LOW) · Higher = larger blast radius
    23.7%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 64.6% · Lower = rushed or shallow review
    64.6%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 8.4% · Safe to merge
    8.4%