← Back to Pull requests

Document independent Souls, the HQ–Harbor Comms relay, and harness-owned providers #136

Closed
unknown closed this pull request without merging on Nov 27, 2026 03:58 UTC
View on GitHub
unknown unknown commented on Nov 27, 2026 03:23 UTC
Author

Architecture for review

A Soul can run independently or be started by HQ through its runner. The runtime and its agents execute outside the HQ account. Souls supervises the harnesses and their sessions. Each harness owns its provider configuration and makes model calls with its native client.

For a message addressed to an agent on another linked machine, the route is Comms → local HQ → Harbor → destination HQ → Comms → recipient agent. HQ relays sealed frames, Harbor routes between hosts, and Comms delivers locally. The diagram shows Harbor’s signed lifecycle and policy traffic on a separate path.

The MVP uses one terminal conversation for the R11 pilot task. IDE-facing ACP is deferred. Per-harness adapters can still use ACP for sessions and lifecycle.

Decision discussion and corrections · Rendered diagram

Review boundary

PDR-0135 is proposed. DRIFT-028 tracks the protected Stage 2a broker placement and its qualification evidence. The proposal preserves Machine’s privileged custody and the conditions of PDR-0093.

Verification

  • Regenerated the registry-backed pages and checked the diagram source against the architecture page and editable draw.io graph.

  • All four repository tests passed. The platform checker reported zero errors and the same 12 warnings as the base revision.

  • The strict MkDocs build and pinned docs-governance gate passed.

  • Shared SOP revision consulted: a62663120186caaceb7a1fd89823ad10ad4bd6bb.
  • <!-- agent-bot-write: ghw_3db5c7c5ef8b4227 session=f601b21bf418 bot=trueline-codex-agent[bot] -->

    Diff: 224 lines (+168 / -56) across 2 files Reviewer: qwts Review duration: 35m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.37) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 224 lines diff across 2 files
    0.37
    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%
    56%
    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.324
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #136"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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: 36.9% (MEDIUM) · Higher = larger blast radius
    36.9%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 15.9% · Safe to merge
    15.9%