← Back to Pull requests

docs: guide FAR setup and mount partner config #210

Closed
unknown closed this pull request without merging on Nov 16, 2026 14:45 UTC
View on GitHub
unknown unknown commented on Nov 11, 2026 14:00 UTC
Author

Summary


  • Document TR-VIRT-007 IPMI/FAR setup, with placeholder-only FAR and credential Secret examples under examples/.

  • Validate the real host FAR manifest and mount it read-only at /far-config.json for partner preflight and no-load runs when FAR is selected; leave other plans unaffected.

  • Ignore the local far-config.json and explain OLM-managed service certificates and safe credential handling.
  • Validation


  • ./ci/scripts/run-harness/test-partner-far-config.sh

  • bash -n ci/scripts/partner-harness-common.sh ci/scripts/run-partner-preflight.sh ci/scripts/run-partner-cert.sh ci/scripts/run-harness/test-partner-far-config.sh

  • git diff --check
  • No live fencing test was run.

    Summary by Sourcery

    Document and enforce safe FAR configuration handling for partner preflight and no-load certification runs.

    New Features:

  • Add partner harness support for validating and mounting a host-provided FAR configuration when TR-VIRT-007 runs in FAR mode.

  • Provide placeholder FAR and fencing-credential examples for cluster setup.
  • Bug Fixes:

  • Prevent partner runs from using missing, example, malformed, mismatched, or unsafe FAR configurations and invalid target nodes.
  • Enhancements:

  • Document FAR/IPMI setup, OLM-managed certificates, credential protection, read-only mounts, and safe execution sequencing.

  • Keep FAR configuration requirements scoped to plans that select TR-VIRT-007 in FAR mode.
  • Documentation:

  • Expand the certification and cluster setup guides with FAR configuration, Secret handling, and partner helper usage instructions.
  • Tests:

  • Add cluster-free harness checks covering FAR validation, mount propagation, non-FAR plans, alternate modes, and invalid configurations.
  • Chores:

  • Ignore the local far-config.json file.
  • Diff: 221 lines (+165 / -56) across 2 files Reviewer: tshefi Review duration: 7245m
    All Vouch review confidence checks passed
    Residual risk 0.24 = Change Risk (0.60) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.60 · 221 lines diff across 2 files
    0.60
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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.323
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.060
    Real PR Conversation Timeline
    1 comments
    "Review active on #210"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 60.0% (MEDIUM) · Higher = larger blast radius
    60.0%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 23.7% · Safe to merge
    23.7%