← Back to Pull requests

Conversation orb: a follow-up is answered in the light of the ask it follows #2348

Open
unknown opened this pull request with 174 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 06, 2026 03:37 UTC
Author

Before: on a-to-mind.com, a follow-up showed "Following on from your ask earlier today" but was answered without the first ask. "how was that mountain formed" after "what is the tallest mountain on earth" was answered "Since you did not specify which mountain you are referring to", about the Appalachians.

After: the stage sends a follow-up's earlier ask and the start of Verse's answer to it with the new ask. The model gets them with a rule to read "that", "it" or "there" as what the earlier ask was about. When the new ask points back, the earlier ask's sources are searched beside its own and taken in turn. The note on the card says the earlier ask went with this one and that the answer is not cached.

How: lib/brain-dialogue.js builtOn says what an ask builds on without logging it. lib/follow-ask.js cleans the before field, holds the rule, and merges the two searches. functions/api/answer.js skips the D1 read, the D1 write and the edge copy for an answer written with an earlier ask; the edge gate already refuses the extra field. The three page copies are the same.

Tests: tools/follow-ask.test.mjs (new) and a builtOn test in tools/brain-dialogue.test.mjs. The 8 failures in answer-honesty, empty-state, live-cards, note-ask and own-card also fail on main in this sandbox.

---
_Generated by Claude Code_

Diff: 174 lines (+130 / -44) across 2 files Reviewer: github-actions[bot] Review duration: 4m
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.35) × (1 − Review Confidence (0.43)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 174 lines diff across 2 files
0.35
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
42%
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
Shallow Review Depth shallow_review_depth
0.344
Diff Size diff_size
0.309
Real PR Conversation Timeline
1 comments
"Review active on #2348"
general weight: 0.35
Assignees
Unassigned
Labels
risk: low confidence: 43.0% 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: 35.4% (MEDIUM) · Higher = larger blast radius
35.4%
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: 43.0% · Lower = rushed or shallow review
43.0%
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: 20.2% · Safe to merge
20.2%