← Module IV — Single vs Multi All modules Module VI — Orchestration →

Module V — Role Engineering & Capability Scoping

Phase 3 · ROLES — Module V
Status: Authored & Empirically Verified.
Lecture Components: 6 FHD 1080p master videos + Lab L5.
Canonical Core Axiom:

ROLE ≠ MODEL ≠ HARNESS ≠ PROVIDER

1. The Fundamental Separation of Concerns

A foundation model is a probabilistic completion engine; it does not possess intrinsic roles, permissions, or security boundaries. In industrial harness engineering:

Authority, permissions, and tools attach strictly to the role seat, never to the underlying model or conversational persona.

┌────────────────────────────────────────────────────────┐
│                      ROLE SEAT                         │
│  (Closed Contract · Scoped Capabilities · Typed FSM)   │
└──────────────────────────┬─────────────────────────────┘
                           │ Dispatches
                           ▼
┌────────────────────────────────────────────────────────┐
│                   DETERMINISTIC HARNESS                │
│  (Bitmask Kernel · AST Oracles · Ephemeral Tokens)     │
└──────────────────────────┬─────────────────────────────┘
                           │ Routes Inference
                           ▼
┌────────────────────────────────────────────────────────┐
│               FOUNDATION MODEL / PROVIDER              │
│       (Interchangeable Probabilistic Commodity)        │
└────────────────────────────────────────────────────────┘

2. Canonical Closed Role Taxonomy

HEFESTO rejects unconstrained, open-ended agent hierarchies in favor of an explicit closed taxonomy:

1. Planner: Decomposes complex objectives into verifiable DAGs; strictly read-only tools; zero mutation rights. 2. Implementer (Maker): Generates candidate code diffs within an isolated worktree; bounded file write capabilities. 3. Reviewer (Checker): Adversarial evaluation of candidate diffs against independent specs; strictly barred from authoring fixes. 4. Challenger: Active mutation testing and edge-case fuzzing; injects synthetic defects to prove test suite robustness. 5. Researcher: Gathers external documentation and codebase context; read-only tools with strict admission firewalls. 6. Auditor: Immutable verification of cryptographically linked event ledgers and provenance hashes. 7. Operator: Executes deterministic deployments and Git commits only when presented with unexpired attestation tickets. 8. Human Authority: Ultimate out-of-band circuit breaker for high-blast-radius state transitions.

Zero Self-Review Axiom:
The entity that generates a deliverable is mathematically forbidden from holding the authority to approve, merge, or deploy it.

3. The Principle of Least Capability (PoLC)

While the Principle of Least Privilege (PoLP) governs OS users, the Principle of Least Capability (PoLC) governs the cognitive action space of an LLM:


4. Curricular Components


5. Associated Capstone Lab