Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

docs(minikube): treat a T1 next: line as not a Docker repair license

Alfredo Lopez4769f5dd3d4c
diff --git a/.cursor/rules/minikube-t0-t1-t2.mdc b/.cursor/rules/minikube-t0-t1-t2.mdc
index 88086635a..dda3388a8 100644
--- a/.cursor/rules/minikube-t0-t1-t2.mdc
+++ b/.cursor/rules/minikube-t0-t1-t2.mdc
@@ -45,6 +45,10 @@ repository — never mix its PRs or clusters into this lane.
The JSON reporter must be complete and green and the Vitest process must also
exit zero. Role-reset suites use the throwaway `postgres:16-alpine`, never
shared `control-postgres`.
+- A T1 `next:` line or `REAL_PG_REQUIRED_BUT_UNAVAILABLE` is not a Docker
+ license. Do not `docker run` probes, `docker desktop restart` (destroys the
+ Minikube container), or experiment with published ports. Re-enter
+ `make minikube-t2` or `make minikube-t2-real-postgres` on the owned profile.
- Self-healing single run: the orchestrator planner (`T2_PLAN_MODE=true`)
selects `full-reconcile` (naming the deployment) for a bootstrapped profile
with an unready required deployment — never `PROFILE_UNHEALTHY` before a
diff --git a/.cursor/skills/minikube-t0-t1-t2/SKILL.md b/.cursor/skills/minikube-t0-t1-t2/SKILL.md
index a089af573..c5e4d876e 100644
--- a/.cursor/skills/minikube-t0-t1-t2/SKILL.md
+++ b/.cursor/skills/minikube-t0-t1-t2/SKILL.md
@@ -130,4 +130,6 @@ Before committing anything else, run `make minikube-t2-public-boundary`.
Failures print a stable code and a next safe command. Repair the FIRST
reported precondition and re-run the same entry point on the same HEAD.
Do not widen the command, switch clusters, reset PVCs, or delete locks with a
-live owner. Code-by-code guidance is in `reference.md`.
+live owner. A T1 `next:` line is not permission to operate Docker
+(`docker run`, `docker desktop restart`, port probes). Code-by-code
+guidance is in `reference.md`.
diff --git a/.cursor/skills/minikube-t0-t1-t2/reference.md b/.cursor/skills/minikube-t0-t1-t2/reference.md
index a1f8a9b1d..052c58985 100644
--- a/.cursor/skills/minikube-t0-t1-t2/reference.md
+++ b/.cursor/skills/minikube-t0-t1-t2/reference.md
@@ -37,6 +37,13 @@ Companion to `SKILL.md`. Source of truth: `scripts/minikube/t2.sh`,
green, and the Vitest process must also exit zero.
Role-reset suites stay on the throwaway `postgres:16-alpine` (#412), never
shared `control-postgres`.
+- **Do not treat a T1 `next:` line as a Docker repair license.**
+ `REAL_PG_REQUIRED_BUT_UNAVAILABLE` (isolated `postgres:16-alpine` not
+ reachable) still means re-enter `make minikube-t2` or
+ `make minikube-t2-real-postgres` on the owned profile. Forbidden:
+ `docker run` probes, `docker desktop restart` (destroys the Minikube
+ container and the owned profile), published-port experiments, and any
+ invented networking path between plan and verdict.
## Stable failure codes
@@ -49,6 +56,7 @@ Companion to `SKILL.md`. Source of truth: `scripts/minikube/t2.sh`,
| `DEVELOPMENT_SCOPE_REQUIRED` | Preflight/final preflight failed a precondition, or T2-only mode was attempted without `already-synced`. | Repair the first reported condition; if T2-only was refused, run full `make minikube-t2`. |
| `ZERO_TESTS_EXECUTED` | A lane was configured off or executed nothing (including a required-but-missing Playwright journey). | Re-run with the lane enabled, or supply the required `T2_PLAYWRIGHT_COMMAND`. |
| `POSTGRES_NOT_READY` | PostgreSQL precondition failed, or a PVC reset was requested without the exact expected UID. | Fix DB readiness; never guess a PVC UID. |
+| `REAL_PG_REQUIRED_BUT_UNAVAILABLE` | Isolated T1 `postgres:16-alpine` (or the shared-lane DSN/port-forward) did not become reachable. | Confirm Docker Desktop is up, then re-run `make minikube-t2` or `make minikube-t2-real-postgres` on the owned profile. Do not `docker run`, restart Docker Desktop, or probe published ports. |
| `PROFILE_UNHEALTHY` | A required deployment is unready in a fail-loud check (`T2_PLAN_MODE=false`: standalone preflight or the final exact-head T2), or the opt-in user-facing health command failed. The orchestrator planner never emits this for an unready deployment — it selects `full-reconcile` instead. | Re-run `make minikube-t2` on the same HEAD; the single run reconciles and restores GFS credentials itself. Do not run manual repair scripts between runs. |
## GFS restore pointers (high level, no secrets)
diff --git a/AGENTS.md b/AGENTS.md
index a21b3f620..a769985a8 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -83,6 +83,10 @@ only the internal planner so `full-bootstrap` is reachable).
`make minikube-pre-gate-sync` alone never constitutes T2 evidence.
Follow the rule `.cursor/rules/minikube-t0-t1-t2.mdc` and the skill
`.cursor/skills/minikube-t0-t1-t2/SKILL.md` for the certification workflow.
+A T1 `next:` line or `REAL_PG_REQUIRED_BUT_UNAVAILABLE` is not a license to
+operate Docker: do not `docker run` probes, `docker desktop restart`, or
+experiment with published ports. Re-enter `make minikube-t2` or
+`make minikube-t2-real-postgres` on the owned profile.
After T0 and T1 are already green on the same HEAD and owned profile, close
T2 with `make minikube-t2-runtime` (`T2_RUN_T0=false T2_RUN_T1=false`). That
diff --git a/scripts/e2e/minikube-real-postgres.sh b/scripts/e2e/minikube-real-postgres.sh
index 008712ab3..8702725fc 100755
--- a/scripts/e2e/minikube-real-postgres.sh
+++ b/scripts/e2e/minikube-real-postgres.sh
@@ -284,11 +284,11 @@ start_isolated_postgres() {
-p "127.0.0.1:${ISOLATED_PORT}:5432" \
"$T1_ISOLATED_PG_IMAGE" >/dev/null; then
ISOLATED_CONTAINER=""
- T1_NEXT_COMMAND='repair Docker image postgres:16-alpine, then re-run T1'
+ T1_NEXT_COMMAND='confirm Docker Desktop can run postgres:16-alpine, then re-run make minikube-t2 or make minikube-t2-real-postgres on the owned profile; do not docker run probes or docker desktop restart'
die_t1 REAL_PG_REQUIRED_BUT_UNAVAILABLE 'isolated T1 PostgreSQL container failed to start'
fi
if ! wait_for_tcp "$ISOLATED_PORT"; then
- T1_NEXT_COMMAND='repair Docker networking for the isolated T1 PostgreSQL, then re-run T1'
+ T1_NEXT_COMMAND='re-run make minikube-t2 or make minikube-t2-real-postgres on the owned profile; do not docker run probes, docker desktop restart, or experiment with published ports'
die_t1 REAL_PG_REQUIRED_BUT_UNAVAILABLE 'isolated T1 PostgreSQL did not become reachable'
fi
local deadline ready=false
@@ -301,7 +301,7 @@ start_isolated_postgres() {
sleep 1
done
if [ "$ready" != true ]; then
- T1_NEXT_COMMAND='inspect the isolated T1 PostgreSQL container, then re-run T1'
+ T1_NEXT_COMMAND='re-run make minikube-t2 or make minikube-t2-real-postgres on the owned profile; do not docker run probes, docker desktop restart, or experiment with published ports'
die_t1 REAL_PG_REQUIRED_BUT_UNAVAILABLE 'isolated T1 PostgreSQL did not become ready'
fi
ISOLATED_DSN="$(printf '%s' "$ISOLATED_PORT" | python3 -c '