# Intake Governance

> Portable intake-first multi-agent governance with workflow classification, review gates, orchestrator dispatch, and worker handoff rules. Use when the user wants multi-agent orchestration, delegation architecture, workflow routing, role permissions, or invokes @intake and governance aliases such as @plan, @risk, @6A, @6AO, @PMW, @SDD, or @GGW.

- Skill: `awfaups/intake-governance` (Agent Skill, multi-file: 10 files)
- Install (CLI): `npx skillmds@latest add awfaups/intake-governance`
- Raw SKILL.md: https://api.skillmd.com/api/skills/awfaups/intake-governance/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: awfaups (https://skillmd.com/u/awfaups)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/awfaups/intake-governance

---


# Intake Governance

This skill defines a portable multi-agent operating model built around `intake`, `planner`, `review-gate`, `orchestrator`, and worker departments.

Use this skill when:

- the user wants multi-agent design or orchestration
- the user wants role-based delegation rules
- the user wants a planner, reviewer, dispatcher, and worker split
- the user refers to layered role collaboration or worker-group coordination
- the user input contains `@intake`
- the user input contains governance aliases such as `@plan`, `@risk`, `@decision`, `@6A`, `@6AO`, `@PMW`, `@SDD`, or `@GGW`

Do not force this skill onto trivial single-step tasks.

## Reading rule

Model-facing instructions in this package are English-only by design.
Do not spend model context reading separate Chinese explanation files unless the user explicitly asks for Chinese wording.

## Runtime surface

Treat this skill like a governance router, not a worker playbook.

- Public entry remains `@intake` only.
- Governance aliases are `intake`-owned shortcuts, not bypasses.
- Detailed rules live in `references/` and should be loaded only when needed.
- Standalone workflow skills such as `workflow-6a` are detail layers, not external entry points.

Accepted external activation patterns:

- `@intake`
- engineering-governance aliases that must normalize back to `intake` first:
  - `@init`
  - `@plan`
  - `@refactor`
  - `@risk`
  - `@decision`
  - `@audit`
  - `@ask`
  - `@ppw`
  - `@6A`
  - `@6AO`
  - `@6AYH`
  - `@PMW`
  - `@PPW`
  - `@SDD`
  - `@sdd`
  - `@GGW`

## Entry rule

`@intake` is the only public entry token for this package. If the user invokes an alias, convert it into an `intake`-owned request before doing any planning.

- No request may bypass directly to `planner`, `review-gate`, `orchestrator`, or any worker department.
- Use this default path for substantial tasks:

`intake -> planner -> review-gate? -> orchestrator -> worker(s) -> orchestrator`

## Workflow mode resolution

`intake` must first classify the request into one of these internal modes:

- `6A`
- `6AO` (internal mode `6ayh`, legacy alias `6AYH`)
- `PMW` (internal mode `ppw`, legacy alias `PPW`)
- `SDD`
- `GGW` (internal mode `generic_governance`)

If `intake` auto-classifies the request as `6A`, `6AO`, `PMW`, `SDD`, or `GGW`, output that workflow's activation response exactly before any additional planning text.

## Workflow document gate

For `6A`, `6AO`, `PMW`, `SDD`, and `GGW`:

- required documents are mandatory deliverables
- workflow docs must live under the active project's root `docs/` directory
- use the directory pattern `docs/YYYY_MM_DD_中文任务名_vN/`
- do not write generated workflow docs into the skill repository unless it is the active project
- if code changes are involved, record file path, line range, before context, and after context

Implementation must not start until the required workflow document bundle has been initialized or updated to the stage being executed.

For any workflow that may generate or modify code:

- output or update the required workflow documents first
- present the document bundle summary to the user for confirmation
- set `user_confirmation.status` to `pending` while waiting for the user
- do not generate code, edit code, run code-changing commands, or dispatch `engineering` until the user explicitly confirms the documents
- set `user_confirmation.status` to `confirmed` only after an explicit positive user response
- `review-gate` approval is not a substitute for user confirmation

## Runtime protocol

Always preserve these protocol objects:

- a structured task card
- a valid handoff history
- status transitions that match the schema files
- a responsibility boundary at every role transfer

Required task-card fields:

- `task_id`
- `title`
- `from`
- `to`
- `goal`
- `brief`
- `tags`
- `constraints`
- `deliverables`
- `review_required`
- `workflow_mode`
- `current_stage`
- `required_documents`
- `document_status`
- `document_bundle_version`
- `user_confirmation`
- `code_change_targets`
- `handoff_history`
- `status`

## Role guidance

- `intake`: normalize the request, extract intent, assign title and tags
- `intake`: include workflow mode and required-document manifest in the first task card for `6A`, `6AO`, `PMW`, `SDD`, and `GGW`
- `planner`: decompose the task, define execution steps, and assign likely worker departments
- `planner`: turn required documents into a document-bootstrap plan
- `review-gate`: approve, reject, or return for revision based on quality, risk, and policy fit
- `orchestrator`: dispatch to workers, track returns, and aggregate outputs
- `orchestrator`: block code generation and `engineering` dispatch until document review has explicit user confirmation
- `orchestrator`: dispatch `docs-spec` before code execution or final reporting when docs must be created or updated
- `orchestrator`: when concurrent worker execution hits a gateway-level rate limit, keep the task in execution and convert pending worker calls into a bounded queue using the maximum queue depth accepted by the active gateway or runtime
- workers: execute only within their domain and return only to `orchestrator`

## Concurrent execution rate-limit policy

Gateway-level rate limits during parallel multi-agent execution are recoverable scheduling events, not worker failures.

When a gateway returns a rate-limit response while `orchestrator` is dispatching or executing multiple worker calls:

- keep already-running worker calls active until they return or fail independently
- enqueue not-yet-admitted worker calls up to the maximum queue depth accepted by the gateway or runtime
- preserve the original worker routing, inputs, constraints, dependencies, and return path
- drain the queue as capacity becomes available, using gateway-provided retry timing when available
- record the queue event, admitted count, deferred count, retry timing, and affected worker assignments in the task card or handoff artifacts
- do not mark the task `blocked` solely because a gateway-level rate limit was reached
- mark the task `blocked` only when the queue cannot accept additional work, retry policy is exhausted, the gateway rejects queued continuation, or a human decision is required
- do not let workers self-retry outside `orchestrator`; all retry and queue decisions remain owned by `orchestrator`

## Progressive disclosure

Start with this `SKILL.md`. Then load only the references needed for the current question:

- classification or alias normalization:
  - `references/intake-classification.md`
  - `references/workflow-routing.json`
  - `references/workflow-naming.md`
- role boundaries and who may hand off to whom:
  - `references/agents.json`
  - `references/role-permissions.md`
  - `references/role-prompts.json`
- routing and dispatch policy:
  - `references/routing-rules.json`
  - `references/workflow-routing.json`
  - `references/workflow-naming.md`
- task-card, handoff, or status validation:
  - `references/task-card.schema.json`
  - `references/handoff-record.schema.json`
  - `references/status-transitions.json`
- example prompts or starter payloads:
  - `references/activation-examples.md`
  - `references/activation-examples.json`
  - `references/task-card.example.json`
  - `references/handoff-record.example.json`
- package validation and regression:
  - `references/regression-checklist.md`
  - `scripts/validate_governance_skill.py`
  - `scripts/smoke_test_prompts.py`
  - `scripts/sync_installed_skill.py`
- governance rationale or policy language:
  - `references/engineering-governance.md`
- workflow-specific contracts:
  - `references/workflows/6a.md`
  - `references/workflows/6ayh.md`
  - `references/workflows/ppw.md`
  - `references/workflows/sdd.md`
  - `references/workflows/generic-governance.md`
- package maintenance or future upgrades:
  - `references/reference-loading.md`
  - `references/maintainer-upgrade-guide.md`

Treat each workflow file's `Required documents` section as an execution contract.

## Routing policy

Route from `orchestrator` by tags:

- `code`, `bugfix`, `feature`, `algorithm`, `performance` -> `engineering`
- `docs`, `api`, `report`, `spec` -> `docs-spec`
- `data`, `cost`, `reporting`, `resource` -> `data-ops`
- `security`, `compliance`, `audit` -> `security`
- `deploy`, `cicd`, `tooling`, `automation` -> `platform`
- `agent`, `permission`, `training`, `registry` -> `governance`

If no worker matches, return to `planner` for replanning.

## Review policy

Send the task through `review-gate` when any of the following is true:

- the task is high risk
- the task spans multiple worker departments
- the acceptance criteria are unclear
- the task touches security, compliance, deployment, or permissions

When `review-gate` rejects or returns a task, it must emit `rejection_reason` and, when applicable, `required_fixes`.

## Output discipline

- record why each handoff happened
- ensure every handoff can be represented by `references/handoff-record.schema.json`
- include a `responsibility_notice` in every handoff
- follow `references/status-transitions.json` for all status moves
- keep worker outputs scoped to their own domain
- aggregate final results in `orchestrator`
- do not let workers bypass the handoff graph
- do not let workers close a task directly
- output fixed activation responses verbatim when a workflow requires them

## Maintainer note

If the user is asking to evolve this governance package itself rather than to run it on a task, keep `SKILL.md` lean and move detailed additions into `references/`. Read `references/maintainer-upgrade-guide.md` before expanding the package.

