← Back to Pull requests

docs: move the resync merge rule on demand and drop retired fixtures #485

Merged
kyle-sexton merged 15 files (120 lines) on Dec 02, 2026 06:03 UTC
View on GitHub
kyle-sexton kyle-sexton commented on Dec 02, 2026 05:57 UTC
Author

No related issue: docs-hygiene fleet audit fixes to this repository's own markdown.

Draft: opened by the fleet fix workflow, which runs the ready step separately.

Summary

CLAUDE.md loaded the resync admin-merge procedure, plus two retired Case 10a fixture lines, into every session, lane sessions included. This PR moves the procedure to an on-demand scripts/lanes/README.md. A new AGENTS.md holds the one always-needed line, and CLAUDE.md becomes the @AGENTS.md import. The PR also deletes retired case fixtures, probe records and push-marker lines that nothing reads, and the decision-comments rule that standards dropped.

Fix

Three commits, one per docs-hygiene step that has edits:

1. derivability (docs: drop retired lane-case fixtures and push residue)
- CLAUDE.md: delete the Case 10a fixture lines. Case PR #74 is closed.
- README.md: delete the two "push to main that starts the dispatcher" marker lines.
- Delete the retired Case 10a/10b fixtures: .claude/case10a.txt, .claude/case10b.txt, sandbox/cases/c10a.txt. Case PRs #74 and #75 are closed.
- Delete the merge-lane and probe records sandbox/merge-lane/.md (5 files) and probes/live-perm-wsl.md, and the report sandbox/reports/workflow-triggers.md.
2. ssot (docs: delete the decision-comments rule standards dropped): delete .claude/rules/decision-comments.md, following standards#1143.
3. disclosure (docs: move the resync admin-merge rule to an on-demand README)
- New scripts/lanes/README.md holds the three admin-merge conditions. Condition 2 stays condition 2, because scripts/lanes/resync.sh:141 prints that label and scripts/lanes/resync.test.sh:100,125 pins it. It now names where PINNED lives (sync-lists.sh).
- New AGENTS.md: run a resync only on demand, and read the README before producing or admin-merging one. Codex, Antigravity and Cursor now get the rule too.
- CLAUDE.md is now @AGENTS.md.

No changed or new path is under a SYNCED entry in scripts/lanes/sync-lists.sh, so check-sync.sh reports no new drift.

Verification

  • bash scripts/check-affected.sh --base origin/main --no-fetch: 3 passed and 22 skipped over 4 changed files. The skipped checks have no script in this repository.

  • lefthook pre-commit (markdown format and lint, spelling, comment lint, guardrails) passed on all three commits. pre-push guardrails passed.

  • git grep -i -E "case10a|case10b|c10a|sandbox/cases|merge-lane/|live-perm-wsl|workflow-triggers|decision-comments|probes/" outside plugins/ found no reader. The only hits were hash substrings in .github/actions/check-trusted-trigger/check-trusted-trigger.test.mjs:2202 and .github/requirements-ci.txt:63. The same search in claude-code-plugins origin/main returned nothing.

  • git diff --name-status origin/main...HEAD lists the 15 planned paths. None of them is under a SYNCED entry (scripts/lanes/sync-lists.sh:6-80).

  • MD041 and the one-line CLAUDE.md: standards .markdownlint-cli2.jsonc sets "MD041": false today, so the shim lints clean. standards#1210, which is still open, turns MD041 on. The fleet's standards PR adds a */CLAUDE.md override before that lands. This repository's CI runs no markdownlint.
  • Related

  • The upstream rows on SYNCED paths (sandbox rows 7, 9, 12, 14, 16, 17, 18, 20, 21, 22, 27, 30) are fixed in claude-code-plugins. The next on-demand resync carries them here. Row 6 is refuted: the native-references contract keeps the /autofix-pr Boundary section in SKILL.md.

  • Row 28 (noise negations) is fixed by a per-plugin judged re-run in claude-code-plugins, followed by a resync.

  • standards#1143: the decision-comment criterion this PR's ssot commit follows.
  • 🤖 Generated with Claude Code

    Diff: 120 lines (+27 / -93) across 15 files Reviewer: None requested Review duration: 6m
    All Vouch review confidence checks passed
    Residual risk 0.49 = Change Risk (0.79) × (1 − Review Confidence (0.38)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.79 · 120 lines diff across 15 files
    0.79
    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%
    37%
    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.287
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Rapid Merge rapid_merge
    0.100
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #485"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    kyle-sexton kyle-sexton
    Labels
    risk: medium confidence: 38.0% 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: 79.2% (HIGH) · Higher = larger blast radius
    79.2%
    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.0% · Lower = rushed or shallow review
    38.0%
    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: 49.1% · Moderate risk
    49.1%