Commit Graph

46102 Commits

Author SHA1 Message Date
Peter Steinberger
5a80be35e9 fix: track cron execution milestones 2026-05-11 06:14:22 +01:00
Shakker
52b1f58638 test: tighten metadata registry loader assertions 2026-05-11 06:13:43 +01:00
Peter Steinberger
22f5e99c31 test: tighten agent CLI registration assertions 2026-05-11 06:12:08 +01:00
Shakker
f1ab8ea171 test: tighten manifest command alias assertions 2026-05-11 06:11:59 +01:00
Shakker
52574943af test: tighten bundle manifest assertions 2026-05-11 06:11:05 +01:00
Peter Steinberger
17308cf4bb test: tighten agent gateway assertions 2026-05-11 06:10:37 +01:00
Fusion future
66c47a9aa3 fix: use pathToFileURL for Windows path comparison in generate-base-config-schema
Summary:
- Use Node's pathToFileURL for the base-config schema generator entrypoint guard so Windows backslash paths are recognized correctly.
- Keep the schema generation logic unchanged and preserve the current changelog attribution.

Verification:
- node --import tsx scripts/generate-base-config-schema.ts --check
- pnpm build
- pnpm check
- GitHub CI passed, including Real behavior proof, auto-response, ClawSweeper dispatch, and full repository checks.

Co-authored-by: Fusion future <23738961+easyteacher@users.noreply.github.com>
2026-05-11 00:09:35 -05:00
sxxtony
b2dab308ae fix(slack): include bot root message in new thread sessions (#79338) (#80409)
* fix(slack): include bot root message in new thread sessions (#79338)

When a user replies in-thread to a bot's own message in a Slack DM,
the new thread session was constructed without the parent/root message
content. The agent only saw `reply_to_id` metadata and could not
resolve what was being replied to, leading to confident-but-wrong
actions on follow-up corrections.

The thread-context resolver was filtering out every message authored
by the current bot before formatting thread history, including the
bot's own root message. For thread-replies starting a fresh session,
that left the agent without the parent context it needed.

This change retains current-bot messages in the thread history when
starting a new thread session, formats them with role=assistant under
a "Bot (this assistant)" sender label, and adds
`channels.slack.thread.includeRootMessage` (default `true`) to opt out.
Bot messages still bypass allowlist visibility filtering since the
bot's own output is not third-party content.

Fixes #79338.

* fix(slack): wire includeRootMessage into runtime config schema (#79338)

The first commit added `channels.slack.thread.includeRootMessage` to
the TypeScript type and zod schema, but the runtime AJV-style schema
generated from `extensions/slack/src/config-ui-hints.ts` rejected the
new field with `must NOT have additional properties` at gateway boot.

Adds the matching UI hint entry for `thread.includeRootMessage` and
regenerates the bundled channel config metadata so the live gateway
accepts the new field.

* Narrow Slack thread root context handling

Remove the public includeRootMessage config and keep the Slack thread fix focused on including only the current bot's root message on the first turn of a new thread session.

Preserve filtering of arbitrary current-bot Slack history while ensuring #79338 has parent/root context.

* Fix Slack thread root CI checks

---------

Co-authored-by: Bek <bek.akhmedov@gmail.com>
2026-05-11 01:09:03 -04:00
Shakker
c640ff4d53 test: tighten provider static catalog context assertion 2026-05-11 06:08:59 +01:00
Peter Steinberger
44d7e6810a test: tighten gateway health assertions 2026-05-11 06:08:38 +01:00
Shakker
109ddd0436 test: tighten group access prompt assertion 2026-05-11 06:07:49 +01:00
Ayaan Zaidi
1debcecc91 ci(mantis): run telegram proof on blacksmith 2026-05-11 10:35:53 +05:30
Shakker
0388b05655 test: tighten bootstrap plugin cache assertion 2026-05-11 06:05:24 +01:00
Peter Steinberger
21c8818b40 test: tighten codex route warnings assertions 2026-05-11 06:04:54 +01:00
Shakker
9fe55bcc63 test: tighten plugin lookup table assertions 2026-05-11 06:04:31 +01:00
Harman Kochar
2d10a2c76f fix(doctor): case-insensitive safe-bin trusted dir matching on macOS/Windows
Summary:
- Compare trusted safe-bin directories with path-local case folding so Windows and default macOS paths match without weakening case-sensitive mounts.
- Keep the focused safe-bin regression coverage and current Unreleased changelog entry.

Verification:
- pnpm vitest run src/infra/exec-safe-bin-trust.test.ts src/auto-reply/reply/model-selection.test.ts
- pnpm check:test-types
- git diff --check
- GitHub CI passed, including Real behavior proof, auto-response, ClawSweeper dispatch, CodeQL, Critical Quality, and full CI checks.

Co-authored-by: Harman Kochar <254796+hkochar@users.noreply.github.com>
2026-05-11 00:03:35 -05:00
Shakker
bc14aa7fe3 test: tighten channel module loader assertion 2026-05-11 06:03:06 +01:00
Peter Steinberger
9792df3a72 test: tighten disk budget assertions 2026-05-11 06:02:25 +01:00
Shakker
652a562da9 test: tighten binding route assertion 2026-05-11 06:02:03 +01:00
Shakker
717efefe74 test: tighten model override hook assertions 2026-05-11 06:01:07 +01:00
Peter Steinberger
44b4c6bae3 test: tighten session store assertions 2026-05-11 06:00:21 +01:00
Peter Steinberger
cac585a29f test: tighten session target assertions 2026-05-11 05:59:06 +01:00
Shakker
5cbcf2a549 test: tighten stability bundle assertions 2026-05-11 05:58:21 +01:00
Shakker
aa6e640304 test: tighten diagnostic memory assertions 2026-05-11 05:57:34 +01:00
Peter Steinberger
2938d2c17d test: tighten transcript assertions 2026-05-11 05:57:23 +01:00
Shakker
469421144c test: tighten logger context assertions 2026-05-11 05:55:37 +01:00
Peter Steinberger
6fa7a0bcfe test: tighten agent defaults schema assertions 2026-05-11 05:55:27 +01:00
Peter Steinberger
0ad651af2a test: tighten rescue message assertions 2026-05-11 05:53:59 +01:00
Shakker
4a959dc1bc test: tighten status reaction removal assertion 2026-05-11 05:53:50 +01:00
Shakker
5018c7d06e test: tighten slot warning assertions 2026-05-11 05:52:40 +01:00
Peter Steinberger
7a26f74283 test: tighten cron catch-up assertions 2026-05-11 05:51:51 +01:00
Shakker
87951db161 test: tighten channel validation assertions 2026-05-11 05:51:29 +01:00
Shakker
02567a8517 test: tighten host cleanup assertions 2026-05-11 05:50:43 +01:00
Peter Steinberger
f87cca5959 test: tighten launchd assertions 2026-05-11 05:50:22 +01:00
Shakker
c4f2331d0b test: tighten before agent start assertions 2026-05-11 05:49:58 +01:00
Peter Steinberger
63a99c2142 test: tighten startup fallback assertions 2026-05-11 05:48:16 +01:00
Peter Steinberger
3f40ada90b test: tighten server channel assertions 2026-05-11 05:46:54 +01:00
Shakker
173c6cdabc test: tighten hook correlation assertions 2026-05-11 05:46:51 +01:00
Jason Zhou
bfd540bcdf [codex] refresh plugin regression fixtures
Summary:
- Refresh plugin regression fixtures and test-support mocks for guarded network resolution, progress streaming windows, staged TTS output, QQBot STT, and CLI runner assertions.
- Resolve current-main conflicts in Discord, Google video, QQBot STT, and CLI runner tests without changing runtime code.

Verification:
- pnpm check:test-types
- pnpm vitest run $(git diff --name-only origin/main...HEAD)
- git diff --check
- GitHub CI passed, including Real behavior proof, auto-response, ClawSweeper dispatch, CodeQL, and full CI checks.

Co-authored-by: Jason Zhou <22532527+JayZeeDesign@users.noreply.github.com>
2026-05-10 23:44:50 -05:00
Shakker
b627dd168d test: tighten bundled runtime command assertion 2026-05-11 05:44:45 +01:00
Peter Steinberger
ed619ecbe1 test: tighten device handler assertions 2026-05-11 05:44:12 +01:00
Shakker
7e039787c0 test: tighten plugin install record assertion 2026-05-11 05:43:56 +01:00
Peter Steinberger
cf421791f1 test: tighten skills detail assertions 2026-05-11 05:42:28 +01:00
Shakker
261450c09c test: tighten provider model helper assertion 2026-05-11 05:42:19 +01:00
Shakker
2ccb6f0da4 test: tighten ack reaction handle assertion 2026-05-11 05:41:30 +01:00
Peter Steinberger
0d2ef562c0 test: tighten gateway update assertions 2026-05-11 05:40:59 +01:00
Shakker
896e2edd59 test: tighten fs safe rejection assertions 2026-05-11 05:40:43 +01:00
Shakker
fc052aa391 test: tighten system presence assertions 2026-05-11 05:39:15 +01:00
Peter Steinberger
febb121288 test: tighten gateway hook assertions 2026-05-11 05:38:24 +01:00
KChow-ctrl
7cf660e4cc fix(acpx): hide Windows MCP proxy child
Summary:
- Add `windowsHide` when the ACPX runtime MCP proxy spawns child processes on Windows.
- Keep the changelog entry under `## Unreleased`.
- Use the preferred OpenClaw temp directory for generated context treemap PNGs so current guardrails pass.

Verification:
- `pnpm check:test-types`
- `pnpm check:temp-path-guardrails`
- `pnpm vitest run extensions/acpx/src/runtime-internals/mcp-proxy.test.ts`
- `git diff --check`
- GitHub CI passed, including Real behavior proof, auto-response, ClawSweeper dispatch, CodeQL, and full CI shards.

Closes #60672

Co-authored-by: KChow-ctrl <197636576+KChow-ctrl@users.noreply.github.com>
2026-05-10 23:38:18 -05:00