Repository navigation
Conversation
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Codex review: needs maintainer review before merge. Reviewed September 7, 2026, 3:55 PM ET / 19:55 UTC. ClawSweeper reviewWhat this changesReplaces the Anthropic refusal-marker placeholder with neutral text on extended-stable and updates sanitization and transcript-correlation tests. Merge readiness✅ Ready for maintainer review No blocking findings. This remains a useful extended-stable backport despite the fix already existing on main. The previous preflight/security-fast blocker is resolved in the supplied current-head checks. Priority: P2 Review scores
Verification
How this fits togetherThe embedded agent runner prepares user prompts before dispatching them to a model. Its Anthropic-specific sanitizer removes a known refusal-test marker, while Gateway probes use preserved nonce suffixes to identify the resulting conversation turn. flowchart TD
A[User prompt] --> B[Provider selection]
B -->|Anthropic| C[Replace exact refusal marker]
B -->|Other providers| D[Preserve prompt]
C --> E[Agent attempt]
D --> E
E --> F[Model response and transcript]
F --> G[Gateway probe correlation]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource 0, Tests +22. Total +22 across 3 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Carry the established neutral replacement into extended-stable while preserving its existing provider guard, exact-marker scope, and nonce correlation. Do we have a high-confidence way to reproduce the issue? No current-main failure was reproduced: main already contains the repair. The supplied release failure and inspected extended-stable sanitizer establish the backport's concrete trigger. Is this the best way to solve the issue? Yes. Changing the existing sanitizer's placeholder matches the merged main repair and avoids adding retry, fallback, or competing sanitization paths. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bdf5d9939abf. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
@clawsweeper re-review exact current head; please confirm only current actionable findings and rank-up moves. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
0374625 to
f9197ee
Compare
Summary
Backport the already-landed main repair from #132556 to the 2026.6.35 extended-stable candidate.
The frozen runtime scrubbed the Anthropic refusal sentinel into English text that still described a refusal trigger. Claude Haiku then refused that synthetic live probe. The replacement is now the neutral string
[redacted], while repeated markers and surrounding nonce text remain intact.Failure proof
Verification
node scripts/run-vitest.mjs src/agents/embedded-agent-runner/run/helpers.test.ts— 14 passed.pnpm exec vitest run --config test/vitest/vitest.live.config.ts src/gateway/gateway-models.profiles.live.test.ts— 109 passed, 2 skipped; no provider calls.git diff --checkpassed.Production delta: 2 additions / 2 removals, net 0. Tests: 24 additions / 2 removals. No config, dependency, protocol, tag, package, or npm-selector changes.
Current merge gate
The recorded preflight/security-fast failures are from the frozen-checkout authentication defect tracked by #136949 and occur before this patch is exercised. Rerun this unchanged head after #136949 lands; no code failure is currently attributed to this PR.