Carries #6 (PR git.enderofwings.com/enderofwings/NexusOS/pulls/6, Athena) forward with two fixes found in review:
Preview iframe watchdog: a hung/runaway script (sync infinite loop, or a re-render loop outpacing the bootstrap coalescing) is now detected via a 1s heartbeat and the frame is torn down after 6s of silence, instead of spinning indefinitely.
_coerce_tool_calls-recovered action tool calls (guessed from content, no native tool_calls field) now always require approval, even under action_tool_policy="allow" - that heuristic is weaker evidence than the APIs own structured field.
Built directly on 6/head (952ef8a) - all of #6 plus this one commit. Merge this instead of #6.
Carries #6 (PR git.enderofwings.com/enderofwings/NexusOS/pulls/6, Athena) forward with two fixes found in review:
- Preview iframe watchdog: a hung/runaway script (sync infinite loop, or a re-render loop outpacing the bootstrap coalescing) is now detected via a 1s heartbeat and the frame is torn down after 6s of silence, instead of spinning indefinitely.
- `_coerce_tool_calls`-recovered action tool calls (guessed from `content`, no native tool_calls field) now always require approval, even under action_tool_policy="allow" - that heuristic is weaker evidence than the APIs own structured field.
Built directly on 6/head (952ef8a) - all of #6 plus this one commit. Merge this instead of #6.
Load Sucrase only when a JSX/TSX preview is opened, remove the hand-written transform, and leave subjective render evaluation to the reader while retaining structural fence validation.
A runaway preview script (sync infinite loop, or a re-render loop
outpacing the bootstrap's own coalescing) had nothing detecting it -
the frame just spun. The bootstrap now heartbeats every second, and the
parent tears the iframe down if it goes _WATCHDOG_MS silent, whatever
the cause.
_coerce_tool_calls recovers a tool call guessed from `content` for
models with no native tool_calls field. That guess is weaker evidence
than the API's own structured field - a model can land on JSON shaped
like a call while only meaning to describe one - so an action tool
recovered this way now always requires approval, even under the
"allow" policy that lets a native tool_calls field run unattended.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Carries #6 (PR git.enderofwings.com/enderofwings/NexusOS/pulls/6, Athena) forward with two fixes found in review:
_coerce_tool_calls-recovered action tool calls (guessed fromcontent, no native tool_calls field) now always require approval, even under action_tool_policy="allow" - that heuristic is weaker evidence than the APIs own structured field.Built directly on 6/head (
952ef8a) - all of #6 plus this one commit. Merge this instead of #6.