← Back to Pull requests

docs(agents): state how this repository's tests run #488

Merged
kyle-sexton merged 1 files (8 lines) on Dec 03, 2026 00:30 UTC
View on GitHub
kyle-sexton kyle-sexton commented on Dec 03, 2026 00:20 UTC
Author

Summary

Resolves audit finding 8d4d6abafad20964 (harness-memory/audit/C9, AGENTS.md:1: project instructions give no test command) from audit-pass run hc31-20261202 (melodic-software/control-hub#31 item 4). Adds a ## Tests section to AGENTS.md, stating only what the files show:

  • All 25 tracked package.json files under .github/actions// and .github/scripts// declare a test script: 23 run node ../../../scripts/node-test.mjs; .github/actions/resolve-config and .github/scripts/branch-cleanup run node --test. npm test --prefix .github/actions/check-kill-switch ran here: 14 pass, 0 fail.

  • scripts/node-test.mjs:7-14,25 runs node --test with --test-concurrency defaulted to min(4, cores - 1) and refuses a value above 4.

  • No workflow under .github/workflows/ runs npm test, node --test or node-test.mjs (git grep finds only npm ci install steps).

  • scripts/check-affected.sh is in the SYNCED list (scripts/lanes/sync-lists.sh:99), and several scripts it calls (scripts/affected-tests.sh, scripts/check-changelog-fragments.sh, scripts/check-shell-portability.sh, scripts/validate-plugins.sh, scripts/run-outside-node-suites.sh) are not tracked here (lib/org-standards.sh is), so it is not given as a test command.
  • 🤖 Generated with Claude Code

    https://claude.ai/code/session_01RMa43yUa9VpMTAoYUJZjMj

    Diff: 8 lines (+8 / -0) across 1 files Reviewer: None requested Review duration: 9m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.38) × (1 − Review Confidence (0.34)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.38 · 8 lines diff across 1 files
    0.38
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    34%
    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.131
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Rapid Merge rapid_merge
    0.100
    Real PR Conversation Timeline
    1 comments
    "Review active on #488"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    kyle-sexton kyle-sexton
    Labels
    risk: low confidence: 34.2% 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: 38.1% (MEDIUM) · Higher = larger blast radius
    38.1%
    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: 34.2% · Lower = rushed or shallow review
    34.2%
    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: 25.1% · Safe to merge
    25.1%