Intelligence
Artifacts
Browse the repository, read documents, and manage the governance folders. Source, runtime, and infrastructure are read-only.
Repository
repositories/aaf-holdings/hq01/lib/executives/offices.ts
2.9 KB
import type { ExecutiveOffice } from "./types";
/**
* The catalogue of executive offices and the work each routes. This is the seed
* for the filesystem registry and the taxonomy the deterministic router matches
* against. Adding an office here is how the organization grows — future-proofed
* for more executives without code changes elsewhere.
*
* Only Agent Z (CTO) is staffed/active initially; the others exist as offices
* and require an approved proposal before they can be dispatched to.
*/
export const EXECUTIVE_OFFICES: ExecutiveOffice[] = [
{
id: "agent-z",
office: "Chief Technology Officer",
displayName: "Agent Z",
department: "engineering",
parent: "ivan",
routes: [
"coding",
"repositories",
"architecture",
"bug fixes",
"technical audits",
"infrastructure",
"deployments",
"integrations",
"schemas",
"APIs",
"UI implementation",
],
},
{
id: "strategy-executive",
office: "Chief Strategy Officer",
displayName: "Chief Strategy Officer",
department: "strategy",
parent: "ivan",
routes: [
"new product brainstorming",
"business model design",
"market positioning",
"platform expansion",
"company structure",
"roadmap strategy",
"competitive strategy",
],
},
{
id: "marketing-executive",
office: "Chief Marketing Officer",
displayName: "Chief Marketing Officer",
department: "marketing",
parent: "ivan",
routes: [
"campaigns",
"content strategy",
"lead magnets",
"social media",
"positioning",
"brand",
"funnel design",
],
},
{
id: "finance-executive",
office: "Chief Financial Officer",
displayName: "Chief Financial Officer",
department: "finance",
parent: "ivan",
routes: [
"pricing",
"billing strategy",
"unit economics",
"budgets",
"financial modeling",
"subscriptions",
"margins",
],
},
{
id: "ivan",
office: "Chief Operating Officer",
displayName: "IVAN",
department: "operations",
parent: "ceo",
routes: [
"process design",
"SOPs",
"prioritization",
"company operating system",
"execution sequencing",
"risk triage",
"cross-functional coordination",
],
},
{
id: "research-executive",
office: "Chief Research Officer",
displayName: "Chief Research Officer",
department: "research",
parent: "ivan",
routes: [
"competitor research",
"tool research",
"technical research",
"market research",
"vendor comparison",
],
},
];
/** Offices that are staffed/executable at seed time. */
export const INITIAL_ACTIVE_IDS = new Set<string>(["agent-z"]);
export function officeById(id: string): ExecutiveOffice | undefined {
return EXECUTIVE_OFFICES.find((o) => o.id === id);
}
root · /srv/aaf