From 30d6dd055793c62210762e747e10b9aece1ee4f8 Mon Sep 17 00:00:00 2001 From: Dev Agent Date: Wed, 3 Jun 2026 10:53:17 +0300 Subject: [PATCH] feat(config): add per-agent Plane bot token settings Add 7 optional bot-token fields (plane_bot_analyst..stream) read from the ORCH_PLANE_BOT_* env vars, default empty. Required for per-agent comment authorship; empty values fall back to the shared orchestrator token. --- src/config.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/config.py b/src/config.py index 09e5068..7cbb72a 100644 --- a/src/config.py +++ b/src/config.py @@ -9,6 +9,17 @@ class Settings(BaseSettings): plane_webhook_secret: str = "" plane_project_id: str = "" + # Per-agent Plane bot tokens (feat: per-agent comment authorship). + # When set, add_comment posts under the matching bot so Plane shows the + # real author (Analyst/Architect/...). Empty -> fallback to plane_api_token. + plane_bot_analyst: str = "" + plane_bot_architect: str = "" + plane_bot_developer: str = "" + plane_bot_reviewer: str = "" + plane_bot_tester: str = "" + plane_bot_deployer: str = "" + plane_bot_stream: str = "" + # Gitea gitea_url: str = "http://localhost:3000" gitea_token: str = ""