Praetor Rebuild Roadmap

Status: 2026-05-14. This roadmap replaces the older phase plan. The old plan is

historical context only; active work should follow this file.

Update 2026-05-19: product identity and Agent/Role semantics are refined by

docs/ADR-002-praetor-as-ai-company.md and

docs/PRAETOR_PAPERCLIP_MATURITY_ROADMAP.zh-CN.md. Where older roadmap or

brief language says "role-first" or "users do not manage agents", use the newer

decision: users manage Agent employees; Roles are the responsibility and

permission frame for those Agents.

Praetor is being rebuilt as a new product, not as a Hermes Agent fork. Hermes is

reference material for agent settings, tool/capability routing, gateway adapters,

session/audit patterns, and executor discipline. Praetor's product shape is a

company-governance operating system led by a proactive AI CEO.

North Star

Praetor should let a solo founder run an AI company from a browser-first

chairman's office:

mission, staff a team, request approval, or keep working in the background.

should happen without approval ceremony.

use Codex CLI through a controlled executor bridge to modify files and run

tests.

changes, credentials, security/legal boundaries, and governance changes.

Product Model

The active mental model is:

Chairman / Owner
  -> Praetor CEO
    -> Mission / Decision / Approval / Briefing
      -> Project Manager
        -> Developer / Tester / Reviewer / Marketing / Legal / Security
          -> Codex CLI / API model / browser QA / future executors

User-facing objects:

workspace writes, or background progress.

current work, heartbeat, budget, and output history.

Technical Direction

Use modern but practical technology:

tokens. Keep UI browser-first and dashboard-native.

index, state, audit, run metadata, and UI queries.

focused end-to-end smoke tests for flagship flows.

Do not lock Praetor to a default product tech stack. When creating a new

software product, the CEO should infer from context, use learned company

preferences, or ask the owner when the choice materially matters.

Execution Rules

a documented manual verification path.

stale structures once their replacement is live.

adding more permission prompts.

artifacts, findings, playbook entries, or briefings.

Phase 0 - Rebase Product Direction

Goal: align the repo with the new Praetor product architecture.

not developer/admin internals.

page", or approval-heavy language.

docs/ADR-001-praetor-not-hermes-runtime.md.

Acceptance:

Phase 1 - CEO Intake And Learning Core

Goal: make the CEO the primary intelligent router.

Intake Router

quick_reply, direct_answer, clarifying_question,

lightweight_action, mission, approval, decision_response.

direct status question does not create mission,

product discussion routes to planner,

"start building" routes to planner,

"remember this" routes to planner for CEO memory,

"create a reusable method" writes playbook.

CEO Operating Memory

active, superseded_by.

GET /api/memory/ceo,

PATCH /api/memory/ceo/{id},

POST /api/memory/ceo/{id}/disable,

POST /api/memory/ceo/{id}/forget.

Proactive Trust Policy

approve_once, approve_for_mission, always_allow_type,

always_ask_type, never_allow_type.

external send, public publish, spending, destructive delete,

credential/security change, legal/financial commitment, new external

integration.

Acceptance:

Phase 2 - Company Memory And Company Playbook

Goal: make memory useful, separated, and correct.

Memory Structure

company_wiki, decisions, open_questions, documents,

company_playbook, ceo_operating_memory, knowledge_updates.

company, ceo, mission.

owner preferences -> CEO Operating Memory,

company facts -> Company Wiki candidates,

ambiguous entries -> needs review.

Company Playbook

trigger_examples, procedure, required_capabilities, risk_level,

approval_policy, learned_from, usage_count, last_used_at.

GET /api/memory/playbook,

POST /api/memory/playbook,

PATCH /api/memory/playbook/{id},

POST /api/memory/playbook/{id}/disable.

Memory Promotion

company fact, CEO preference, playbook entry, open question, decision,

do-not-promote.

draft or active depending on risk.

Acceptance:

Phase 3 - Mission And Team Operating System

Goal: make missions behave like managed company work, not chat threads.

Mission Creation

new_product, existing_repo, research, operations,

planning_only, general.

mode, workspace_root, repo_url, allowed_paths,

protected_paths, tech_stack_decision.

artifacts, delegation, background run, or owner explicitly says to start.

title, why mission is needed, team, workspace, artifacts, budget,

approval boundaries.

Team Model

CEO, Project Manager, Product Manager, Developer, Tester, Reviewer,

Marketing Lead, Design Lead, Legal Counsel, Security Officer,

Memory Steward.

participant, position, rationale, PM decision, escalation if needed.

low-risk sequencing, local implementation tradeoffs, role coordination.

strategy, budget, external, legal/security/privacy, unresolved conflict.

Work Trace

staffing, delegation, disagreement, PM decision, executor run,

test result, review finding, role request, briefing ready.

Acceptance:

Phase 4 - Codex CLI Executor V1

Goal: real product development through non-interactive Codex tasks.

Bridge Contract

Task Spec

role, mission_id, task_id, workdir, goal, context_files,

allowed_paths, protected_paths, constraints, expected_outputs,

test_commands, timeout, approval_policy.

summary, changed files, tests run, known limitations,

follow-up recommendations.

Run Normalization

changed_files, tests_run, summary, known_limitations,

raw_log_path, exit_code, requires_owner_action.

auth required, approval needed, test failure, timeout, blocked.

Developer Role

Acceptance:

Phase 5 - Flagship Development Workflow

Goal: prove Praetor can actually build or modify software.

Scenario A: Existing Repo

Scenario B: New Product

Briefing And Owner Review

summary, completed work, files, test commands/results, screenshots,

risks, decisions needed, next mission recommendations.

next mission.

Acceptance:

Phase 6 - Web UI: Chairman's Office

Goal: make the browser UI the real product surface.

Information Architecture

risk/blocked rail, recent results, runtime health.

decisions, approvals, briefing.

Decisions, Open Questions.

boundaries.

UI Cleanup

memory, decisions, meetings, inbox, agents, models, mission pages.

Visual Direction

Acceptance:

Phase 7 - Private CEO Channel: Telegram First

Goal: let the owner manage CEO decisions privately from mobile.

/brief, /status, /missions, /approvals, /pause, /resume,

/ask.

approve once, approve for mission, always allow type, always ask,

reject, never allow.

Signal, WhatsApp, Email, Slack.

Acceptance:

Phase 8 - Governance, Audit, And Safety

Goal: make high autonomy trustworthy without making it bureaucratic.

file deletion, secret access, deployment/publish.

test result, approvals.

Acceptance:

Phase 9 - Runtime, Providers, And Cost

Goal: support serious local-first operation.

model configured, bridge reachable, Codex logged in, workspace available,

queue health, recent failure.

Acceptance:

Phase 10 - Packaging And Deployment

Goal: make Praetor installable and recoverable.

Paperclip-inspired install/operator maturity work is tracked in

docs/PRAETOR_PAPERCLIP_MATURITY_ROADMAP.zh-CN.md Phase 1, and should be kept

in sync with this phase.

state DB, workspace, bridge logs, config, CEO memory, playbook.

Telegram owner-only model.

Acceptance:

Phase 11 - Post-V1 Evolution

These are important but not required before the first real v1.

Company template/import-export work is tracked in

docs/PRAETOR_PAPERCLIP_MATURITY_ROADMAP.zh-CN.md Phase 11, and should be kept

in sync with this phase.

Verification Matrix

Run as relevant after each phase:

Definition Of Done

An item is done only when:

verification.

Active Reference Docs

Historical material may remain in the repo, but it should not override this

roadmap.