Skip to content

feat: add bounded synthetic guest execution harness - #1

Closed
silviuburz with Copilot wants to merge 3 commits into
docs/bounded-execution-harnessfrom
copilot/docsbounded-execution-harness
Closed

silviuburz with Copilot wants to merge 3 commits into
docs/bounded-execution-harnessfrom
copilot/docsbounded-execution-harness

Conversation

Copilot AI commented Oct 9, 2026 •

Copy link
Copy Markdown

What

Implement the first Linux x86-64 milestone from docs/dev/EXECUTION_HARNESS.md, based on docs/bounded-execution-harness in the fork. Reuse the existing converted argv fixture and its deliberate SIGTRAP/SIGILL expectations—synthetic contract evidence, not PS5 equivalence.

  • Supervision: Python standard library; isolated process groups; shared 20-second budget; 256 KiB per-stream limits; bounded cleanup on exit, timeout, flooding and interruption.
  • Evidence: Versioned JSON reports with artifact hashes, build identity, phase diagnostics and reviewed expectations. Reject malformed reports, incomplete observations and expectation substitution.
  • Integration: Preserve linux_entry_argv, register supervisor self-tests automatically with CTest, and retain conversion-only coverage elsewhere. No dependencies or default-build changes.

Tested

Linux x86-64, Release, GCC 13.3, Python 3.12:

  • All 44 CTests passed; supervisor self-tests passed five consecutive runs.
  • Clean-revision proof: conversion 0, Z → SIGTRAP, Z extra → SIGILL; 0.57 seconds.
  • Exercised failure, cleanup, output-limit, interruption and report-validation paths.
  • Registration and implementation conventions passed; CodeQL reported zero alerts.
  • Full-range conventions still flag the inherited Initial plan commit subject.

Checklist

  • Based on current main; no other open PR implements the same functions — based on the user-requested proposal branch instead
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes

Copilot AI and others added 2 commits October 9, 2026 11:11
Co-authored-by: silviuburz <16180869+silviuburz@users.noreply.github.com>
Co-authored-by: silviuburz <16180869+silviuburz@users.noreply.github.com>
@silviuburz silviuburz changed the title [WIP] Implement milestone from EXECUTION_HARNESS.md for AnyPS5 feat: implement bounded synthetic guest execution harness Oct 9, 2026
Copilot AI changed the title feat: implement bounded synthetic guest execution harness feat: add bounded synthetic guest execution harness Oct 9, 2026
Copilot AI requested a review from silviuburz October 9, 2026 11:21
@silviuburz
silviuburz added this pull request to stack #3 October 9, 2026 11:47
Copilot AI mentioned this pull request Oct 9, 2026
8 of 9 tasks
@silviuburz silviuburz closed this Nov 7, 2026
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.

2 participants