Recognize nested linked worktrees during peer admission #9678
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 206 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.319
Real PR Conversation Timeline
1 comments
"Review active on #9678"
general
weight: 0.35
loopx-agent
Problem
An Agent can create a valid linked Git worktree beneath the Goal checkout, follow the workspace recovery instruction, and still be asked to move. For a Todo that inherits the Goal repository, quota admission previously treated directory containment as shared-checkout identity. The same worktree passed when placed beside the Goal checkout.
Change
Resolve the current and registered Git top-level paths. Equal roots identify the shared checkout. For distinct roots, compare their Git common directories before admitting the workspace. This uses the existing Git readers and preserves the Goal write-scope and lease checks.
Validation
agent_workspace_repairafter relocation while the sibling worktree passed.task_repositorycan claim, write back and settle with its original Turn identity. Retrying settlement appends one spend in total.The 18 focused cases and 41 adjacent workspace and settlement cases passed. The standard gate reported one inherited, nonblocking module-size advisory for
loopx/status.py. The exact-scope change-quality receipt iscqr_a05399eb26ad17006bdc.