@brainervirus/workit-opencode 8.24.0 → 8.25.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.
@@ -40,7 +40,7 @@ units of ~100+ lines each. Coupled work stays with one owner. Workit never spawn
40
40
  chain resumes. A fix round and recheck that both fail: a decider, not a
41
41
  third round; product choices go to the user (`references/orchestration.md`).
42
42
  7. **Verify by the workspace `verification` setting** (`workit grant show`).
43
- 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 (cheap model: Claude Code `model: sonnet`) and full a verifier after the last push. `self`: a verifier that wrote none
43
+ 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 (cheap model: Claude Code `model: sonnet`) and full a 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
44
44
  of the slices, or you if you wrote none. `independent` or high risk: a
45
45
  separate verifier session, never yours (doctrine: the ledger only refuses
46
46
  authors). One verifier may take a batch of slices, one verdict per branch
@@ -25,7 +25,7 @@ REPORT: branch, head SHA, files changed, each VERIFY command with its exit code,
25
25
  each ACCEPTANCE line met / not met, rulings you made (`workit ledger ruling`),
26
26
  anything out of scope as a follow-up, not a diff.
27
27
  STANDING: <the standing orders, verbatim: `workit ledger standing add` records each one>
28
- WORKTREE: <the path `workit fanout worktree create <slice>` made; the worker runs `workit --cwd <it> …` there>
28
+ WORKTREE: <the path `workit fanout worktree create <slice>` made; the worker runs `workit <verb> --cwd <it> …` there>
29
29
  <identity line, per the lead's host: see "Identity and git rules per host" below>
30
30
  ```
31
31
 
@@ -114,7 +114,7 @@ lead's host (`WORKIT_HOST`, or the host's own session variable):
114
114
 
115
115
  Once `workit fanout worktree create <slice>` made the worktree, the brief's
116
116
  WORKTREE line names it and RULES 1 and 3 run against it on every host:
117
- `workit --cwd <worktree> git commit …`, `workit --cwd <worktree> check <name>`,
117
+ `workit git --cwd <worktree> commit …`, `workit check --cwd <worktree> <name>`,
118
118
  one verb per call. The worktree is already on the branch (MODE new or resume),
119
119
  so no branch command comes first. Without one, `MODE: resume` is
120
120
  `git switch <branch>` (the branch exists), then continue from its head. A race
@@ -124,13 +124,13 @@ attempt (`--attempt <n>`) follows its host's row with the branch
124
124
  ## Worker rules (`workit fanout brief` appends them as RULES)
125
125
 
126
126
  1. Work only in WORKTREE, already on the branch, one verb per call against it
127
- (`workit --cwd <worktree> …`); Workit's hooks deny an implementer's change
127
+ (`workit <verb> --cwd <worktree> …`); Workit's hooks deny an implementer's change
128
128
  outside it. With no worktree made yet: create the branch (`MODE: new`) or
129
129
  `git switch` to it (`MODE: resume`), as the table above says.
130
130
  2. Decide ambiguities yourself and record them:
131
131
  `workit ledger ruling "<what>" --why "<why>" --cost-if-wrong "<cost>"`.
132
132
  Stop only for an irreversible action, a security-sensitive one, or a side
133
133
  effect outside the worktree.
134
- 3. Commit with `workit --cwd <worktree> git commit -m "<msg>" -- <paths in SCOPE>`;
134
+ 3. Commit with `workit git --cwd <worktree> commit -m "<msg>" -- <paths in SCOPE>`;
135
135
  push only if the brief says so.
136
136
  4. Never record a verdict on your own work.
@@ -16,6 +16,8 @@ independent; `type-check-only` never proves a behavior change.
16
16
  Depth follows the review lane in `workit pr status`: focused reads the diff and
17
17
  runs its tests; full also drives the real surface (verify-<app>). Review once
18
18
  per PR after its last push; a second pass on an unchanged head is waste.
19
+ A stale verdict showing `reverify: focused (<files>)` in `workit pr status`: re-check only
20
+ those files since the judged head and reuse green CI there (no fresh install, no full suite).
19
21
 
20
22
  1. Pin the candidate: `git rev-parse HEAD`, the base, `git diff <base>...HEAD`;
21
23
  for a PR, `workit pr status --json` (checks, unresolved threads).
@@ -51,7 +51,7 @@ the same check. Fix round and recheck both failed: a decider (call the skill too
51
51
  allows; no sleep loop. Red: read `logTail`, classify. Flake or infra: one
52
52
  `workit ci rerun --failed --reason flake|infra` per head. Real: reproduce
53
53
  with `workit check`, fix the root cause, batch every fix in one push.
54
- 6. **Verified.** The lane in `workit pr status` decides: none, no verdict; self, your `--self` verdict; focused or full (or `verification: self|independent`), one non-author verifier per PR after the last push, never per push (call the skill tool with `workit-review`), on Claude Code `model: sonnet` when focused. Land only when
54
+ 6. **Verified.** The lane in `workit pr status` decides: none, no verdict; self, your `--self` verdict; focused or full (or `verification: self|independent`), one non-author verifier per PR after the last push, never per push (call the skill tool with `workit-review`), on Claude Code `model: sonnet` when focused. A docs-only push (or test-only under a unit verdict) keeps the verdict (`carried`); `reverify: focused` re-checks only the new diff, reusing green CI; one verdict at a stack's top covers its unchanged lower PRs. Land only when
55
55
  granted: `workit stack land` or `workit pr merge`; `--unverified --reason` if user-asked.
56
56
  7. **Observe it landed:** `workit verify-delivery pr` or `merge`. After a failed
57
57
  verdict or a check red 3+ times, at any endpoint: offer `/wk-retro` in one