diff options
| author | Agando <roduccomm@gmail.com> | 2026-10-23 21:22:30 +0200 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-10-23 21:22:30 +0200 |
| commit | 70d7da9dc07f19661a74b19157473de86819e4eb (patch) | |
| tree | 05fc109dca7a852b457b2035f4993c25a1e1c00e /modules/core/module-memory-graph.js | |
| parent | 20afa4faf03d863fa796e9edfbb555d3355d5fa2 (diff) | |
fix(newos4): world_model_query default path parses again (v4.6.83-84)
_modelDigest() returned JSON.stringify(...) cut at 4000 chars plus '…(digest truncated)'. The
tool then did JSON.parse() on it, so the default detail threw 'Unexpected end of JSON input'
every single call; detail:'full' worked only because it returned the object untouched.
The digest now returns an OBJECT (_modelSnapshot) and shrinks by reducing list lengths, then by
dropping whole sections with an explicit 'omitted' list. The string form is generated at the
edge and is always valid JSON.
Verified: default call -> no error, 13-key snapshot, facts answered; caps 400/1200/4000 all under
cap and parseable; the residual floor at cap 200 is identity fields only.
Diffstat (limited to 'modules/core/module-memory-graph.js')
0 files changed, 0 insertions, 0 deletions