Documentation
¶
Overview ¶
Package testprocess identifies Go test binaries at host-mutation boundaries. It deliberately links testing.Testing into production code because the Go runtime signal is what detects custom-named test executables reliably.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsGoTestBinary ¶
IsGoTestBinary combines the Go runtime's authoritative test-mode signal with the conventional executable suffix. The runtime signal covers custom-named binaries produced with "go test -o"; the suffix remains a fail-closed backup when a test executable is inspected outside the usual test startup path.
func RefuseDaemonLifecycleMutation ¶
RefuseDaemonLifecycleMutation rejects host daemon/service mutations from a Go test process or an agent execution context. Callers use this both before orchestration can mutate files or receipts and at the lowest process/service primitive available. Tests that exercise the allowed path inject a no-op guard only into a private seam; there is deliberately no environment-variable or process-global bypass.
Types ¶
This section is empty.