codexsim

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 18 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

func CompareDelivery(preserved, suppressed string) error

Compare actual Go Receive streams, including untouched mixed/unknown facts. This assertion belongs to the Go SDK driver, never the generic runner.

func ValidateChildDelivery

func ValidateChildDelivery(root string, background bool) error

Verify actual public Go Receive delivery against native child facts. Source reports supply expectations, not a replacement event stream.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL