Skip to content

fix(runtime): refuse inventing guest exit 0 from clean provider when terminal absent - #404

Merged
ZhiXiao-Lin merged 3 commits into
mainfrom
honesty/linux-exit-refuse-provider-zero-absent
Sep 15, 2026
Merged

ZhiXiao-Lin merged 3 commits into
mainfrom
honesty/linux-exit-refuse-provider-zero-absent

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Linux resolve_workload_exit_code no longer projects guest success from provider/shim exit 0 when the private terminal status file is absent and no legacy .a3s_exit_code marker exists (PendingOrInvalid parity).
  • Nonzero provider crash evidence and authenticated Complete / legacy markers are unchanged.
  • Unit tests cover invent-0 refusal and legacy marker keep. Does not flip B2, invent Live digests, or widen timeouts.

Test plan

  • cargo test -p a3s-box-runtime absent_terminal_
  • Format/Clippy/Test/SDK CI green

Made with Cursor

ZhiXiao-Lin and others added 3 commits September 15, 2026 20:33
…terminal absent

Match PendingOrInvalid: only nonzero provider crash evidence or authenticated legacy markers count when private terminal status is missing.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 3a96d9c into main Sep 15, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the honesty/linux-exit-refuse-provider-zero-absent branch September 15, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant