Documentation
¶
Overview ¶
Package herdr implements Agent Layer's session-only HerdR recovery hook.
Index ¶
Constants ¶
const ( EnvEnabled = "HERDR_ENV" EnvSocketPath = "HERDR_SOCKET_PATH" EnvPaneID = "HERDR_PANE_ID" EnvDispatch = "AL_DISPATCH_ACTIVE" EnvDevExecutable = "AL_DEV_EXECUTABLE" EnvDevBypass = "AL_DEV_BYPASS_VERSION_DISPATCH" // #nosec G101 -- environment switch, not a credential. )
Environment names supplied by HerdR or Agent Layer's development launcher.
const (
// HookTimeoutSeconds is shared with generated native hook configuration.
HookTimeoutSeconds = 35
)
Variables ¶
This section is empty.
Functions ¶
func CaptureLaunch ¶
CaptureLaunch binds session hooks to an AL terminal launch in this project. It stores identity only; recovery reapplies canonical project configuration.
func CodexTitleDisabled ¶ added in v0.24.1
CodexTitleDisabled reads Codex's supported empty-list title preference.
func HandleForRoot ¶
func HandleForRoot(provider, root string, in io.Reader, out, errOut io.Writer, environ []string) error
HandleForRoot binds a generated project hook to its AL terminal launch.
func WriteBoundary ¶
WriteBoundary writes one private identity record before a native child is started. A sanitised hook stops at this ancestor instead of borrowing an older HerdR launch context. Dispatch invokes this explicitly because its normal launch environment intentionally strips AL_DISPATCH_ACTIVE.
Types ¶
This section is empty.