@erclx/canon 4.23.1 → 4.24.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/claude/.claude-plugin/plugin.json +1 -1
- package/claude/skills/claude-orchestrate/REQUIREMENT.md +1 -0
- package/claude/skills/claude-orchestrate/SKILL.md +8 -0
- package/claude/skills/claude-orchestrate/references/orchestrator-parked.md +2 -0
- package/docs/workflow/operating-model.md +8 -0
- package/package.json +1 -1
|
@@ -94,6 +94,7 @@ The session also records nothing of what it learns. Both other callers of memory
|
|
|
94
94
|
- Merge. Recommend merge or changes and leave the gate to the human.
|
|
95
95
|
- Spawn a worker with the Agent tool, since an in-process subagent shares this session's context and cannot be steered or reached independently. A dispatched `claude --bg` process is not this: it is a separate session with its own worktree and its own PR, gated by the collision check and the file-set disjointness test.
|
|
96
96
|
- Hand a worker anything but a plan, because scope lives there
|
|
97
|
+
- Name a count of the defect's extent or the mechanism behind it while filing a row, since this seat measures a defect from where it stands and the planner is the reader who commits to that scope. A blocker re-test, a collision check, and a file set decide whether a row can start rather than how big it is, and they stay.
|
|
97
98
|
- Run a second orchestrator against the same board
|
|
98
99
|
- Promote a task to fill the queue when nothing qualifies. A thin queue is a real answer.
|
|
99
100
|
- Promote a parked row on how long it has waited, since age is not a measurement of the blocker
|
|
@@ -149,6 +149,14 @@ The tracked-file boundary collides with `CLAUDE.md`, which says to handle a smal
|
|
|
149
149
|
|
|
150
150
|
Record a change identified while orchestrating against the task that owns it, fold one no task owns into the next task touching the same surface, and file a task only when no such task exists or is expected. Run `claude-review` when the boundary is crossed anyway, since a branch-diff pass is not independent and is the only check a self-authored change can get.
|
|
151
151
|
|
|
152
|
+
Filing a row states the defect and the surface it was seen on, and stops there. The extent and the cause belong to whoever plans it, so a row names neither a count of how far the defect reaches nor the mechanism behind it. Say in a plain sentence in the task file that the count was not taken, where the row's shape invites one, rather than in a marker of any prescribed form. The board's own cell has no room for it, since `${CLAUDE_SKILL_DIR}/../../standards/tasks.md` caps a `Waiting on` cell at two clauses.
|
|
153
|
+
|
|
154
|
+
A finding placed into another task's `## Findings` is filing under a second name and takes the same rule. An unverified cause costs more than an unverified count, since a count fails loudly at the first re-measurement while a mechanism nobody opened the module to check sends real work in the wrong direction.
|
|
155
|
+
|
|
156
|
+
What the measurement decides is the test, rather than whether one was taken. A measurement that decides whether a row can start stays in this seat, which covers the blocker re-test in `${CLAUDE_SKILL_DIR}/references/orchestrator-parked.md`, the collision check before a dispatch, and the file set refill step 6 lists against every track in flight. One that decides how big the row is goes to the planner.
|
|
157
|
+
|
|
158
|
+
Both kinds read the same tree, and only a sizing count commits a plan to a scope this seat cannot see the whole of. A row filed under `## Needs a plan` carries no `Touches` column either, so filing it unmeasured owes no file set and the disjointness machinery is untouched. A position claim in that group's cell is in scope as well: name the row it outranks or the class it belongs to, each a judgment about order, and never reach for a count of the defect's extent to justify the rank, which is the untested number this boundary keeps off the row wearing a ranking argument.
|
|
159
|
+
|
|
152
160
|
## Refilling the ready queue
|
|
153
161
|
|
|
154
162
|
Keep enough planned, non-conflicting tasks available that a free worker never waits, and place the findings the last merge produced before promoting anything new. Run this after every merge, whenever the ready list thins, and whenever a wave is in flight with fewer unclaimed plans than there are workers building. `${CLAUDE_SKILL_DIR}/references/orchestrator-sweep.md` wraps this procedure for a batch of merges and adds the plan re-verification that a merge invalidates.
|
|
@@ -29,6 +29,8 @@ The blocker cell states what the row waits on, and each kind is tested different
|
|
|
29
29
|
- Waiting on a plan: nothing external holds the row, so the pass writes the plan rather than testing anything. See The plan half below.
|
|
30
30
|
- Waiting on an operator action, such as a run that happens from a shell: record it as untestable this pass and name what the operator has to do. A session cannot clear it, and re-measuring it every pass is waste.
|
|
31
31
|
|
|
32
|
+
Every measurement this pass takes is a blocker re-test on a row already filed, and it decides whether that row can start rather than how big it is. Sizing a row is the filing boundary `claude-orchestrate` states under `## Boundaries`, which leaves the extent and the cause to whoever plans the row.
|
|
33
|
+
|
|
32
34
|
Write the result into the row. A re-test reported in chat is lost at the next compaction and the next pass measures the same thing again. Rewrite a blocker cell whose test no longer holds, move the row to the group its new state puts it in, and record the measurement in that task's `## Findings` with the date it was taken. `### Writing the board` in `claude-orchestrate` owns the method, and `canon tasks validate` runs once the board is rewritten and before the report.
|
|
33
35
|
|
|
34
36
|
## Two ways a re-test goes wrong
|
|
@@ -65,6 +65,14 @@ goes to the task that owns the surface, or folds into the next task touching it,
|
|
|
65
65
|
because a session that writes a change cannot review it independently afterwards
|
|
66
66
|
and no later session recovers that vantage.
|
|
67
67
|
|
|
68
|
+
Filing that row stops at the defect and the surface it was seen on. How far the
|
|
69
|
+
defect reaches and what causes it belong to whoever plans the row, so it arrives
|
|
70
|
+
carrying neither a count nor an asserted mechanism, and the seat that found it
|
|
71
|
+
says as much in a plain sentence rather than supplying either. What separates the
|
|
72
|
+
two is what a measurement decides: the blocker re-test, the collision check, and
|
|
73
|
+
the file set compared against every track in flight all decide whether a row can
|
|
74
|
+
start, and only a count of the defect's extent decides how big it is.
|
|
75
|
+
|
|
68
76
|
## The loop
|
|
69
77
|
|
|
70
78
|
One feature travels this path end to end.
|