Commit Graph

16 Commits

Author SHA1 Message Date
Peter Steinberger 0fa0315a75 fix(cron): reject malformed Code Mode scripts when scheduling (#118100)
* fix(cron): reject malformed Code Mode scripts

Reject invalid JavaScript syntax during cron add and update so CLI and agent callers receive an actionable location before persistence. Preserve the async Code Mode grammar, including top-level await and return. Fixes #118088.

* fix(cron): keep enabled-only patches working for stored malformed scripts
2026-08-02 11:48:37 -07:00
Peter Steinberger a154b4faea refactor: consolidate Teams and error helpers (#117907) 2026-08-02 02:02:17 -07:00
Peter Steinberger 8ad4e858fd fix(ci): repair red main — align QA evidence timeout guard, drop stale code-mode symbols
The qa-profile-evidence timeout was deliberately raised to 90m (28e09a04d3)
without its workflow guard; code-mode-repair.ts grew a local copy of
CodeModeFailurePhase stranding the runtime re-export, and the matrix test
kept an unused validateQaEvidenceSummaryJson import.
2026-07-29 00:48:09 -07:00
Vincent Koc 892907bf25 fix(agents): bound Code Mode repair retries (#115729) 2026-07-29 15:26:00 +08:00
Peter Steinberger 86b68bc8e3 refactor(code-mode): prepare MCP namespaces once per run (#115459)
* refactor(code-mode): prepare MCP namespaces once per run

* fix(code-mode): remove unused MCP declaration paths
2026-07-28 21:11:16 -04:00
Peter Steinberger d9d2d2482d fix(agents): prevent Code Mode resume loss and unbounded preparation (#115314)
* fix(agents): harden code mode lifecycle and deadlines

* fix(agents): retain narrowed headless settlement frontier
2026-07-28 13:35:37 -04:00
Peter Steinberger c903ca8158 feat(agents): default code mode to per-model auto activation (#114906) 2026-07-28 03:00:22 -04:00
Peter Steinberger 681535cb8b fix(code-mode): bound and simplify worker lifecycles (#114945)
* fix(code-mode): bound and simplify worker lifecycles

* fix(code-mode): keep worker input internal

* fix(code-mode): retry failed wasm initialization safely

* docs(code-mode): explain live node tool budget invariant

* test(code-mode): prove hostless promises fail without worker churn
2026-07-28 02:08:17 -04:00
Peter Steinberger 61bd5af77e feat(code-mode): first-class skills access (#114894)
* feat(agents): add code mode skills access

* test(agents): enforce code mode skills prompt parity

* fix(agents): drop stale code mode catalog binding

* test(agents): align embedded skill entry mock
2026-07-28 00:32:03 -04:00
Peter Steinberger e1ced6de50 fix(code-mode): preserve concurrent tool execution safely (#114884)
* fix(code-mode): preserve concurrent tool execution safely

* fix(code-mode): keep worker settlement type private
2026-07-27 23:45:21 -04:00
Peter Steinberger ea707382fd feat(code-mode): first-class nodes API (#114877)
* feat(agents): add nodes to code mode

* fix(agents): add code mode nodes discovery hint
2026-07-27 23:03:23 -04:00
Peter Steinberger 7394262cd1 feat: per-model code-mode capability flags with an "auto" master-switch tier (#114695)
* feat(tools): per-model code-mode capability flags and auto master-switch tier

* feat(anthropic): flag claude-sonnet-4-6 as code-mode preferred

* revert(anthropic): drop claude-sonnet-4-6 from the code-mode preferred set

* test(anthropic): type the manifest compat field in the catalog contract test

* fix(anthropic): carry catalog compat onto hand-built forward-compat model rows
2026-07-27 16:47:41 -04:00
Peter Steinberger 3a39dbcdfd fix(agents): harden code mode module isolation (#114742) 2026-07-27 16:38:44 -04:00
Peter Steinberger d9e6d00261 fix(agents): safely parse Code Mode module boundaries (#114651) 2026-07-27 13:50:40 -04:00
Sasan 7599bbe636 fix(agents): stop code-mode shell-command retry storms (#113070)
Reject recognizable POSIX and Windows shell source before QuickJS execution while preserving valid JavaScript, TypeScript, syntax errors, standard globals, and real hoisted bindings. Add real-worker regression coverage and adversarial cross-platform stress proof. Fixes #113069.
2026-07-27 08:10:37 -04:00
Peter Steinberger e52222cdef refactor(agents): split code mode execution (#113669)
* refactor(agents): split code mode execution

* refactor(agents): keep code mode bridge type private
2026-07-25 06:22:25 -07:00