Commit Graph

42517 Commits

Author SHA1 Message Date
Peter Steinberger
a4764091ce test: clarify infra cleanup assertions 2026-05-08 12:56:00 +01:00
Peter Steinberger
42c9bd59e7 test: clarify guard fallback assertions 2026-05-08 12:54:21 +01:00
Peter Steinberger
cd7f008688 test: clarify config schema accepted assertions 2026-05-08 12:52:36 +01:00
Peter Steinberger
d04002c7d9 test: clarify config preset schema assertions 2026-05-08 12:50:39 +01:00
Peter Steinberger
ea2799389a test: clarify proxy tui cli accepted paths 2026-05-08 12:47:48 +01:00
Peter Steinberger
390664c5bb test: clarify transcript event listener assertions 2026-05-08 12:45:58 +01:00
Peter Steinberger
b67bc04c43 test: clarify command queue reset assertions 2026-05-08 12:44:20 +01:00
Peter Steinberger
250eff0e4d test: clarify gateway http helper assertions 2026-05-08 12:42:19 +01:00
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
f0af64958c test: strengthen plugin registration assertions 2026-05-08 12:31:03 +01:00
Peter Steinberger
828de037ff test: clarify acpx runtime guard assertions 2026-05-08 12:28:52 +01:00
Peter Steinberger
8caef5d0ea test: clarify cron job accepted paths 2026-05-08 12:27:33 +01:00
Peter Steinberger
6abfb66aa5 test: clarify package spec validator assertions 2026-05-08 12:26:08 +01:00
Peter Steinberger
bfa0ee3b33 test: strengthen no-throw assertions 2026-05-08 12:24:43 +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
487c615c65 test: clarify ollama setup assertions 2026-05-08 12:13:24 +01:00
Peter Steinberger
ee935bb13b test: clarify telegram sticker cache assertions 2026-05-08 12:12:12 +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
Peter Steinberger
feccd70b9d test: clarify memory wiki assertions 2026-05-08 12:03:52 +01:00
Peter Steinberger
d7853ed5b3 test: clarify signal and matrix assertions 2026-05-08 12:00:52 +01:00
Shakker
ae8b3de2d9 test: sync telegram release scenario assertion 2026-05-08 12:00:07 +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
0a7d9d7abe docs(changelog): credit @RenzoMXD on #79024 fix
Adds the Thanks attribution called out by clawsweeper P3 review on
PR #79067, keeping the bullet on a single line per repo policy.
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
6389059632 test: clarify telegram send assertions 2026-05-08 11:59:17 +01:00
Peter Steinberger
7dc6a79905 test: clarify telegram command assertions 2026-05-08 11:57:22 +01:00
Shakker
2a8565ea67 test: restore matrix progress draft expectation 2026-05-08 11:56:52 +01:00
Peter Steinberger
054d0163dd test: clarify codex app-server assertions 2026-05-08 11:55:45 +01:00
Peter Steinberger
9905f2d13a test: clarify memory and slack assertions 2026-05-08 11:53:22 +01:00
Peter Steinberger
05fd67f822 test: clarify nvidia provider assertions 2026-05-08 11:51:58 +01:00
Peter Steinberger
7ebcce6a3d test: clarify qmd manager assertions 2026-05-08 11:50:46 +01:00
Peter Steinberger
774e8a7054 test: clarify memory core assertions 2026-05-08 11:49:00 +01:00
Peter Steinberger
b332f06e30 test: clarify google meet setup assertions 2026-05-08 11:47:49 +01: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
Ayaan Zaidi
5e27993cbe docs(qa): document telegram e2e defaults 2026-05-08 16:14:42 +05:30