AI-powered virtual executive team — a single coherent executive persona backed by 8 specialist agents (FastAPI + Next.js).
docs: count nine specialists where the docs still said eight (#450)
Rufusac047b0efd70
diff --git a/CLAUDE.md b/CLAUDE.mdindex 99343df5..604e85a8 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -2,7 +2,7 @@## Project Overview-Open Executive is a multi-agent AI system acting as a virtual corporate executive. Python backend (FastAPI) + Next.js 15 frontend. The "Executive" is a single coherent persona backed by 8 specialist sub-agents, all powered by the Anthropic Claude API.+Open Executive is a multi-agent AI system acting as a virtual corporate executive. Python backend (FastAPI) + Next.js 15 frontend. The "Executive" is a single coherent persona backed by 9 specialist sub-agents, all powered by the Anthropic Claude API.## Repository Layoutdiff --git a/docs/architecture.md b/docs/architecture.mdindex 611b29fb..20373a3a 100644--- a/docs/architecture.md+++ b/docs/architecture.md@@ -16,7 +16,7 @@ openexecutive/│ ├── core/ # Python backend│ │ └── openexecutive/│ │ ├── orchestrator/ # Executive persona + routing loop-│ │ ├── agents/ # 8 specialist agents + triage+│ │ ├── agents/ # 9 specialist agents + triage│ │ ├── knowledge/ # ChromaDB store + RAG pipeline│ │ ├── memory/ # Company profile + episodic memory│ │ ├── onboarding/ # Conversational interview + commit; wizard fallbackdiff --git a/fixtures/README.md b/fixtures/README.mdindex ad217a85..3a3f7c31 100644--- a/fixtures/README.md+++ b/fixtures/README.md@@ -120,7 +120,7 @@ fixtures/companies/<name>/### Authoring `departments.yaml`-A department can be specialist-aligned (mapped to one of the 8 specialist agents) or informational-only:+A department can be specialist-aligned (mapped to one of the 9 specialist agents) or informational-only:```yamldepartments:diff --git a/packages/core/openexecutive/api/main.py b/packages/core/openexecutive/api/main.pyindex 2d76d23b..a0896bc2 100644--- a/packages/core/openexecutive/api/main.py+++ b/packages/core/openexecutive/api/main.py@@ -415,7 +415,7 @@ async def lifespan(app: FastAPI) -> AsyncIterator[None]:except Exception:logging.getLogger("openexecutive").exception("chat-app conversation split failed")- # Departments: persistent state layer over the 8 specialist agents. Init+ # Departments: persistent state layer over the specialist agents. Init# AFTER episodic_db so the additive ALTERs (department column on decisions,# initiatives, advice_given, scheduled_actions) have already run by the# time anything else writes to those tables.diff --git a/packages/core/openexecutive/departments/__init__.py b/packages/core/openexecutive/departments/__init__.pyindex a077dc7a..0e80f354 100644--- a/packages/core/openexecutive/departments/__init__.py+++ b/packages/core/openexecutive/departments/__init__.py@@ -1,4 +1,4 @@-"""Departments package — persistent state layer for the 8 specialist agents.+"""Departments package — persistent state layer for the specialist agents.See `plans/lets-plan-this-out-twinkling-crystal.md` for the full feature shape.Phase 1 ships only the model + store + registry + API; downstream phasesdiff --git a/packages/core/openexecutive/departments/models.py b/packages/core/openexecutive/departments/models.pyindex 0375092b..5fb5a0c0 100644--- a/packages/core/openexecutive/departments/models.py+++ b/packages/core/openexecutive/departments/models.py@@ -75,7 +75,7 @@ class DepartmentConfig(BaseModel):title: str# Key into orchestrator.router.SPECIALIST_REGISTRY. Nullable: some org# structures (nonprofits, SMBs) have departments that do not map to one- # of the 8 specialist agents — e.g. "Volunteer Coordination", "Family+ # of the specialist agents — e.g. "Volunteer Coordination", "Family# Services". Those departments render as informational rows in the UI# and are skipped by specialist-routing workflows.specialist_key: str | None = Nonediff --git a/packages/core/openexecutive/orchestrator/workflow_authoring_tools.py b/packages/core/openexecutive/orchestrator/workflow_authoring_tools.pyindex 945f49ac..94491265 100644--- a/packages/core/openexecutive/orchestrator/workflow_authoring_tools.py+++ b/packages/core/openexecutive/orchestrator/workflow_authoring_tools.py@@ -105,7 +105,7 @@ DRAFT_WORKFLOW_TOOL: dict[str, Any] = {"confirm_token and a summary of the plan. You MUST show the summary to ""the user and get explicit confirmation, then call save_workflow with ""the SAME definition and the confirm_token. Do NOT invent specialists, "- "people, or metrics — only use the 8 specialist roles and people the "+ "people, or metrics — only use the specialist roles and people the ""user has identified. If validation fails, the response lists exactly ""what to fix; re-draft and try again. A workflow with action (tool) ""steps is saved switched OFF: after saving, give the user the link so "diff --git a/packages/core/tests/unit/test_architecture_facts.py b/packages/core/tests/unit/test_architecture_facts.pyindex b7ea9178..1ed0fa95 100644--- a/packages/core/tests/unit/test_architecture_facts.py+++ b/packages/core/tests/unit/test_architecture_facts.py@@ -204,7 +204,7 @@ def test_gather_facts_core_hash_is_idempotent() -> None:def test_gather_facts_runs_without_kb() -> None:"""Smoke-test the assembly path with KB disabled (no ChromaDB needed)."""bundle = gather_facts(include_kb=False)- # Pulled from the live registry — at minimum, the eight specialists + triage.+ # Pulled from the live registry — at minimum, the nine specialists + triage.assert len(bundle.agents) >= 8# Workflows registry is non-empty.assert len(bundle.workflows) >= 1