Commit Graph

25497 Commits

Author SHA1 Message Date
Peter Steinberger
79b88224e1 test: clarify plugin registry cleanup 2026-05-08 12:41:07 +01:00
Peter Steinberger
6dec8ee440 test: clarify archive path accepted paths 2026-05-08 12:39:42 +01:00
Peter Steinberger
933f092c98 test: clarify runtime guard accepted path 2026-05-08 12:38:05 +01:00
Peter Steinberger
bc0abcee74 test: clarify config env var assertions 2026-05-08 12:36:47 +01:00
Peter Steinberger
1d8659fdcb test: clarify cron store validator assertions 2026-05-08 12:35:30 +01:00
Peter Steinberger
604c73a489 test: clarify cron cli list output 2026-05-08 12:34:05 +01:00
Peter Steinberger
5517b82f78 test: clarify config infra accepted paths 2026-05-08 12:32:36 +01:00
Peter Steinberger
8caef5d0ea test: clarify cron job accepted paths 2026-05-08 12:27:33 +01:00
Peter Steinberger
79c1f1be48 test: remove weak no-throw wrappers 2026-05-08 12:22:55 +01:00
Peter Steinberger
ac3b3a04b8 test: replace truthy test assertions 2026-05-08 12:20:17 +01:00
Chencheng Li
15b39313cc fix: separate Current time from Reference UTC (#42654)
Merged via squash.

Prepared head SHA: 0829399ebd
Co-authored-by: chencheng-li <49442600+chencheng-li@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
2026-05-08 14:19:28 +03:00
Peter Steinberger
52474c2d30 test: clarify live assertion lists 2026-05-08 12:18:13 +01:00
Peter Steinberger
fd3678a489 test: clarify plugin registry assertions 2026-05-08 12:16:27 +01:00
Peter Steinberger
fd2914f534 test: clarify plugin discovery assertions 2026-05-08 12:14:38 +01:00
Peter Steinberger
c54a70355f test: clarify oc-path scenario assertions 2026-05-08 12:10:54 +01:00
Peter Steinberger
82ef158403 test: clarify openresponses stream assertions 2026-05-08 12:07:16 +01:00
Peter Steinberger
9bd8ee054f test: clarify gateway session assertions 2026-05-08 12:05:50 +01:00
RenzoMXD
8fb22fdfe2 fix(agents): compare file-target structurally not via fingerprint split
Address clawsweeper P2 on PR #79067: the prior cross-tool recovery
extracted the path target by splitting the joined fingerprint string
on `|`, which is also a legal character in file paths. A failed edit on
`/tmp/a|left` and a successful write to `/tmp/a|right` would both
extract as `path=/tmp/a` and incorrectly clear the prior failure.

Carry a structured `fileTarget: { path?, oldpath? }` alongside the
existing `actionFingerprint` string and compare it directly.
`extractFileTarget` reads args once at fingerprint-build time, with
the same alias support as `buildToolActionFingerprint`. The
fingerprint string is unchanged for diagnostics and the exact-equality
match path; only the cross-tool fallback now compares structurally.

Threaded through `ToolMutationState`, `ToolActionRef`, `ToolCallSummary`,
and `ToolErrorSummary` so the existing handler code at
`pi-embedded-subscribe.handlers.tools.ts:910-928` can populate and
consume it without re-parsing.

Adds delimiter-bearing-path regression test asserting that
`/tmp/a|left` vs `/tmp/a|right` returns false, and that an identical
delimiter-bearing path on both sides still matches.
2026-05-08 07:00:00 -04:00
RenzoMXD
3f4c64163d fix(agents): narrow self-heal recovery to edit↔write pair
Drop apply_patch from the file-mutating recovery set after clawsweeper
P2 review on PR #79067 noted production apply_patch calls only carry
opaque `input` patch text, so buildToolActionFingerprint never extracts
a `path=` segment from real call args. Including apply_patch only
matched handcrafted fingerprints in tests, not real recoveries, and
the public CHANGELOG claim was unimplemented.

Also drops the now-orphaned `oldpath` segment from
FILE_TARGET_FINGERPRINT_KEYS since edit and write do not produce it,
and replaces the apply_patch test expectation with an explicit
negative assertion that proves the narrowing.

Re-files apply_patch ↔ write recovery as a future enhancement; it
needs single-file patch-target extraction in
buildToolActionFingerprint to be honestly supportable.
2026-05-08 07:00:00 -04:00
RenzoMXD
79b292c2be fix(agents): self-heal cross-tool file-mutation in cron classifier
Recognize a successful file-mutation on the same path/oldpath target as
recovery for an earlier failed file-mutation, even when the tool name
differs (edit -> write, apply_patch -> write, etc). Previously
isSameToolMutationAction required exact fingerprint equality, which
includes tool=<name>, so an edit failure followed by a successful
write to the same path was never recognized as recovery. The unresolved
lastToolError then drove the cron classifier to flag a healthy
self-healed run as fatal with the user-visible warning prefix from
issue #79024. Limited to file-mutating tools (edit, write, apply_patch)
and the stable path/oldpath segments of the action fingerprint;
non-file-mutating tools and different paths still fail closed.

Fixes #79024.
2026-05-08 07:00:00 -04:00
Peter Steinberger
607f0b4a9d test: clear remaining agent assertion scans 2026-05-08 11:46:22 +01:00
Peter Steinberger
07a850a5fb test: clarify websocket error assertions 2026-05-08 11:44:56 +01:00
Shakker
d0402671c6 fix: make orphan attachment pruning deterministic 2026-05-08 11:43:17 +01:00
Peter Steinberger
90ba0f9690 test: clarify maintenance task assertions 2026-05-08 11:42:57 +01:00
Peter Steinberger
5760d7f38f test: clarify sandbox browser env assertion 2026-05-08 11:41:55 +01:00
Peter Steinberger
60b6b492e4 test: clarify openai transport assertions 2026-05-08 11:40:49 +01:00
Peter Steinberger
44268a134c test: clarify harness diagnostic assertions 2026-05-08 11:39:18 +01:00
Peter Steinberger
4624a1642f test: clarify bootstrap warning assertions 2026-05-08 11:38:16 +01:00
Peter Steinberger
4aa2fe45de test: clarify native hook relay retention assertion 2026-05-08 11:37:23 +01:00
Peter Steinberger
fddec6d8cd test: clarify abort listener cleanup assertion 2026-05-08 11:36:13 +01:00
Peter Steinberger
0c5f604fd6 test: clarify websocket stream assertions 2026-05-08 11:35:10 +01:00
Peter Steinberger
85587e17d7 test: clarify coding tool content assertions 2026-05-08 11:33:54 +01:00
Shakker
baffa57c00 revert: restore progress draft behavior 2026-05-08 11:33:08 +01:00
Peter Steinberger
ee495603d1 test: clarify coding tool name assertions 2026-05-08 11:31:46 +01:00
Peter Steinberger
c2927e6d87 test: clarify script preflight flag assertion 2026-05-08 11:30:00 +01:00
Peter Steinberger
fecddcabd7 test: clarify sessions send gateway assertion 2026-05-08 11:28:29 +01:00
Peter Steinberger
97d7dd9add test: clarify sessions tool call assertions 2026-05-08 11:27:09 +01:00
Peter Steinberger
c2b2a4cdf4 test: clarify read only channel plugin assertions 2026-05-08 11:26:06 +01:00
Peter Steinberger
3c6dd9fcb2 test: clarify final tag payload assertion 2026-05-08 11:24:02 +01:00
Shakker
acb3b09e2a fix: keep progress draft labels visible 2026-05-08 11:23:59 +01:00
Peter Steinberger
036c432101 test: clarify transcript repair assertion 2026-05-08 11:22:57 +01:00
Peter Steinberger
8b57d0fe9e test: clarify update cli exit assertions 2026-05-08 11:21:56 +01:00
Peter Steinberger
767dbe469e test: clarify subscribe media assertions 2026-05-08 11:20:24 +01:00
Peter Steinberger
b38c78fe63 test: clarify plugin loader channel assertions 2026-05-08 11:19:17 +01:00
Peter Steinberger
a31f4c57e5 fix: normalize Gemini auth config patches 2026-05-08 11:17:54 +01:00
Peter Steinberger
e8d63b8bd0 test: clarify update plan tool assertions 2026-05-08 11:13:36 +01:00
Peter Steinberger
3a5d39688c test: clarify bootstrap file assertions 2026-05-08 11:10:54 +01:00
Shakker
665d823237 fix: restore rolling progress labels 2026-05-08 11:10:16 +01:00
Peter Steinberger
378cfe2da2 test: clarify cli media error assertion 2026-05-08 11:08:58 +01:00
Peter Steinberger
5099e4712e test: clarify daemon launchd signal assertion 2026-05-08 11:07:39 +01:00