Skip to main content

Add a new worker persona

Status: Ready

Article ID: 106

Truth label: Current

Audience: Workflow designer

Reader outcome: Define a focused role without granting hidden authority.

Related articles: 049, 081, 107

Target week: 43

Last verified: 2026-09-13

Technical reviewer: Codex extension source audit

Editorial reviewer: Codex editorial audit

Prefer a managed method for new work​

A persona is a one-line role hint for a CLI engine, or a YAML profile for the legacy engines. For anything more than a hint, define a managed method in Cortex instead: a portable package with purpose, supported task kinds, role, instructions, required output, and an ordered set of skills, versioned and pinned to a task at submission. Five starter definitions can be cloned. The guidance below applies to either.

Give the role one job​

State the persona's outcome, inputs, prohibited actions, required evidence, and handoff. A planner investigates, an implementer changes scoped files, QA verifies, and an auditor evaluates need and delivery risk.

Keep authority external​

Prompt text does not grant filesystem, API, provider, or operator authority. Configure worker eligibility, engine, permission ceiling, tools, project roots, and checkpoint policy through the control plane.

Compose the prompt​

Place active repository instructions first, role instructions next, task context after that, and bounded historical evidence in a labeled untrusted section. Avoid duplicating global rules inside every persona.

Test the boundaries​

Use fixtures for expected role behavior, forbidden actions, malformed context, and conflicting retrieved evidence. Confirm the persona escalates rather than inventing missing business authority.

Current limits​

A focused prompt cannot guarantee obedience or provide OS isolation. Role labels do not create authentication principals. High-risk actions still need technical permissions, human gates, and runtime enforcement.

Next lesson​

Continue with Package a worker skill.

Derivative map​

  • Weekly package: WEEK-43
  • Long video: VIDEO-W43-LONG
  • Shorts: SHORT-W43-PROBLEM, SHORT-W43-MECHANISM, SHORT-W43-WARNING
  • Email: EMAIL-W43
  • LinkedIn: LI-W43-A, LI-W43-B
  • X: X-W43-A, X-W43-B
  • Visual: VISUAL-W43

Review record​

  • Outcome, inputs, prohibitions, evidence, and handoff are explicit.
  • Prompt role and runtime authority remain separate.
  • Negative behavior and conflict fixtures included.
  • Obedience, isolation, and principal limits remain visible.

Review completed: 2026-08-27

Re-audited against the running product: 2026-09-13