Subchapter 11.4
references/workflow-model.mdMarkdown4 KBView on GitHub
Derive a new flow for every request. Examples may clarify a method, but must never become reusable stage lists.
Do not start from a domain lifecycle such as research -> create -> publish -> analyze. Start from the user’s final result and current starting point. Add only the intermediate conditions that must actually exist for this result.
Two requests containing the same domain word may need completely different flows. “Learn about a platform,” “publish once,” “run an account every week,” and “build a tool for creators” are not variants of one fixed template.
Ask internally:
Do not ask the user every internal question. Ask only when different answers would change the stack, cost, permissions, or deliverable.
Infer properties independently:
These properties guide decomposition without imposing a predetermined list of stages.
Split a step when it contains:
Stop splitting when the step has:
Keep this technical representation internal unless the user asks for details:
goal: user-visible result
input: what is available before the step
operation: one normalized action
output: what the step produces
constraints: []
frequency: one-off|recurring|event-driven
access: local|read-external|write-external
approval: none|before-access|before-spend|before-external-write
success: observable pass condition
fallback: alternative when unavailable
predecessors: []
successors: []Present the same information to a novice as a simple sentence: 先用已有资料确认需求,再生成可审核的结果;只有你确认后才会写入外部系统。
For each derived step, consider only the helpers that matter:
| Need | Ask internally | Possible capability terms |
|---|---|---|
| Quality/style | Does the result need a particular voice or finish? | humanizer, brand voice, proofreading |
| Accuracy | Could unsupported facts or numbers cause harm? | fact check, grounded research, citation verification |
| Compliance | Do platform, copyright, advertising, or industry rules apply? | compliance, policy audit, copyright |
| Privacy/security | Are private data, cookies, keys, or accounts involved? | secret handling, PII redaction, permission audit |
| Localization | Must language, terminology, or culture be adapted? | localization, translation QA |
| Data quality | Can records duplicate or use inconsistent formats? | dedupe, validation, schema mapping |
| Coordination | Are handoffs, schedules, retries, or approvals needed? | workflow, scheduler, human approval |
| Visibility | Must failures or outcomes be observed? | logging, analytics, monitoring |
Match helpers through their capability signature. A Skill that transforms a rough draft into natural writing may support any writing outcome without naming the user’s domain.
The flow is detailed enough when every required step has:
If the generated flow looks suspiciously similar to a prior example, discard it and derive again from the current outcome.