← Back to Pull requests

chore(harness-config): suppress two accepted audit findings #487

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

Summary

Adds docs/conventions/harness-config.yaml, the harness-config plugin's team layer, with two suppressions accepted from audit-pass run hc31-20261202 (melodic-software/control-hub#31 item 4). Each entry stores the finding's check, claim and site exactly as the run emitted them; both keys were recomputed from those constituents (sha256 over check, claim, surface, anchor joined by \x1f, first 16 hex) and match. The file parses under the plugin's strict lib/yaml-subset.awk.

Loosened checks

  • bbb441d6a18b9819, harness-config/audit-permission-grants/P1 at plugins/sandbox-marker/skills/audit-env/SKILL.md:4 (allowed-tools: Bash). The skill's description says "Test fixture for the pr-run-activity runner" (SKILL.md:3). Its activity is declared at docs/conventions/pr-pipeline.yaml:66-72 with effect: read and runs in the pr-review lane slot at docs/conventions/pr-pipeline.yaml:362; read activities run in .github/workflows/pr-run-activity-read.yml, which refuses write ones (:645). So it runs in CI, not in an auto-mode session where the bare grant would be dropped, and its one compound script (SKILL.md:13-24) matches no bare-name command grant.

  • 773bf51ae187c7ec, harness-config/audit/B/baseline-ask-rules, claim missing-pattern:Bash(git push ), site .claude/settings.json (absent here). Sessions push PR branches to this repository as routine work. The user settings (~/.claude/settings.json:599-600) allow Bash(git push ) and Bash(git push) and ask only on the delete forms (--delete, -d, :ref), with force and mirror pushes denied, so a project ask rule on every push would prompt on the normal path.
  • Declined, not suppressed

    Automation-gaps candidates from the same run, declined:

  • h2 formatter hook: lefthook already formats (lefthook.yml:1-6 pulls the claude-code-plugins remote hooks, which include the format jobs).

  • h3 SessionStart reminder: AGENTS.md already loads every session.

  • h4 Stop hook running check-sync.sh: it needs an upstream sha and a local clone (scripts/lanes/README.md:13).

  • m1 GitHub MCP server: the gh CLI covers it (judgment, relayed from the audit's automation-gaps agent; not checked here).

  • s1 resync skill: scripts/lanes/resync.sh and scripts/lanes/README.md exist.

  • a1 subagent checking resync merge conditions: deterministic reads, better done by a script (judgment, relayed from the audit's automation-gaps agent; not checked here).

  • sc1 scheduled resync: contradicts AGENTS.md, which says a resync runs only on demand.

  • sc2 scheduled dependency updates for root package.json and scripts/ci-deps: synced copies (scripts/lanes/sync-lists.sh:87,89, in SYNCED).
  • The deny-floor findings (6 × baseline-sensitive-file-deny, 8 × baseline-destructive-bash-deny) stay listed only, tracked in melodic-software/standards#1219. The synced-copy drift gap (automation-gaps h1) goes to its own issue.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01RMa43yUa9VpMTAoYUJZjMj

    Diff: 18 lines (+18 / -0) across 1 files Reviewer: None requested Review duration: 8m
    All Vouch review confidence checks passed
    Residual risk 0.43 = Change Risk (0.66) × (1 − Review Confidence (0.34)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.66 · 18 lines diff across 1 files
    0.66
    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.176
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Rapid Merge rapid_merge
    0.100
    Sensitive Paths sensitive_paths
    0.066
    Real PR Conversation Timeline
    1 comments
    "Review active on #487"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    kyle-sexton kyle-sexton
    Labels
    risk: medium confidence: 34.2% reviewed sensitive_module
    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: 65.8% (HIGH) · Higher = larger blast radius
    65.8%
    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: 43.3% · Moderate risk
    43.3%