Canonical Agentic Workflow Report
Date: 2026-06-01
Scope: current
agentic-skillsworkflow contracts and workflow documentation as of the AFPS alignment/prototype routing updates. This report is an audit snapshot, not a new skill contract.
Authoritative operating-model reference:
docs/operating-modes.md.
Evidence sources:
README.md,docs/operating-modes.md,docs/packs.md,docs/skills-reference.md,docs/pack-workflow-matrix.md,docs/codex-workflow.md,docs/skill-next-step-contracts.md,global/{claude,codex}//SKILL.md,packs//{claude,codex}/*/SKILL.md,tasks/roadmap.md,tasks/todo.md, andtasks/lessons.md.
Executive Summary
The canonical workflow is a file-backed, pack-routed planning and execution system shared by Claude Code and Codex. Its current product stance is AFPS: alignment first, prototype second, production specification third, implementation after the production spec is sequenced into phases.
The report previously described the workflow as implemented through a completed Phase 11 snapshot. That framing is stale. Phase 11 remains important history for the three-mode operating model, but the current workflow has since changed around business pack routing, prototype gates, research-refresh gates, and feature-addition routing.
The durable source of truth remains the repository task and planning surface:
research/*.mdcaptures concept, market, customer, lifecycle, and operating evidence.design/ux-variations-*.mdcaptures UX alternatives before implementation is locked.design/ui-.md,design/ui-requirements-.md, anddesign/flow-tree*.yamlcapture screen, content, and branch-state requirements for prototypes.prototypes/{topic}/variation-N/captures cheap built variants.research/uat-variant-evaluation-*.mdcaptures comparable hands-on variant evidence.prototypes/{topic}/consolidated/captures the chosen prototype direction after consolidation.specs/{topic}.mdcaptures the production implementation specification after the consolidated prototype and post-prototype research refresh.tasks/roadmap.mdcaptures phased strategy.tasks/todo.mdcaptures the current queue and active execution contract.tasks/manual-todo.md,tasks/record-todo.md, andtasks/recurring-todo.mdcapture human-only, condition-gated, and cadence-based work.tasks/history.mdcaptures completed work as append-only evidence.alignment/*.htmlcaptures full-depth interactive review pages for durable planning, research, report, spec, prototype, and document outputs.
The canonical product path is:
idea-scope-brief
-> pack selection
-> customer-discovery
-> competitive-analysis
-> journey-map
-> positioning (market mode: framework selection + sequential /exec execution + synthesis)
-> user-flow-map
-> state-model (optional: flow-anchored logical domain/state/logic model before variation work; orthogonal sibling, not a flow-tree route step)
-> ui-interview --requirements-only
-> ux-variations --layout-mode
-> logic-wiring
-> uat --variant-evaluation
-> consolidate-prototypes
-> research-roadmap --post-prototype
-> spec-interview
-> research-roadmap --post-spec
-> roadmap
-> plan-phase
-> run / delegate
-> ship / ship-end
Current Routing Model
Project Designation And Packs
Projects are designated through pack, which reads and writes .agents/project.json, sets project_type, tracks enabled_packs, and can set the optional agent_mode.
The current business routing model is lane-based:
| Lane | Pack | Primary purpose |
|---|---|---|
| Discovery | business-research | ICP, competitive analysis, customer feedback, positioning, optional value proposition and lean canvas detours |
| Customer lifecycle | customer-lifecycle | Journey, onboarding, conversion, transaction, retention, expansion, lifecycle metrics |
| Growth | business-growth | Hook model, growth model, metrics, GTM, monetization, landing copy, experiments, PMF |
| Operations | business-ops | Assumptions, risk, runway, cohorts, retros, investor updates, platform strategy, research reconciliation |
business-app is now a compatibility alias that installs the four business lanes. It should not be described as the primary pack for normal work. Prefer the narrow lane that matches the current job, then add downstream lanes as evidence becomes ready.
PoketoWork kanban execution packs are hibernated while Poketo.work is being rebuilt. Do not recommend business-app-kanban, devtool-kanban, game-kanban, poketowork-kanban, or their *-kanban skill surfaces as active workflow routes until the service/API, auth contract, and smoke tests are stable.
Operating Modes
The operating modes are unchanged:
| Mode | Orchestrator | Executor |
|---|---|---|
claude-only | Claude | Claude |
codex-only | Codex | Codex |
hybrid | Claude | Codex through /delegate and the approval packet |
scripts/agent-mode.sh remains the resolver. SKILLS_AGENT_MODE overrides .agents/project.json.agent_mode; unset mode is valid and skills infer command syntax from the active invocation.
The approval-packet contract remains scoped to cross-CLI execution and handoff. .agents/approved-plan.json is local and machine-readable. tasks/approved-plan.md is the sanitized committed mirror.
Canonical Workflows By Starting Point
Fresh Directory Or Rough Product Idea
Use this when there is no decision-complete codebase contract.
Claude route:
/idea-scope-brief
/init-agentic-skills
npx skillpacks install business-research # when the research lane is missing
/customer-discovery
/competitive-analysis
npx skillpacks install customer-lifecycle # when lifecycle mapping is missing
/journey-map
npx skillpacks install business-growth # optional: when repeat-use, pricing, GTM, or growth-loop risk blocks UX
/hook-model # optional: consumer/PLG habit-loop input before UX choices harden
/positioning # orchestrator: market mode (framework selection → /exec → synthesis) during default AFPS; product mode triggered post-launch via research-roadmap staleness detection or explicit `/positioning product`
/value-prop-canvas # optional: contested solution-fit evidence
/lean-canvas # optional: material business-model risk
/lifecycle-metrics # optional: stage measurement, especially for infrequent or enterprise products
/metrics # optional: broader success framework after journey evidence
/monetization # optional: pricing gates or packaging affect the product path
/gtm # optional: channel/launch path affects the product path
/user-flow-map
/ui-interview --requirements-only
/ux-variations --layout-mode
/logic-wiring
/uat --variant-evaluation
/consolidate-prototypes
/research-roadmap --post-prototype
/spec-interview
/research-roadmap --post-spec
/roadmap
/plan-phase 1
/exec
/ship-end
Codex route:
$idea-scope-brief
$init-agentic-skills
npx skillpacks install business-research
$customer-discovery
$competitive-analysis
npx skillpacks install customer-lifecycle
$journey-map
npx skillpacks install business-growth # optional: when repeat-use, pricing, GTM, or growth-loop risk blocks UX
$hook-model # optional: consumer/PLG habit-loop input before UX choices harden
$positioning # orchestrator: market mode (framework selection → $exec → synthesis) during default AFPS; product mode triggered post-launch
$value-prop-canvas # optional: contested solution-fit evidence
$lean-canvas # optional: material business-model risk
$lifecycle-metrics # optional: stage measurement, especially for infrequent or enterprise products
$metrics # optional: broader success framework after journey evidence
$monetization # optional: pricing gates or packaging affect the product path
$gtm # optional: channel/launch path affects the product path
$user-flow-map
$ui-interview --requirements-only
$ux-variations --layout-mode
$logic-wiring
$uat --variant-evaluation
$consolidate-prototypes
$research-roadmap --post-prototype
$spec-interview
$research-roadmap --post-spec
$roadmap
$plan-phase 1
$exec
$ship-end
This is an ordered default, not a mandate to run every optional business skill. hook-model is a conditional pre-UX detour when the journey shows that repeat use, habit formation, engagement loops, retention triggers, saved state, social rewards, or investment compounding are central to product value. For enterprise, infrastructure, transactional, procurement-driven, or naturally infrequent products, skip hook-model and prefer lifecycle or success measurement (lifecycle-metrics or metrics). Do not skip ICP, competitive analysis, journey mapping, UX/UI planning, prototype evaluation, consolidation, or the production spec for non-trivial user-facing product work.
Existing Codebase With No Current Docs
Use pack first to designate the project. Then run the lightest evidence-producing path that fits the codebase:
- If the product concept is unclear, use
idea-scope-brief. - If there is product direction but no market evidence, use
business-researchand start withcustomer-discovery. - If there is market evidence but no user/customer path, install or enable
customer-lifecycleand runjourney-map. - If the implementation already exists but specs are stale, use
spec-driftorreconcile-dev-docsbefore mutating plans. - If a stale project should restart, use
desk-flipandbootstrap-repo --reset-existingso old docs and code are archived before fresh alignment begins.
Existing Spec Or Planned Feature
The current roadmap contract distinguishes unresolved ideas from confirmed full-spec creation:
| State | Current behavior |
|---|---|
| No specs and missing journey for user-facing work | Queue journey-map first. |
| No specs, unresolved idea, unclear destination | Queue feature-interview. |
| No specs, user already selected full production spec creation | Queue spec-interview. |
| Specs exist but UX/UI/prototype gate is incomplete | Queue the missing gate: journey-map, user-flow-map, ux-variations [specific-user-flow], ui-interview [specific-ux-variation], user-flow-map --prototype-build-plan [topic], logic-wiring, uat --variant-evaluation, consolidate-prototypes, or post-prototype refresh. Use ui-interview --requirements-only and ux-variations --layout-mode only when a fixed content contract and layout-only alternatives are explicitly needed. |
| Production spec exists, roadmap missing | Build or update tasks/roadmap.md, then seed plan-phase. |
| All roadmap phases complete | Queue research-roadmap, then route to brainstorm unless a concrete idea is selected. |
spec-interview is no longer the broad default for every unspecced thought. It is the production-spec deep dive after a consolidated prototype exists, or after the user explicitly chooses full-spec creation for a scope that already has the necessary upstream evidence.
Post-Spec Additions
After a production spec exists, feature additions should route through feature-interview by default. The purpose is to decide whether the addition updates the existing spec, becomes a smaller add-on spec, or should be parked. This preserves the parent spec as the baseline contract and avoids reflexively re-running a full spec-interview for every incremental feature.
Use spec-interview again only when the selected follow-up truly requires a full production-spec pass and the prototype/research gates are already satisfied.
Prototype-Gated Product Specification
The current product-spec path is gated by built and reviewed prototypes:
user-flow-mapturns positioning and journey evidence into concrete flow structure.ui-interview --requirements-onlycaptures screen and content requirements for the accepted flow.ux-variations --layout-modecreates multiple layout directions from research, journey, flow, and UI-requirement evidence.logic-wiringbuilds runnable disposable artifacts inprototypes/{topic}/variation-N/.uat --variant-evaluationcreates the human-run comparison plan and evidence capture.consolidate-prototypescompares reviewed prototypes, interviews the user on keep/reject decisions, resolves conflicts, buildsprototypes/{topic}/consolidated/, and writes AFPS graduation underdesign/.research-roadmap --post-prototypereads the graduation document when present and checks only for contradicted, stale, or pre-spec-blocking research.spec-interviewwalks the consolidated prototype and graduation document screen by screen and producesspecs/{topic}.md.research-roadmap --post-specchecks whether production-spec decisions stale or contradict research.roadmapsequences the spec into phases.
The production spec should be decision-complete enough to implement. The prototype remains disposable evidence, not production code.
Task Pipeline Contracts
Roadmap
roadmap is a task-pipeline manager, not a brainstorming shortcut. It scans tasks/, specs/, research/, git status, manual work, records, recurring work, and ideas. It either writes/updates a roadmap or writes a priority queue.
Important current invariants:
- It queues
feature-interviewfor unresolved ideas and unspecced gaps unless full-spec creation is already selected. - It applies pack availability guards before recommending pack-local skills such as
journey-map. - It does not queue itself for a missing roadmap when it can build or extend the roadmap in the same run.
- When it writes a roadmap, it immediately seeds the first relevant phase with
plan-phase. - It keeps implementation detail out of
tasks/roadmap.md; detailed steps belong intasks/todo.md.
Plan Phase
plan-phase decomposes exactly one roadmap phase. It writes the active execution contract in tasks/todo.md, including test strategy, execution profile, file-level work, manual blockers, and completion criteria. Later phases stay strategic until they become current.
Execution profiles remain:
| Profile | Meaning |
|---|---|
serial | Main agent owns all work. |
research-only | Parallel reads are useful; implementation stays integrated. |
review-only | Main build is serial; reviewers inspect after. |
implementation-safe | Write lanes can be separated by owned paths. |
agent-team | Branch-backed parallel write lanes with consolidation/PR review. |
Run, Ship, And Ship-End
exec, ship, and ship-end are operational loops. They execute, validate, update docs, commit, push, and route. They are intentionally exempt from the durable alignment-page requirement, even though they may mutate task docs as part of shipping.
Alignment Review Pages
Durable planning, research, spec, prototype, report, and decision-producing skills now create root-level alignment/*.html pages. These pages are full-depth review artifacts, not short summaries.
The current page contract includes:
- dark-mode review UI;
- complete content of proposed deliverables;
- evidence coverage;
- assumptions and confidence;
- scope and non-goals where relevant;
- proposed file changes;
- coverage checkpoints;
- required radio questions with
Other / None of the aboveandNeed clarification; - disabled-until-complete compile-answer behavior;
- structured YAML output with
section,gate_type,status,answer, optionalnotes, and optional target path fields; - copy-to-clipboard with fallback selection;
- archive-first replacement under
docs/history/archive/YYYY-MM-DD/HHMMSS/alignment/; - best-effort browser-open reporting.
Approval-gated research and planning skills should build the alignment page before canonical Markdown is written, ask the user to review it, and suppress downstream routing until approval is received.
Current Audit Findings
Finding 1: The Old Report Used Stale Phase 11 Framing
The prior report dated 2026-04-19 and refreshed 2026-04-22 described Phase 11 as the current implementation horizon. That is now only historical context. Later workflow changes introduced lane-based business packs, approval-gated alignment previews, exec/ship alignment exemptions, prototype-gated spec work, and revised post-spec feature routing.
Resolution in this report: metadata and narrative now describe the current workflow as of 2026-05-24 and treat Phase 11 as the origin of the operating-mode model, not the whole current workflow.
Finding 2: Business-Pack Language Drifted Toward The Compatibility Alias
The old report described business-app as a normal project-local opt-in. Current docs and pack contracts split business work into business-research, customer-lifecycle, business-growth, and business-ops; business-app remains a compatibility alias, and business-discovery is accepted only as a compatibility alias for business-research.
Resolution in this report: the pack model now centers the narrow lanes and labels business-app as compatibility-only.
Finding 3: No-Spec Routing Needed Feature-Interview Precision
Older text said no specs should route to spec-interview after journey context. The current roadmap contract says unresolved ideas or gaps route to feature-interview; spec-interview is used only when full-spec creation is already selected.
Resolution in this report: no-spec routing now distinguishes unresolved idea triage from confirmed full-spec creation.
Finding 4: Product Spec Work Must Respect The Prototype Gate
The old report had pieces of the prototype path but still treated spec creation too broadly. Current contracts place spec-interview after consolidated prototype evidence and post-prototype research refresh.
Resolution in this report: the product-spec path is explicitly prototype-gated.
Finding 5: Post-Spec Feature Additions Belong In Feature-Interview
tasks/lessons.md records the 2026-05-24 correction that post-spec additions should use feature-interview to update an existing spec or create a small add-on spec, rather than defaulting back to a full spec-interview.
Resolution in this report: post-spec addition routing is now part of the canonical model.
Finding 6: Consolidation Contract Resolves Output Shape
The current consolidate-prototypes contract says the skill produces a consolidated prototype, consolidation interview log, and AFPS graduation document. It no longer claims ownership of the production implementation specification. The workflow relies on spec-interview to turn the consolidated prototype and graduation evidence into the production implementation spec.
- consolidation writes
prototypes/{topic}/consolidated/,design/consolidate-prototypes-[topic]-interview.md, anddesign/afps-graduation-{topic}.mdor scoped equivalents. - post-prototype cleanup reads graduation and queues only contradicted, stale, or blocking research.
- production implementation details wait for
spec-interview.
Resolution in this report: the consolidation/spec boundary is explicit, and the graduation document is the readiness marker between prototype approval and production spec creation.
Canonical Decision Rules
- Start with
idea-scope-brieffor raw ideas. - Install narrow packs, not broad aliases, unless compatibility or context loading makes the alias desirable.
- For business products, run ICP and competitive analysis before journey mapping; run journey mapping before UX/UI and prototype work.
- Treat optional value, positioning, growth, monetization, and ops work as evidence lanes selected by risk and product type.
- Do not move non-trivial user-facing product work from idea directly to production spec or roadmap.
- Build and evaluate prototypes before production spec creation.
- Use
feature-interviewfor unresolved ideas, post-spec additions, and destination triage. - Use
spec-interviewfor confirmed full production spec work after upstream evidence and prototype gates are satisfied. - Use
roadmapto sequence specs into phases; useplan-phaseto produce one active execution contract. - Keep exec/ship loops operational and alignment-page-free.
- Commit and push intended repository mutations unless the user explicitly says not to, while preserving unrelated dirty work.
Current End-To-End Sequence
idea-scope-brief
-> pack recommend/install
-> business-research: customer-discovery -> competitive-analysis
-> customer-lifecycle: journey-map
-> optional business-research/growth/ops evidence lanes
-> user-flow-map
-> ui-interview --requirements-only
-> ux-variations --layout-mode
-> logic-wiring
-> uat --variant-evaluation
-> consolidate-prototypes
-> AFPS graduation document
-> research-roadmap --post-prototype
-> spec-interview
-> research-roadmap --post-spec
-> roadmap
-> plan-phase
-> run or delegate
-> ship
-> ship-end
For existing specs with smaller additions:
feature-interview
-> update existing spec or create add-on spec
-> research-roadmap --post-spec when research may be stale
-> roadmap extension
-> plan-phase
-> run / ship
For completed implementation queues with no active documentation issue:
research-roadmap
-> first unchecked documentation item, if any
-> brainstorm when documentation is current and no concrete idea is selected
Confidence And Open Questions
Confidence is high that this report reflects the current stated contracts because the same routing appears in roadmap, research-roadmap, logic-wiring, uat, consolidate-prototypes, spec-interview, feature-interview, pack docs, and recent lessons.
Open questions:
- Whether docs should standardize the exact optional order among
value-prop-canvas,positioning,lean-canvas,metrics,monetization,gtm, andgrowth-modelby product type. - Whether
business-appcompatibility alias language should be further reduced in user-facing docs to prevent broad-pack defaulting.