Intelligence

Artifacts

Browse the repository, read documents, and manage the governance folders. Source, runtime, and infrastructure are read-only.

Repository
README.md
CONSTITUTION_COMPLIANCE_AUDIT_V1.mdREADME.md
repositories/aaf-holdings/hq01/lib/executives/config.ts
1.7 KB
import path from "node:path";
import { CONTENT_ROOT, REPO_ROOT } from "@/lib/content/config";

/**
 * Configuration for the HQ01 Executive Router.
 *
 * NOTE ON PATHS: the originating mission spec referenced an `os/` prefix
 * (`/srv/aaf/os/registry`, …). HQ01's governance tree was previously flattened
 * to top-level (`/srv/aaf/constitutions`, `/srv/aaf/canonical`, …), so these
 * paths follow the current structure. Everything is centralised here.
 */

/** Filesystem registry of executive offices (source of truth). */
export const REGISTRY_ROOT = path.join(CONTENT_ROOT, "registry");
export const REGISTRY_FILE = path.join(REGISTRY_ROOT, "executives.json");

/** Approval-gated executive office proposals. */
export const PROPOSALS_DIR = path.join(REGISTRY_ROOT, "proposals", "executives");

/** Inter-executive memos (schema + storage only in this pass). */
export const MEMOS_DIR = path.join(CONTENT_ROOT, "artifacts", "memos");

/** Where an executive's constitution documents live: <CONSTITUTIONS_DIR>/<id>/. */
export const CONSTITUTIONS_DIR = path.join(
  CONTENT_ROOT,
  "constitutions",
  "executives",
);

/** The office instructions fall back to when routing confidence is low. */
export const TRIAGE_EXECUTIVE_ID = "ivan";

/** Default repository a dispatched session runs in when none is given. */
export const DEFAULT_REPOSITORY = REPO_ROOT;

/**
 * Per-dispatch runtime workspace root. Each dispatched session gets its own
 * subfolder here and runs with it as the working directory, so its writes are
 * confined to runtime and can never touch repository source.
 */
export const DISPATCH_WORKSPACE_ROOT = path.join(
  CONTENT_ROOT,
  "runtime",
  "dispatch",
);

export const ORGANIZATION = "aaf-holdings";

root · /srv/aaf