Skip to content

fix(distill): keep verified work when private preview is unavailable - #124

Merged
forrestlinfeng merged 1 commit into
EvoMap:mainfrom
imxyanua:codex/fix-private-preview-candidate-retention
Nov 29, 2026
Merged

forrestlinfeng merged 1 commit into
EvoMap:mainfrom
imxyanua:codex/fix-private-preview-candidate-retention

Conversation

@imxyanua

Copy link
Copy Markdown
Contributor

Summary

Keep the verified range when an explicit private preview receives stored. Return private_preview_unavailable as before so the person can retry with a compatible Proxy.

Evidence

  • Before: Three explicit attempts against a fixture Proxy returning stored exhausted the range without creating a private draft.
  • After: All three refusals leave the range intact. A subsequent compatible preview creates one private draft. Automatic retry and the local IR schema retry bound are unchanged. The fixture validates local state after the response.
  • Independent branch regression: 1/1 on both Windows Node 22.23.5 and 26.13.0.

Merge Danger

Door: Two-way. The code change can be reverted independently.

Blast radius: manual private-preview settlement.

@evomap-aiqa-bot

evomap-aiqa-bot Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Sentinel 已审核此变更,未发现已核验问题,但发现需要人工确认的风险。

另有 1 个需要人工确认的风险;黄色 advisory 不阻塞合并,建议开发 agent review advisory 评论并逐条确认。

开发 agent 查询详情: 调用 MCP 工具 sentinel_pr_review_context,传入 owner_repo="evomap/evolver-agent-plugin"、pr_number=124、head_sha="d600018abba2397c3b73440e8fee8ec4af50eadc",并按条目追加 finding_id 或 finding_key。

由 Sentinel 审核 · 目标提交 d600018abba2

@evomap-aiqa-bot

Copy link
Copy Markdown

Sentinel 保留了 1 个尚未确认的审核候选。这些黄色条目不阻塞合并;红色 P0/P1 与其他独立硬门禁不受影响。 单一猜测、缺少变更行证据或纯 checklist 的候选会统一降为 P3。
开发 agent:请 review 以下 advisory,并逐条给出“已验证无风险 / 已修复 / 转为后续事项”的结论;不要只做整体确认。

  • [P3] 后台重试会再次消费刚保留下来的私有预览候选 — 新分支仅在 explicit === true 时跳过消费。随后同一候选经 distillDue 调用 run 时使用默认的...(truncated) · lib/app/distill-session.js · advisory_6f86eaf6bbb1df4350c0057d

需要完整证据时,可用行末 finding_key 查询 Sentinel PR review context。

由 Sentinel 审核 · 目标提交 d600018abba2

@forrestlinfeng

Copy link
Copy Markdown
Contributor

Reviewed Sentinel's advisory (a background retry consuming the preserved private-preview candidate): not reachable as described. The new branch in settlementOf returns {} only for an explicit run whose result is private_preview_unavailable. A background run (distillDue, explicit false) falls through to the existing rules: the outcome is failed, which is not in the settled set, so it is counted against the three-try limit and retried with backoff. It never consumes the range early; at the limit the existing give-up applies, as before this PR. Merging through the CI carrier PR with #121-#126.

@forrestlinfeng
forrestlinfeng merged commit e7112ca into EvoMap:main Nov 29, 2026
10 checks passed
@forrestlinfeng

Copy link
Copy Markdown
Contributor

Reviewed and merged with its commits unchanged through #127, after the full CI matrix (Linux, Windows, macOS, Node 22/26) passed on all six PRs together. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants