From 30698622929fab1c98f0d84ea6db9c98c934b163 Mon Sep 17 00:00:00 2001 From: mschoi Date: Tue, 27 Oct 2026 11:48:48 +0900 Subject: [PATCH] =?UTF-8?q?fix(autonomy):=20drop=20the=20decepticon.subage?= =?UTF-8?q?nts=20registration=20=E2=80=94=20full=20independence?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Registering the AutoBot agent as a Decepticon subagent re-coupled the two products (the red orchestrator embedding the defender), contradicting the full-independence migration decision. The purple loop belongs to the orchestration layer (Cybertron, design doc §9), not to Decepticon embedding AutoBot. The decepticon.agents entry-point (graph serving for decepticon[blue]) stays — that is the approved client path (§0.5). --- packages/autobot/autobot/agent/autobot.py | 18 ------------------ packages/autobot/pyproject.toml | 4 ---- 2 files changed, 22 deletions(-) diff --git a/packages/autobot/autobot/agent/autobot.py b/packages/autobot/autobot/agent/autobot.py index f46ba82..6dcc584 100644 --- a/packages/autobot/autobot/agent/autobot.py +++ b/packages/autobot/autobot/agent/autobot.py @@ -41,7 +41,6 @@ blue_sensor_search, blue_sensor_timeline, ) -from decepticon_core.plugin_loader import SubAgentSpec _ROLE = "autobot" _RECURSION_LIMIT = 400 @@ -115,23 +114,6 @@ def create_autobot_agent( ).with_config({"recursion_limit": recursion_limit or _RECURSION_LIMIT}) -# The red orchestrator dispatches AutoBot as a subagent (the purple loop): -# discovered via the ``decepticon.subagents`` entry-point declared in this -# package's metadata. parent_agents pins it to the ``decepticon`` main agent. -SUBAGENT_SPEC = SubAgentSpec( - name="autobot", - description=( - "AutoBot — independent read-only defender. Investigates live local " - "target telemetry and the always-on monitor's incidents, then reports " - "evidence and uncertainty. No bash or containment tools." - ), - factory=create_autobot_agent, - parent_agents=("decepticon",), - bundle="standard", - priority=90, -) - - def __getattr__(name: str): # Module-level lazy graph attribute — the Decepticon graph registry's # ``decepticon.agents`` discovery contract requires a module-level diff --git a/packages/autobot/pyproject.toml b/packages/autobot/pyproject.toml index 7f9a4a2..14bbfdf 100644 --- a/packages/autobot/pyproject.toml +++ b/packages/autobot/pyproject.toml @@ -78,10 +78,6 @@ autobot = "autobot.role:ROLE_SPEC" [project.entry-points."decepticon.agents"] autobot = "autobot.agent.autobot:graph" -# The red orchestrator dispatches blue_cell as a subagent when this package -# is installed (``decepticon[blue]``) — the purple loop's defender side. -[project.entry-points."decepticon.subagents"] -autobot = "autobot.agent.autobot:SUBAGENT_SPEC" [project.urls] Homepage = "https://github.com/BitterSecurity/AutoBot"