← Back to Pull requests

docs(spec): archive delivered Machine instruction change #2035

Open
unknown opened this pull request with 402 lines diff across 5 files
View on GitHub
unknown unknown commented on Nov 30, 2026 15:14 UTC
Author

Concern

Archive the delivered machine-instructions OpenSpec change after its proposal, daemon, hub, and original finalize PRs merged. Preserve the complete implementation history and record the merged delivery evidence without claiming unfinished bot reviews completed.

openspec/changes/machine-instructions/
  → openspec/changes/archive/2026-11-30-machine-instructions/

The native OpenSpec CLI moved all seven artifacts. Only the archive-readiness record and one relative design-document link change. Runtime code, canonical specifications, and the existing changeset remain unchanged.

Issues and stack

  • Refs #2016.

  • Archive-only follow-up to #2019, #2020, #2028, and #2034, all merged by Leo.

  • One follow-up layer against master at 86630ea5f6ae612333e7f41465da3fe0ef26a16d; the original stack is already merged.
  • Review budget

    19 authored added-plus-deleted lines against master: 17 additions and 2 deletions across seven renamed files, using rename detection. The content changes are task-readiness evidence and one corrected relative link. Generated churn is zero.

    Decisions to review

  • Proposal approval is now established by its presence on master.

  • Preserve historical completed task 1.1 and its explicit supersession by manual-only migration task 1.6.

  • Record incomplete historical review coverage and post-merge git-ai failures honestly. Owner merge decisions are not retrospective bot approvals.

  • All 18 delta requirement blocks already match canonical specifications, so the archive command uses --skip-specs without another spec merge.

  • No deployment, changelog compilation, runtime fix, or additional feature is included.

  • Delivery Project synchronization remains blocked by missing read:project.
  • Commands run

  • pnpm exec openspec list --json, archive instructions, and change status: root confirmed; all planning artifacts complete.

  • Requirement-block comparison: all 18 delta blocks exactly match canonical specifications.

  • pnpm exec openspec validate --specs --strict: 71 passed, 0 failed.

  • pnpm exec openspec validate --all --strict: 75 passed before archive; 74 passed after archive; 0 failed.

  • pnpm exec openspec archive machine-instructions --skip-specs --yes --json: succeeded and returned the archive path shown above.

  • pnpm lint:markdown: passed after repairing the moved design document's relative link.

  • pnpm format:check and git diff --cached --check: passed.

  • Preserved-artifact comparison: all seven original artifacts present; only task evidence and one relative link changed. Canonical specifications unchanged.

  • CI owns published-head full-suite verification. No local database tests run.
  • Checklist

    Product contract

  • Proposal merged; all 13 implementation and pre-archive tasks complete

  • Canonical specifications already synchronized; archive moved through OpenSpec
  • General

  • Self-reviewed the parent-relative diff against REVIEW_GUIDE.md

  • CI green on the current head before marking ready

  • Ready-PR monitoring exit met on the current head

  • No debug, scratch, or unrelated code in the diff

  • Delivery Project item added and its Status / Next action set
  • Diff: 402 lines (+301 / -101) across 5 files Reviewer: coderabbitai[bot] Review duration: 3m
    All Vouch review confidence checks passed
    Residual risk 0.33 = Change Risk (0.45) × (1 − Review Confidence (0.26)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 402 lines diff across 5 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 34% · Reviewer familiarity: 35%
    25%
    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.359
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #2035"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 25.7% 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.7% (MEDIUM) · Higher = larger blast radius
    44.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: 25.7% · Lower = rushed or shallow review
    25.7%
    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: 33.2% · Safe to merge
    33.2%
    Repository