A reusable multi-model, multi-agent engineering workflow for
Oh My Pi (omp), with scoped
Graphify navigation, durable
file-backed state, independent primary/backup role models, Coder-only Ponytail,
and optional product-design roles.
v3.4.2 fixes Main model switching.
DEFAULTis now the only editable Main-model slot. The internalworkflow_orchestratoralias is hidden from the role picker, and the old 200 ms live-model reconciliation loop has been removed. OMP can now finish its native model + effort selection flow without a workflow extension changing the live model underneath the selector.
- Removes the polling race that could close OMP while the effort picker was open.
- Stops the workflow extension from calling
setModel()orsetThinkingLevel()during model-role changes. - Keeps
workflow_orchestratoras a managed alias to@defaultand hides that implementation role from Alt+M → Roles. - Migrates older direct Orchestrator selections safely: when no explicit
DEFAULTexists, the old selection is preserved asDEFAULTbefore the alias is repaired. - Adds deterministic regression coverage and GitHub Actions CI.
- Refreshes README, installation guidance, version metadata, and release notes.
- Prevents
quickclosure for authentication, trust-boundary, API/schema, migration, and other public-contract changes. - Groups metrics by pipeline profile, including retries and token counts.
- Preserves installer exit codes in copy-paste installation snippets.
- Promotes
quick,standard, andcriticalstep-card profiles to the stable workflow. - Adds deterministic Objective Gates, blast-radius Security offers, assignment-first worker packets, and retry-economy rules.
See CHANGELOG.md for the complete release history.
flowchart LR
H[Human supervisor] <--> M[Main Orchestrator]
M --> C[Fresh Coder + Ponytail]
C --> M
M --> R[Fresh Reviewer]
R --> M
M --> T[Fresh Tester]
T --> M
M -. system uncertainty .-> A[Fresh Architect + Grilling]
A --> M
M -. visual advice .-> DA[Design Advisor]
DA --> M
M -. visual implementation .-> D[Designer + UI skill]
D --> M
M -. optional pre-release .-> S[Security Reviewer]
S --> M
All routing goes through Main. Workers never route another worker, write canonical workflow state, commit, or push.
Default engineering loop:
Main -> Coder -> Main verification
-> Reviewer -> Main verification
-> Tester -> Main verification
-> next step
The lean pipeline may skip a gate only when a step profile and deterministic
Objective Gates explicitly permit it. High-risk work cannot use the quick
shortcut.
The Main session has one authoritative primary slot: DEFAULT.
| Goal | Action |
|---|---|
| Change the persistent primary Main model | Alt+M → Roles → DEFAULT, then choose both model and effort |
| Temporarily move to the configured backup | Use the quick-switch control (Alt+Q in the workflow setup) |
| Make another model the new primary | Assign that model and effort to DEFAULT |
| Inspect the backup mapping | Open workflow_orchestrator_backup in Alt+M → Roles |
workflow_orchestrator remains in cycleOrder so launch and quick-switch
behavior continue to work, but it is hidden from the role editor because it is
only an alias to @default. Editing two independent Main entries was the source
of the former conflict.
After updating to v3.4.2, restart OMP so the new extension and model-tag metadata are loaded.
Configure worker roles through Alt+M → Roles. Persistent provider/model failure pauses the workflow; the Human explicitly authorizes a backup.
| Role | Primary | Human-authorized backup |
|---|---|---|
| Main Orchestrator | DEFAULT via @workflow_orchestrator |
@workflow_orchestrator_backup |
| Coder | @workflow_coder |
@workflow_coder_backup |
| Reviewer | @workflow_reviewer |
@workflow_reviewer_backup |
| Tester | @workflow_tester |
@workflow_tester_backup |
| Architect | @workflow_architect |
@workflow_architect_backup |
| Security | @workflow_security |
@workflow_security_backup |
| Design Advisor | @workflow_design_advisor |
@workflow_design_advisor_backup |
| Designer | @workflow_designer |
@workflow_designer_backup |
Worker changes apply on the next fresh spawn. Main-model changes through
DEFAULT are handled by OMP's native model selector.
Each specialist is a fresh OMP task-agent session receiving only its stable role contract, current assignment, source-of-truth paths, allowed scope, acceptance criteria, and repository access.
Durable state lives in files, including:
AI_Workflow_Kit/docs/AI/STATE.yamlAI_Workflow_Kit/docs/STEPS.mdAI_Workflow_Kit/docs/DECISIONS.mdAI_Workflow_Kit/docs/AI/FEEDBACK.md- QA, bug, security, and metrics reports
Worker completion never advances a gate by itself. Main verifies real source and evidence first.
The top-level interactive Main session warns near 23% context use and uses OMP's native 28% hard threshold with mid-turn checkpoints. Task/headless workers do not inherit Main's automatic compaction policy.
non-trivial discovery -> Graphify -> focused real source -> verify
known exact symbol -> focused LSP/grep/read -> verify
Graphify is advisory. Actual source and test output remain authoritative.
Alt+Wopens the fullscreen workflow dashboard.Tabon an empty Main composer focuses the currently running worker.TaborEscreturns from that worker to Main.Alt+Aremains the full Agent Hub for history, intervention, and abort.
git clone https://github.com/Pavan-Gopa/Pavans-Workflow.git my-project
cd my-project
bash install.sh .(
set -Eeuo pipefail
tmp_dir="$(mktemp -d)"
trap 'rm -rf "$tmp_dir"' EXIT
git clone --depth 1 https://github.com/Pavan-Gopa/Pavans-Workflow.git "$tmp_dir/pw"
bash "$tmp_dir/pw/install.sh" /absolute/path/to/your/project
)The installer refuses to overwrite existing workflow paths.
Close OMP for that project, then run from the project root:
bash <(curl -fsSL https://raw.githubusercontent.com/Pavan-Gopa/Pavans-Workflow/main/install.sh) --updateEquivalent explicit-git form:
(
set -Eeuo pipefail
tmp_dir="$(mktemp -d)"
trap 'rm -rf "$tmp_dir"' EXIT
git clone -q --depth 1 https://github.com/Pavan-Gopa/Pavans-Workflow.git "$tmp_dir/pw"
bash "$tmp_dir/pw/AI_Workflow_Kit/script/workflow_update.sh" apply "$PWD"
)The updater preserves project model choices, durable workflow state, product
code, tests, reports, custom .graphifyignore rules, and the existing Graphify
index. Append --refresh-graphify for an explicit bounded graph refresh.
Legacy direct workflow_orchestrator values are migrated without destroying an
otherwise missing Main selection. The canonical alias and hidden-role metadata
are then validated before the update is declared ready.
Full platform notes: INSTALL.md.
bash AI_Workflow_Kit/script/omp_workflow.sh| Action | Control |
|---|---|
| Change persistent Main primary | Alt+M → Roles → DEFAULT |
| Quick-switch Main/backup | Alt+Q |
| Configure worker role pairs | Alt+M → Roles |
| Quick-focus active worker | Tab on empty Main composer |
| Return from focused worker | Tab on empty worker composer or Esc |
| Full Agent Hub | Alt+A |
| Live workflow dashboard | Alt+W |
| Update framework | /work-update or /workflow-update |
| Dry-run update | /work-update check |
| Reconcile and continue | /workflow status |
| Explain routing | /workflow why |
| Designer advice | /workflow designer advise <surface> |
| Designer edits | /workflow designer redesign <surface> |
| Manual OMP Stats | o in Alt+W or /workflow-stats |
| Diagnostics | bash AI_Workflow_Kit/script/workflow_doctor.sh |
Dependency-free deterministic checks run in GitHub Actions. For an installed project, run the full local doctor as well so OMP, Graphify, provider setup, and the local graph are checked:
cat VERSION
python3 AI_Workflow_Kit/script/workflow_config_repair.py check .omp/config.yml
bash AI_Workflow_Kit/script/workflow_doctor.shExpected version:
3.4.2
.omp/ agents, commands, extensions, shared runtime
.github/workflows/ci.yml deterministic repository checks
ui-designer/ progressive UI/UX skill for optional design roles
ponytail*/ Coder simplification and one-shot audit skills
grilling/ architecture discovery skill
AI_Workflow_Kit/docs/ durable workflow state and role contracts
AI_Workflow_Kit/script/ launcher, updater, doctor, metrics, Graphify tools
AI_Workflow_Kit/vendor/ dependency/version metadata
VERSION current workflow version
CHANGELOG.md complete release history
MIT. See LICENSE.