Company Workflow
Use this as the shared operating layer for the project-local company harness. This is a Codex-native file workflow, not an OMX team runtime.
Core Rule
Do not invoke omx, omx team, tmux worker panes, .codex/agents/*.toml, or .omx/state as the execution mechanism unless the user explicitly asks to operate OMX. Use:
- project
AGENTS.md for baseline behavior
.agents/skills/*/SKILL.md for task-specific workflows
- durable Markdown files under
company/ when task state or handoff matters
- Codex native subagents only when the user explicitly asks for multi-agent work or when the main task clearly requested delegation
Company Layout
Expected mutable state, when initialized in a consuming repo:
company/
supervisor/{inbox,active,waiting,done,status}/
develop/
research/{inbox,active,waiting,done,status}/
model_dev/{inbox,active,waiting,done,status}/
paper_reenact/{inbox,active,waiting,done,status}/
debug/{inbox,active,waiting,done,status}/
audit/{inbox,active,waiting,done,status}/
shared/{templates,policies,registry}/
If company/ is absent, do not invent hidden state. Either create only the specific artifact the user requested, or ask before initializing a full company tree.
Workflow
- Supervisor intake: normalize the human request into
TASK, route to the right team, and record branch/task decisions when they matter.
- Research / design / develop: produce the smallest durable packet needed for the next owner. Research does not default to code.
- Debug gate: verify the smallest realistic executable path before audit.
- Audit gate: independently review pushed branch/provenance/evidence before promotion.
- Supervisor closure: summarize operational status and, for experiments or paper reproduction, scientific closure.
Routing
- Pre-work project/material analysis: use
analyze-project.
- Full paper-to-experiment research loop: use
research-to-experiment.
- Literature survey, paper cards, field Q&A: use
literature-field-surveyor.
- Paper-to-experiment packet: use
paper-intake.
- New idea novelty / baseline comparison screen: use
research-idea-screen.
- Repo mapping before design: use
framework-mapping or repo-audit.
- Implementation planning: use
implementation-plan.
- Plan execution: use
execute-plan.
- Experiment proposal: use
experiment-design.
- Feasibility decision before implementation: use
experiment-feasibility.
- Run execution from a ready spec: use
run-experiment.
- General test verification: use
run-test.
- Result interpretation: use
analyze-results, then skeptic-review for final claims.
- Document strategy, draft, or refinement: use
document-workflow.
- Artifact/document lint before handoff: use
artifact-audit.
- Gate verification: use
debug-review, then audit-review.
- Skill repository maintenance: use
skillset-sync.
Required Evidence
Every durable artifact should include:
- objective or claim
- scope / out-of-scope
- evidence paths, commands, logs, papers, specs, or runs
- blockers and next action
- git state when code or experiment execution is involved
- explicit caveats when scientific interpretation is partial
See workflow.md for templates, policy vocabulary, and closure rules.
1---2name: company-workflow3description: Use when Codex must operate the user's company-style durable workflow without OMX: supervisor routing, research/develop/debug/audit team state, file-based handoffs, task documents, quality gates, baseline preservation, scientific closure, and Codex-native skill orchestration.4---56# Company Workflow78Use this as the shared operating layer for the project-local company harness. This is a **Codex-native file workflow**, not an OMX team runtime.910## Core Rule1112Do not invoke `omx`, `omx team`, tmux worker panes, `.codex/agents/*.toml`, or `.omx/state` as the execution mechanism unless the user explicitly asks to operate OMX. Use:1314- project `AGENTS.md` for baseline behavior15- `.agents/skills/*/SKILL.md` for task-specific workflows16- durable Markdown files under `company/` when task state or handoff matters17- Codex native subagents only when the user explicitly asks for multi-agent work or when the main task clearly requested delegation1819## Company Layout2021Expected mutable state, when initialized in a consuming repo:2223```text24company/25 supervisor/{inbox,active,waiting,done,status}/26 develop/27 research/{inbox,active,waiting,done,status}/28 model_dev/{inbox,active,waiting,done,status}/29 paper_reenact/{inbox,active,waiting,done,status}/30 debug/{inbox,active,waiting,done,status}/31 audit/{inbox,active,waiting,done,status}/32 shared/{templates,policies,registry}/33```3435If `company/` is absent, do not invent hidden state. Either create only the specific artifact the user requested, or ask before initializing a full company tree.3637## Workflow38391. **Supervisor intake**: normalize the human request into `TASK`, route to the right team, and record branch/task decisions when they matter.402. **Research / design / develop**: produce the smallest durable packet needed for the next owner. Research does not default to code.413. **Debug gate**: verify the smallest realistic executable path before audit.424. **Audit gate**: independently review pushed branch/provenance/evidence before promotion.435. **Supervisor closure**: summarize operational status and, for experiments or paper reproduction, scientific closure.4445## Routing4647- Pre-work project/material analysis: use `analyze-project`.48- Full paper-to-experiment research loop: use `research-to-experiment`.49- Literature survey, paper cards, field Q&A: use `literature-field-surveyor`.50- Paper-to-experiment packet: use `paper-intake`.51- New idea novelty / baseline comparison screen: use `research-idea-screen`.52- Repo mapping before design: use `framework-mapping` or `repo-audit`.53- Implementation planning: use `implementation-plan`.54- Plan execution: use `execute-plan`.55- Experiment proposal: use `experiment-design`.56- Feasibility decision before implementation: use `experiment-feasibility`.57- Run execution from a ready spec: use `run-experiment`.58- General test verification: use `run-test`.59- Result interpretation: use `analyze-results`, then `skeptic-review` for final claims.60- Document strategy, draft, or refinement: use `document-workflow`.61- Artifact/document lint before handoff: use `artifact-audit`.62- Gate verification: use `debug-review`, then `audit-review`.63- Skill repository maintenance: use `skillset-sync`.6465## Required Evidence6667Every durable artifact should include:6869- objective or claim70- scope / out-of-scope71- evidence paths, commands, logs, papers, specs, or runs72- blockers and next action73- git state when code or experiment execution is involved74- explicit caveats when scientific interpretation is partial7576See [workflow.md](references/workflow.md) for templates, policy vocabulary, and closure rules.