Clarify API destination authority across transports #913
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 · 212 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.321
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #913"
general
weight: 0.35
scottopell
Summary
Clarifies that a local WorkScope authorizes execution, not the selected destination. Before an API action, Global separately establishes destination identity, authentication, current target, and lifecycle state from authoritative user-approved sources.
Boundaries
$PWDas a remote cwd.send_conversation_messageremains local-only and is not remote steering.The transport-neutral authority contract is also captured in
PhoenixApiDestinationAuthority. No transport-specific recipe or new messaging API is added.Validation
cargo fmt --all -- --checkCARGO_BUILD_JOBS=1 cargo clippy -p phoenix-skills --all-targets -- -D warningsCARGO_BUILD_JOBS=1 cargo test -p phoenix-skills phoenix_api_— 3 passedCARGO_BUILD_JOBS=1 cargo test -p phoenix-skills— 56 passed./dev.py check --lanes spec-shape./dev.py tasks validategit diff --checkReview hold: no merge, deployment, credential access, or remote lifecycle operation was performed.