Canonical Agentic Workflow Report

Date: 2026-06-01

Scope: current agentic-skills workflow 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, and tasks/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:

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
Discoverybusiness-researchICP, competitive analysis, customer feedback, positioning, optional value proposition and lean canvas detours
Customer lifecyclecustomer-lifecycleJourney, onboarding, conversion, transaction, retention, expansion, lifecycle metrics
Growthbusiness-growthHook model, growth model, metrics, GTM, monetization, landing copy, experiments, PMF
Operationsbusiness-opsAssumptions, 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-onlyClaudeClaude
codex-onlyCodexCodex
hybridClaudeCodex 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:

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 workQueue journey-map first.
No specs, unresolved idea, unclear destinationQueue feature-interview.
No specs, user already selected full production spec creationQueue spec-interview.
Specs exist but UX/UI/prototype gate is incompleteQueue 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 missingBuild or update tasks/roadmap.md, then seed plan-phase.
All roadmap phases completeQueue 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:

  1. user-flow-map turns positioning and journey evidence into concrete flow structure.
  2. ui-interview --requirements-only captures screen and content requirements for the accepted flow.
  3. ux-variations --layout-mode creates multiple layout directions from research, journey, flow, and UI-requirement evidence.
  4. logic-wiring builds runnable disposable artifacts in prototypes/{topic}/variation-N/.
  5. uat --variant-evaluation creates the human-run comparison plan and evidence capture.
  6. consolidate-prototypes compares reviewed prototypes, interviews the user on keep/reject decisions, resolves conflicts, builds prototypes/{topic}/consolidated/, and writes AFPS graduation under design/.
  7. research-roadmap --post-prototype reads the graduation document when present and checks only for contradicted, stale, or pre-spec-blocking research.
  8. spec-interview walks the consolidated prototype and graduation document screen by screen and produces specs/{topic}.md.
  9. research-roadmap --post-spec checks whether production-spec decisions stale or contradict research.
  10. roadmap sequences 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:

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
serialMain agent owns all work.
research-onlyParallel reads are useful; implementation stays integrated.
review-onlyMain build is serial; reviewers inspect after.
implementation-safeWrite lanes can be separated by owned paths.
agent-teamBranch-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:

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.

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

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: