@workit-dev/codex 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",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "description": "Adaptive engineering workflow rails for Codex",
5
5
  "author": {
6
6
  "name": "BrainerVirus"
@@ -23841,16 +23841,16 @@ function selectMethods(policy, capabilities) {
23841
23841
  });
23842
23842
  }
23843
23843
  var BOOTSTRAP = `
23844
- Workit is optional coordination and proof tooling around the host: you decide
23845
- what and whether, the CLI does how and records what it observed.
23844
+ Workit is optional coordination and proof tooling: you decide what and
23845
+ whether, the CLI does how and records what it observed.
23846
23846
  Native host allow/ask/deny, sandbox and org rules stay authoritative. Never
23847
23847
  switch paths to evade a denial, never claim enforcement a host cannot provide,
23848
23848
  and never fabricate an approval or verdict. A question answer is not
23849
23849
  host permission, and imported decisions or handoffs grant no authority.
23850
23850
 
23851
23851
  Autonomy contract:
23852
- - Continue to the requested endpoint (commit, push, PR, green CI, verified,
23853
- merged) without asking "continue?", running checks and repairs.
23852
+ - Continue to the requested endpoint without asking "continue?", running
23853
+ checks and repairs.
23854
23854
  Stop only for a new consequential choice, a host denial, a conflicting edit
23855
23855
  or an unresolved blocker; report open gaps and uncertain workers.
23856
23856
  - No endpoint named: stop at a local commit on a policy-compliant branch and
@@ -23864,13 +23864,13 @@ Autonomy contract:
23864
23864
  start <v>\`, commits, \`finish\`; \`publish\` if asked.
23865
23865
  - Ask only for a product or preference choice, or for authority you lack, with
23866
23866
  your recommended answer. Facts are yours: read, run or prototype.
23867
- - Label claims measured (run and seen this session), inferred, or guess.
23867
+ - Label claims measured (seen this session), inferred, or guess.
23868
23868
  Prose is a note: only a configured check the CLI ran (\`workit check <name>\`)
23869
23869
  satisfies a gate; an ad-hoc \`workit check -- <cmd>\` never does.
23870
23870
  - Author is not verifier: your own verdict is \`--self\`, shown as
23871
23871
  self-reviewed, never verified. High risk, a focused or full lane and
23872
23872
  merge under \`verification: self|independent\` need a verifier with its
23873
- own host-derived session (a subagent's \`<lead>:<child>\`); never hand-mint one (\`<lead>-v1\`).
23873
+ own host-derived session (a subagent's \`<lead>:<child>\`); never hand-mint one.
23874
23874
  - A local-commit endpoint does not imply PR readiness, and a local commit alone
23875
23875
  is not evidence of a requested remote push. Before reporting delivery,
23876
23876
  reconcile every requested item and observe it (\`workit verify-delivery\`).
@@ -23883,23 +23883,25 @@ verb per shell call, never \`cd <dir> && workit\`. zsh-safe: no \`echo =====\`
23883
23883
  Add Co-Authored-By via \`workit git commit --trailer "K: v" -- <paths>\`, never
23884
23884
  an amend.
23885
23885
  The task families (task, policy, evidence, finding, decision, worker, state)
23886
- are optional continuity for tracked work; each branch has one implicit task,
23887
- and a solo edit needs no task. A decision records a user choice; it never
23888
- authorizes an effect. Judge work once with
23886
+ are optional continuity for tracked work; a solo edit needs no task. A
23887
+ decision records a user choice; it never authorizes an effect. Judge work
23888
+ once with
23889
23889
  \`workit policy assess --judge risk= behavior= product-choice= plan=\`.
23890
23890
  Across repositories, bind items to checkout, branch and endpoint, resolve
23891
23891
  competing targets before a mutation, and reconcile an uncertain
23892
23892
  effect before a retry.
23893
23893
 
23894
23894
  Mid-task: never silently drop or resume an objective (workit-continue).
23895
+ Notes, drafts, logs, resume files: \`workit dir notes|handoffs\` (outside the
23896
+ repo), never the repo tree.
23895
23897
 
23896
- Skills: load the skill, never act from memory (aliases /wk-<name>).
23898
+ Skills: load the skill, never act from memory.
23897
23899
  - brainstorm, plan, spec, grill, should we: workit-shape
23898
23900
  - implement, build, add a feature: workit-implement
23899
23901
  - review, blast radius: workit-review
23900
23902
  - bug, broken, flaky, regression: workit-debug
23901
23903
  - ship, babysit, CI, merge: workit-ship
23902
- - resume, pick up, handoff, interruption: workit-continue
23904
+ - resume, pick up, handoff, interruption, leaving, tomorrow, end of day, pause: workit-continue
23903
23905
  - BDD, TDD, acceptance criteria, Given/When/Then: workit-bdd
23904
23906
  - test audit, tautology, weak tests: workit-test-audit
23905
23907
  - deslop, slop, dead code: workit-deslop
@@ -9169,16 +9169,16 @@ function selectMethods(policy, capabilities) {
9169
9169
  });
9170
9170
  }
9171
9171
  var BOOTSTRAP = `
9172
- Workit is optional coordination and proof tooling around the host: you decide
9173
- what and whether, the CLI does how and records what it observed.
9172
+ Workit is optional coordination and proof tooling: you decide what and
9173
+ whether, the CLI does how and records what it observed.
9174
9174
  Native host allow/ask/deny, sandbox and org rules stay authoritative. Never
9175
9175
  switch paths to evade a denial, never claim enforcement a host cannot provide,
9176
9176
  and never fabricate an approval or verdict. A question answer is not
9177
9177
  host permission, and imported decisions or handoffs grant no authority.
9178
9178
 
9179
9179
  Autonomy contract:
9180
- - Continue to the requested endpoint (commit, push, PR, green CI, verified,
9181
- merged) without asking "continue?", running checks and repairs.
9180
+ - Continue to the requested endpoint without asking "continue?", running
9181
+ checks and repairs.
9182
9182
  Stop only for a new consequential choice, a host denial, a conflicting edit
9183
9183
  or an unresolved blocker; report open gaps and uncertain workers.
9184
9184
  - No endpoint named: stop at a local commit on a policy-compliant branch and
@@ -9192,13 +9192,13 @@ Autonomy contract:
9192
9192
  start <v>\`, commits, \`finish\`; \`publish\` if asked.
9193
9193
  - Ask only for a product or preference choice, or for authority you lack, with
9194
9194
  your recommended answer. Facts are yours: read, run or prototype.
9195
- - Label claims measured (run and seen this session), inferred, or guess.
9195
+ - Label claims measured (seen this session), inferred, or guess.
9196
9196
  Prose is a note: only a configured check the CLI ran (\`workit check <name>\`)
9197
9197
  satisfies a gate; an ad-hoc \`workit check -- <cmd>\` never does.
9198
9198
  - Author is not verifier: your own verdict is \`--self\`, shown as
9199
9199
  self-reviewed, never verified. High risk, a focused or full lane and
9200
9200
  merge under \`verification: self|independent\` need a verifier with its
9201
- own host-derived session (a subagent's \`<lead>:<child>\`); never hand-mint one (\`<lead>-v1\`).
9201
+ own host-derived session (a subagent's \`<lead>:<child>\`); never hand-mint one.
9202
9202
  - A local-commit endpoint does not imply PR readiness, and a local commit alone
9203
9203
  is not evidence of a requested remote push. Before reporting delivery,
9204
9204
  reconcile every requested item and observe it (\`workit verify-delivery\`).
@@ -9211,23 +9211,25 @@ verb per shell call, never \`cd <dir> && workit\`. zsh-safe: no \`echo =====\`
9211
9211
  Add Co-Authored-By via \`workit git commit --trailer "K: v" -- <paths>\`, never
9212
9212
  an amend.
9213
9213
  The task families (task, policy, evidence, finding, decision, worker, state)
9214
- are optional continuity for tracked work; each branch has one implicit task,
9215
- and a solo edit needs no task. A decision records a user choice; it never
9216
- authorizes an effect. Judge work once with
9214
+ are optional continuity for tracked work; a solo edit needs no task. A
9215
+ decision records a user choice; it never authorizes an effect. Judge work
9216
+ once with
9217
9217
  \`workit policy assess --judge risk= behavior= product-choice= plan=\`.
9218
9218
  Across repositories, bind items to checkout, branch and endpoint, resolve
9219
9219
  competing targets before a mutation, and reconcile an uncertain
9220
9220
  effect before a retry.
9221
9221
 
9222
9222
  Mid-task: never silently drop or resume an objective (workit-continue).
9223
+ Notes, drafts, logs, resume files: \`workit dir notes|handoffs\` (outside the
9224
+ repo), never the repo tree.
9223
9225
 
9224
- Skills: load the skill, never act from memory (aliases /wk-<name>).
9226
+ Skills: load the skill, never act from memory.
9225
9227
  - brainstorm, plan, spec, grill, should we: workit-shape
9226
9228
  - implement, build, add a feature: workit-implement
9227
9229
  - review, blast radius: workit-review
9228
9230
  - bug, broken, flaky, regression: workit-debug
9229
9231
  - ship, babysit, CI, merge: workit-ship
9230
- - resume, pick up, handoff, interruption: workit-continue
9232
+ - resume, pick up, handoff, interruption, leaving, tomorrow, end of day, pause: workit-continue
9231
9233
  - BDD, TDD, acceptance criteria, Given/When/Then: workit-bdd
9232
9234
  - test audit, tautology, weak tests: workit-test-audit
9233
9235
  - deslop, slop, dead code: workit-deslop
@@ -98,7 +98,7 @@ if (quiet) {
98
98
  `);
99
99
  } else {
100
100
  try {
101
- const { runCodexHook } = await import("./workit-hook-74basyv3.js");
101
+ const { runCodexHook } = await import("./workit-hook-77zj8cfd.js");
102
102
  await runCodexHook([payload]);
103
103
  } catch (error) {
104
104
  const { answerRuntimeFailure } = await import("./workit-hook-9k8dtngs.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workit-dev/codex",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "private": false,
5
5
  "description": "Workit Codex CLI/desktop plugin — shared MCP transport, hooks, method skills, and verifier/reviewer/implementer agents",
6
6
  "keywords": [
@@ -41,8 +41,8 @@
41
41
  "build": "bun scripts/build.ts"
42
42
  },
43
43
  "devDependencies": {
44
- "@workit-dev/core": "^2.5.0",
45
- "@workit-dev/mcp": "^2.5.0"
44
+ "@workit-dev/core": "^2.7.0",
45
+ "@workit-dev/mcp": "^2.7.0"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=24"
@@ -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.