openclaw/src/shared
cxbAsDev 593423ecc0
fix(shared): bound ignore-file reads during workspace scans (#101429)
* fix(shared): bound ignore-file reads during workspace scans

* fix(shared): import bounded reader through infra policy wrapper

* fix(shared): preserve chained-symlink ignore files while bounding reads

* fix(shared): correct ignore-rules test calls and remove dead return

* fix(shared): restore ignore matcher return value from addIgnoreRules

* fix(shared): fail closed on oversized ignore files during scans

* style(shared): format ignore-rules signature

* test(shared): rename misleading under-cap ignore-file test

* chore: retrigger CI for unrelated flaky run-with-env shutdown test

* fix(shared): make oversized ignore-file exclusion terminal

* test(shared): remove loadSkillsFromDir dependency for main compat

* chore: retrigger dead-code scan after Periphery/Homebrew flake

* fix(scans): fail closed on ignore read races

* fix(scans): treat fail-closed ignore paths literally

Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com>

* fix(scans): preserve native ignore path semantics

Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com>

* fix(scans): bound ignore rule amplification

Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com>

* fix(scans): preserve case-insensitive fail-closed matching

Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com>

* fix(scans): preserve bounded ignore composition

Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com>

* fix(scans): satisfy matcher method binding lint

Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com>

* fix(scans): preserve ignore matcher case mode

Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com>

* fix(scans): keep matcher options internal

Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com>

* fix(scans): require matcher case contract

Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com>

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: Peter Steinberger <peter@steipete.me>
2026-07-18 15:31:42 +01:00
..
text chore: enforce max-lines suppression ratchet (#107315) 2026-07-14 09:27:02 -07:00
account-enabled.test.ts
account-enabled.ts
agent-liveness.test.ts test(shared): add unit tests for agent liveness state helpers (#98546) 2026-07-17 17:09:02 -07:00
agent-liveness.ts
agent-run-status.test.ts
agent-run-status.ts
assistant-error-format.test.ts fix(shared): reject HTTP status codes outside the 100-599 range (#110554) 2026-07-18 10:44:31 +01:00
assistant-error-format.ts fix(shared): reject HTTP status codes outside the 100-599 range (#110554) 2026-07-18 10:44:31 +01:00
avatar-limits.test.ts fix(control-ui): harden workspace avatar projection (#103657) 2026-07-10 13:31:22 +01:00
avatar-limits.ts fix(control-ui): harden workspace avatar projection (#103657) 2026-07-10 13:31:22 +01:00
avatar-policy.test.ts refactor(deadcode): trim mid-size src exports (#105888) 2026-07-13 00:42:56 -07:00
avatar-policy.ts refactor(deadcode): trim mid-size src exports (#105888) 2026-07-13 00:42:56 -07:00
balanced-json.ts
bounded-buffer.test.ts refactor(terminal): unify bounded buffers (#107337) 2026-07-14 03:04:37 -07:00
bounded-buffer.ts refactor(terminal): unify bounded buffers (#107337) 2026-07-14 03:04:37 -07:00
chat-content.test.ts
chat-content.ts
chat-envelope.test.ts
chat-envelope.ts
chat-message-content.test.ts
chat-message-content.ts
config-eval.test.ts refactor(shared): privatize internal helpers (#106868) 2026-07-13 15:40:31 -07:00
config-eval.ts refactor(shared): privatize internal helpers (#106868) 2026-07-13 15:40:31 -07:00
config-ui-hints-types.ts
custom-command-config.ts refactor(deadcode): trim mid-size src exports (#105888) 2026-07-13 00:42:56 -07:00
deferred.test.ts
deferred.ts
device-auth-store.test.ts refactor(shared): privatize internal helpers (#106868) 2026-07-13 15:40:31 -07:00
device-auth-store.ts refactor(shared): privatize internal helpers (#106868) 2026-07-13 15:40:31 -07:00
device-auth.test.ts
device-auth.ts
device-bootstrap-profile.test.ts feat: ask_user follow-ups — harness convergence, channel finalization + reactions, native cards, docked web panel (#110372) 2026-07-18 03:32:39 -04:00
device-bootstrap-profile.ts feat: ask_user follow-ups — harness convergence, channel finalization + reactions, native cards, docked web panel (#110372) 2026-07-18 03:32:39 -04:00
device-pairing-access.test.ts
device-pairing-access.ts refactor(deadcode): trim mid-size src exports (#105888) 2026-07-13 00:42:56 -07:00
entry-metadata.test.ts
entry-metadata.ts
entry-status.test.ts refactor(shared): narrow entry status API (#106856) 2026-07-14 06:24:21 +08:00
entry-status.ts refactor(shared): narrow entry status API (#106856) 2026-07-14 06:24:21 +08:00
env-var-candidates.ts
fast-mode.ts feat: contract sessions-family tool outputs (#110424) 2026-07-18 06:43:12 +01:00
frontmatter.test.ts
frontmatter.ts refactor(deadcode): trim mid-size src exports (#105888) 2026-07-13 00:42:56 -07:00
gateway-bind-url.test.ts
gateway-bind-url.ts
gateway-method-policy.ts
gateway-tailscale-auth-policy.ts
global-singleton.test.ts
global-singleton.ts
google-turn-ordering.ts
html-entities.test.ts refactor(html): share entity decoding 2026-07-14 00:00:05 -07:00
html-entities.ts refactor(html): share entity decoding 2026-07-14 00:00:05 -07:00
human-list.test.ts
human-list.ts fix(core): make indexed access explicit across remaining src (NUIA phase 3b) (#104773) 2026-07-11 20:47:34 -07:00
ignore-rules.test.ts fix(shared): bound ignore-file reads during workspace scans (#101429) 2026-07-18 15:31:42 +01:00
ignore-rules.ts fix(shared): bound ignore-file reads during workspace scans (#101429) 2026-07-18 15:31:42 +01:00
import-specifier.ts
iso-time.test.ts fix(clawhub): reject calendar-invalid feed timestamps (#106942) 2026-07-17 19:02:43 +01:00
iso-time.ts fix(clawhub): reject calendar-invalid feed timestamps (#106942) 2026-07-17 19:02:43 +01:00
json-schema-defaults.test.ts
json-schema-defaults.ts chore: enforce max-lines suppression ratchet (#107315) 2026-07-14 09:27:02 -07:00
json-schema.types.ts
lazy-promise.test.ts refactor: dedupe small async primitives (#105961) 2026-07-12 22:34:53 -07:00
lazy-promise.ts refactor: dedupe small async primitives (#105961) 2026-07-12 22:34:53 -07:00
lazy-runtime.test.ts
lazy-runtime.ts refactor(deadcode): trim mid-size src exports (#105888) 2026-07-13 00:42:56 -07:00
levenshtein-distance.ts fix(core): make indexed access explicit across remaining src (NUIA phase 3b) (#104773) 2026-07-11 20:47:34 -07:00
listeners.ts
lobster-day.ts feat(webchat,cli): the lobster notices things (#103573) 2026-07-10 10:25:08 +01:00
markdown-code.test.ts
markdown-code.ts
message-content-blocks.ts
model-key.test.ts test(shared): add unit tests for modelKey (#98795) 2026-07-17 17:20:59 -07:00
model-key.ts
model-param-b.test.ts
model-param-b.ts
node-list-parse.test.ts chore(tooling): enforce indexed access in core tests (#105375) 2026-07-12 14:29:52 +01:00
node-list-parse.ts refactor(gateway): retire the standalone node pairing store (#103120) 2026-07-09 22:58:03 +01:00
node-list-types.ts feat(nodes): route alerts to the active computer (#105083) 2026-07-12 10:05:50 +01:00
node-match.test.ts refactor(shared): privatize internal helpers (#106868) 2026-07-13 15:40:31 -07:00
node-match.ts refactor(shared): privatize internal helpers (#106868) 2026-07-13 15:40:31 -07:00
node-presence.test.ts test(shared): add unit tests for normalizeNodePresenceAliveReason (#98802) 2026-07-17 17:19:54 -07:00
node-presence.ts feat(nodes): route alerts to the active computer (#105083) 2026-07-12 10:05:50 +01:00
node-resolve.test.ts
node-resolve.ts fix(nodes): resolve Unicode browser node names when configured by display name (#103548) 2026-07-10 23:32:28 +01:00
node-skill-constraints.ts feat: node-hosted plugins — dynamic tools, MCP servers, and skills (#90431) 2026-07-11 10:16:34 -07:00
number-coercion.test.ts test(shared): add unit tests for numeric coercion helper (#98663) 2026-07-18 07:17:34 +01:00
number-coercion.ts
operator-scope-compat.test.ts
operator-scope-compat.ts
path-array-index.test.ts test(shared): add unit tests for parseConfigPathArrayIndex (#98543) 2026-07-17 17:08:50 -07:00
path-array-index.ts
pid-alive.test.ts fix(infra): bound macOS process start probes (#109064) 2026-07-16 11:36:07 -07:00
pid-alive.ts fix(infra): bound macOS process start probes (#109064) 2026-07-16 11:36:07 -07:00
progress-labels.ts fix: use plain agent progress labels (#107260) 2026-07-14 01:00:24 -07:00
regexp.ts
requirements.test.ts refactor(shared): privatize requirement helpers (#106837) 2026-07-14 05:50:55 +08:00
requirements.ts refactor(shared): privatize requirement helpers (#106837) 2026-07-14 05:50:55 +08:00
runtime-import.test.ts refactor(shared): privatize internal helpers (#106868) 2026-07-13 15:40:31 -07:00
runtime-import.ts refactor(shared): privatize internal helpers (#106868) 2026-07-13 15:40:31 -07:00
safe-record.ts refactor: consolidate duplicate helper exports (#106016) 2026-07-13 03:22:00 -07:00
scoped-expiring-id-cache.test.ts
scoped-expiring-id-cache.ts
session-types.ts refactor(deadcode): trim mid-size src exports (#105888) 2026-07-13 00:42:56 -07:00
session-usage-timeseries-types.ts
silent-reply-policy.test.ts refactor(shared): privatize internal helpers (#106868) 2026-07-13 15:40:31 -07:00
silent-reply-policy.ts refactor(shared): privatize internal helpers (#106868) 2026-07-13 15:40:31 -07:00
store-writer-queue.test.ts
store-writer-queue.ts refactor(deadcode): trim mid-size src exports (#105888) 2026-07-13 00:42:56 -07:00
string-sample.test.ts
string-sample.ts
subagents-format.test.ts refactor(shared): privatize internal helpers (#106868) 2026-07-13 15:40:31 -07:00
subagents-format.ts refactor(shared): privatize internal helpers (#106868) 2026-07-13 15:40:31 -07:00
tailscale-status.test.ts
tailscale-status.ts
text-chunking.test.ts
text-chunking.ts refactor: consolidate duplicate helper exports (#106016) 2026-07-13 03:22:00 -07:00
thread-binding-lifecycle.test.ts
thread-binding-lifecycle.ts
tilde-path.ts
tool-activity-heartbeat.ts fix(agents): add tool-activity heartbeat to keep subagent alive during tool calls (#95536) 2026-07-11 17:50:33 +08:00
transcript-only-openclaw-assistant.ts fix(sessions): prevent delivery-mirror prompt contamination with adjacent dedup and identity fallback (#99470) (#99504) 2026-07-16 15:19:49 -07:00
usage-aggregates.test.ts
usage-aggregates.ts
usage-types.ts