From 67478aef7b867171c3eb5169841c1c48167fb5cb Mon Sep 17 00:00:00 2001 From: nprodromou <73134621+nprodromou@users.noreply.github.com> Date: Thu, 7 May 2026 09:24:56 -0700 Subject: [PATCH] entrypoint: default PLANE_GATEWAY_URL to v3 (per-agent routing) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plane Gateway v3 dispatches to per-agent sub-workflows so attribution in Plane stays correct. Agent must include `user: $AGENT` in every gateway request body — documented in agent-config CLAUDE.md. v2.1 still alive as fallback for ~1 week post-rollout. Override via PLANE_GATEWAY_URL env on the pod if you need to point back at v21. --- bin/entrypoint.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/entrypoint.sh b/bin/entrypoint.sh index 0c6ff08..7bb9c30 100644 --- a/bin/entrypoint.sh +++ b/bin/entrypoint.sh @@ -44,7 +44,11 @@ git config --global url."https://github.com/".insteadOf "git@github.com:" gh auth setup-git # Plane Gateway env (consumed by tools/scripts the user runs in-shell). -export PLANE_GATEWAY_URL="${PLANE_GATEWAY_URL:-https://n8n.prodromou.com/webhook/plane-gateway-v21}" +# v3 routes per-agent so Plane attribution stays correct; agents must +# include `user: $AGENT` in every gateway request body. v2.1 stays as a +# fallback for ~1 week post-rollout — set PLANE_GATEWAY_URL explicitly +# in the pod env to override. +export PLANE_GATEWAY_URL="${PLANE_GATEWAY_URL:-https://n8n.prodromou.com/webhook/plane-gateway-v3}" # Per-agent config + auth bootstrap. Each agent variant declares: # AGENT_CONFIG_DIR — where the agent CLI looks for config (~/.codex, ~/.claude)