← Back to Pull requests

docs(skills): baseline-ops relies on DES-085 edit checks, not per-edit make check #648

Open
unknown opened this pull request with 268 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 22, 2026 19:40 UTC
Author

Summary

The baseline-ops skill, which ethos preloads into every generated sub-agent, still said "Run make check after every file change". That reintroduces the per-edit full-gate cost (~12 min per run on ethos) that #643–#647 removed from the generated hooks. Found during the quarry-menubar migration.

The Verification section now says:

  • do not run the full gate after every edit; ethos runs the project's edit checks automatically after each Write/Edit, so fix what they report;

  • the full gate runs at handoff (SubagentStop) and at commit; fix anything it blocks on;

  • if the project configures no handoff check, run its quality gate once before returning, zero violations (keeps the old guarantee for unconfigured repos).
  • docs/agent-definitions.md's summary of the skill and CHANGELOG.md are updated to match. No code changes; internal/hook (baseline/generate), internal/pluginskill and internal/seed tests pass, and markdownlint is clean on the changed files.

    <!-- devin-bot-banner-begin -->
    ---

    <p><picture><source srcset="https://app.devin.ai/api/presigned_proxy?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjpudWxsLCJidWNrZXRfbmFtZSI6ImRldmluYXR0YWNobWVudHMiLCJidWNrZXRfa2V5IjoiYXR0YWNobWVudHNfcHJpdmF0ZS9vcmctZGJhODNiYjIwYTc5NGI4ZmEwYzJjOWY4NDAwMWEzNjEvZjUyZTdkYTUtZmFlYS00YWU3LTk5MDctNTIwZjIxODBmN2I1IiwiaWF0IjoxNzk1Mzc2NDAzLCJvcmdfaWQiOiJvcmctZGJhODNiYjIwYTc5NGI4ZmEwYzJjOWY4NDAwMWEzNjEiLCJmaWxlbmFtZSI6ImJvdC1iYW5uZXIucG5nIn0.rRW0hPOpN4lfPo8w14y_-X1GYSt7xaqVhat-PkZt9go"><img height="63" alt="" align="left"></picture><strong><a href="https://app.devin.ai/bots/a6a240c666104e4e991f4567919eeea9">Vikram - Latency Optimizer</a> opened this PR for Jim</strong><br>
    Implemented in session <a href="https://app.devin.ai/sessions/bb4b5384b70d43e2ad9aea5e14a20d6d">Profile ethos per-edit hooks and make check scope</a><br>
    <a href="https://app.devin.ai/review/punt-labs/ethos/pull/648">Review&nbsp;with&nbsp;Devin</a> · <a href="https://app.devin.ai/desktop/session/bb4b5384b70d43e2ad9aea5e14a20d6d?variant=devin">Open&nbsp;in&nbsp;Devin&nbsp;Desktop</a></p>
    <br clear="left">
    <!-- devin-bot-banner-end -->

    Diff: 268 lines (+201 / -67) across 3 files Reviewer: devin-ai-integration[bot] Review duration: 4m
    All Vouch review confidence checks passed
    Residual risk 0.27 = Change Risk (0.44) × (1 − Review Confidence (0.38)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.44 · 268 lines diff across 3 files
    0.44
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 66% · Reviewer familiarity: 35%
    38%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.335
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #648"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 38.4% 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: 44.4% (MEDIUM) · Higher = larger blast radius
    44.4%
    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: 38.4% · Lower = rushed or shallow review
    38.4%
    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: 27.3% · Safe to merge
    27.3%