Files
chimera-gfx-Public/docs/retroarch/phase-1.0ac-fake-syscall-contract.md
T
Chimera GFX release export a6037502d7
phase0-ci / build-and-audit (push) Successful in 2m14s
Publish Chimera GFX source
2026-09-03 03:27:14 +02:00

1.4 KiB

Phase 1.0AC fake-syscall contract

This contract is executable only against the exact built-in fake facade.

Synthetic operation Accepted result Rule
CREATE_STREAM OK, ERROR exactly once after a precommitted receipt
SET_NONBLOCKING OK, ERROR immediately after create
START_CONNECT IMMEDIATE, PENDING, ERROR contains no target or address
WAIT_WRITE READY, INTERRUPTED, TIMEOUT, ERROR remaining fake budget is rechecked
GET_SO_ERROR ZERO, NONZERO, ERROR mandatory after pending readiness
WRITE_BYTES PROGRESS, ZERO, ERROR positive progress cannot exceed remainder
WAIT_READ READY, INTERRUPTED, TIMEOUT, ERROR deadline wins a simultaneous readiness event
READ_BYTES PROGRESS, EOF, ERROR EOF is failure; total input is bounded
local close OK, ERROR one call after ownership; none if create failed

The facade accepts at most 1,024 scripted steps. One step may advance the fake clock by at most 60 seconds. These are model bounds, not proposed live values. Unused synthetic steps are logically discarded at close; physical memory erasure is not proven.

There is deliberately no adapter protocol, inheritance hook, address field, network import or live factory. A later phase cannot reinterpret this fake as device authorization.