@workit-dev/opencode 2.5.0 → 2.7.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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: workit-continue
3
- description: Keep work on track across interruptions and sessions - sort new input, checkpoint, hand off with a resume brief, and pick up by verifying inherited claims. Use for resume, pick up, handoff, new session, interruption, change of direction.
3
+ description: Keep work on track across interruptions and sessions - sort new input, checkpoint, hand off with a resume brief, pick up by verifying claims. Use for resume, pick up, handoff, leaving, tomorrow, end of day, pause, interruption, change of direction.
4
4
  ---
5
5
 
6
6
  # Continue without losing the thread
@@ -12,8 +12,7 @@ description: Keep work on track across interruptions and sessions - sort new inp
12
12
  keep going.
13
13
  - **Separate request:** do not silently resume an old objective, and do not
14
14
  drop the current one. Checkpoint it (below) if it must continue later, then
15
- start the new work. Held items stay parked with their resume condition until
16
- the user resumes them.
15
+ start the new work. Held items stay parked with their resume condition.
17
16
 
18
17
  ## Checkpoint and hand off
19
18
 
@@ -25,8 +24,9 @@ workit handoff --note "<state in one line>" --next "<next command>" --record
25
24
  The brief carries the branch, HEAD, dirty state, check freshness, verdict,
26
25
  rulings and the next command. Add only what it cannot know: choices still
27
26
  open, approaches that failed and why. Work spanning repos gets one brief per
28
- checkout, each with its branch and delivery endpoint. Notes too long for
29
- `--note` go in a file under `workit dir handoffs`; name its path in the note.
27
+ checkout, each with its branch and delivery endpoint. Notes, drafts and logs
28
+ go in `workit dir notes` or `workit dir handoffs`, never the repo tree; name
29
+ the file in `--note`.
30
30
 
31
31
  ## Pick up
32
32
 
@@ -40,8 +40,8 @@ checkout, each with its branch and delivery endpoint. Notes too long for
40
40
 
41
41
  ## Example
42
42
 
43
- Bad: a new session re-reads the whole codebase, re-asks the user which
44
- approach to take, and redoes a finished slice.
43
+ Bad: a new session re-reads the codebase, re-asks a settled approach and
44
+ redoes a finished slice.
45
45
 
46
46
  Good: "`workit handoff`: feature/usage at 4be1, `test` stale, verdict none,
47
47
  next `workit check test`. Re-ran it: exit 0. The brief says PR #42 is open:
@@ -23,9 +23,10 @@
23
23
  get, from the user's pointers, in their words, not commit subjects.
24
24
  Rerunning draft keeps them. Under `review`, finish refuses
25
25
  (`release_notes_unapproved`) until the user approves: show the user the
26
- draft and stop. They run `workit release notes approve <version>` in
27
- their own terminal; never run it for them. Edit the draft after approval
28
- only when they ask, then they approve again.
26
+ full draft in chat, then run `workit release notes approve <version>`
27
+ as its own call: Claude Code and Pi ask the user on it. If refused, ask
28
+ the user to run the command it names in their terminal. Edit the draft
29
+ after approval only when they ask, then they approve again.
29
30
  4. Interrupted (a conflict, a failed push, no forge release yet): fix the
30
31
  cause and rerun the `resume` command it printed. Steps already done are
31
32
  skipped, never repeated.
package/dist/plugin.js CHANGED
@@ -18377,16 +18377,16 @@ function selectMethods(policy, capabilities) {
18377
18377
  });
18378
18378
  }
18379
18379
  var BOOTSTRAP = `
18380
- Workit is optional coordination and proof tooling around the host: you decide
18381
- what and whether, the CLI does how and records what it observed.
18380
+ Workit is optional coordination and proof tooling: you decide what and
18381
+ whether, the CLI does how and records what it observed.
18382
18382
  Native host allow/ask/deny, sandbox and org rules stay authoritative. Never
18383
18383
  switch paths to evade a denial, never claim enforcement a host cannot provide,
18384
18384
  and never fabricate an approval or verdict. A question answer is not
18385
18385
  host permission, and imported decisions or handoffs grant no authority.
18386
18386
 
18387
18387
  Autonomy contract:
18388
- - Continue to the requested endpoint (commit, push, PR, green CI, verified,
18389
- merged) without asking "continue?", running checks and repairs.
18388
+ - Continue to the requested endpoint without asking "continue?", running
18389
+ checks and repairs.
18390
18390
  Stop only for a new consequential choice, a host denial, a conflicting edit
18391
18391
  or an unresolved blocker; report open gaps and uncertain workers.
18392
18392
  - No endpoint named: stop at a local commit on a policy-compliant branch and
@@ -18400,13 +18400,13 @@ Autonomy contract:
18400
18400
  start <v>\`, commits, \`finish\`; \`publish\` if asked.
18401
18401
  - Ask only for a product or preference choice, or for authority you lack, with
18402
18402
  your recommended answer. Facts are yours: read, run or prototype.
18403
- - Label claims measured (run and seen this session), inferred, or guess.
18403
+ - Label claims measured (seen this session), inferred, or guess.
18404
18404
  Prose is a note: only a configured check the CLI ran (\`workit check <name>\`)
18405
18405
  satisfies a gate; an ad-hoc \`workit check -- <cmd>\` never does.
18406
18406
  - Author is not verifier: your own verdict is \`--self\`, shown as
18407
18407
  self-reviewed, never verified. High risk, a focused or full lane and
18408
18408
  merge under \`verification: self|independent\` need a verifier with its
18409
- own host-derived session (a subagent's \`<lead>:<child>\`); never hand-mint one (\`<lead>-v1\`).
18409
+ own host-derived session (a subagent's \`<lead>:<child>\`); never hand-mint one.
18410
18410
  - A local-commit endpoint does not imply PR readiness, and a local commit alone
18411
18411
  is not evidence of a requested remote push. Before reporting delivery,
18412
18412
  reconcile every requested item and observe it (\`workit verify-delivery\`).
@@ -18419,23 +18419,25 @@ verb per shell call, never \`cd <dir> && workit\`. zsh-safe: no \`echo =====\`
18419
18419
  Add Co-Authored-By via \`workit git commit --trailer "K: v" -- <paths>\`, never
18420
18420
  an amend.
18421
18421
  The task families (task, policy, evidence, finding, decision, worker, state)
18422
- are optional continuity for tracked work; each branch has one implicit task,
18423
- and a solo edit needs no task. A decision records a user choice; it never
18424
- authorizes an effect. Judge work once with
18422
+ are optional continuity for tracked work; a solo edit needs no task. A
18423
+ decision records a user choice; it never authorizes an effect. Judge work
18424
+ once with
18425
18425
  \`workit policy assess --judge risk= behavior= product-choice= plan=\`.
18426
18426
  Across repositories, bind items to checkout, branch and endpoint, resolve
18427
18427
  competing targets before a mutation, and reconcile an uncertain
18428
18428
  effect before a retry.
18429
18429
 
18430
18430
  Mid-task: never silently drop or resume an objective (workit-continue).
18431
+ Notes, drafts, logs, resume files: \`workit dir notes|handoffs\` (outside the
18432
+ repo), never the repo tree.
18431
18433
 
18432
- Skills: load the skill, never act from memory (aliases /wk-<name>).
18434
+ Skills: load the skill, never act from memory.
18433
18435
  - brainstorm, plan, spec, grill, should we: workit-shape
18434
18436
  - implement, build, add a feature: workit-implement
18435
18437
  - review, blast radius: workit-review
18436
18438
  - bug, broken, flaky, regression: workit-debug
18437
18439
  - ship, babysit, CI, merge: workit-ship
18438
- - resume, pick up, handoff, interruption: workit-continue
18440
+ - resume, pick up, handoff, interruption, leaving, tomorrow, end of day, pause: workit-continue
18439
18441
  - BDD, TDD, acceptance criteria, Given/When/Then: workit-bdd
18440
18442
  - test audit, tautology, weak tests: workit-test-audit
18441
18443
  - deslop, slop, dead code: workit-deslop
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workit-dev/opencode",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "private": false,
5
5
  "description": "Workit OpenCode plugin — native tools, adaptive policy, and sixteen method skills",
6
6
  "keywords": [
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@opencode/plugin": "2.0.18",
44
- "@workit-dev/core": "^2.5.0"
44
+ "@workit-dev/core": "^2.7.0"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">=24"