deepseek-harness/packages/code-runtime/code-runtime-worker/src
Chinesezjc eb03aa86fe refactor(code-runtime): address seam review — drop worker aliases, tighten dunder
- Worker consumes PORTABLE_RESERVED_WORDS / RESERVED_ERROR_MEMBERS by
  their seam names directly, dropping the local re-alias (symmetry with
  the other two imported constants).
- Split the reserved-vs-duplicate diagnostics: a backend-owned global now
  reports "reserved binding global", not the misleading "duplicate".
- DUNDER_MEMBER uses `__.+__` so a bare `__` (empty middle, not a real
  CPython dunder) is not matched; add coverage.
- Worker misuse tests add `a$b` (second-char `$`) and `lambda` (Python
  keyword) so the identifier narrowing and reserved-word adoption are
  each pinned directly, not only transitively.
- Clarify the seam JSDoc (dunder-vs-explicit-set wording, Python backend
  is a later stack PR) and record in the Agent Note the obligation to
  widen RESERVED_BINDING_GLOBALS when the bootstrap seeds more globals.
2026-08-07 11:20:05 +08:00
..
bootstrap.ts refactor: migrate linting to Oxlint 2026-07-29 14:32:11 +08:00
index.ts refactor(code-runtime): address seam review — drop worker aliases, tighten dunder 2026-08-07 11:20:05 +08:00
invariant.ts fix(invariants): assert runtime relationships, not API shapes 2026-07-20 19:34:19 +08:00
output-json.ts fix(code-runtime): harden captured JSON boundary 2026-07-23 03:32:24 +08:00
protocol.ts fix(code-mode): generalize failures and bound diagnostics 2026-07-23 01:32:17 +08:00
worker-json.ts fix(code-runtime): harden captured JSON boundary 2026-07-23 03:32:24 +08:00
worker.ts Merge remote-tracking branch 'origin/master' into codex/trim-ai-prose 2026-07-14 00:40:36 +08:00