@workit-dev/opencode 2.13.0 → 2.15.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.
|
@@ -39,7 +39,7 @@ units of ~100+ lines each. Coupled work stays with one owner. Workit never spawn
|
|
|
39
39
|
6. **Retry once, then escalate.** A stuck or failed slice gets one retry with
|
|
40
40
|
a fresh brief (`workit fanout brief <slice> --mode resume`, same branch);
|
|
41
41
|
if that fails too, re-slice it, take it over, or report the gap. Never
|
|
42
|
-
chain resumes. A fix round and recheck that both fail:
|
|
42
|
+
chain resumes. A fix round and recheck that both fail: the decider agent, not a
|
|
43
43
|
third round; product choices go to the user (`references/orchestration.md`).
|
|
44
44
|
7. **Verify by the workspace `verification` setting** (`workit grant show`).
|
|
45
45
|
A report is a pointer, never evidence. `proportional` (default): each slice's lane (`workit pr status`) decides; none needs no verdict, self the author's `--self`, focused and full a verifier (Claude Code: the `model` and `effort` of `workit models show --role verifier`) after the last push; one verdict at a stack's top covers its unchanged lower PRs, and a stale one with `reverify: focused` re-checks only the new diff, reusing green CI. `self`: a verifier that wrote none
|
|
@@ -5,35 +5,37 @@ and fans in. Workit records and checks; the host's own subagents run the work.
|
|
|
5
5
|
|
|
6
6
|
## TIER to model
|
|
7
7
|
|
|
8
|
-
TIER is a field of each slice and of its brief.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
| Role or TIER |
|
|
8
|
+
TIER is a field of each slice and of its brief. Each Workit role is a host
|
|
9
|
+
agent that carries its own model: spawn it by name and pass no `model` or
|
|
10
|
+
`effort` unless the user named one (a named model always wins).
|
|
11
|
+
|
|
12
|
+
| Host | Spawn by name |
|
|
13
|
+
| --- | --- |
|
|
14
|
+
| Claude Code | `workit:implementer`, `workit:verifier`, `workit:reviewer`, `workit:decider`, `workit:babysitter`; search: `Explore` |
|
|
15
|
+
| OpenCode | `workit-implementer`, `workit-verifier`, `workit-reviewer`, `workit-decider`, `workit-babysitter` |
|
|
16
|
+
| Codex | the same `workit-*` names |
|
|
17
|
+
| Cursor | `workit-verifier`, `workit-reviewer`, `workit-decider`, `workit-babysitter` |
|
|
18
|
+
|
|
19
|
+
Claude Code, with nothing configured (pass a brief's `SPAWN:` line as printed):
|
|
20
|
+
|
|
21
|
+
| Role or TIER | Model |
|
|
22
22
|
| --- | --- |
|
|
23
|
-
| decider | `fable`, effort `high` |
|
|
24
|
-
| hard | `opus` |
|
|
25
|
-
| standard | `sonnet` |
|
|
26
|
-
| mundane | `haiku` |
|
|
27
|
-
|
|
|
28
|
-
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
`
|
|
35
|
-
`models.
|
|
36
|
-
|
|
23
|
+
| decider | `fable`, effort `high` (agent file) |
|
|
24
|
+
| hard | `opus` (the brief's SPAWN line) |
|
|
25
|
+
| standard, verifier | `sonnet` (agent file) |
|
|
26
|
+
| mundane | `haiku` (the brief's SPAWN line) |
|
|
27
|
+
| reviewer | `opus` (agent file) |
|
|
28
|
+
| babysitter | `haiku` (agent file) |
|
|
29
|
+
|
|
30
|
+
A role
|
|
31
|
+
configured in `models.roles` to another model is listed in your session
|
|
32
|
+
contract (Claude Code) or set on the host's agent (OpenCode, Codex); `workit
|
|
33
|
+
models show [--role r] [--host h]` prints per host whether it comes from the
|
|
34
|
+
`agent file`, a `spawn fill` or is `advisory` (pass it yourself), and the
|
|
35
|
+
`models.enforce` mode. Under `strict` a configured role model beats a named
|
|
36
|
+
one and Claude Code's auto mode denies a spawn that lacks it. A role with no
|
|
37
|
+
model runs on the host's model, and TIER only sizes the timebox and decides
|
|
38
|
+
whether to race. `models.lead` (your own model) is advisory.
|
|
37
39
|
|
|
38
40
|
## Rolling window
|
|
39
41
|
|
|
@@ -66,10 +68,9 @@ reversibility (the option cheapest to undo wins a tie), and the exact change
|
|
|
66
68
|
list. The fixer applies that list once, then one focused recheck follows.
|
|
67
69
|
|
|
68
70
|
- Hard call (shared contract, security, migration): two deciders on different
|
|
69
|
-
models (Claude Code, OpenCode, Cursor:
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
more reversible option.
|
|
71
|
+
models (Claude Code, OpenCode, Cursor: one bare decider spawn and one that
|
|
72
|
+
names another `model`; Codex and Pi: one decider). If they disagree, you
|
|
73
|
+
take the more reversible option.
|
|
73
74
|
- Record it: `workit ledger decision "<pick>" --by decider --why "<why it is
|
|
74
75
|
the more reversible>" --view "<decider A: view>" --view "<decider B: view>"`.
|
|
75
76
|
The row is listed as a decider call; it is never the user's answer to a
|
|
@@ -45,7 +45,7 @@ those files since the judged head and reuse green CI there (no fresh install, no
|
|
|
45
45
|
under your own session (the one the lead or the hook gave you).
|
|
46
46
|
8. **Bound the loop.** A failed verdict gets one fix round and one recheck of
|
|
47
47
|
the changed hunks. Still failing, or stuck: no third round; the lead spawns
|
|
48
|
-
|
|
48
|
+
the decider agent by name, no model (call the skill tool with `workit-fanout`). A product choice: the user.
|
|
49
49
|
9. **Harness note** (optional): friction caused by the repo or harness, not
|
|
50
50
|
the change (a flaky fixture, a missing check, a misleading doc or skill
|
|
51
51
|
line), goes on its own `Harness note:` line in the report and any PR
|
|
@@ -29,7 +29,7 @@ once the verdict is accepted. `merged`: step 7. `null` (closed, not merged):
|
|
|
29
29
|
stop and report. Stop early only for a new consequential choice, a host
|
|
30
30
|
denial, a review comment that needs a product decision, a required update
|
|
31
31
|
that repeats because the base keeps moving, or after 3 failed fix attempts on
|
|
32
|
-
the same check. Fix round and recheck both failed:
|
|
32
|
+
the same check. Fix round and recheck both failed: the decider agent (call the skill tool with `workit-fanout`).
|
|
33
33
|
|
|
34
34
|
1. **Open.** Last before the PR, if `workit grant show` has `changelog: update|create`: write the Unreleased entry with `workit changelog apply`, commit it; with `docs: when-user-facing` fix only docs the diff made false (`references/changelog.md`).
|
|
35
35
|
Full local check (`workit check ci` when `.workit/checks.json` has a `ci` group), push once: `workit git push`, then `workit pr template` and fill the template it prints: every heading, each `<!-- -->` replaced (Workit's: `references/pr-body.md`).
|