Skip to content
Python

Hold the SWE Lead back from the release picker

Rohit C Prasad9a8764d407d2
diff --git a/coworker/personas/builtin/swe-lead/manifest.md b/coworker/personas/builtin/swe-lead/manifest.md
index d2e7446f..7c0931a3 100644
--- a/coworker/personas/builtin/swe-lead/manifest.md
+++ b/coworker/personas/builtin/swe-lead/manifest.md
@@ -1,4 +1,5 @@
---
+ships: false
id: swe-lead
name: SWE Lead
icon: users
diff --git a/tests/test_persona_registry.py b/tests/test_persona_registry.py
index a21330e6..65cbf5fc 100644
--- a/tests/test_persona_registry.py
+++ b/tests/test_persona_registry.py
@@ -34,14 +34,14 @@ def test_release_lineup(tmp_path, monkeypatch):
# Code is listed in Settings but disabled + unsurfaced (the recovery path).
monkeypatch.delenv("OPENWORKER_UNSHIPPED", raising=False)
reg = _reg(tmp_path)
- # 2026-09-04: the Reviewer (a solo PR reviewer for the GitHub configurations) and
- # the SWE Lead ship too (owner vision: an SWE team on a machine).
+ # 2026-09-04: the Reviewer (a solo PR reviewer for the GitHub configurations) ships
+ # too. The SWE Lead is held back for 0.3.0 (owner, 2026-09-29: not fully tested yet).
assert [e["name"] for e in reg.sidebar()] == [
- "cowork", "cloud-posture", "dep-audit", "reviewer", "security", "swe-lead",
+ "cowork", "cloud-posture", "dep-audit", "reviewer", "security",
]
listed = {p["id"]: p for p in reg.list_all()}
assert set(listed) == {
- "cowork", "code", "cloud-posture", "dep-audit", "reviewer", "security", "swe-lead",
+ "cowork", "code", "cloud-posture", "dep-audit", "reviewer", "security",
}
assert listed["code"]["enabled"] is False and listed["code"]["surfaced"] is False
assert listed["cloud-posture"]["group"] == "security"
diff --git a/tests/test_reviewer_persona.py b/tests/test_reviewer_persona.py
index d62a1868..d9cfaa77 100644
--- a/tests/test_reviewer_persona.py
+++ b/tests/test_reviewer_persona.py
@@ -50,10 +50,12 @@ def test_swe_lead_can_answer_the_channels_it_listens_to():
assert m.connectors == ("github", "slack") and m.can_chat is True
-def test_reviewer_and_swe_lead_ship(tmp_path, monkeypatch):
+def test_reviewer_ships_and_the_swe_team_is_held_back(tmp_path, monkeypatch):
monkeypatch.delenv("OPENWORKER_UNSHIPPED", raising=False)
reg = PersonaRegistry(state_path=tmp_path / "personas.json")
ids = [e["name"] for e in reg.sidebar()]
- assert "reviewer" in ids and "swe-lead" in ids
- # The SWE Lead's workers stay unshipped and unsurfaced; the lead staffs them anyway.
- assert not any(i in ids for i in ("swe-worker", "design-worker", "test-worker"))
+ assert "reviewer" in ids
+ # The SWE Lead is held back for 0.3.0 (owner, 2026-09-29); its workers stay unshipped
+ # and unsurfaced too. On an internal build the lead is offered and staffs them anyway.
+ assert not any(i in ids for i in ("swe-lead", "swe-worker", "design-worker", "test-worker"))
+ assert reg.get("swe-lead") is not None # still loaded: a team already running keeps working
diff --git a/tests/test_server.py b/tests/test_server.py
index 0073976e..23b9d2d1 100644
--- a/tests/test_server.py
+++ b/tests/test_server.py
@@ -66,7 +66,7 @@ def test_agents_and_memory_rest(tmp_path):
# ships:false personas (teams, ops, design) need OPENWORKER_UNSHIPPED=1.
names = [a["name"] for a in agents]
assert names[0] == "cowork"
- assert set(names) == {"cowork", "security", "cloud-posture", "dep-audit", "reviewer", "swe-lead"}
+ assert set(names) == {"cowork", "security", "cloud-posture", "dep-audit", "reviewer"}
assert "skills" in client.get("/v1/skills").json() # catalog (may be empty)
added = client.post("/v1/memory", json={"content": "prefer pathlib"}).json()