Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
#!/usr/bin/env bash
set -euo pipefail
# #604 runtime proof. The underlying gate enforces branch/profile provenance,
# holds its fault-injection lock and restores HCC before returning a verdict.
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
: "${MINIKUBE_PROFILE:?explicit branch-owned profile required}"
: "${CONTROL_API_REAL_PG_CONTEXT:?explicit branch-owned context required}"
[[ "$MINIKUBE_PROFILE" = "$CONTROL_API_REAL_PG_CONTEXT" ]] || {
echo 'FAIL: profile and context must match' >&2
exit 2
}
# Restoration owns 270 seconds plus a 30-second supervisor margin. T2 exports
# its validated actual runner grace; refuse direct/default-grace entry before
# enabling fault injection. The runner's maximum grace is also 300 seconds.
[[ "${T2_HEALTHCHECK_KILL_GRACE_SECONDS:-}" = 300 ]] || {
echo 'FAIL: lifecycle requires T2_HEALTHCHECK_KILL_GRACE_SECONDS=300 (270s cleanup + 30s margin); use make minikube-t2-hcc-networkpolicy-lifecycle' >&2
exit 2
}
export KUBECONTEXT="$CONTROL_API_REAL_PG_CONTEXT"
export E2E_HCC_WATCH_FAULT_INJECTION=1
export E2E_HCC_POLICY_LIFECYCLE=1
export E2E_EXPECTED_PRE_GATE_GATE=minikube-t2
# The two real MCP workloads in the lifecycle fixture provide the business
# witness. Other synthetic McpServers would add unrelated crashing workloads.
export FLEET_CONTEXTS=1 FLEET_MCPSERVERS=0 FLEET_HOSTS=1
export CHURN_MIN_CUTS=3 CHURN_OBSERVE_SEC=45
# A healthy small fleet can recover between 1 Hz probes. This lane proves
# three real watch reconnections, stable policies and business recovery; it
# does not claim a minimum number of sampled outages. The stress gate's
# default sampled-recovery requirement remains unchanged for its own callers.
export MIN_CHURN_RECOVERIES=0
exec bash "$SCRIPT_DIR/e2e-hcc-watch-churn-readiness.sh"