ECC/scripts
Kumar Prateek 51a6950bde
fix(memory-vault): compare dev only when both stats report one (#2637)
ecc memory writes and --body-file reads fail on Windows. sameFileIdentity()
compares the dev field of a path-based stat against a handle-based fstat, and
libuv 1.49.0 through 1.50.x resolve path-based stat() and lstat() on Windows
through GetFileInformationByName, which leaves the volume serial unset while
fstat() reports it. The comparison never matches, so the TOCTOU guard rejects
every operation.

Keep the inode strict and compare dev only when both sides report one. POSIX
always reports a non-zero dev, so the original strict behaviour is preserved
there.

Request the guard's stats as BigInt. On the affected libuv versions dev is 0,
which leaves the inode as the only identity signal, and Windows file IDs run
past Number.MAX_SAFE_INTEGER where two distinct files can collapse to the same
number-valued inode.

Fixes #2626
2026-08-08 17:06:18 -04:00
..
ci feat: add retention feedback loop and honest support matrix (#2681) 2026-08-04 21:42:25 -04:00
codemaps
codex fix: add plugin cache health check (#2249) 2026-06-15 14:01:25 -04:00
codex-git-hooks
discord fix(security): discord bot SSRF/log-injection/DoS hardening + bump markdown-it/js-yaml 2026-06-18 19:50:15 -04:00
hooks feat(install): add guided multi-harness installer (#2649) 2026-08-06 15:39:49 -04:00
lib fix(memory-vault): compare dev only when both stats report one (#2637) 2026-08-08 17:06:18 -04:00
auto-update.js style: apply repo formatter to the security-fix files (no behavior change) 2026-06-18 20:03:24 -04:00
build-opencode.js
catalog.js
claw.js fix(security): gateguard classifier bypasses (GHSA-4v57) + Windows CI + claw ReDoS 2026-06-18 20:02:30 -04:00
consult.js feat(install): add guided multi-harness installer (#2649) 2026-08-06 15:39:49 -04:00
control-pane.js
dashboard-web.js fix: harden local dashboard and data boundaries (#2585) 2026-07-27 11:11:29 -07:00
discussion-audit.js
doctor.js feat: add retention feedback loop and honest support matrix (#2681) 2026-08-04 21:42:25 -04:00
ecc.js fix(ito-compute): complete device auth lifecycle (#2706) 2026-08-07 14:53:13 -04:00
feedback.js feat: add retention feedback loop and honest support matrix (#2681) 2026-08-04 21:42:25 -04:00
gan-harness.sh fix(skills): default GAN harness models to sonnet (#2442) (#2695) 2026-08-06 17:42:22 -04:00
gemini-adapt-agents.js fix: use scalar Claude agent tools (#2583) 2026-07-26 03:20:15 -07:00
github-coordination.js refactor: apply code-review findings to github-native coordination 2026-06-11 14:05:42 -04:00
harness-adapter-compliance.js
harness-audit.js fix: guard two script edge cases (tolerant package.json parse, set -u empty array) (#2088) 2026-06-07 13:01:21 +08:00
install-apply.js feat(install): add guided multi-harness installer (#2649) 2026-08-06 15:39:49 -04:00
install-guided.js feat(install): add guided multi-harness installer (#2649) 2026-08-06 15:39:49 -04:00
install-plan.js
ito.js fix(ito-compute): complete device auth lifecycle (#2706) 2026-08-07 14:53:13 -04:00
list-installed.js
loop-status.js
mcp-inventory.js feat: MCP inventory (ecc.mcp.v1) — unified cross-harness MCP config view (#2146) 2026-06-06 03:55:17 +08:00
memory-mcp.mjs fix(mcp): accept reserved _meta field in tools/call params (#2670) 2026-08-04 00:28:09 -04:00
memory.js feat: add cross-harness memory vault (#2581) 2026-07-26 02:46:59 -07:00
observability-readiness.js
operator-readiness-dashboard.js
orchestrate-codex-worker.sh
orchestrate-worktrees.js
orchestration-status.js
plan-canvas.js fix: harden plan canvas code scanning alerts 2026-07-22 16:28:07 -04:00
platform-audit.js
preview-pack-smoke.js
proximity-tick.js feat(layer4): live messages-table wiring for proximity triggers 2026-06-20 20:49:17 -04:00
release-approval-gate.js fix(release): derive approval gate paths from version (#2383) 2026-06-29 15:50:55 -07:00
release-video-suite.js fix(release): derive video suite paths from version (#2384) 2026-06-29 15:50:57 -07:00
release.sh feat(install): add guided multi-harness installer (#2649) 2026-08-06 15:39:49 -04:00
repair.js feat: add retention feedback loop and honest support matrix (#2681) 2026-08-04 21:42:25 -04:00
session-inspect.js
sessions-cli.js
setup-package-manager.js
setup.js feat(install): add guided multi-harness installer (#2649) 2026-08-06 15:39:49 -04:00
skill-create-output.js
skills-health.js
status.js feat: add github-native coordination (epic-* commands + scripts + tests) 2026-06-11 12:58:11 -04:00
sync-ecc-to-codex.sh feat(codex): add ECC navigation guide (#2525) 2026-07-22 20:44:37 -04:00
uninstall.js feat: add retention feedback loop and honest support matrix (#2681) 2026-08-04 21:42:25 -04:00
welcome.js feat(install): add guided multi-harness installer (#2649) 2026-08-06 15:39:49 -04:00
work-items.js feat(control-pane): interactive JIT board — claim/move cards from the webapp 2026-06-18 18:16:46 -04:00
worktree-lifecycle.js feat: worktree-lifecycle service (deterministic conflict prediction + safe GC) (#2164) 2026-06-07 13:00:08 +08:00