orchestrator-workflow 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/assets/agents-md-section.md +22 -7
- package/assets/skill/SKILL.md +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,8 @@ Two effects fall out of this shape:
|
|
|
39
39
|
structured YAML evidence instead of transcripts, and durable state lives
|
|
40
40
|
in run files that survive context compaction. The cheap models do the
|
|
41
41
|
volume work; the strongest model is spent only on orchestration decisions
|
|
42
|
-
and the skeptical review.
|
|
42
|
+
and the skeptical review. The ceremony scales to the task: a trivial change
|
|
43
|
+
is done directly, the full flow is for non-trivial work.
|
|
43
44
|
- **Quality through structure.** Writing and reviewing are separated by
|
|
44
45
|
role and model, task slices are validated before any implementation
|
|
45
46
|
starts, acceptance is decided on evidence (tests executed, findings
|
|
@@ -5,10 +5,9 @@ This repository uses an orchestrator-led agent workflow, installed and updated b
|
|
|
5
5
|
[orchestrator-workflow](https://github.com/LanNguyenSi/agent-dx/tree/master/packages/orchestrator-workflow).
|
|
6
6
|
|
|
7
7
|
The primary agent acts as the orchestrator. It owns the goal, planning, task
|
|
8
|
-
validation, delegation, final acceptance, and the operator handoff.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
skill.
|
|
8
|
+
validation, delegation, final acceptance, and the operator handoff. Non-trivial
|
|
9
|
+
implementation and review are delegated to narrow subagents. The full procedure
|
|
10
|
+
and the subagent I/O contracts live in the `orchestrator-workflow` skill.
|
|
12
11
|
|
|
13
12
|
### Core rules
|
|
14
13
|
|
|
@@ -16,12 +15,28 @@ skill.
|
|
|
16
15
|
further subagents.
|
|
17
16
|
- The orchestrator plans features itself. It may delegate task slicing, but it
|
|
18
17
|
validates the sliced tasks before implementation starts.
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
- Non-trivial implementation goes to narrow implementer subagents, one task
|
|
19
|
+
per subagent.
|
|
20
|
+
- Non-trivial review goes to a separate reviewer subagent (see Scaling
|
|
21
|
+
delegation). Review itself is never skipped, not even for docs or batch
|
|
22
|
+
changes.
|
|
22
23
|
- Final acceptance and the final answer to the operator stay with the
|
|
23
24
|
orchestrator.
|
|
24
25
|
|
|
26
|
+
### Scaling delegation
|
|
27
|
+
|
|
28
|
+
The orchestrator matches the ceremony to the task; the full flow is a
|
|
29
|
+
default, not a ritual.
|
|
30
|
+
|
|
31
|
+
- A trivial change (a typo, a one-line fix, a rename) may be implemented by
|
|
32
|
+
the orchestrator directly, without slicing or an implementer subagent.
|
|
33
|
+
- Slicing and implementer subagents are for non-trivial work: multiple files,
|
|
34
|
+
real logic, or anything that benefits from decomposition or a fresh context.
|
|
35
|
+
- Review judgment applies to every change. For a trivial change the
|
|
36
|
+
orchestrator may review it itself; reserve the reviewer subagent for
|
|
37
|
+
changes whose risk or size warrants an independent skeptical pass. Either
|
|
38
|
+
way, review is never skipped.
|
|
39
|
+
|
|
25
40
|
### Context discipline
|
|
26
41
|
|
|
27
42
|
- Prefer task-local context over repository-wide context.
|
package/assets/skill/SKILL.md
CHANGED
|
@@ -15,6 +15,12 @@ tasks to specialized subagents. The goal is to improve quality, reduce
|
|
|
15
15
|
context-window pressure, and keep the operator informed through structured
|
|
16
16
|
handoffs.
|
|
17
17
|
|
|
18
|
+
Scale the ceremony to the task. The workflow below is the default for
|
|
19
|
+
non-trivial work; a trivial change (a typo, a one-line fix) may be done
|
|
20
|
+
directly by the orchestrator and reviewed by it, without slicing or spawning
|
|
21
|
+
subagents. Review judgment still applies to every change; only the size of
|
|
22
|
+
the apparatus changes.
|
|
23
|
+
|
|
18
24
|
## Roles
|
|
19
25
|
|
|
20
26
|
- **Operator**: the human requester. Provides goal and constraints, approves or
|
|
@@ -58,6 +64,10 @@ older directories are the auditable history. Do not edit past runs.
|
|
|
58
64
|
|
|
59
65
|
## Workflow
|
|
60
66
|
|
|
67
|
+
For a non-trivial change, run the full flow below. For a trivial change, do
|
|
68
|
+
the work directly, review it, and still leave a short handoff; skip the run
|
|
69
|
+
directory and the subagents.
|
|
70
|
+
|
|
61
71
|
1. **Understand the goal.** Create the run directory and fill `00-goal.md`:
|
|
62
72
|
operator request, goal, non-goals, constraints, assumptions, open questions.
|
|
63
73
|
If the task can proceed on reasonable assumptions, proceed without blocking.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orchestrator-workflow",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Installer for an orchestrator-led agent workflow: .ai/ run state, an AGENTS.md policy section, and per-harness subagent definitions for Claude Code, OpenAI Codex, and opencode",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|