Documentation
¶
Index ¶
- func AcceptExistingChildren(ctx context.Context, root string, mock *mocktest.Session, rawPath string, ...) (err error)
- func AcceptFlow(ctx context.Context, mock *mocktest.Session, path string, ...) (err error)
- func AcceptRemoteClose(ctx context.Context, ...) (err error)
- func AcceptSavedHistory(ctx context.Context, mock *mocktest.Session, recordingPath string, ...) (err error)
- func CompareDelivery(preserved, suppressed string) error
- func ValidateChildDelivery(root string, background bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptExistingChildren ¶
func AcceptExistingChildren(ctx context.Context, root string, mock *mocktest.Session, rawPath string, policy codex.ChildDetailPolicy, deliveries io.Writer) (err error)
AcceptExistingChildren creates real child history on main, then resumes the same execution on probe and enumerates descendants without new input.
func AcceptFlow ¶
func AcceptFlow(ctx context.Context, mock *mocktest.Session, path string, policy codex.ChildDetailPolicy, deliveries io.Writer) (err error)
AcceptFlow executes recorded native operations through public Session and Client APIs. The recording supplies inputs and expected facts, never outbound frames.
func AcceptRemoteClose ¶
func AcceptRemoteClose(ctx context.Context, root, mainEndpoint, mainToken, probeEndpoint, probeToken string) (err error)
AcceptRemoteClose runs NewRemote against the runner-owned offline WebSocket service. The runner independently verifies both peer receipts and service cleanup. These are SDK simulation results, not native remote E2E. The caller verifies the case provenance before invoking this adapter.
func AcceptSavedHistory ¶
func AcceptSavedHistory(ctx context.Context, mock *mocktest.Session, recordingPath string, policy codex.ChildDetailPolicy, deliveries io.Writer) (err error)
AcceptSavedHistory runs captured setup through Session and saved queries through typed Client methods. The caller verifies provenance; the Go mock owns matching. It supports history and sequential continuation only, and fails closed on other operations. It never writes recorded client frames directly to the transport.
func CompareDelivery ¶
Compare actual Go Receive streams, including untouched mixed/unknown facts. This assertion belongs to the Go SDK driver, never the generic runner.
func ValidateChildDelivery ¶
Verify actual public Go Receive delivery against native child facts. Source reports supply expectations, not a replacement event stream.
Types ¶
This section is empty.