diff options
| author | Agando <roduccomm@gmail.com> | 2026-10-23 20:59:29 +0200 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-10-23 20:59:29 +0200 |
| commit | bc99dfba1898123ea824de98a2d5a06e996ed667 (patch) | |
| tree | ad9927db7f3504e2e02c2a9e600fdf533f898c89 /modules/core/module-memory-graph.js | |
| parent | b93cd918e967c147b6169fa5bb89241bd7488525 (diff) | |
fix(newos4): outboxResult scoped, markdown mime, old reply path retired (v4.6.81)
delegateTask declared `const outboxResult` inside the AI branch and returned it outside, so a
delegation with the AI module missing threw 'outboxResult is not defined'. The catch turned that
into _handleAgentFailure: the worker stayed idle with no result while spawn_agent reported ok —
the reported symptom exactly. Now function-scoped, and the no-module path returns
'queued — AI module not loaded, nothing executed' rather than claiming 'completed'.
Also: nginx served _docs/*.md as application/octet-stream (no .md type) — now text/markdown +
nosniff; agent-replies.php returns 410 for GET as well as POST, so there is one reply path.
Verified: with the AI module deleted at runtime, delegateTask returns the queued string and
throws nothing.
Diffstat (limited to 'modules/core/module-memory-graph.js')
0 files changed, 0 insertions, 0 deletions