repo
stringlengths
5
53
pr_number
int32
1
321k
task_type
stringclasses
2 values
issue_text
stringlengths
0
81.2k
pr_title
stringlengths
1
319
pr_body
stringlengths
0
105k
base_sha
stringlengths
40
40
head_sha
stringlengths
40
40
gold_diff
stringlengths
0
202M
changed_files
listlengths
0
100
review_threads
listlengths
0
100
test_patch
stringlengths
0
23.4M
merged
bool
1 class
zephyrproject-rtos/zephyr
111,018
issue_to_patch
[Backport v3.7-branch] kernel: userspace: fix SMP use-after-free
Backport fdc42fa256b8c2a7b27790f032d5385f8058c4a9 from #108721. _Original PR description:_ --- obj_list traversal held lists_lock, but removals held objfree_lock (k_object_free) or obj_lock (unref_check). On SMP a concurrent thread could free the node an iterator had saved as next. Drop objfree_lock and require l...
ef293d8b5e5d0de336bc4addbfdef63302df150b
00a65ae9c947e7c8f9fa15b316af5b0556208c24
diff --git a/kernel/userspace.c b/kernel/userspace.c index 22cd026ce071c..8851ac6629b3e 100644 --- a/kernel/userspace.c +++ b/kernel/userspace.c @@ -48,7 +48,6 @@ LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL); */ #ifdef CONFIG_DYNAMIC_OBJECTS static struct k_spinlock lists_lock; /* kobj dlist */ -static str...
[ "kernel/userspace.c" ]
[]
true
zephyrproject-rtos/zephyr
110,780
issue_to_patch
net: sockets: validate ancillary element bounds
**Description** `NET_CMSG_NXTHDR()` only guarantees that the next control message header fits in the ancillary data buffer. It does not guarantee enough remaining space for the complete aligned element and its payload. When appending a second or later control message, `insert_pktinfo()` could therefore write beyo...
a46d0eff62d6f1154fc0a53de5c5b5c2d13b511c
0f80fca9075057343ebb52ba8167cb9d0cf19ddc
diff --git a/subsys/net/lib/sockets/sockets_inet.c b/subsys/net/lib/sockets/sockets_inet.c index d43f6303eace3..61c75eaa7be03 100644 --- a/subsys/net/lib/sockets/sockets_inet.c +++ b/subsys/net/lib/sockets/sockets_inet.c @@ -1032,6 +1032,12 @@ static int insert_pktinfo(struct net_msghdr *msg, int level, int type, re...
[ "subsys/net/lib/sockets/sockets_inet.c" ]
[]
true
zephyrproject-rtos/zephyr
110,935
issue_to_patch
drivers: crc: nxp_lpc: advertise CRC-16/ITU-T capability
- Selects CRC_DRIVER_HAS_CRC16_ITU_T for the NXP LPC CRC driver. - The NXP LPC CRC peripheral is able to compute CRC-16/ITU-T (polynomial 0x1021, init 0x0000, noreflection, no XOR-out). - Tested by private code (Zephyr does not test it).
ef5cfd369f4a0ab3601db9a23c1da8c406cc1a72
ff3ad7b78784f5077a0ca6247062eb90b06f3357
diff --git a/drivers/crc/Kconfig.nxp b/drivers/crc/Kconfig.nxp index 367cff72223b7..db97f03cc50d1 100644 --- a/drivers/crc/Kconfig.nxp +++ b/drivers/crc/Kconfig.nxp @@ -21,6 +21,7 @@ config CRC_DRIVER_NXP_LPC default y select CRC_DRIVER_HAS_CRC16 select CRC_DRIVER_HAS_CRC16_CCITT + select CRC_DRIVER_HAS_CRC16_ITU...
[ "drivers/crc/Kconfig.nxp" ]
[]
true
zephyrproject-rtos/zephyr
110,807
issue_to_patch
Bluetooth: BAP: UC: Add missing sys_cpu_to_le16 for SDU
Add missing sys_cpu_to_le16 when assigning SDU size to the QoS configure operation.
e9682ef384b17ee5f1c030e5e6f5b14d0bb54140
c6f08e5a08127118f88ee579773dc1d5fba0bc58
diff --git a/subsys/bluetooth/audio/bap_unicast_client.c b/subsys/bluetooth/audio/bap_unicast_client.c index d4e6d992d2445..b780f9b243c92 100644 --- a/subsys/bluetooth/audio/bap_unicast_client.c +++ b/subsys/bluetooth/audio/bap_unicast_client.c @@ -2019,7 +2019,7 @@ static int unicast_client_add_qos(struct bt_bap_ep *e...
[ "subsys/bluetooth/audio/bap_unicast_client.c" ]
[]
true
zephyrproject-rtos/zephyr
108,261
issue_to_patch
Bluetooth: Audio: apply U suffix to unsigned integer literals
Apply the U suffix to unsigned integer literal constants used in contexts involving unsigned types (uint8_t, uint16_t, uint32_t, uint64_t, size_t, etc.) with coding guideline 40 which requires that a U suffix be applied to all unsigned integer constants. Changes are limited to literal values in assignments, initial...
d2f8e308bdc427c15ffbc3f442d231f6ea8ab6b4
e0c80c5ddee84ce1354165e2c02562fb4f1e11c5
diff --git a/include/zephyr/bluetooth/audio/aics.h b/include/zephyr/bluetooth/audio/aics.h index d946d499d2943..5a22ad6ba3f09 100644 --- a/include/zephyr/bluetooth/audio/aics.h +++ b/include/zephyr/bluetooth/audio/aics.h @@ -47,11 +47,11 @@ extern "C" { * @{ */ /** The mute state is unmuted */ -#define BT_AICS_STA...
[ "include/zephyr/bluetooth/audio/aics.h", "include/zephyr/bluetooth/audio/audio.h", "include/zephyr/bluetooth/audio/bap.h", "include/zephyr/bluetooth/audio/ccid.h", "include/zephyr/bluetooth/audio/csip.h", "include/zephyr/bluetooth/audio/gmap.h", "include/zephyr/bluetooth/audio/has.h", "include/zephyr/...
[ { "comment": "`MEDIA_PROXY_PLAYBACK_SPEED_UNITY` is part of a signed playback-speed range (see the surrounding -128/-64/+64/+127 values). Defining it as `0U` makes it an unsigned constant, which can trigger unintended unsigned promotions (e.g., if compared against negative speeds) and may introduce signed/unsig...
true
zephyrproject-rtos/zephyr
108,261
comment_to_fix
Bluetooth: Audio: apply U suffix to unsigned integer literals
`MEDIA_PROXY_PLAYBACK_SPEED_UNITY` is part of a signed playback-speed range (see the surrounding -128/-64/+64/+127 values). Defining it as `0U` makes it an unsigned constant, which can trigger unintended unsigned promotions (e.g., if compared against negative speeds) and may introduce signed/unsigned MISRA issues. Keep...
d2f8e308bdc427c15ffbc3f442d231f6ea8ab6b4
e0c80c5ddee84ce1354165e2c02562fb4f1e11c5
diff --git a/include/zephyr/bluetooth/audio/media_proxy.h b/include/zephyr/bluetooth/audio/media_proxy.h index d4c28433c2e32..06b2e978be29d 100644 --- a/include/zephyr/bluetooth/audio/media_proxy.h +++ b/include/zephyr/bluetooth/audio/media_proxy.h @@ -137,25 +137,25 @@ struct mpl_search { * @{ */ /** A single tra...
[ "include/zephyr/bluetooth/audio/media_proxy.h" ]
[ { "comment": "`MEDIA_PROXY_PLAYBACK_SPEED_UNITY` is part of a signed playback-speed range (see the surrounding -128/-64/+64/+127 values). Defining it as `0U` makes it an unsigned constant, which can trigger unintended unsigned promotions (e.g., if compared against negative speeds) and may introduce signed/unsig...
true
zephyrproject-rtos/zephyr
108,261
comment_to_fix
Bluetooth: Audio: apply U suffix to unsigned integer literals
The attribute-handle range is still using numeric literals `0x0001U`/`0xffffU`. Zephyr Bluetooth code typically uses `BT_ATT_FIRST_ATTRIBUTE_HANDLE` and `BT_ATT_LAST_ATTRIBUTE_HANDLE` for full-range iteration (e.g. `subsys/bluetooth/audio/ccid.c:52-53`), which avoids magic numbers and keeps the code consistent if the c...
d2f8e308bdc427c15ffbc3f442d231f6ea8ab6b4
e0c80c5ddee84ce1354165e2c02562fb4f1e11c5
diff --git a/subsys/bluetooth/audio/ascs.c b/subsys/bluetooth/audio/ascs.c index eff7235c95c0d..80804e8d5bcae 100644 --- a/subsys/bluetooth/audio/ascs.c +++ b/subsys/bluetooth/audio/ascs.c @@ -758,7 +758,7 @@ static int ascs_iso_accept(const struct bt_iso_accept_info *info, struct bt_iso_ { LOG_DBG("conn %p", (void ...
[ "subsys/bluetooth/audio/ascs.c" ]
[ { "comment": "The attribute-handle range is still using numeric literals `0x0001U`/`0xffffU`. Zephyr Bluetooth code typically uses `BT_ATT_FIRST_ATTRIBUTE_HANDLE` and `BT_ATT_LAST_ATTRIBUTE_HANDLE` for full-range iteration (e.g. `subsys/bluetooth/audio/ccid.c:52-53`), which avoids magic numbers and keeps the co...
true
zephyrproject-rtos/zephyr
108,261
comment_to_fix
Bluetooth: Audio: apply U suffix to unsigned integer literals
The PR description says preprocessor macros are left unchanged, but this file (and several others) updates many `#define` values (e.g. the VCS opcode macros here). Please update the PR description to reflect that macros are intentionally in scope, or narrow the change set to match the stated scope.
d2f8e308bdc427c15ffbc3f442d231f6ea8ab6b4
e0c80c5ddee84ce1354165e2c02562fb4f1e11c5
diff --git a/subsys/bluetooth/audio/vcp_internal.h b/subsys/bluetooth/audio/vcp_internal.h index f28c65626c258..a3a6d755a3133 100644 --- a/subsys/bluetooth/audio/vcp_internal.h +++ b/subsys/bluetooth/audio/vcp_internal.h @@ -21,13 +21,13 @@ #include <zephyr/sys/atomic.h> /* VCS opcodes */ -#define BT_VCP_OPCODE_REL...
[ "subsys/bluetooth/audio/vcp_internal.h" ]
[ { "comment": "The PR description says preprocessor macros are left unchanged, but this file (and several others) updates many `#define` values (e.g. the VCS opcode macros here). Please update the PR description to reflect that macros are intentionally in scope, or narrow the change set to match the stated scope...
true
zephyrproject-rtos/zephyr
111,130
issue_to_patch
Bluetooth: BAP: Shell: Make it easier to copy broadcast IDs
The broadcast ID is printed in the shell various places. Often the shell user wants to copy this value and use it for future commands. Remove any following commas, so that the user can easier click-to-mark the value to copy it.
fb64460fd6e563f02129f40fd78d7c18fd5718cc
f5c96422e7ffce2e815d3136b51c6c4cee3e0dc2
diff --git a/subsys/bluetooth/audio/shell/bap_broadcast_assistant.c b/subsys/bluetooth/audio/shell/bap_broadcast_assistant.c index 59ee0a02e38f1..20f710dccf59b 100644 --- a/subsys/bluetooth/audio/shell/bap_broadcast_assistant.c +++ b/subsys/bluetooth/audio/shell/bap_broadcast_assistant.c @@ -130,7 +130,7 @@ static void...
[ "subsys/bluetooth/audio/shell/bap_broadcast_assistant.c", "subsys/bluetooth/audio/shell/bap_scan_delegator.c" ]
[]
true
zephyrproject-rtos/zephyr
110,808
issue_to_patch
Bluetooth: BAP: UC: Add check for stream->group for QoS notification
If the server wrongly sends us a QoS state notification before the stream was ever added to a group, we should just ignore it rather than hitting the assert or dereferencing the group later.
e9682ef384b17ee5f1c030e5e6f5b14d0bb54140
e5856499f162d09029c025ddd0f0973d09154e85
diff --git a/subsys/bluetooth/audio/bap_unicast_client.c b/subsys/bluetooth/audio/bap_unicast_client.c index d4e6d992d2445..f3680ea5a6632 100644 --- a/subsys/bluetooth/audio/bap_unicast_client.c +++ b/subsys/bluetooth/audio/bap_unicast_client.c @@ -984,13 +984,18 @@ static bool unicast_client_ep_qos_state(struct bt_bap...
[ "subsys/bluetooth/audio/bap_unicast_client.c" ]
[ { "comment": "Redundant re-read of `ep->stream` right after checking `stream != NULL`. This is unnecessary and makes the control flow harder to follow; just use the already-fetched `stream` for the group check.", "path": "subsys/bluetooth/audio/bap_unicast_client.c", "hunk": "@@ -984,13 +984,19 @@ stati...
true
zephyrproject-rtos/zephyr
110,808
comment_to_fix
Bluetooth: BAP: UC: Add check for stream->group for QoS notification
Redundant re-read of `ep->stream` right after checking `stream != NULL`. This is unnecessary and makes the control flow harder to follow; just use the already-fetched `stream` for the group check.
e9682ef384b17ee5f1c030e5e6f5b14d0bb54140
e5856499f162d09029c025ddd0f0973d09154e85
diff --git a/subsys/bluetooth/audio/bap_unicast_client.c b/subsys/bluetooth/audio/bap_unicast_client.c index d4e6d992d2445..f3680ea5a6632 100644 --- a/subsys/bluetooth/audio/bap_unicast_client.c +++ b/subsys/bluetooth/audio/bap_unicast_client.c @@ -984,13 +984,18 @@ static bool unicast_client_ep_qos_state(struct bt_bap...
[ "subsys/bluetooth/audio/bap_unicast_client.c" ]
[ { "comment": "Redundant re-read of `ep->stream` right after checking `stream != NULL`. This is unnecessary and makes the control flow harder to follow; just use the already-fetched `stream` for the group check.", "path": "subsys/bluetooth/audio/bap_unicast_client.c", "hunk": "@@ -984,13 +984,19 @@ stati...
true
zephyrproject-rtos/zephyr
110,808
comment_to_fix
Bluetooth: BAP: UC: Add check for stream->group for QoS notification
`buf->len < sizeof(*qos)` indicates a malformed QoS status PDU; logging it at DBG makes the error invisible in typical builds and is inconsistent with the other ASE state handlers in this file (e.g. "Config/Enabling/Streaming/Disabling status too short" are LOG_ERR). Consider keeping this as LOG_ERR while still returni...
e9682ef384b17ee5f1c030e5e6f5b14d0bb54140
e5856499f162d09029c025ddd0f0973d09154e85
diff --git a/subsys/bluetooth/audio/bap_unicast_client.c b/subsys/bluetooth/audio/bap_unicast_client.c index d4e6d992d2445..f3680ea5a6632 100644 --- a/subsys/bluetooth/audio/bap_unicast_client.c +++ b/subsys/bluetooth/audio/bap_unicast_client.c @@ -984,13 +984,18 @@ static bool unicast_client_ep_qos_state(struct bt_bap...
[ "subsys/bluetooth/audio/bap_unicast_client.c" ]
[ { "comment": "`buf->len < sizeof(*qos)` indicates a malformed QoS status PDU; logging it at DBG makes the error invisible in typical builds and is inconsistent with the other ASE state handlers in this file (e.g. \"Config/Enabling/Streaming/Disabling status too short\" are LOG_ERR). Consider keeping this as LOG...
true
zephyrproject-rtos/zephyr
110,808
comment_to_fix
Bluetooth: BAP: UC: Add check for stream->group for QoS notification
Downgrading "No stream active for endpoint" from WRN/ERR (as used by other state handlers in this file) to DBG can hide an unexpected state machine condition during interoperability/debugging. Consider using LOG_WRN here (matching `unicast_client_ep_config_state()`).
e9682ef384b17ee5f1c030e5e6f5b14d0bb54140
e5856499f162d09029c025ddd0f0973d09154e85
diff --git a/subsys/bluetooth/audio/bap_unicast_client.c b/subsys/bluetooth/audio/bap_unicast_client.c index d4e6d992d2445..f3680ea5a6632 100644 --- a/subsys/bluetooth/audio/bap_unicast_client.c +++ b/subsys/bluetooth/audio/bap_unicast_client.c @@ -984,13 +984,18 @@ static bool unicast_client_ep_qos_state(struct bt_bap...
[ "subsys/bluetooth/audio/bap_unicast_client.c" ]
[ { "comment": "Downgrading \"No stream active for endpoint\" from WRN/ERR (as used by other state handlers in this file) to DBG can hide an unexpected state machine condition during interoperability/debugging. Consider using LOG_WRN here (matching `unicast_client_ep_config_state()`).", "path": "subsys/blueto...
true
zephyrproject-rtos/zephyr
108,770
issue_to_patch
drivers: udc_nrf: use out_ack cap to simplify ctrl status out management
The out_ack capability is meant for the exact silicon design that the nRF chip family uses. By setting it to the correct value, a lot of workaround code can be cleaned up.
f164f26a9ce2b9cce719af7c225ba71170a7e2bf
51f4bb939751ce3760f295c8d3a6f415232c49e2
diff --git a/drivers/usb/udc/udc_nrf.c b/drivers/usb/udc/udc_nrf.c index d058d1fab04ef..e1a76b65fbc04 100644 --- a/drivers/usb/udc/udc_nrf.c +++ b/drivers/usb/udc/udc_nrf.c @@ -67,7 +67,6 @@ static struct k_thread drv_stack_data; static struct udc_ep_config ep_cfg_out[CFG_EPOUT_CNT + CFG_EP_ISOOUT_CNT + 1]; static ...
[ "drivers/usb/udc/udc_nrf.c" ]
[]
true
zephyrproject-rtos/zephyr
110,930
issue_to_patch
net: if: remove net_if_config_get
remove net_if_config_get, which is not used in the tree, in favor of net_if_get_config. Both did the exact same thing.
f18c5499b717fce02399ae5102781ac013200598
d82b9ed1bf7d4ef6d6c17d63a3b28c65fd4ac3f3
diff --git a/doc/releases/migration-guide-4.5.rst b/doc/releases/migration-guide-4.5.rst index 3b80821568009..f3dd1b5749030 100644 --- a/doc/releases/migration-guide-4.5.rst +++ b/doc/releases/migration-guide-4.5.rst @@ -630,6 +630,9 @@ Networking keys. Use ``samples/net/wifi/test_certs/rsa2k_no_des`` instead, or se...
[ "doc/releases/migration-guide-4.5.rst", "include/zephyr/net/net_if.h" ]
[]
true
zeroclaw-labs/zeroclaw
7,116
issue_to_patch
docs(providers): add OpenAI Codex over a ChatGPT subscription
## Summary - **Base branch:** `master` - **What changed and why:** Adds a Model Providers book page — **OpenAI Codex over a ChatGPT subscription** (`docs/book/src/providers/openai-codex-subscription.md`) + a SUMMARY entry. The `openai` slot can authenticate against the Codex backend via a ChatGPT subscription (`requir...
a7a07558ee32e607deef4fc59ddb266b08c3e4e7
bc8494971a737fe60cc5e815c85634cc938dce3d
diff --git a/docs/book/src/SUMMARY.md b/docs/book/src/SUMMARY.md index 1ac207d27a6..055d1e60ab6 100644 --- a/docs/book/src/SUMMARY.md +++ b/docs/book/src/SUMMARY.md @@ -54,6 +54,8 @@ - [Streaming](./providers/streaming.md) - [Routing](./providers/routing.md) - [Custom providers](./providers/custom.md) + - [Op...
[ "docs/book/src/SUMMARY.md", "docs/book/src/providers/openai-codex-subscription.md" ]
[]
true
zeroclaw-labs/zeroclaw
7,525
issue_to_patch
feat(channels/discord): sync archive on message edit, delete, and bulk delete
## Summary - **Base branch:** `master` - **What changed and why:** - The gateway already delivers MESSAGE_UPDATE, MESSAGE_DELETE, and MESSAGE_DELETE_BULK under the intents the Discord channel requests, but the listen loop dropped all three: an archived message stayed frozen at its original text after edits and linge...
a7a07558ee32e607deef4fc59ddb266b08c3e4e7
e6ce385b4ff44b9d0697aebee02fa3974d5a5c16
diff --git a/crates/zeroclaw-channels/src/discord.rs b/crates/zeroclaw-channels/src/discord.rs index 3b6dfdf8eaf..d3405c17a62 100644 --- a/crates/zeroclaw-channels/src/discord.rs +++ b/crates/zeroclaw-channels/src/discord.rs @@ -249,6 +249,201 @@ impl DiscordChannel { self } + /// Keep archived messa...
[ "crates/zeroclaw-channels/src/discord.rs" ]
[]
true
zeroclaw-labs/zeroclaw
5,797
issue_to_patch
[Feature]: Add support for local CA certificates for custom inference provider ### Summary Enable user to specify a trusted root CA for custom inference provider ### Problem statement Zeroclaw does not enable the user to specify a trusted certificate authority for custom inference endpoints. This prevents zeroclaw ...
feat(providers): add tls_ca_cert_path support for custom inference providers
## Summary - Base branch target: `master` - Problem: ZeroClaw cannot connect to custom inference endpoints that use a private/corporate PKI for TLS, resulting in "invalid peer certificate: UnknownIssuer" errors. - Why it matters: Corporate and self-hosted deployments frequently sit behind a proxy or PKI that issues ce...
d6255bd1d356f40e86134fc24daeb28be00961c1
7ce4afb088185ca86b463ced186266ce7b63fc99
diff --git a/crates/zeroclaw-config/src/schema.rs b/crates/zeroclaw-config/src/schema.rs index 5cc45620321..0674a79c7a9 100644 --- a/crates/zeroclaw-config/src/schema.rs +++ b/crates/zeroclaw-config/src/schema.rs @@ -795,6 +795,12 @@ pub struct ModelProviderConfig { #[tab(Advanced)] #[serde(default, skip_seri...
[ "crates/zeroclaw-config/src/schema.rs", "crates/zeroclaw-providers/src/compatible.rs", "crates/zeroclaw-providers/src/factory.rs", "crates/zeroclaw-providers/src/lib.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,475
issue_to_patch
[Feature]: Update Documentation for Docker - Tested v0.7.5-debian ### Summary Working docker yaml for the Gateway and also for Building the WEB UI You will need to fix the yaml indentations before running in docker ### Problem statement No problem ### Proposed solution Docker Service 1 - Run zeroclaw ---> Works i...
docs(container): add rootless Debian compose example
## Summary - **Base branch:** `master` - **What changed and why:** Adds a rootless Docker/Podman Compose example for the current Debian image, using the current `:debian` tag and relying on the packaged dashboard auto-detection instead of the legacy v0.7.5 `web_dist_dir` workaround. - **Scope boundary:** Documentation...
faf05b2557e30fc7c53ef96db9f8b998d0698b25
60af9a350f8c68cca3a96a858c423804fcd89470
diff --git a/docs/book/src/setup/container.md b/docs/book/src/setup/container.md index 93623ecb015..e39a5ccac3b 100644 --- a/docs/book/src/setup/container.md +++ b/docs/book/src/setup/container.md @@ -102,6 +102,37 @@ docker compose exec zeroclaw zeroclaw quickstart With the official image you can omit the {{#env-va...
[ "docs/book/src/setup/container.md" ]
[]
true
zeroclaw-labs/zeroclaw
7,443
issue_to_patch
chore(governance): remove departing owners from CODEOWNERS, fix stale paths
> Maintainer note: Audacity88 updated this body after review so it matches the current five-file governance/review-routing scope and the refreshed branch state. The implementation remains the contributor's work. ## Summary - **Base branch:** `master` - **What changed and why:** - Wolf-primary areas in CODEOWNERS (p...
2c38ac6836fa75f81aeb2ca67d604e5bae459944
8c9a835336f836745b6e4264692c7851289258a9
diff --git a/.claude/skills/github-pr-review-session/SKILL.md b/.claude/skills/github-pr-review-session/SKILL.md index 0b2f8b5ff68..091e1dfd10a 100644 --- a/.claude/skills/github-pr-review-session/SKILL.md +++ b/.claude/skills/github-pr-review-session/SKILL.md @@ -161,7 +161,7 @@ the handoff. |---|---| | PR fit...
[ ".claude/skills/github-pr-review-session/SKILL.md", ".github/CODEOWNERS", ".github/workflows/daily-audit.yml", ".github/workflows/master-branch-flow.md", "docs/book/src/contributing/communication.md" ]
[ { "comment": "For all of those where Wolf was not sole owner I think he should be kept on. Not reviewing won't block, reviewing can only add.", "path": ".github/CODEOWNERS", "hunk": "@@ -8,7 +8,7 @@\n # Default fallback. Only fires for genuinely uncategorized paths after the\n # explicit legacy/common f...
true
zeroclaw-labs/zeroclaw
7,653
issue_to_patch
fix(skills): update background review loop call
## Summary - **Base branch:** `master` - **What changed and why:** Updates the background skill-review fork call to `run_tool_call_loop` so it matches the current 34-argument loop API. The #6667 merge left this call site on the older 29-argument shape, which broke `master` compilation with `error[E0061]` in `crates/ze...
83fad7bf3e893378c064b5d19ca021af901581b1
464eaad03844534670bc2c1e7b73637d8c2e9cca
diff --git a/crates/zeroclaw-runtime/src/skills/review.rs b/crates/zeroclaw-runtime/src/skills/review.rs index 87eee3d50c6..bb8204f048b 100644 --- a/crates/zeroclaw-runtime/src/skills/review.rs +++ b/crates/zeroclaw-runtime/src/skills/review.rs @@ -123,6 +123,11 @@ pub async fn maybe_run_skill_review( ...
[ "crates/zeroclaw-runtime/src/skills/review.rs" ]
[]
true
zeroclaw-labs/zeroclaw
6,667
issue_to_patch
feat(skills): background review fork + skill_manage tool (agentskills.io SKILL.md)
## Summary - **Base branch:** `master` - **What changed and why:** - Closes the integration gap from #4619 — `SkillImprover` shipped without a caller, so `skills.skill-improvement.enabled` had no runtime effect. This wires it up via a **post-turn background review fork** with a restricted toolset (`skills_list`, `sk...
0eb90eaaf640ef9e556ce2107f22f71cd02c2a17
6f455cb14c7864dcdeff6a93c9c0024be78e39c9
diff --git a/crates/zeroclaw-config/src/schema.rs b/crates/zeroclaw-config/src/schema.rs index 262dcd8c83a..4ecdea1749d 100644 --- a/crates/zeroclaw-config/src/schema.rs +++ b/crates/zeroclaw-config/src/schema.rs @@ -5034,30 +5034,55 @@ pub struct SkillInstallSuggestionsConfig { pub enabled: bool, } -/// Skill ...
[ "crates/zeroclaw-config/src/schema.rs", "crates/zeroclaw-runtime/locales/en/cli.ftl", "crates/zeroclaw-runtime/src/agent/loop_.rs", "crates/zeroclaw-runtime/src/skills/improver.rs", "crates/zeroclaw-runtime/src/skills/mod.rs", "crates/zeroclaw-runtime/src/skills/review.rs", "crates/zeroclaw-runtime/src/...
[]
true
zeroclaw-labs/zeroclaw
7,571
issue_to_patch
docs(maintainers): define stale exemption routing evidence
## Summary - **Base branch:** `master` (all contributions) - **What changed and why:** - Why: #6808 identified that `status:no-stale` needs a visible standard so stale protection is not just implied by labels, assignees, or private maintainer context. This PR defines the minimum public evidence needed to justify sta...
16210e7e82682e1979f072fa7bd07ec7af5aff82
d9f03ef9531390c750798fb4cf4563a77eeda38c
diff --git a/.claude/skills/github-issue-triage/references/triage-protocol.md b/.claude/skills/github-issue-triage/references/triage-protocol.md index 044ee75f4af..3c3c7ef0e65 100644 --- a/.claude/skills/github-issue-triage/references/triage-protocol.md +++ b/.claude/skills/github-issue-triage/references/triage-protoco...
[ ".claude/skills/github-issue-triage/references/triage-protocol.md", "docs/book/src/foundations/fnd-003-governance.md", "docs/book/src/maintainers/labels.md", "docs/book/src/maintainers/pr-workflow.md", "docs/book/src/maintainers/project-board-contract.json", "docs/book/src/maintainers/reviewer-playbook.md...
[]
true
zeroclaw-labs/zeroclaw
7,394
issue_to_patch
feat(channels): add voice pipeline facade
## Summary - **Base branch:** `master` - **What changed and why:** - Adds a `zeroclaw_channels::voice::VoicePipeline` facade so future audio-capable channels can use one STT/TTS entrypoint instead of wiring `TranscriptionManager` and `TtsManager` separately. - Ports the recovered #4427 shape into the current crate...
9a28db0514481cc599dbb8690aa7fca234922954
8f70cb783b2831e24fc37d1282f6b120bff7123c
diff --git a/crates/zeroclaw-channels/src/lib.rs b/crates/zeroclaw-channels/src/lib.rs index 4d693499df1..c11ce8e64fe 100644 --- a/crates/zeroclaw-channels/src/lib.rs +++ b/crates/zeroclaw-channels/src/lib.rs @@ -20,6 +20,7 @@ pub mod cli; pub mod link_enricher; pub mod transcription; pub mod tts; +pub mod voice; ...
[ "crates/zeroclaw-channels/src/lib.rs", "crates/zeroclaw-channels/src/transcription.rs", "crates/zeroclaw-channels/src/tts.rs", "crates/zeroclaw-channels/src/voice.rs", "crates/zeroclaw-config/src/providers.rs" ]
[ { "comment": "🔴 These six hand-unrolled per-family loops shadow the `TranscriptionProviders` registry. The supported STT families now live in two places — the struct in `zeroclaw-config` and here — so adding a 7th family leaves this code compiling but silently never registering it, and an agent referencing `<n...
true
zeroclaw-labs/zeroclaw
7,481
issue_to_patch
fix(quickstart): localize provider selector prompts
## Summary - **Base branch:** `master` - **What changed and why:** Routes the quickstart provider selector prompt and labels through Fluent instead of hard-coded English strings, and adds locale keys for the supported CLI locales. - **Scope boundary:** Quickstart provider selector copy and locale catalogue entries onl...
faf05b2557e30fc7c53ef96db9f8b998d0698b25
3d6b427739f3da78b670d0b372ec38fe4052ff39
diff --git a/crates/zeroclaw-runtime/locales/en/cli.ftl b/crates/zeroclaw-runtime/locales/en/cli.ftl index ad18bbb2f6b..1247ac1755f 100644 --- a/crates/zeroclaw-runtime/locales/en/cli.ftl +++ b/crates/zeroclaw-runtime/locales/en/cli.ftl @@ -504,6 +504,13 @@ cli-press-enter = Press Enter to exit... cli-quickstart-title...
[ "crates/zeroclaw-runtime/locales/en/cli.ftl", "crates/zeroclaw-runtime/locales/es/cli.ftl", "crates/zeroclaw-runtime/locales/fr/cli.ftl", "crates/zeroclaw-runtime/locales/ja/cli.ftl", "crates/zeroclaw-runtime/locales/zh-CN/cli.ftl", "src/main.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,593
issue_to_patch
fix(sop): wire audit logger into registered SOP tools
## Summary - **Base branch:** `master` - **What changed and why:** - `SopExecuteTool` / `SopAdvanceTool` / `SopApproveTool` accept an audit logger via `with_audit(...)`, but `all_tools_with_runtime` constructed them with bare `::new(...)`, leaving `self.audit` permanently `None`. Every audit branch (`log_run_start`,...
03eb4373393b52885ace3500f3f12040f061d481
7cbf38909a17c69f505adc076707acccb5ba376c
diff --git a/crates/zeroclaw-runtime/src/tools/mod.rs b/crates/zeroclaw-runtime/src/tools/mod.rs index 8f64d4f23a3..c02e7de3b31 100644 --- a/crates/zeroclaw-runtime/src/tools/mod.rs +++ b/crates/zeroclaw-runtime/src/tools/mod.rs @@ -1124,10 +1124,17 @@ pub fn all_tools_with_runtime( let mut engine = crate::sop...
[ "crates/zeroclaw-runtime/src/tools/mod.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,513
issue_to_patch
[Bug]: quickstart infinite redraw loop on non-TTY stdin — flooded 4.3 GB of output instead of erroring ### Affected component config/onboarding ### Severity S1 - workflow blocked ### Current behavior When `zeroclaw quickstart` is run without an interactive TTY (stdin/stdout piped or redirected — CI jobs, scripts,...
fix(quickstart): bail with a clear error on non-TTY stdin
## Summary - **Base branch:** `master` - **What changed and why:** - `zeroclaw quickstart` in a non-interactive context redrew the dialoguer checklist in a tight loop forever instead of erroring — observed flooding **4.3 GB** of output in ~3 minutes before being killed (#7507). - Added an up-front interactivity gu...
00dcc5bf4fefc1fcd3f2b80845b3909a869949a4
2e06040ce24ed34142b7557895cf2ff1b974cc51
diff --git a/crates/zeroclaw-runtime/locales/en/cli.ftl b/crates/zeroclaw-runtime/locales/en/cli.ftl index 320f04e933d..f77ac0ca389 100644 --- a/crates/zeroclaw-runtime/locales/en/cli.ftl +++ b/crates/zeroclaw-runtime/locales/en/cli.ftl @@ -502,6 +502,7 @@ cli-cron-every = {" "}Every(ms): {$v} cli-no-command = No com...
[ "crates/zeroclaw-runtime/locales/en/cli.ftl", "src/main.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,524
issue_to_patch
feat(channels/discord): derive gateway intents from config instead of hardcoding
## Summary - **Base branch:** `master` - **What changed and why:** - The Discord IDENTIFY payload's hardcoded `intents: 37377` becomes `gateway_intents()`: a named `BASELINE_INTENTS` constant (GUILDS | GUILD_MESSAGES | DIRECT_MESSAGES | MESSAGE_CONTENT) plus an optional operator override. A regression test pins the ...
00dcc5bf4fefc1fcd3f2b80845b3909a869949a4
d43839a36f0b2bd79699495de27c0e9e6357b367
diff --git a/crates/zeroclaw-channels/src/discord.rs b/crates/zeroclaw-channels/src/discord.rs index 371cc959303..3b6dfdf8eaf 100644 --- a/crates/zeroclaw-channels/src/discord.rs +++ b/crates/zeroclaw-channels/src/discord.rs @@ -38,6 +38,13 @@ pub struct DiscordChannel { peer_resolver: Arc<dyn Fn() -> Vec<String> ...
[ "crates/zeroclaw-channels/src/discord.rs", "crates/zeroclaw-channels/src/orchestrator/mod.rs", "crates/zeroclaw-config/src/schema.rs", "crates/zeroclaw-runtime/src/daemon/mod.rs", "src/config/mod.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,406
issue_to_patch
fix(runtime): suppress skill suggestions for installed tools
## Summary - **Base branch:** `master` (all contributions) - **What changed and why:** - Extends the cached missing-skill suggestion path so it also suppresses suggestions when the current runtime tool registry already exposes the matching capability. - Passes registered tool names from the CLI and `process_messag...
00dcc5bf4fefc1fcd3f2b80845b3909a869949a4
cad25b49b1bca653f635410cb854c0e19c080590
diff --git a/crates/zeroclaw-runtime/src/agent/loop_.rs b/crates/zeroclaw-runtime/src/agent/loop_.rs index c6d0d948a31..5205e7bc5d1 100644 --- a/crates/zeroclaw-runtime/src/agent/loop_.rs +++ b/crates/zeroclaw-runtime/src/agent/loop_.rs @@ -1487,9 +1487,14 @@ pub async fn run( system_prompt = format!("...
[ "crates/zeroclaw-runtime/src/agent/loop_.rs", "crates/zeroclaw-runtime/src/skills/suggestions.rs" ]
[]
true
zeroclaw-labs/zeroclaw
6,993
issue_to_patch
fix(runtime): clarify peer send targets
## Summary - **Base branch:** `master` (all contributions) - **What changed and why:** - Keeps the `send_message_to_peer` tool description channel-agnostic, then adds a bounded, prompt-safe current-channel peer map to the per-turn channel system prompt where the active channel ref is known. - Shows the model the a...
4e30bc5c23bee465dbc0079ad882c33445c41177
40ec4f0d10a7a8b142cd0630cd7feb6c3f55ad6b
diff --git a/crates/zeroclaw-channels/src/orchestrator/mod.rs b/crates/zeroclaw-channels/src/orchestrator/mod.rs index 3f4b1c2aa5e..7d827d92f72 100644 --- a/crates/zeroclaw-channels/src/orchestrator/mod.rs +++ b/crates/zeroclaw-channels/src/orchestrator/mod.rs @@ -4096,6 +4096,19 @@ async fn process_channel_message_bod...
[ "crates/zeroclaw-channels/src/orchestrator/mod.rs", "crates/zeroclaw-runtime/src/peers.rs", "crates/zeroclaw-runtime/src/tools/send_message_to_peer.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,477
issue_to_patch
[Bug]: zerocode can treat macOS Cmd-C copy as the quit chord ## Affected component unknown This is in zerocode terminal input/key handling, but the current bug template does not have a zerocode/TUI component option. ## Severity S3 - minor issue ## Current behavior On macOS, pressing Cmd-C while trying to copy te...
fix(zerocode): keep Cmd-C separate from quit on macOS
## Summary - **Base branch:** `master` - **What changed and why:** Keeps macOS `Cmd-C` copy distinct from the `Ctrl-C` quit chord in keymap display and matching logic, and adds coverage for the platform-specific modifier handling. - **Scope boundary:** Zerocode keymap chord parsing/display only. - **Blast radius:** Lo...
b3bc32d2b26aaa6b08df6e9af628fccba2c104df
bad272d96b3bc02b2ff6122a40bea1177d7ab498
diff --git a/apps/zerocode/src/keymap/chord.rs b/apps/zerocode/src/keymap/chord.rs index 2c967b282d7..609e7fa8ae4 100644 --- a/apps/zerocode/src/keymap/chord.rs +++ b/apps/zerocode/src/keymap/chord.rs @@ -9,9 +9,9 @@ use serde::{Deserialize, Deserializer, Serialize, Serializer, de}; /// A single keystroke pattern. ...
[ "apps/zerocode/src/keymap/chord.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,482
issue_to_patch
[Bug]: zerocode dark themes can inherit unreadable terminal foreground text ## Affected component unknown This is in the zerocode TUI theme/rendering path, but the current bug template does not have a zerocode/TUI component option. ## Severity S2 - degraded behavior ## Current behavior With a light-mode terminal...
fix(zerocode): theme markdown body text
## Summary - **Base branch:** `master` - **What changed and why:** Applies the active theme body style to normal assistant markdown text instead of inheriting terminal defaults, and adds a regression test for themed markdown body text. - **Scope boundary:** Zerocode markdown body text styling only. - **Blast radius:**...
b3bc32d2b26aaa6b08df6e9af628fccba2c104df
66df287cdc2bb8cf707cf603203392a32a084102
diff --git a/apps/zerocode/src/chat.rs b/apps/zerocode/src/chat.rs index dbcdd2e3d18..3f0d770439c 100644 --- a/apps/zerocode/src/chat.rs +++ b/apps/zerocode/src/chat.rs @@ -3081,7 +3081,7 @@ fn markdown_to_lines(text: &str, width: u16) -> Vec<Line<'static>> { )); } ...
[ "apps/zerocode/src/chat.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,480
issue_to_patch
i18n: bring new file_download tool strings under the fl!() / Fluent contract ### Background PR #6957 adds the `file_download` tool with a new tool description, two parameter descriptions, and several user-facing error/output strings — all as bare literals in `crates/zeroclaw-tools/src/file_download.rs`. The repo-leve...
fix(tools): localize file download tool strings
## Summary - **Base branch:** `master` - **What changed and why:** Routes the file download tool schema text, user-facing errors, and success output through the tools Fluent catalogue. Adds a narrow tools-local Fluent helper so the change does not reverse the runtime/tools dependency graph. - **Scope boundary:** File ...
b3bc32d2b26aaa6b08df6e9af628fccba2c104df
6b01a3884be4188856484790c1e7c58c46689d33
diff --git a/Cargo.lock b/Cargo.lock index 5ddce77a928..807ba9030d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14100,6 +14100,7 @@ dependencies = [ "chrono", "directories", "fantoccini", + "fluent", "futures-util", "glob", "hex", diff --git a/crates/zeroclaw-runtime/locales/en/tools.ftl b/crates/zeroclaw-...
[ "Cargo.lock", "crates/zeroclaw-runtime/locales/en/tools.ftl", "crates/zeroclaw-tools/Cargo.toml", "crates/zeroclaw-tools/src/file_download.rs", "crates/zeroclaw-tools/src/i18n.rs", "crates/zeroclaw-tools/src/lib.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,021
issue_to_patch
feat(channels/email): XOAUTH2 auth, observer mode, and read-only IMAP tools
## Summary - **Base branch:** `master` - **What changed and why:** Two related email capabilities: 1. **XOAUTH2 + observer mode** — the IMAP channel could only do password `LOGIN`, which doesn't work for providers that require OAuth2 (Hotmail/Outlook, Exchange). Adds `EmailOAuth2Config` + an optional `oauth2` block ...
b2618ed0846d10a727d75c505269a6e4a0ed6b60
231cb4645db8297d6a7ee04dbafa4581d3c903bf
diff --git a/Cargo.lock b/Cargo.lock index 6fba2241995..5ddce77a928 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14094,6 +14094,7 @@ name = "zeroclaw-tools" version = "0.8.0" dependencies = [ "anyhow", + "async-imap", "async-trait", "base64 0.22.1", "chrono", @@ -14103,12 +14104,15 @@ dependencies = [ "glob...
[ "Cargo.lock", "crates/zeroclaw-channels/src/email_channel.rs", "crates/zeroclaw-channels/src/orchestrator/mod.rs", "crates/zeroclaw-config/src/scattered_types.rs", "crates/zeroclaw-config/src/traits.rs", "crates/zeroclaw-providers/src/auth/email_oauth2.rs", "crates/zeroclaw-providers/src/auth/mod.rs", ...
[]
true
zeroclaw-labs/zeroclaw
7,503
issue_to_patch
[Bug]: Default using "vi" but container does not include it ### Affected component unknown ### Severity S3 - minor issue ### Current behavior <img width="379" height="78" alt="Image" src="https://github.com/user-attachments/assets/dd505cde-47e1-48b5-9e3d-1c9b3a45a141" /> Unfortunately I can't remember which part...
fix(docker): add vim-tiny to runtime images for editor support
## Summary Add `vim-tiny` to the runtime stage of both `Dockerfile` and `Dockerfile.debian`. The `dialoguer::Editor` component (used by `zerocode` TUI for editing settings) spawns `vi` as the default editor, but `vi` is not present in the minimal runtime images. ## Linked context Closes #7469 ## Verification - `vi...
e03479481fc7dc7f3842108bb919ed73cee71393
68e17dec736bb8d74aa104494296369f41add672
diff --git a/Dockerfile b/Dockerfile index b0fbd0907b5..c4bc899f236 100644 --- a/Dockerfile +++ b/Dockerfile @@ -167,6 +167,7 @@ FROM debian:trixie-slim@sha256:f6e2cfac5cf956ea044b4bd75e6397b4372ad88fe00908045 RUN apt-get update && apt-get install -y \ ca-certificates \ curl \ + vim-tiny \ && rm -rf ...
[ "Dockerfile", "Dockerfile.debian" ]
[]
true
zeroclaw-labs/zeroclaw
7,448
issue_to_patch
fix(cron): inject Lark and Feishu delivery defaults from chat context ### Affected component runtime/daemon ### Severity S2 - degraded behavior ### Current behavior #6851 / 3498f50ebd60209d330212102f58a268fac3e45e added Lark/Feishu as supported cron delivery channels. The cron tool schemas now advertise `lark` an...
fix(cron): inject Lark and Feishu delivery defaults from chat context (#6880)
## Summary - **Issue:** Closes #6880 - **What changed:** Add `lark` and `feishu` to the `maybe_inject_channel_delivery_defaults` allowlist so cron_add from Lark/Feishu chats inherits the current chat destination. - **Why:** #6851 added Lark/Feishu as supported cron delivery channels but the delivery-default injection ...
fd6ff85829e6f4bf0fc90f9c75c488babbda2967
cbda82c96a3ddd4308294c0d3312366a7f4063f9
diff --git a/crates/zeroclaw-runtime/src/agent/loop_.rs b/crates/zeroclaw-runtime/src/agent/loop_.rs index 69691d155f5..c6d0d948a31 100644 --- a/crates/zeroclaw-runtime/src/agent/loop_.rs +++ b/crates/zeroclaw-runtime/src/agent/loop_.rs @@ -5290,6 +5290,164 @@ mod tests { assert_eq!(recorded[0]["delivery"], se...
[ "crates/zeroclaw-runtime/src/agent/loop_.rs", "crates/zeroclaw-runtime/src/agent/turn/delivery_defaults.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,515
issue_to_patch
[Bug]: zeroclaw quickstart cannot install the agent and said no map-keyed/list section at peer-groups ### Affected component runtime/daemon ### Severity S1 - workflow blocked ### Current behavior I'm a new user. When I try to install on windows 10. I cannot create the agent via zeroclaw quickstart command. The e...
feat(zerocode): improve session controls and provider diagnostics
## Summary - **Base branch:** `master` - **What changed and why:** - Makes the zerocode Chat header provider/model values interactive, so users can open the provider/model pickers from the active session instead of hunting through config. - Adds `/restart-session` / `/new-session` / `/new`, queue clearing, mouse s...
7f8482268287a4304c35f8f964d735bf297ca068
35a821d4fd0937b29b0dd42380be335ee22be10a
diff --git a/apps/zerocode/Cargo.toml b/apps/zerocode/Cargo.toml index 02f1490204c..273cdc7a7cd 100644 --- a/apps/zerocode/Cargo.toml +++ b/apps/zerocode/Cargo.toml @@ -44,7 +44,7 @@ shellexpand = "3.1" directories = { workspace = true } fluent = "0.16" unic-langid = "0.9" -zeroclaw-providers.workspace = true +zeroc...
[ "apps/zerocode/Cargo.toml", "apps/zerocode/locales/en/zerocode.ftl", "apps/zerocode/locales/es/zerocode.ftl", "apps/zerocode/locales/fr/zerocode.ftl", "apps/zerocode/locales/ja/zerocode.ftl", "apps/zerocode/locales/zh-CN/zerocode.ftl", "apps/zerocode/src/app.rs", "apps/zerocode/src/chat.rs", "apps/z...
[]
true
zeroclaw-labs/zeroclaw
7,465
issue_to_patch
bug(delegate): preserve memory namespace across agentic delegate modes ### Affected component runtime/daemon ### Severity S1 - workflow blocked ### Current behavior Agentic delegate sub-agents can run memory tools from the parent tool registry instead of rebuilding those tools against the delegated agent's config...
fix(runtime): preserve delegate memory namespace
## Summary - **Base branch:** `master` - **What changed and why:** - Fixes delegate memory isolation for #7080 by rebuilding delegate-visible memory tools against the target agent's memory handle. - Keeps non-memory delegate tools on the existing parent-tool wrapping path. - Carries the memory handle through syn...
2d261b29aaada187616a71d8843ae6081bd29edb
5f76e39dcca4888d2a675aea949eb01f809902f6
diff --git a/crates/zeroclaw-runtime/src/tools/delegate.rs b/crates/zeroclaw-runtime/src/tools/delegate.rs index 1f1c477d6a8..b132206e8ac 100644 --- a/crates/zeroclaw-runtime/src/tools/delegate.rs +++ b/crates/zeroclaw-runtime/src/tools/delegate.rs @@ -19,6 +19,11 @@ use zeroclaw_config::schema::{ use zeroclaw_log::In...
[ "crates/zeroclaw-runtime/src/tools/delegate.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,528
issue_to_patch
[Bug]: update self-test find_asset_url_picks_correct_gnu_over_android fails on Windows hosts (zip assets rejected by is_installable_release_asset) ### Affected component tooling/ci ### Severity S3 - minor issue ### Current behavior `commands::update::tests::find_asset_url_picks_correct_gnu_over_android` fails on ...
fix(update): use .tar.gz for Windows assets in gnu-vs-android test
## Summary `find_asset_url_picks_correct_gnu_over_android` hardcoded `.zip` assets for Windows targets, but `is_installable_release_asset` only accepts `.tar.gz` / `.tgz`. On a Windows host the test panics with "should find an asset" because no qualifying asset matches the host triple. ## Fix Use `.tar.gz` for all p...
ffb027554c86be359a80d29fb3a46e1d6d2950d3
19eecc0452e8dff42c9f6202078afcda0ebaecfa
diff --git a/src/commands/update.rs b/src/commands/update.rs index 1cd2c82d66e..15dd093e5a0 100644 --- a/src/commands/update.rs +++ b/src/commands/update.rs @@ -673,8 +673,8 @@ mod tests { "zeroclaw-x86_64-unknown-linux-gnu.tar.gz", "zeroclaw-x86_64-apple-darwin.tar.gz", "zeroclaw...
[ "src/commands/update.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,544
issue_to_patch
fix(runtime/doctor): ensure workspace doctor checks support multi agents
## Summary - **Base branch:** `master` (all contributions) - **What changed and why:** - Doctor checks testing for `SOUL.md` and `AGENT.md` were searching in the wrong directory, still assuming it was a single agent setup (pre-0.8). - This PR ensures doctor is multi agent aware and probes those files for al...
ffb027554c86be359a80d29fb3a46e1d6d2950d3
23cd5ed012b618e5649873a4d3f4d44468236682
diff --git a/crates/zeroclaw-runtime/src/doctor/mod.rs b/crates/zeroclaw-runtime/src/doctor/mod.rs index f75b08cfd6b..37e1752afe3 100644 --- a/crates/zeroclaw-runtime/src/doctor/mod.rs +++ b/crates/zeroclaw-runtime/src/doctor/mod.rs @@ -832,25 +832,43 @@ fn check_workspace(config: &Config, items: &mut Vec<DiagItem>) { ...
[ "crates/zeroclaw-runtime/src/doctor/mod.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,474
issue_to_patch
docs(gateway): define api events stream semantics
## Summary - **Base branch:** `master` - **What changed and why:** Documents the API event stream as a resumable SSE endpoint and calls out ordering, retry behavior, and client recovery expectations. - **Scope boundary:** Documentation only: `docs/book/src/gateway/api.md`. - **Blast radius:** Low. No gateway implement...
faf05b2557e30fc7c53ef96db9f8b998d0698b25
290f3daa7b2116408cc451e41e12577a07b3b4c8
diff --git a/docs/book/src/gateway/api.md b/docs/book/src/gateway/api.md index 39bd96cb027..b9c8a5c3f00 100644 --- a/docs/book/src/gateway/api.md +++ b/docs/book/src/gateway/api.md @@ -126,3 +126,19 @@ If the Scalar bundle can't load from the CDN (offline / air-gapped install), the page degrades gracefully and points ...
[ "docs/book/src/gateway/api.md" ]
[]
true
zeroclaw-labs/zeroclaw
7,473
issue_to_patch
risk_profile.allowed_tools does not restrict MCP tools — by design or documentation gap? ## Version 0.8.0-beta-1 ## Summary Setting `allowed_tools = ["server__tool_name"]` in a `[risk_profiles.*]` entry does not restrict which MCP tools the agent can call. The restriction only applies to built-in zeroclaw tools. Thi...
docs(mcp): clarify MCP tool control boundaries
## Summary - **Base branch:** `master` - **What changed and why:** Clarifies MCP tool-control documentation by separating prompt/context exposure, approval policy, and actual capability filtering. Adds a compact configuration example showing `tool_filter_groups`, `auto_approve`, `always_ask`, `allowed_tools`, and `exc...
faf05b2557e30fc7c53ef96db9f8b998d0698b25
0a3062fff3a25e2093b58610bd471192ce4d914a
diff --git a/docs/book/src/tools/mcp.md b/docs/book/src/tools/mcp.md index fbfe38e9f02..676908d6b1d 100644 --- a/docs/book/src/tools/mcp.md +++ b/docs/book/src/tools/mcp.md @@ -48,4 +48,31 @@ MCP tool calls go through the same approval gate as every other tool, governed b - Otherwise, an MCP tool call prompts for appr...
[ "docs/book/src/tools/mcp.md" ]
[]
true
zeroclaw-labs/zeroclaw
7,494
issue_to_patch
perf(wechat): cache markdown regex compilations with LazyLock
## Summary Replace 8 per-call `Regex::new()` compilations in `markdown_to_plain_text` with `LazyLock` statics, following the existing pattern in `link_enricher.rs:29-30`. The TODO at the call site explicitly called for this caching. Each WeChat send path was recompiling all 8 regexes on every message. With `LazyLock`...
502f897e5f16a9f7687299a9766e2c825ae21f6e
10de79d591ac80d8e4848dc6f2a2256aa69920f5
diff --git a/crates/zeroclaw-channels/src/wechat.rs b/crates/zeroclaw-channels/src/wechat.rs index 3a71ea4977f..01332739d84 100644 --- a/crates/zeroclaw-channels/src/wechat.rs +++ b/crates/zeroclaw-channels/src/wechat.rs @@ -11,7 +11,7 @@ use base64::Engine; use parking_lot::Mutex; use std::collections::HashMap; use...
[ "crates/zeroclaw-channels/src/wechat.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,540
issue_to_patch
refactor(runtime): consolidate the three agent turn engines onto run_tool_call_loop — Implements #7415
## Summary - **Base branch:** `master` - **What changed and why:** - The three agent turn engines — `run_tool_call_loop` (channels/CLI/cron/delegate/SubAgents), `Agent::turn_streamed_with_steering_state` (gateway WS, RPC/zerocode, ACP), and `Agent::turn` (embedded) — are consolidated onto **one engine**: `run_tool_c...
0eb90eaaf640ef9e556ce2107f22f71cd02c2a17
bef597a39e765e1b30b05452074a90a3a11eac91
diff --git a/crates/zeroclaw-api/src/channel.rs b/crates/zeroclaw-api/src/channel.rs index 14e3c86f0bb..d97a82dadc4 100644 --- a/crates/zeroclaw-api/src/channel.rs +++ b/crates/zeroclaw-api/src/channel.rs @@ -401,6 +401,18 @@ pub trait Channel: Send + Sync + crate::attribution::Attributable { Ok(None) } ...
[ "crates/zeroclaw-api/src/channel.rs", "crates/zeroclaw-channels/src/orchestrator/acp_server.rs", "crates/zeroclaw-channels/src/orchestrator/mod.rs", "crates/zeroclaw-gateway/src/ws.rs", "crates/zeroclaw-runtime/locales/en/cli.ftl", "crates/zeroclaw-runtime/src/agent/agent.rs", "crates/zeroclaw-runtime/s...
[ { "comment": "This passes the literal `\"cli\"` as the loop's `channel_name`, which `approval_gate.rs:94` records into the approval audit trail via `mgr.record_decision(...)`. On master the streaming path recorded the **actual deciding back-channel's name** (`decision_channel_name = ch_name.clone()`); the `AskU...
true
zeroclaw-labs/zeroclaw
7,540
comment_to_fix
refactor(runtime): consolidate the three agent turn engines onto run_tool_call_loop — Implements #7415
This is the file-consolidation anchor. The 23 modules here carry ~943 lines of per-file scaffolding (use-headers, doc lines, attributes, blanks), which is the bulk of the remaining +587 production gap. Fold the smallest single-purpose modules into this orchestrator or their one sibling caller, keeping the functions and...
0eb90eaaf640ef9e556ce2107f22f71cd02c2a17
bef597a39e765e1b30b05452074a90a3a11eac91
diff --git a/crates/zeroclaw-runtime/src/agent/turn/mod.rs b/crates/zeroclaw-runtime/src/agent/turn/mod.rs new file mode 100644 index 00000000000..630335eb688 --- /dev/null +++ b/crates/zeroclaw-runtime/src/agent/turn/mod.rs @@ -0,0 +1,756 @@ +//! The agent turn engine, decomposed into single-purpose step modules. +//!...
[ "crates/zeroclaw-runtime/src/agent/turn/mod.rs" ]
[ { "comment": "This is the file-consolidation anchor. The 23 modules here carry ~943 lines of per-file scaffolding (use-headers, doc lines, attributes, blanks), which is the bulk of the remaining +587 production gap. Fold the smallest single-purpose modules into this orchestrator or their one sibling caller, kee...
true
zeroclaw-labs/zeroclaw
7,540
comment_to_fix
refactor(runtime): consolidate the three agent turn engines onto run_tool_call_loop — Implements #7415
Representative of the file-granularity cost: this module is ~16 production lines paying a full file's use-header/doc/attribute tax. A 16-line steering helper does not earn its own compilation unit. Fold it into the orchestrator (`mod.rs`) or whichever single step consumes it. Same treatment for the other sub-60-line si...
0eb90eaaf640ef9e556ce2107f22f71cd02c2a17
bef597a39e765e1b30b05452074a90a3a11eac91
diff --git a/crates/zeroclaw-runtime/src/agent/turn/steering.rs b/crates/zeroclaw-runtime/src/agent/turn/steering.rs new file mode 100644 index 00000000000..f4ae519617d --- /dev/null +++ b/crates/zeroclaw-runtime/src/agent/turn/steering.rs @@ -0,0 +1,16 @@ +//! Mid-turn steering: non-blocking drain of caller-pushed mes...
[ "crates/zeroclaw-runtime/src/agent/turn/steering.rs" ]
[ { "comment": "Representative of the file-granularity cost: this module is ~16 production lines paying a full file's use-header/doc/attribute tax. A 16-line steering helper does not earn its own compilation unit. Fold it into the orchestrator (`mod.rs`) or whichever single step consumes it. Same treatment for th...
true
zeroclaw-labs/zeroclaw
7,568
issue_to_patch
fix(docs): add .nojekyll so Pages serves _shared/ chrome
## Summary - **Base branch:** `master` (all contributions) - **What changed and why:** The published docs site lost all chrome (sidebar, theme palette, layout, custom overrides, favicons) because every page references absolute-root `/_shared/` assets that 404 on the live site. The `_shared/` tree is correctly present ...
663ff2e42d3a3bc5c77fe8a7b5d8e58aa12e142b
850071fda09342853f4869ec204181be285751cb
diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 61e0cec4300..b5fb9af4f61 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -206,6 +206,13 @@ jobs: # or GitHub Pages will remove it (re-introduced fix from #6142). echo ...
[ ".github/workflows/docs-deploy.yml" ]
[]
true
zeroclaw-labs/zeroclaw
7,559
issue_to_patch
test(channels): drop stale Lark ack locale tests
## Summary - **Base branch:** `master` - **What changed and why:** - Remove the test-only Lark acknowledgement locale pools and random locale-selection helpers that were restored during the #7455 conflict resolution. - Remove the locale-detection/random-ack tests that covered that stale test-only machinery. - Ke...
81dd74f5f715a6f334fa404235f75175d5a8cfad
22d5fb04109efa918a7425125b48a0b57e75736d
diff --git a/crates/zeroclaw-channels/src/lark.rs b/crates/zeroclaw-channels/src/lark.rs index 3dfff405b5a..f01414354d3 100644 --- a/crates/zeroclaw-channels/src/lark.rs +++ b/crates/zeroclaw-channels/src/lark.rs @@ -17,54 +17,8 @@ const FEISHU_WS_BASE_URL: &str = "https://open.feishu.cn"; const LARK_BASE_URL: &str = ...
[ "crates/zeroclaw-channels/src/lark.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,455
issue_to_patch
fix(channels): make truncation UTF-8 safe
## Summary - **Base branch:** `master` (all contributions) - **What changed and why:** - Added MSRV-compatible UTF-8 floor-boundary helpers in `zeroclaw-channels` and `zeroclaw-tools` so byte-limited previews can slice safely without relying on `str::floor_char_boundary`. - Updated Lark inline text-file previews, ...
484e116f12c0555fa0f3b56f050b63663cef95b1
829d1c420b8dbed1a255ea4f6bcb7ea8abae28a4
diff --git a/crates/zeroclaw-channels/src/lark.rs b/crates/zeroclaw-channels/src/lark.rs index 2c8e179f69a..3dfff405b5a 100644 --- a/crates/zeroclaw-channels/src/lark.rs +++ b/crates/zeroclaw-channels/src/lark.rs @@ -2,6 +2,7 @@ use async_trait::async_trait; use base64::Engine as _; use futures_util::{SinkExt, Stream...
[ "crates/zeroclaw-channels/src/lark.rs", "crates/zeroclaw-channels/src/notion.rs", "crates/zeroclaw-channels/src/slack.rs", "crates/zeroclaw-channels/src/twitter.rs", "crates/zeroclaw-channels/src/util.rs", "crates/zeroclaw-tools/src/composio.rs", "crates/zeroclaw-tools/src/linkedin_client.rs", "crates...
[]
true
zeroclaw-labs/zeroclaw
7,554
issue_to_patch
[Bug]: source install never copies web/dist to the data dir, so the systemd daemon serves no dashboard ### Summary `install.sh --source` builds the web dashboard (`build_web_dashboard` → `$INSTALL_DIR/web/dist`) but never copies the built assets into the platform data directory. The pre-built install path *does* copy...
fix(install): install web dashboard on source installs and point users at the installer
## Summary - **Base branch:** `master` - **What changed and why:** - Source installs built `web/dist` but never copied it into the gateway data directory, so a service-launched daemon resolved `web_dist_dir` to `None` and served no dashboard. This makes the supported source-install path (`./install.sh --source`) act...
0eb90eaaf640ef9e556ce2107f22f71cd02c2a17
ece1bf80c8e723f5c092e62c4259472915e880e3
diff --git a/crates/zeroclaw-gateway/src/lib.rs b/crates/zeroclaw-gateway/src/lib.rs index 76bcafa15b4..540b1bf72d7 100644 --- a/crates/zeroclaw-gateway/src/lib.rs +++ b/crates/zeroclaw-gateway/src/lib.rs @@ -1299,15 +1299,17 @@ pub async fn run_gateway( INFO, ::zeroclaw_log::Event::new(module...
[ "crates/zeroclaw-gateway/src/lib.rs", "crates/zeroclaw-gateway/src/static_files.rs", "install.sh", "setup.bat" ]
[]
true
zeroclaw-labs/zeroclaw
5,767
issue_to_patch
fix(web): add visual preview swatches to theme mode selector
## Summary - Base branch target (`master` for all contributions): `master` - Problem: (1) Both Dark and Light theme mode buttons in Appearance Settings render identically because they inherit styling from the current theme's CSS variables. (2) The README includes a "Buy Me a Coffee" donation badge and link that should...
054c867d109deb043133b5eea2ad32ed2396fe62
c0c069204b86b7cb9fbe940eceeb5dd8203bf442
diff --git a/README.md b/README.md index 8086651f873..bd10b30c505 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ <a href="https://www.rust-lang.org"><img src="https://img.shields.io/badge/rust-edition%202024-orange?logo=rust" alt="Rust Edition 2024" /></a> <a href="https://github.com/zeroclaw-labs/zeroc...
[ "README.md", "docs/i18n/ar/README.md", "docs/i18n/bn/README.md", "docs/i18n/cs/README.md", "docs/i18n/da/README.md", "docs/i18n/de/README.md", "docs/i18n/el/README.md", "docs/i18n/es/README.md", "docs/i18n/fi/README.md", "docs/i18n/fr/README.md", "docs/i18n/he/README.md", "docs/i18n/hi/README....
[]
true
zeroclaw-labs/zeroclaw
6,283
issue_to_patch
fix(workspace): set default-run = "zeroclaw" to unblock docs deploy CI
## Summary - **Base branch:** `master` (all contributions) - **What changed and why:** Add `default-run = "zeroclaw"` under `[package]` in root `Cargo.toml`. PR #6167 (ACP v1) introduced a second binary target (`zeroclaw-acp-bridge`) without setting `default-run`. Cargo therefore refuses bare `cargo run` with `error: ...
d52a69809c68a090eb899a687ff25d79286b23df
46235824eb908b3cadb4ccc6da081b542ecf3a0b
diff --git a/Cargo.toml b/Cargo.toml index bcfdc27dd70..0debc8fc9b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,6 +34,7 @@ name = "zeroclawlabs" # on crates.io. Flip or remove this once the multi-crate publish topology is # designed per RFC #5579. publish = false +default-run = "zeroclaw" version.workspace = tr...
[ "Cargo.toml" ]
[]
true
zeroclaw-labs/zeroclaw
7,041
issue_to_patch
feat(gateway): multi-tenant Linq channel with per-alias routing
## Summary - **What changed and why:** - Converts the Linq channel from single-tenant (`Option<Arc<LinqChannel>>`) to multi-tenant (`HashMap<String, Arc<LinqChannel>>`), allowing multiple Linq provider instances each addressed by alias. - Webhook route changes from `/linq` to `/linq/{alias}` so inbound webhooks ar...
d6bcb85c745ed6e1e06e757e75de3e1ea1669a1d
c3adc3865811105ee4f322a95bdf7a995966e2ef
diff --git a/crates/zeroclaw-channels/src/orchestrator/mod.rs b/crates/zeroclaw-channels/src/orchestrator/mod.rs index db1e3ca563c..86e038a92b3 100644 --- a/crates/zeroclaw-channels/src/orchestrator/mod.rs +++ b/crates/zeroclaw-channels/src/orchestrator/mod.rs @@ -5656,8 +5656,28 @@ fn build_channel_by_id( ...
[ "crates/zeroclaw-channels/src/orchestrator/mod.rs", "crates/zeroclaw-gateway/src/api.rs", "crates/zeroclaw-gateway/src/lib.rs", "tests/component/config_patch_cli.rs" ]
[]
diff --git a/tests/component/config_patch_cli.rs b/tests/component/config_patch_cli.rs index 3d1a472842a..553fe64ce46 100644 --- a/tests/component/config_patch_cli.rs +++ b/tests/component/config_patch_cli.rs @@ -3,6 +3,7 @@ use axum::{Router, routing::patch}; use parking_lot::Mutex; use std::process::{Command, Stdi...
true
zeroclaw-labs/zeroclaw
7,458
issue_to_patch
revert(ci): remove cross-platform clippy lint gate
## Summary - **Base branch:** `master` - **What changed and why:** - Reverts the required cross-platform Clippy lint matrix from #7428. - Restores the required lint job to the previous Linux-only shape so routine PRs do not run the extra macOS and Windows Clippy jobs as part of every required gate. - Keeps the p...
bab4da859a940d2e28afe63588d4f65f6be44893
64cc769630b35ac7f6601177a3125e0e5469e1ea
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0caefac3763..7c39a43c04d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,20 +36,10 @@ jobs: # ── Post-format required quality gate ───────────────────────────────────── lint: - name: Lint ${{ matrix.target }} +...
[ ".github/workflows/ci.yml" ]
[]
true
zeroclaw-labs/zeroclaw
5,493
issue_to_patch
chore: bump version to 0.6.9
## Summary - Bumps version from **0.6.8** → **0.6.9** across all 39 files - Updated via `scripts/release/bump-version.sh` for consistency ### Files updated - `Cargo.toml` (source of truth) - 31 README badges (root + i18n) - `apps/tauri/tauri.conf.json` (was behind at 0.6.7, now synced) - `marketplace/dokploy/meta-entr...
193d66792580f6f1fde1e5f282fc4a3b868bdb6b
1688fc0eb6c3f144ce11a7cf07508ad900482286
diff --git a/.github/workflows/discord-release.yml b/.github/workflows/discord-release.yml index 447a268e5ea..88174b62d02 100644 --- a/.github/workflows/discord-release.yml +++ b/.github/workflows/discord-release.yml @@ -4,7 +4,7 @@ on: workflow_call: inputs: release_tag: - description: "Stable re...
[ ".github/workflows/discord-release.yml", ".github/workflows/sync-marketplace-templates.yml", "Cargo.lock", "Cargo.toml", "README.md", "apps/tauri/tauri.conf.json", "docs/i18n/ar/README.md", "docs/i18n/bn/README.md", "docs/i18n/cs/README.md", "docs/i18n/da/README.md", "docs/i18n/de/README.md", ...
[]
true
zeroclaw-labs/zeroclaw
7,360
issue_to_patch
[Bug]: zerocode Quickstart model-provider form hides field errors and overflows secret input ### Affected component tooling/ci ### Severity S2 - degraded behavior ### Current behavior The zerocode TUI Quickstart Model provider form still has several UX defects that make the form hard to complete or recover from w...
fix(zerocode): size quickstart modals by wrapped row height
## Summary - **Base branch:** `master` - **What changed and why:** The Quickstart pane (`apps/zerocode/src/quickstart_pane.rs::draw_modal`) sized its modal box from `body_lines.len()` (logical line count) and computed the cursor-tracking scroll from logical line indices, ignoring the `Wrap { trim: false }` the body re...
95358b14fe3e22c188cd585cc042a19d848417a0
f5e1557eec90ecee847aa29d5567546714e62a74
diff --git a/apps/zerocode/src/quickstart_pane.rs b/apps/zerocode/src/quickstart_pane.rs index 904f86b3305..a7be464d822 100644 --- a/apps/zerocode/src/quickstart_pane.rs +++ b/apps/zerocode/src/quickstart_pane.rs @@ -1873,6 +1873,32 @@ fn generate_run_id() -> String { format!("{now:x}-{pid:x}") } +/// Wrapped v...
[ "apps/zerocode/src/quickstart_pane.rs" ]
[]
true
zeroclaw-labs/zeroclaw
6,171
issue_to_patch
fix(xtask): resolve real mdbook binary, avoid xtask self-spawn
## Summary The xtask binary is itself named `mdbook`, so `Command::new("mdbook")` from inside the xtask could resolve back to the xtask exe and recursively spawn itself. Two contributors: - Cargo prepends `target/debug` and `target/debug/deps` to `PATH` for `cargo run`, so the xtask's own build dir is on `PATH`. - On ...
eebd7b634f91c37f7a976e03ba3f29d9b76a1ca9
95697d49cddfbd4c0f3f500a7c73144eac597386
diff --git a/xtask/src/cmd/mdbook/build.rs b/xtask/src/cmd/mdbook/build.rs index c8729ae16cb..806b47411a3 100644 --- a/xtask/src/cmd/mdbook/build.rs +++ b/xtask/src/cmd/mdbook/build.rs @@ -34,9 +34,10 @@ pub fn build_locales(root: &std::path::Path) -> anyhow::Result<()> { .join(" ") ); inject_lan...
[ "xtask/src/cmd/mdbook/build.rs", "xtask/src/cmd/mdbook/serve.rs", "xtask/src/cmd/mdbook/sync.rs", "xtask/src/util.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,371
issue_to_patch
fix(config): unbounded/yolo presets must allow what they advertise
## Summary - **Base branch:** `master` (all contributions) - **What changed and why:** Two Quickstart presets used a sentinel value that means the *opposite* of intended, leaving a freshly-onboarded agent unable to do anything: - **`unbounded` runtime preset** set `max_actions_per_hour: 0` and `max_cost_per_...
48a74716bf9dccdb541b5e04c132729f719bed41
cadfcb746a4c5801ecf52592f0557724e4edbef9
diff --git a/crates/zeroclaw-config/src/presets.rs b/crates/zeroclaw-config/src/presets.rs index 08daba6e80f..dc6681c2e5b 100644 --- a/crates/zeroclaw-config/src/presets.rs +++ b/crates/zeroclaw-config/src/presets.rs @@ -123,7 +123,13 @@ fn yolo_risk() -> RiskProfileConfig { RiskProfileConfig { level: Aut...
[ "crates/zeroclaw-config/src/presets.rs", "crates/zeroclaw-config/src/schema.rs" ]
[]
true
zeroclaw-labs/zeroclaw
5,128
issue_to_patch
fix: resolve all clippy errors blocking release builds
## Summary - Fix 20 clippy errors that block both CI and release builds - All errors are pre-existing on master, not introduced by the v0.6.7 bump ## Fixes by file | File | Errors | Fix | |------|--------|-----| | `whatsapp_web.rs` | Missing `Path` import + unused var | Added `use std::path::Path`, prefixed `_is_grou...
2ef293eac36ea2afb607564d68078ba2aa23553e
1f952a5c7c0a98d276c9f17f2acf27d4f4c33383
diff --git a/src/channels/whatsapp_web.rs b/src/channels/whatsapp_web.rs index 90e98da2e1c..0aff18be77e 100644 --- a/src/channels/whatsapp_web.rs +++ b/src/channels/whatsapp_web.rs @@ -31,6 +31,7 @@ use super::whatsapp_storage::RusqliteStore; use anyhow::{Result, anyhow}; use async_trait::async_trait; use parking_lo...
[ "src/channels/whatsapp_web.rs", "src/main.rs", "src/memory/namespaced.rs", "src/multimodal.rs", "src/tools/web_search_tool.rs", "src/tools/wrappers.rs", "src/tui/onboarding.rs", "src/tui/widgets.rs" ]
[]
true
zeroclaw-labs/zeroclaw
6,752
issue_to_patch
fix(ci): pr-title workflow has never run — startup_failure on every PR since #6396 ## Summary The `Validate PR title` workflow added in #6396 (`feat(ci): force check pr title`, merged 2026-05-16) has **never run successfully**. Every invocation since merge returns `startup_failure` with 0 jobs created, so the check i...
fix(ci): unblock pr-title workflow with inline regex check
## Summary - **Base branch:** `master` - **What changed and why:** - what: replaced `amannn/action-semantic-pull-request` in `.github/workflows/pr-title.yml` with a local bash validator (`scripts/check-pr-title.sh`) plus a regression test harness (`scripts/check-pr-title.test.sh`) that runs ahead of the validator ...
694746fd41333713192736b9698d02068f22157c
e3713e52f9208ae1c6f7db3d791b535ea8939fbb
diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index b532757924d..f2c608d307d 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -1,7 +1,7 @@ name: Validate PR title on: - pull_request_target: + pull_request: types: - opened - reope...
[ ".github/workflows/pr-title.yml", "scripts/check-pr-title.sh", "scripts/check-pr-title.test.sh" ]
[ { "comment": "v6 is latest", "path": ".github/workflows/pr-title.yml", "hunk": "@@ -1,22 +1,24 @@\n name: Validate PR title\n \n on:\n- pull_request_target:\n+ pull_request:\n types:\n - opened\n - reopened\n - edited\n - synchronize\n \n permissions:\n- pull-requests: rea...
diff --git a/scripts/check-pr-title.test.sh b/scripts/check-pr-title.test.sh new file mode 100755 index 00000000000..b8fbf2afb31 --- /dev/null +++ b/scripts/check-pr-title.test.sh @@ -0,0 +1,94 @@ +#!/usr/bin/env bash +# Tests for scripts/check-pr-title.sh +# Asserts pass/fail behavior against representative PR titles....
true
zeroclaw-labs/zeroclaw
6,828
issue_to_patch
fix(web): align provider badge with ConfiguredOnlyPicker filter
## Summary - **Base branch:** `master` (all contributions) - **What changed and why:** `provider_type_badge()` in `api_onboard.rs` returned `"set"` for usable model providers. The Config page landing view (`ConfiguredOnlyPicker` in `Config.tsx`) filters items by `badge === "configured" || badge === "active"` — it neve...
f8509c292e51e0b661c032f5320c9effb0dc4f11
2e6482dbc4fc64376e735a6c13251fcc6525e508
diff --git a/crates/zeroclaw-gateway/src/api_onboard.rs b/crates/zeroclaw-gateway/src/api_onboard.rs index bc862592621..0369c358108 100644 --- a/crates/zeroclaw-gateway/src/api_onboard.rs +++ b/crates/zeroclaw-gateway/src/api_onboard.rs @@ -862,7 +862,7 @@ fn provider_type_badge( } } if has_usable_al...
[ "crates/zeroclaw-gateway/src/api_onboard.rs" ]
[]
true
zeroclaw-labs/zeroclaw
7,274
issue_to_patch
[Bug]: Config writer leaves stale schema_version on partial saves → V3-bodied/schema-2 configs crash older binaries with opaque "missing field provider" ### Affected component runtime/daemon (config load path at daemon/agent startup) ### Severity S1 - workflow blocked (daemon and agent both refuse to start) ### Cu...
fix(config): stamp schema_version on incremental saves
## Summary - **Base branch:** `master` - **What changed and why:** - Incremental saves (`save_dirty`, used by the web dashboard / gateway config CRUD) apply only dirty paths to the existing TOML doc and never touch `schema_version`. When the dashboard writes current-schema-shaped sections (e.g. `[agents.<name>].mode...
526b328f54b7750d4cc25574c8f93329d904c185
f8b8955c623d826506924238e89eb080ebcb8a2c
diff --git a/crates/zeroclaw-config/src/schema.rs b/crates/zeroclaw-config/src/schema.rs index dd8fa82e981..8aa02d210f6 100644 --- a/crates/zeroclaw-config/src/schema.rs +++ b/crates/zeroclaw-config/src/schema.rs @@ -16275,6 +16275,11 @@ impl Config { pub async fn save(&self) -> Result<()> { // Encrypt se...
[ "crates/zeroclaw-config/src/schema.rs" ]
[]
true
zeroclaw-labs/zeroclaw
6,553
issue_to_patch
fix(observability): restore broken SSE /logs stream; add build-stamped version and health pulse for remote/Docker deployments
## Supersedes - #5986 by @FTDGRT ## Integrated scope - From #5986: `LlmResponse` SSE serialization shape — `error_message`, `input_tokens`, and `output_tokens` fields. Token provenance confirmed against `ChatResponse.usage` (authoritative provider count, not a pre-call estimate). - From #5986: `CacheHit` and `CacheM...
ef18e5ed003b81b43ced97929aee6fdfca2833cd
39ff5c902ad74091c0849f8c16ee4f46964d5359
diff --git a/crates/zeroclaw-gateway/build.rs b/crates/zeroclaw-gateway/build.rs index db5f8e69d09..1edae38b7a9 100644 --- a/crates/zeroclaw-gateway/build.rs +++ b/crates/zeroclaw-gateway/build.rs @@ -6,6 +6,56 @@ fn main() { // the build fails, we skip silently — the binary works fine without it. build_web_d...
[ "crates/zeroclaw-gateway/build.rs", "crates/zeroclaw-gateway/src/api.rs", "crates/zeroclaw-gateway/src/lib.rs", "crates/zeroclaw-gateway/src/sse.rs", "crates/zeroclaw-gateway/src/ws.rs", "crates/zeroclaw-providers/src/openai_codex.rs", "crates/zeroclaw-runtime/src/agent/agent.rs", "crates/zeroclaw-run...
[]
diff --git a/crates/zeroclaw-runtime/tests/scheduled_no_conversation_leak_5415.rs b/crates/zeroclaw-runtime/tests/scheduled_no_conversation_leak_5415.rs index cd30986efce..8a16ec41327 100644 --- a/crates/zeroclaw-runtime/tests/scheduled_no_conversation_leak_5415.rs +++ b/crates/zeroclaw-runtime/tests/scheduled_no_conve...
true
zeroclaw-labs/zeroclaw
5,142
issue_to_patch
fix: use RELEASE_TOKEN for tag push in publish step
## Problem The Publish Stable Release step fails with `GH013: Repository rule violations` when pushing the v0.6.7 tag because the checkout uses `GITHUB_TOKEN`, which doesn't have permission to bypass tag protection rules. ## Fix Use `RELEASE_TOKEN` (PAT with tag creation permissions) for the checkout step in the publi...
69a8fe534085476207a3b569cbd2e06fcdef9bb4
4f061a6dcdaa74cadf37524f4e2d6de292811946
diff --git a/.github/workflows/release-stable-manual.yml b/.github/workflows/release-stable-manual.yml index 29941824d8d..828c404f555 100644 --- a/.github/workflows/release-stable-manual.yml +++ b/.github/workflows/release-stable-manual.yml @@ -363,6 +363,8 @@ jobs: url: https://github.com/${{ github.repository ...
[ ".github/workflows/release-stable-manual.yml" ]
[]
true
zeroclaw-labs/zeroclaw
5,839
issue_to_patch
fix(ci): use RELEASE_TOKEN for tag creation in manual dispatch
## Summary - Removes separate `git tag` + `git push` step that used default `GITHUB_TOKEN` (no admin bypass) - Uses `gh release create --target` to atomically create tag + release via `RELEASE_TOKEN` (admin PAT) - Fixes tag protection rule bypass for manual workflow dispatch releases This unblocks the v0.7.0 stable r...
040747908f4c14bccdb8d85e2b0f2a27e2be7014
e63254cfc2dc874ec43c23808700afe43fe38908
diff --git a/.github/workflows/release-stable-manual.yml b/.github/workflows/release-stable-manual.yml index 78270a85cdf..bb79cf9d37a 100644 --- a/.github/workflows/release-stable-manual.yml +++ b/.github/workflows/release-stable-manual.yml @@ -435,26 +435,30 @@ jobs: NOTES: ${{ needs.release-notes.outputs.n...
[ ".github/workflows/release-stable-manual.yml" ]
[]
true
zeroclaw-labs/zeroclaw
5,860
issue_to_patch
fix(ci): split tag push from release creation to avoid immutable-release error
## What Fixes the `Publish Stable Release` job failure on run #24600186487. ## Root cause `gh release create --target` atomically creates a tag and release via a single GitHub API call. GitHub's Immutable Releases feature (GA Oct 2025) adds a check on this API path: if a tag name was ever used by a deleted immutable...
8f543fef384869bea6733a9304e15f470616f7f7
311fd2dea92304c2731023fdfe8dfa5152aafbd3
diff --git a/.github/workflows/release-stable-manual.yml b/.github/workflows/release-stable-manual.yml index 522e6da613d..d1a79dea9e1 100644 --- a/.github/workflows/release-stable-manual.yml +++ b/.github/workflows/release-stable-manual.yml @@ -444,23 +444,22 @@ jobs: EVENT_NAME: ${{ github.event_name }} ...
[ ".github/workflows/release-stable-manual.yml" ]
[]
true
zeromicro/go-zero
5,626
issue_to_patch
chore(deps): bump github.com/zeromicro/go-zero from 1.10.1 to 1.10.2 in /tools/goctl
Bumps [github.com/zeromicro/go-zero](https://github.com/zeromicro/go-zero) from 1.10.1 to 1.10.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/zeromicro/go-zero/releases">github.com/zeromicro/go-zero's releases</a>.</em></p> <blockquote> <h2>v1.10.2</h2> <h3>New Features</h...
0c79f5562ec319bc48cd4cd35918a168f582ce19
353e99680711e867d1bfd0223557f78c929e6ed6
diff --git a/tools/goctl/go.mod b/tools/goctl/go.mod index 9d8eca15255f..d3cc3d37513a 100644 --- a/tools/goctl/go.mod +++ b/tools/goctl/go.mod @@ -16,7 +16,7 @@ require ( github.com/withfig/autocomplete-tools/integrations/cobra v1.2.1 github.com/zeromicro/antlr v0.0.1 github.com/zeromicro/ddl-parser v1.0.5 - gith...
[ "tools/goctl/go.mod", "tools/goctl/go.sum" ]
[]
true
zeromicro/go-zero
5,633
issue_to_patch
chore(deps): bump codecov/codecov-action from 6 to 7
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6 to 7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/codecov/codecov-action/releases">codecov/codecov-action's releases</a>.</em></p> <blockquote> <h2>v7.0.0</h2> <p>⚠️ Due to migration issues wi...
0c79f5562ec319bc48cd4cd35918a168f582ce19
2201fb47c98fdf5a67c2a543212f7924f7b4b63e
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fae304e9d787..7a62107040e7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -40,7 +40,7 @@ jobs: run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... - name: Codecov - uses: codecov/co...
[ ".github/workflows/go.yml" ]
[]
true
zeromicro/go-zero
5,589
issue_to_patch
chore(deps): bump github.com/pelletier/go-toml/v2 from 2.3.0 to 2.3.1
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) from 2.3.0 to 2.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pelletier/go-toml/releases">github.com/pelletier/go-toml/v2's releases</a>.</em></p> <blockquote> <h2>v2.3.1</h2> <!-- raw HTML om...
eb33a8bb363bf5cae6f6c6741508421efecc34c0
65ae9a930d581e797091cf5030a4ea25ec72707a
diff --git a/go.mod b/go.mod index 9f4fcf0d85fb..de520d52fa12 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/jackc/pgx/v5 v5.8.0 github.com/jhump/protoreflect v1.18.0 github.com/modelcontextprotocol/go-sdk v1.4.0 - github.com/pelletier/go-toml/v2 v2.3.0 + github.com/pelletier/go-toml/v2 v...
[ "go.mod", "go.sum" ]
[]
true
zeromicro/go-zero
5,590
issue_to_patch
chore(deps): bump github.com/go-sql-driver/mysql from 1.9.3 to 1.10.0
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.9.3 to 1.10.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/go-sql-driver/mysql/releases">github.com/go-sql-driver/mysql's releases</a>.</em></p> <blockquote> <h2>v1.10.0</h2> <h2>What's C...
34f16a857ea4593d7dcf915e5936f9091e9f799d
b4dec0d6668328b9ff3bac07c265799c1d4cfec6
diff --git a/go.mod b/go.mod index 033b355c7909..9f4fcf0d85fb 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/alicebob/miniredis/v2 v2.38.0 github.com/fatih/color v1.18.0 github.com/fullstorydev/grpcurl v1.9.3 - github.com/go-sql-driver/mysql v1.9.3 + github.com/go-sql-driver/mysql v1.10.0 ...
[ "go.mod", "go.sum" ]
[]
true
zeromicro/go-zero
5,592
issue_to_patch
chore(deps): bump github.com/alicebob/miniredis/v2 from 2.37.0 to 2.38.0
Bumps [github.com/alicebob/miniredis/v2](https://github.com/alicebob/miniredis) from 2.37.0 to 2.38.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/alicebob/miniredis/releases">github.com/alicebob/miniredis/v2's releases</a>.</em></p> <blockquote> <h2>DELEX and fixes</h2> <...
7b5e7b1c26c8b668fc0dadb180174f4790592a6d
5cb76a85433dc76b6f2a5b9beec7a519e59510b8
diff --git a/go.mod b/go.mod index 47574320c6b3..033b355c7909 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.24.0 require ( github.com/DATA-DOG/go-sqlmock v1.5.2 - github.com/alicebob/miniredis/v2 v2.37.0 + github.com/alicebob/miniredis/v2 v2.38.0 github.com/fatih/color v1.18.0 github.com/fullstorydev/g...
[ "go.mod", "go.sum" ]
[]
true
zeromicro/go-zero
5,596
issue_to_patch
chore: fix some function names in comment
fix some function names in comment
7b5e7b1c26c8b668fc0dadb180174f4790592a6d
8796a664e84217f40bb7de1756827b9353ed9a1b
diff --git a/core/discov/internal/registry.go b/core/discov/internal/registry.go index e4ad0e963556..33963e2733a5 100644 --- a/core/discov/internal/registry.go +++ b/core/discov/internal/registry.go @@ -518,7 +518,7 @@ func makeKeyPrefix(key string) string { return fmt.Sprintf("%s%c", key, Delimiter) } -// NewClie...
[ "core/discov/internal/registry.go", "core/stores/monc/cachedmodel_test.go" ]
[]
diff --git a/core/stores/monc/cachedmodel_test.go b/core/stores/monc/cachedmodel_test.go index 4f8fe8fbce37..940db8626a6c 100644 --- a/core/stores/monc/cachedmodel_test.go +++ b/core/stores/monc/cachedmodel_test.go @@ -542,7 +542,7 @@ func mustNewTestModel(collection mon.Collection, c cache.CacheConf, opts ...cach } ...
true
zeromicro/go-zero
5,580
issue_to_patch
fix(discov): prevent unbounded memory growth on duplicate etcd PUT events
## Problem Two related bugs in `core/discov` cause unbounded memory growth in long-running services using zRPC with etcd service discovery. ### Bug 1 — `handleWatchEvents` fires `OnAdd` on every PUT unconditionally When etcd re-emits a `PUT` event for a key that already exists with the same value (lease refresh, wat...
4ad4fd43b7fbe27a4b0dc32d445f9947382a617b
682faff1727fba108e8d51acca8a19f8f063d1ab
diff --git a/core/discov/internal/registry.go b/core/discov/internal/registry.go index c4ab411707b2..e4ad0e963556 100644 --- a/core/discov/internal/registry.go +++ b/core/discov/internal/registry.go @@ -263,14 +263,24 @@ func (c *cluster) handleWatchEvents(ctx context.Context, key watchKey, events [] for _, ev := ran...
[ "core/discov/internal/registry.go", "core/discov/internal/registry_test.go", "core/discov/subscriber.go", "core/discov/subscriber_test.go" ]
[]
diff --git a/core/discov/internal/registry_test.go b/core/discov/internal/registry_test.go index 21f7e079e92a..0d5f6c806841 100644 --- a/core/discov/internal/registry_test.go +++ b/core/discov/internal/registry_test.go @@ -517,7 +517,7 @@ func TestCluster_ConcurrentMonitor(t *testing.T) { go func() { defer wg.Do...
true
zeromicro/go-zero
5,585
issue_to_patch
chore(deps): bump github.com/redis/go-redis/v9 from 9.18.0 to 9.19.0
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.18.0 to 9.19.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/redis/go-redis/releases">github.com/redis/go-redis/v9's releases</a>.</em></p> <blockquote> <h2>9.19.0</h2> <h2>🚀 Highlights</h2> <h3...
3f3dca6f729e55d8010488eef4e7ab9d09246459
47d59d4aa79d0e697dcbdfe8424de0841fef6802
diff --git a/go.mod b/go.mod index 9a91a3df85d7..47574320c6b3 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/modelcontextprotocol/go-sdk v1.4.0 github.com/pelletier/go-toml/v2 v2.3.0 github.com/prometheus/client_golang v1.23.2 - github.com/redis/go-redis/v9 v9.18.0 + github.com/redis/go-r...
[ "go.mod", "go.sum" ]
[]
true
zeromicro/go-zero
5,586
issue_to_patch
chore(deps): bump github.com/grafana/pyroscope-go from 1.2.8 to 1.3.0
Bumps [github.com/grafana/pyroscope-go](https://github.com/grafana/pyroscope-go) from 1.2.8 to 1.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/grafana/pyroscope-go/releases">github.com/grafana/pyroscope-go's releases</a>.</em></p> <blockquote> <h2>godeltaprof/v0.1.8 fix...
4ea0d9e9eaee900dfb4e5d695c941f5814653741
4707c8eda0f6c3492d9839f3774c97e911429a2b
diff --git a/go.mod b/go.mod index bd11a3d81132..9a91a3df85d7 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/golang-jwt/jwt/v4 v4.5.2 github.com/golang/protobuf v1.5.4 github.com/google/uuid v1.6.0 - github.com/grafana/pyroscope-go v1.2.8 + github.com/grafana/pyroscope-go v1.3.0 github....
[ "go.mod", "go.sum" ]
[]
true
zeromicro/go-zero
5,572
issue_to_patch
chore(deps): bump github.com/gookit/color from 1.6.0 to 1.6.1 in /tools/goctl
Bumps [github.com/gookit/color](https://github.com/gookit/color) from 1.6.0 to 1.6.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gookit/color/releases">github.com/gookit/color's releases</a>.</em></p> <blockquote> <h2>v1.6.1</h2> <h2>Change Log</h2> <h3>Fixed</h3> <ul> <l...
52d2bdadcdbd58698c267589c4c08c7f29ee68bf
25d545516ab99684196beaf469dbde3a28346019
diff --git a/tools/goctl/go.mod b/tools/goctl/go.mod index 35100e375eb7..9d8eca15255f 100644 --- a/tools/goctl/go.mod +++ b/tools/goctl/go.mod @@ -8,7 +8,7 @@ require ( github.com/fatih/structtag v1.2.0 github.com/go-openapi/spec v0.21.1-0.20250328170532-a3928469592e github.com/go-sql-driver/mysql v1.10.0 - githu...
[ "tools/goctl/go.mod", "tools/goctl/go.sum" ]
[]
true
zeromicro/go-zero
5,574
issue_to_patch
chore(deps): bump github.com/go-sql-driver/mysql from 1.9.3 to 1.10.0 in /tools/goctl
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.9.3 to 1.10.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/go-sql-driver/mysql/releases">github.com/go-sql-driver/mysql's releases</a>.</em></p> <blockquote> <h2>v1.10.0</h2> <h2>What's C...
3738be1945daed433772e94dfe592c589a526a0a
58b5462031aa695505919216076e03b93d0e05dc
diff --git a/tools/goctl/go.mod b/tools/goctl/go.mod index 9b2575823cde..35100e375eb7 100644 --- a/tools/goctl/go.mod +++ b/tools/goctl/go.mod @@ -7,7 +7,7 @@ require ( github.com/emicklei/proto v1.14.3 github.com/fatih/structtag v1.2.0 github.com/go-openapi/spec v0.21.1-0.20250328170532-a3928469592e - github.com...
[ "tools/goctl/go.mod", "tools/goctl/go.sum" ]
[]
true
zeromicro/go-zero
5,558
issue_to_patch
chore(deps): bump go.mongodb.org/mongo-driver/v2 from 2.5.0 to 2.6.0
Bumps [go.mongodb.org/mongo-driver/v2](https://github.com/mongodb/mongo-go-driver) from 2.5.0 to 2.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mongodb/mongo-go-driver/releases">go.mongodb.org/mongo-driver/v2's releases</a>.</em></p> <blockquote> <h2>MongoDB Go Driver ...
5b74b9ab7b970dcc43100cf69b15a4543c8c5853
e52db6914d7baa6268788d9150e6972e355f39fb
diff --git a/go.mod b/go.mod index 3face3b76afb..bd11a3d81132 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,7 @@ require ( github.com/titanous/json5 v1.0.0 go.etcd.io/etcd/api/v3 v3.5.21 go.etcd.io/etcd/client/v3 v3.5.21 - go.mongodb.org/mongo-driver/v2 v2.5.0 + go.mongodb.org/mongo-driver/v2 v2.6.0 go.opentele...
[ "go.mod", "go.sum" ]
[]
true
zeromicro/go-zero
5,550
issue_to_patch
Support opt-in request metadata access in MCP handlers **Is your feature request related to a problem? Please describe.** The current MCP integration can inspect the original `*http.Request` at the transport boundary (for example in request-based server selection), but MCP tool handlers still cannot access selected r...
feat(mcp): add opt-in request metadata bridge for tool handlers
## Summary Adds an opt-in `WithRequestMetadataExtractor` option to the MCP server that captures HTTP request metadata (headers, query parameters, path variables) and injects it into the handler's `context.Context`. Tool, prompt, and resource handlers can then retrieve this metadata using the provided context helpers. ...
4a67261b7b442b385cb99d8a116734f8a24d5284
89720f60120a93c9bb2f28fb9c8839b2ff7c6200
diff --git a/mcp/options.go b/mcp/options.go new file mode 100644 index 000000000000..09d70df75b1f --- /dev/null +++ b/mcp/options.go @@ -0,0 +1,33 @@ +package mcp + +import "net/http" + +// RequestMetadataExtractor extracts request metadata for downstream handlers. +type RequestMetadataExtractor func(*http.Request) Re...
[ "mcp/options.go", "mcp/readme.md", "mcp/request_metadata.go", "mcp/request_metadata_test.go", "mcp/server.go", "mcp/server_test.go" ]
[ { "comment": "The PR description says this is “fully backward-compatible”, but changing the exported `NewMcpServer` function type from `func(McpConf) McpServer` to a variadic `func(McpConf, ...McpOption) McpServer` is still a breaking change for callers that reference it as a function value (e.g., assign it to ...
diff --git a/mcp/request_metadata_test.go b/mcp/request_metadata_test.go new file mode 100644 index 000000000000..9e2433b4837a --- /dev/null +++ b/mcp/request_metadata_test.go @@ -0,0 +1,185 @@ +package mcp + +import ( + "context" + "net/http" + "net/http/httptest" + "testing" + + "github.com/stretchr/testify/assert" +...
true
zeromicro/go-zero
5,550
comment_to_fix
feat(mcp): add opt-in request metadata bridge for tool handlers
The PR description says this is “fully backward-compatible”, but changing the exported `NewMcpServer` function type from `func(McpConf) McpServer` to a variadic `func(McpConf, ...McpOption) McpServer` is still a breaking change for callers that reference it as a function value (e.g., assign it to a variable of the old ...
4a67261b7b442b385cb99d8a116734f8a24d5284
89720f60120a93c9bb2f28fb9c8839b2ff7c6200
diff --git a/mcp/server.go b/mcp/server.go index fe7e1e8c0ae1..32a10ddc7762 100644 --- a/mcp/server.go +++ b/mcp/server.go @@ -1,6 +1,7 @@ package mcp import ( + "context" "net/http" sdkmcp "github.com/modelcontextprotocol/go-sdk/mcp" @@ -20,10 +21,23 @@ type mcpServerImpl struct { conf McpConf http...
[ "mcp/server.go" ]
[ { "comment": "The PR description says this is “fully backward-compatible”, but changing the exported `NewMcpServer` function type from `func(McpConf) McpServer` to a variadic `func(McpConf, ...McpOption) McpServer` is still a breaking change for callers that reference it as a function value (e.g., assign it to ...
true
zeromicro/go-zero
5,550
comment_to_fix
feat(mcp): add opt-in request metadata bridge for tool handlers
`HeaderFromContext`/`QueryFromContext`/`PathFromContext` each call `RequestMetadataFromContext`, which currently deep-copies all header/query/path maps via `normalizeRequestMetadata`. That means every single lookup clones the full metadata payload, which can be expensive for requests with many headers/query params. Con...
4a67261b7b442b385cb99d8a116734f8a24d5284
89720f60120a93c9bb2f28fb9c8839b2ff7c6200
diff --git a/mcp/request_metadata.go b/mcp/request_metadata.go new file mode 100644 index 000000000000..eeb1a48ca863 --- /dev/null +++ b/mcp/request_metadata.go @@ -0,0 +1,150 @@ +package mcp + +import ( + "context" + "net/http" + + "github.com/zeromicro/go-zero/rest/pathvar" +) + +// RequestMetadata carries selected r...
[ "mcp/request_metadata.go" ]
[ { "comment": "`HeaderFromContext`/`QueryFromContext`/`PathFromContext` each call `RequestMetadataFromContext`, which currently deep-copies all header/query/path maps via `normalizeRequestMetadata`. That means every single lookup clones the full metadata payload, which can be expensive for requests with many hea...
true
zeromicro/go-zero
5,550
comment_to_fix
feat(mcp): add opt-in request metadata bridge for tool handlers
This integration test hard-codes port `19082` and relies on `time.Sleep(300ms)` for readiness. This can be flaky and can fail in CI when the port is already in use or the server starts more slowly. Prefer binding to port `0` (ephemeral) and retrieving the actual listener address, and/or polling until the endpoint respo...
4a67261b7b442b385cb99d8a116734f8a24d5284
89720f60120a93c9bb2f28fb9c8839b2ff7c6200
diff --git a/mcp/server_test.go b/mcp/server_test.go index 171d07fe62b1..37870b4c812e 100644 --- a/mcp/server_test.go +++ b/mcp/server_test.go @@ -3,11 +3,14 @@ package mcp import ( "bytes" "context" + "fmt" + "net" "net/http" "net/http/httptest" "testing" "time" + sdkmcp "github.com/modelcontextprotocol...
[ "mcp/server_test.go" ]
[ { "comment": "This integration test hard-codes port `19082` and relies on `time.Sleep(300ms)` for readiness. This can be flaky and can fail in CI when the port is already in use or the server starts more slowly. Prefer binding to port `0` (ephemeral) and retrieving the actual listener address, and/or polling un...
true
zeromicro/go-zero
5,548
issue_to_patch
etcd resolver target URI breaks with Go 1.26 due to unescaped commas in authority **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, if applicable: 1. The code is ```go package main import ( "fmt" "net/url" ) func main() { u, err := url...
fix(discov): move etcd hosts from URI authority to path for Go 1.26 compatibility
## Problem Go 1.26 enforces strict RFC 3986 URI parsing and rejects comma-separated hosts in the URI **authority** component: ``` url.Parse("etcd://host1:2379,host2:2379,host3:2379/mykey") // parse "etcd://host1:2379,host2:2379,host3:2379/mykey": invalid port ":2379,host2:2379,host3:2379" after host ``` `BuildDiscov...
22bdae078781d9f90dfa1f969deda7df33082d05
e6d974f62e591c36dd06878295cbab26be10ab36
diff --git a/zrpc/resolver/internal/discovbuilder.go b/zrpc/resolver/internal/discovbuilder.go index 1aa5d8f3ac81..a7506f7203c4 100644 --- a/zrpc/resolver/internal/discovbuilder.go +++ b/zrpc/resolver/internal/discovbuilder.go @@ -13,10 +13,10 @@ type discovBuilder struct{} func (b *discovBuilder) Build(target resol...
[ "zrpc/resolver/internal/discovbuilder.go", "zrpc/resolver/internal/discovbuilder_test.go", "zrpc/resolver/internal/targets/endpoints.go", "zrpc/resolver/internal/targets/endpoints_test.go", "zrpc/resolver/target.go", "zrpc/resolver/target_test.go" ]
[ { "comment": "GetHosts/GetKey currently only support the new target format (hosts in URL.Path and etcd key in ?key=). This will break existing single-endpoint legacy targets that are still valid URIs (e.g. \"etcd://localhost:2379/my-service\") and any users providing a custom `Target` string in config. Consider...
diff --git a/zrpc/resolver/internal/discovbuilder_test.go b/zrpc/resolver/internal/discovbuilder_test.go index 334e35632a12..937707c04108 100644 --- a/zrpc/resolver/internal/discovbuilder_test.go +++ b/zrpc/resolver/internal/discovbuilder_test.go @@ -28,7 +28,7 @@ func TestDiscovBuilder_Build(t *testing.T) { for _, s...
true
zeromicro/go-zero
5,548
comment_to_fix
fix(discov): move etcd hosts from URI authority to path for Go 1.26 compatibility
GetHosts/GetKey currently only support the new target format (hosts in URL.Path and etcd key in ?key=). This will break existing single-endpoint legacy targets that are still valid URIs (e.g. "etcd://localhost:2379/my-service") and any users providing a custom `Target` string in config. Consider making GetHosts/GetKey ...
22bdae078781d9f90dfa1f969deda7df33082d05
e6d974f62e591c36dd06878295cbab26be10ab36
diff --git a/zrpc/resolver/internal/targets/endpoints.go b/zrpc/resolver/internal/targets/endpoints.go index 2685f6d2be14..3cd02c5e2bb0 100644 --- a/zrpc/resolver/internal/targets/endpoints.go +++ b/zrpc/resolver/internal/targets/endpoints.go @@ -17,3 +17,29 @@ func GetAuthority(target resolver.Target) string { func G...
[ "zrpc/resolver/internal/targets/endpoints.go" ]
[ { "comment": "GetHosts/GetKey currently only support the new target format (hosts in URL.Path and etcd key in ?key=). This will break existing single-endpoint legacy targets that are still valid URIs (e.g. \"etcd://localhost:2379/my-service\") and any users providing a custom `Target` string in config. Consider...
true
zeromicro/go-zero
5,548
comment_to_fix
fix(discov): move etcd hosts from URI authority to path for Go 1.26 compatibility
GetHosts duplicates GetEndpoints (same implementation) which increases maintenance surface. If the intent is purely semantic, consider implementing GetHosts by delegating to GetEndpoints (or vice versa) so there’s a single trimming implementation to keep consistent (especially if you add legacy-format fallback logic).
22bdae078781d9f90dfa1f969deda7df33082d05
e6d974f62e591c36dd06878295cbab26be10ab36
diff --git a/zrpc/resolver/internal/targets/endpoints.go b/zrpc/resolver/internal/targets/endpoints.go index 2685f6d2be14..3cd02c5e2bb0 100644 --- a/zrpc/resolver/internal/targets/endpoints.go +++ b/zrpc/resolver/internal/targets/endpoints.go @@ -17,3 +17,29 @@ func GetAuthority(target resolver.Target) string { func G...
[ "zrpc/resolver/internal/targets/endpoints.go" ]
[ { "comment": "GetHosts duplicates GetEndpoints (same implementation) which increases maintenance surface. If the intent is purely semantic, consider implementing GetHosts by delegating to GetEndpoints (or vice versa) so there’s a single trimming implementation to keep consistent (especially if you add legacy-fo...
true
zeromicro/go-zero
5,521
issue_to_patch
chore(deps): bump codecov/codecov-action from 5 to 6
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/codecov/codecov-action/releases">codecov/codecov-action's releases</a>.</em></p> <blockquote> <h2>v6.0.0</h2> <h2>⚠️ This version introduces s...
3f91a79a2b1cf2004005240a7bdb441a711c1c91
194c0de7ed8cb6184c03040eb937a954f06957d0
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 421d4657b563..fae304e9d787 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -40,7 +40,7 @@ jobs: run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... - name: Codecov - uses: codecov/co...
[ ".github/workflows/go.yml" ]
[]
true
zeromicro/go-zero
5,523
issue_to_patch
chore(deps): bump google.golang.org/grpc from 1.79.3 to 1.80.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.79.3 to 1.80.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/grpc/grpc-go/releases">google.golang.org/grpc's releases</a>.</em></p> <blockquote> <h2>Release 1.80.0</h2> <h1>Behavior Changes</h1> <ul> <li...
3f91a79a2b1cf2004005240a7bdb441a711c1c91
72b0501f21f51e92a78bb43dc2a2f1bf2d42fffe
diff --git a/go.mod b/go.mod index 282fff5f47af..3face3b76afb 100644 --- a/go.mod +++ b/go.mod @@ -38,7 +38,7 @@ require ( golang.org/x/sys v0.41.0 golang.org/x/time v0.14.0 google.golang.org/genproto/googleapis/api v0.0.0-20260128011058-8636f8732409 - google.golang.org/grpc v1.79.3 + google.golang.org/grpc v1.80...
[ "go.mod", "go.sum" ]
[]
true
zeromicro/go-zero
5,524
issue_to_patch
chore(deps): bump google.golang.org/grpc from 1.79.3 to 1.80.0 in /tools/goctl
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.79.3 to 1.80.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/grpc/grpc-go/releases">google.golang.org/grpc's releases</a>.</em></p> <blockquote> <h2>Release 1.80.0</h2> <h1>Behavior Changes</h1> <ul> <li...
3f91a79a2b1cf2004005240a7bdb441a711c1c91
54d1b56f127d624bac3942c61daab90bb6313a52
diff --git a/tools/goctl/go.mod b/tools/goctl/go.mod index a9b6122e3770..9b2575823cde 100644 --- a/tools/goctl/go.mod +++ b/tools/goctl/go.mod @@ -18,7 +18,7 @@ require ( github.com/zeromicro/ddl-parser v1.0.5 github.com/zeromicro/go-zero v1.10.1 golang.org/x/text v0.34.0 - google.golang.org/grpc v1.79.3 + google...
[ "tools/goctl/go.mod", "tools/goctl/go.sum" ]
[]
true
zeromicro/go-zero
2,825
issue_to_patch
chore: fix missing funcs on windows
167d76b46ddb51e1d32dc481f17b1c50f8ba47ff
9c4523a36c103193c8b16629110517f2eb14e823
diff --git a/core/proc/shutdown+polyfill.go b/core/proc/shutdown+polyfill.go index c9d300fa4166..3d5e135cbb78 100644 --- a/core/proc/shutdown+polyfill.go +++ b/core/proc/shutdown+polyfill.go @@ -15,5 +15,14 @@ func AddWrapUpListener(fn func()) func() { return fn } +// SetTimeToForceQuit does nothing on windows. f...
[ "core/proc/shutdown+polyfill.go" ]
[]
true
zeromicro/go-zero
2,817
issue_to_patch
feat: upgrade go to v1.18
696da4efee22a6c181486fc216fe8225c29edf67
5fa214ec44fe76e6f01df50951029fb88cf889bf
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5e13c5af7018..4692e228d2d8 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: ^1.16 + go-version...
[ ".github/workflows/go.yml", "core/stores/cache/cachenode_test.go", "go.mod", "go.sum", "zrpc/internal/balancer/p2c/p2c_test.go" ]
[]
diff --git a/core/stores/cache/cachenode_test.go b/core/stores/cache/cachenode_test.go index f65110118b00..3213ccbf0c23 100644 --- a/core/stores/cache/cachenode_test.go +++ b/core/stores/cache/cachenode_test.go @@ -1,3 +1,6 @@ +//go:build !race + +// Disable data race detection is because of the timingWheel in cacheNod...
true
zeromicro/go-zero
4,610
issue_to_patch
chore: use logc instead of logx if possible
0bc4206d088b331298a4130a89ca81f09bb5d3d2
490ee4b2a8eb9145d0715cc4fc57fd8fbf6993d6
diff --git a/core/discov/internal/registry.go b/core/discov/internal/registry.go index f440adc3c40a..49463f7bcc92 100644 --- a/core/discov/internal/registry.go +++ b/core/discov/internal/registry.go @@ -11,7 +11,7 @@ import ( "time" "github.com/zeromicro/go-zero/core/lang" - "github.com/zeromicro/go-zero/core/log...
[ "core/discov/internal/registry.go", "core/discov/internal/registry_test.go", "core/discov/publisher.go", "rest/handler/authhandler.go", "rest/handler/breakerhandler.go", "rest/handler/contentsecurityhandler.go", "rest/handler/cryptionhandler.go", "rest/handler/cryptionhandler_test.go", "rest/handler...
[]
diff --git a/core/discov/internal/registry_test.go b/core/discov/internal/registry_test.go index 2f933364d1b9..7a324325604b 100644 --- a/core/discov/internal/registry_test.go +++ b/core/discov/internal/registry_test.go @@ -300,7 +300,7 @@ func TestCluster_handleWatchEvents(t *testing.T) { }, } assert.NotPanic...
true
zeromicro/go-zero
2,820
issue_to_patch
fix: problem on name overlaping in config
eab904af64109dc94c989383a12325e70f9f3ac0
adb1c8d70bb3f755c85792dabcb88727a0b85436
diff --git a/core/conf/config.go b/core/conf/config.go index b64b92580216..062e1b8fa9b6 100644 --- a/core/conf/config.go +++ b/core/conf/config.go @@ -22,7 +22,6 @@ var loaders = map[string]func([]byte, any) error{ type fieldInfo struct { name string - kind reflect.Kind children map[string]fieldInfo } ...
[ "core/conf/config.go", "core/conf/config_test.go", "core/conf/readme.md" ]
[]
diff --git a/core/conf/config_test.go b/core/conf/config_test.go index 7be4f540589b..3465c72924f9 100644 --- a/core/conf/config_test.go +++ b/core/conf/config_test.go @@ -384,6 +384,78 @@ func TestLoadFromYamlBytesLayers(t *testing.T) { assert.Equal(t, "foo", val.Value) } +func TestLoadFromYamlItemOverlay(t *testi...
true
zeromicro/go-zero
2,819
issue_to_patch
chore: update goctl interface{} to any
ae871142822e2ba05132fa69b238d6fe3d284083
85b5c60a0ff37f7d557562ae8ee9a558d4f0a14c
diff --git a/tools/goctl/example/rpc/hello/pb/hello/hello.pb.go b/tools/goctl/example/rpc/hello/pb/hello/hello.pb.go index 257083360f8f..0181ede2a6d7 100644 --- a/tools/goctl/example/rpc/hello/pb/hello/hello.pb.go +++ b/tools/goctl/example/rpc/hello/pb/hello/hello.pb.go @@ -143,7 +143,7 @@ func file_hello_proto_rawDesc...
[ "tools/goctl/example/rpc/hello/pb/hello/hello.pb.go", "tools/goctl/example/rpc/hello/pb/hello/hello_grpc.pb.go", "tools/goctl/example/rpc/hi/pb/hi/hi.pb.go", "tools/goctl/example/rpc/hi/pb/hi/hi_grpc.pb.go", "tools/goctl/model/mongo/generate/generate.go", "tools/goctl/model/sql/README.MD", "tools/goctl/...
[]
diff --git a/tools/goctl/model/sql/test/model/studentmodel.go b/tools/goctl/model/sql/test/model/studentmodel.go index 00903f2c7efc..78c429081eff 100755 --- a/tools/goctl/model/sql/test/model/studentmodel.go +++ b/tools/goctl/model/sql/test/model/studentmodel.go @@ -71,7 +71,7 @@ func (m *defaultStudentModel) Insert(da...
true
zeromicro/go-zero
5,518
issue_to_patch
chore: update goctl version to v1.10.1 and bump go-zero dependency
Update `BuildVersion` to `1.10.1` and bump `go-zero` dependency to `v1.10.1` in preparation for the goctl v1.10.1 release.
8c47c0173981b3489fc15be392964c260856e710
66a48943c24ce633ea39ff923b05f79406cb9528
diff --git a/tools/goctl/go.mod b/tools/goctl/go.mod index 1498dd80909f..a9b6122e3770 100644 --- a/tools/goctl/go.mod +++ b/tools/goctl/go.mod @@ -16,7 +16,7 @@ require ( github.com/withfig/autocomplete-tools/integrations/cobra v1.2.1 github.com/zeromicro/antlr v0.0.1 github.com/zeromicro/ddl-parser v1.0.5 - gith...
[ "tools/goctl/go.mod", "tools/goctl/go.sum", "tools/goctl/internal/version/version.go" ]
[]
true
zeromicro/go-zero
5,457
issue_to_patch
fix(rest/httpc): reject request body for HEAD method in buildRequest
Previously, the function only validated that GET requests must not have a request body. According to RFC 7231 and RFC 9110, HEAD requests also do not define semantics for a request body.
f59a1cb0de27f5c1c6d164cbe16db6257ace1e9d
4679756c9f35d7bb1df85f725b448a6a5e77e500
diff --git a/rest/httpc/requests.go b/rest/httpc/requests.go index 3692eaae03fa..5dd8fb12aa00 100644 --- a/rest/httpc/requests.go +++ b/rest/httpc/requests.go @@ -84,8 +84,11 @@ func buildRequest(ctx context.Context, method, url string, data any) (*http.Requ var reader io.Reader jsonVars, hasJsonBody := val[jsonKey...
[ "rest/httpc/requests.go", "rest/httpc/requests_test.go", "rest/httpc/vars.go" ]
[ { "comment": "The new behavior rejecting JSON bodies for HEAD requests isn’t covered by tests. Please add/extend a unit test (e.g., in rest/httpc/requests_test.go) to assert that Do/buildRequest returns ErrHeadWithBody (and ideally use errors.Is for ErrGetWithBody/ErrHeadWithBody) when a json-tagged payload is ...
diff --git a/rest/httpc/requests_test.go b/rest/httpc/requests_test.go index b309028548fd..de2fec7bab7e 100644 --- a/rest/httpc/requests_test.go +++ b/rest/httpc/requests_test.go @@ -229,3 +229,106 @@ func TestDo_WithClientHttpTrace(t *testing.T) { assert.Nil(t, err) assert.True(t, enter) } + +func TestBuildReques...
true
zeromicro/go-zero
5,457
comment_to_fix
fix(rest/httpc): reject request body for HEAD method in buildRequest
The new behavior rejecting JSON bodies for HEAD requests isn’t covered by tests. Please add/extend a unit test (e.g., in rest/httpc/requests_test.go) to assert that Do/buildRequest returns ErrHeadWithBody (and ideally use errors.Is for ErrGetWithBody/ErrHeadWithBody) when a json-tagged payload is provided with method H...
f59a1cb0de27f5c1c6d164cbe16db6257ace1e9d
4679756c9f35d7bb1df85f725b448a6a5e77e500
diff --git a/rest/httpc/requests.go b/rest/httpc/requests.go index 3692eaae03fa..5dd8fb12aa00 100644 --- a/rest/httpc/requests.go +++ b/rest/httpc/requests.go @@ -84,8 +84,11 @@ func buildRequest(ctx context.Context, method, url string, data any) (*http.Requ var reader io.Reader jsonVars, hasJsonBody := val[jsonKey...
[ "rest/httpc/requests.go" ]
[ { "comment": "The new behavior rejecting JSON bodies for HEAD requests isn’t covered by tests. Please add/extend a unit test (e.g., in rest/httpc/requests_test.go) to assert that Do/buildRequest returns ErrHeadWithBody (and ideally use errors.Is for ErrGetWithBody/ErrHeadWithBody) when a json-tagged payload is ...
true
zeromicro/go-zero
5,513
issue_to_patch
chore(deps): bump github.com/grafana/pyroscope-go from 1.2.7 to 1.2.8
Bumps [github.com/grafana/pyroscope-go](https://github.com/grafana/pyroscope-go) from 1.2.7 to 1.2.8. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/grafana/pyroscope-go/releases">github.com/grafana/pyroscope-go's releases</a>.</em></p> <blockquote> <h2>godeltaprof/v0.1.8 fix...
d44ff6ddc8449ad950e5e948779470fbf9bc4080
bfdf941428d2f873e4389f3c54945095dcb8faf6
diff --git a/go.mod b/go.mod index f86296419c6c..282fff5f47af 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/golang-jwt/jwt/v4 v4.5.2 github.com/golang/protobuf v1.5.4 github.com/google/uuid v1.6.0 - github.com/grafana/pyroscope-go v1.2.7 + github.com/grafana/pyroscope-go v1.2.8 github....
[ "go.mod", "go.sum" ]
[]
true
zeromicro/go-zero
5,512
issue_to_patch
chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.4 to 2.3.0
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) from 2.2.4 to 2.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pelletier/go-toml/releases">github.com/pelletier/go-toml/v2's releases</a>.</em></p> <blockquote> <h2>v2.3.0</h2> <p>This is the f...
6ffa9cabec94ced44d49fd616c7577b21d81b039
ffe20e958091c35cac50ca1f0193b9777369c5c4
diff --git a/go.mod b/go.mod index ec60490e0c73..f86296419c6c 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/jackc/pgx/v5 v5.8.0 github.com/jhump/protoreflect v1.18.0 github.com/modelcontextprotocol/go-sdk v1.4.0 - github.com/pelletier/go-toml/v2 v2.2.4 + github.com/pelletier/go-toml/v2 v...
[ "go.mod", "go.sum" ]
[]
true
zeromicro/go-zero
5,502
issue_to_patch
chore: reorder Eval/EvalCtx after Do/DoCtx in redis.go for consistent method ordering
## Summary Move `Eval`/`EvalCtx` to appear after `Do`/`DoCtx` in `core/stores/redis/redis.go` so that method definitions follow a consistent alphabetical ordering (`D` before `E`). No logic changes — pure cosmetic reordering.
00697215860428677201216545e65d4cb0621423
5ccddb5a342260d3ed2551decdaebf0d7ec2d88d
diff --git a/core/stores/redis/redis.go b/core/stores/redis/redis.go index a9ab5b4d88da..3d20528a9e0a 100644 --- a/core/stores/redis/redis.go +++ b/core/stores/redis/redis.go @@ -406,22 +406,6 @@ func (s *Redis) DelCtx(ctx context.Context, keys ...string) (int, error) { return int(v), nil } -// Eval is the impleme...
[ "core/stores/redis/redis.go" ]
[]
true
zeromicro/go-zero
5,442
issue_to_patch
feat(redis): add Do/DoCtx for generic command execution #5417
### Related Issue - #5417 ### What’s Changed Add generic command execution methods to *redis.Redis: - Do(args ...any) (any, error) - DoCtx(ctx context.Context, args ...any) (any, error) ### Why This Change 1. Fully backward-compatible with existing typed APIs 2. Enables direct usage of module ...
ba9c2758530cf4ae08efdc169d937803e8eca464
40fb33609c8e3bda1b75616fe4bb8bbdcc82ecbb
diff --git a/core/stores/redis/redis.go b/core/stores/redis/redis.go index 1dec67c7c130..a9ab5b4d88da 100644 --- a/core/stores/redis/redis.go +++ b/core/stores/redis/redis.go @@ -65,6 +65,7 @@ type ( // RedisNode interface represents a redis node. RedisNode interface { red.Cmdable + Do(ctx context.Context, args...
[ "core/stores/redis/redis.go", "core/stores/redis/redis_test.go" ]
[]
diff --git a/core/stores/redis/redis_test.go b/core/stores/redis/redis_test.go index a84dc585e4d6..5a37f32d35a2 100644 --- a/core/stores/redis/redis_test.go +++ b/core/stores/redis/redis_test.go @@ -275,6 +275,36 @@ func TestRedis_Eval(t *testing.T) { }) } +func TestRedis_Do(t *testing.T) { + runOnRedis(t, func(cl...
true