feat/codemode-goja-phase1 #20

Merged
clawdie merged 2 commits from feat/codemode-goja-phase1 into main 2026-10-06 17:24:11 +02:00
Owner
No description provided.
- Embed pure-Go Goja JavaScript runtime (github.com/dop251/goja) with zero CGO
- Enforce strict pure-computation isolation: no filesystem, no shell/bash, no subprocesses, no network
- Wire deterministic context cancellation interrupt watcher halting loops in <50ms
- Enforce maximum call stack depth (1000) preventing memory exhaustion on recursion
- Cap execution output payload at 1 MB preventing heap exhaustion
- Add comprehensive test suite covering math/JSON calculation, recursion, timeout, and output capping
- Cross-compile verified on Linux and FreeBSD (GOOS=freebsd CGO_ENABLED=0)
feat(agent): bound log buffer and support optional timeout in codemode
All checks were successful
leak-guard / guard (pull_request) Successful in 1s
49a9e09c8e
clawdie deleted branch feat/codemode-goja-phase1 2026-10-06 17:24:11 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
clawdie/zot!20
No description provided.