aboutsummaryrefslogtreecommitdiff
path: root/modules/core/module-fs.js
diff options
context:
space:
mode:
authorAgando <roduccomm@gmail.com>2026-10-21 22:50:03 +0200
committerAgando <roduccomm@gmail.com>2026-10-21 22:50:03 +0200
commit128f0f3694ae4ddeb5833c94a7c40ac9e22b4c31 (patch)
treee72eeb4c2659dabb323b5b866cf6e2f70487a80c /modules/core/module-fs.js
parent6e7418288a09fe2cd811efc53ee32b59768b5dcc (diff)
fix(newos4): GLM review follow-ups for AI read/context (v4.6.47)
- loop guard: a mutation unblocks the replay but no longer erases the repeat counter (identical mutating calls could loop forever) - tool traces are per agent tag, flushed in a catch as well as on success, ring-buffered (first 2 + last 10) so verification reads survive - read_file notes are metadata only (path/range/next_offset); no file bodies, no secrets, and web_search/web_fetch output is excluded from durable context (injection surface) - trace is role:'system' (was 'assistant' — the model re-read it as its own answer) - surrogate-safe pagination, 500 floor / 16000 cap, prompt limits aligned - prompt now names checks that exist in the in-page terminal (test, grep -n, wc -l) - compressed summary capped at 4000 chars; denied-destructive tool result carries tool_call_id
Diffstat (limited to 'modules/core/module-fs.js')
0 files changed, 0 insertions, 0 deletions