feat(automation): normalize headless runtime output#523
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
message_update/tool_execution_updateevents; keep a 16 MB per-stream cap as the second guardRuntime contract checks
item.updatedcurrently carries todo-list updates. Parser now covers top-level and item errors, failed/declined commands, failed file/MCP calls, web search, and collaboration. Local success sampling is blocked by the installed CLI/model compatibility (gpt-5.6-solrequires a newer Codex), while its real failure stream and the version-matched official event schema are covered.Verification
pnpm test— 2512 passed, 6 skippednpx tsc --noEmitcd ui && npx tsc -bpnpm build/automation/runs: 69 historical runs, bounded 84.5 px prompt headers, structured reply/tool display, renamed runtime diagnosticspnpm electron:smoke:workspace— packaged Electron Chat Workspace, Git/CLI manifests, managed Pi async task, structured tool output, compacted diagnostics, CLI side effect, and cleanup all passedOperational cleanup
Removed legacy oversized files only from
~/.openalice/workspaces/state/headless-logs: eight 77 MB–3.0 GB files plus six 17–45 MB files. The directory dropped from roughly 5 GB to 115 MB; Workspace contents were untouched.This PR is intentionally left open for product review; do not auto-merge yet.