openclaw/scripts/pr-lib
Peter Steinberger cee0906f38
improve(agents): explain unknown tool outcomes and assert append-only request history (#163379)
* fix(agents): describe unrecorded tool results as unknown outcomes

Use shared unknown-outcome guidance while preserving the Responses-family aborted convention. Retain synthetic provenance in model context so late real results can replace repair placeholders without changing existing detection or stored transcript rows.

* improve(agents): assert provider request history stays append-only

Track converted message prefixes and record declared compaction, pruning, runtime-context, and image rewrites. Notify every cache-affinity baseline for the same session identity. Memoize message/content and schema fingerprints, with strict assertions enabled only by an opt-in environment flag.

* fix(agents): pin the shared tool-result text for the request wrapper

Include packages/llm-core/src/types.ts in the PR wrapper's extracted source inventory. Main commit 93625aa3d1 pulled tool-result-pairing.ts into that graph, so its existing shared tool-result text import must be included for standalone wrapper execution.
2026-10-02 07:50:31 -05:00
..
changelog.sh
ci-dispatch.mjs fix(ci): resume interrupted protected PR preparation (#159045) 2026-09-27 02:40:25 +08:00
clawsweeper-review-gate.mjs fix(pr): stop expiring completed ClawSweeper reviews after twelve hours (#162249) 2026-09-30 18:20:03 -07:00
common.sh
correction-review.mjs
crabbox-gate-contract.mjs fix(ci): overlap ordinary test plans around exclusive barriers (#159368) 2026-09-27 13:05:03 +08:00
crabbox-gate-plan.mts
crabbox-gate-transport.mts
crabbox-merge-bypass.mjs
crabbox-merge-bypass.sh
darwin-process-identity.py
gates.sh fix(ci): cap Testbox concurrency and idle spend (#162678) 2026-10-02 02:16:05 +07:00
gh-api-preflight.mjs
github.mjs fix: use file payloads for native GitHub operations (#163279) 2026-10-02 14:38:15 +07:00
github.sh
host-tools.sh
materialize-dependencies.mjs refactor: remove narrowly used helper dependencies (#158573) 2026-09-26 22:38:09 -07:00
merge-body.mjs
merge-legacy-refusal.mjs
merge-outcome.sh fix(scripts): guard empty merge capture arrays under Bash 3.2 2026-10-02 04:37:03 -07:00
merge-pre-dispatch-refusal.mjs
merge-prior-ci-cancellation.mjs ci: let canonical PR rerun matrices finish 2026-09-30 20:41:33 -07:00
merge-prior-ci-security.mjs fix(ci): preserve security authority in baseline failure admission 2026-09-27 21:45:21 -07:00
merge-prior-ci.mjs fix(pr): recover stale admin intents on replacement heads (#163429) 2026-10-02 11:16:15 +00:00
merge-rest.mjs fix(pr): validate main movement within prior-CI REST reads 2026-09-28 19:04:03 -07:00
merge.sh fix(pr): recover stale admin intents on replacement heads (#163429) 2026-10-02 11:16:15 +00:00
operation-lock.sh
prepare-core.sh fix(pr): keep correction publication valid after first push (#160587) 2026-09-29 00:58:00 +07:00
process-group-runner.mjs fix(pr): reclaim finished materialized wrapper copies (#162340) 2026-10-01 05:17:24 +00:00
push.sh fix(pr): keep correction publication valid after first push (#160587) 2026-09-29 00:58:00 +07:00
review-artifacts.mjs fix(pr): support approved pre-existing CI failures 2026-09-27 21:45:20 -07:00
review-transition-state.mjs
review.sh fix(pr): keep correction publication valid after first push (#160587) 2026-09-29 00:58:00 +07:00
worktree-provision-error.mts
worktree-provision.mts
worktree.sh fix(pr): reuse pinned heads and accept verified main advances 2026-09-28 01:22:04 -07:00
wrapper-components.txt improve(agents): explain unknown tool outcomes and assert append-only request history (#163379) 2026-10-02 07:50:31 -05:00