@workit-dev/pi 2.6.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.
- package/dist/worker.js +13 -11
- package/dist/workit.js +13 -11
- package/package.json +1 -1
- package/skills/workit-continue/SKILL.md +7 -7
package/dist/worker.js
CHANGED
|
@@ -8831,16 +8831,16 @@ var GENERAL = new Set(["", "general-purpose", "general"]);
|
|
|
8831
8831
|
|
|
8832
8832
|
// packages/workit-core/src/core/methods.ts
|
|
8833
8833
|
var BOOTSTRAP = `
|
|
8834
|
-
Workit is optional coordination and proof tooling
|
|
8835
|
-
|
|
8834
|
+
Workit is optional coordination and proof tooling: you decide what and
|
|
8835
|
+
whether, the CLI does how and records what it observed.
|
|
8836
8836
|
Native host allow/ask/deny, sandbox and org rules stay authoritative. Never
|
|
8837
8837
|
switch paths to evade a denial, never claim enforcement a host cannot provide,
|
|
8838
8838
|
and never fabricate an approval or verdict. A question answer is not
|
|
8839
8839
|
host permission, and imported decisions or handoffs grant no authority.
|
|
8840
8840
|
|
|
8841
8841
|
Autonomy contract:
|
|
8842
|
-
- Continue to the requested endpoint
|
|
8843
|
-
|
|
8842
|
+
- Continue to the requested endpoint without asking "continue?", running
|
|
8843
|
+
checks and repairs.
|
|
8844
8844
|
Stop only for a new consequential choice, a host denial, a conflicting edit
|
|
8845
8845
|
or an unresolved blocker; report open gaps and uncertain workers.
|
|
8846
8846
|
- No endpoint named: stop at a local commit on a policy-compliant branch and
|
|
@@ -8854,13 +8854,13 @@ Autonomy contract:
|
|
|
8854
8854
|
start <v>\`, commits, \`finish\`; \`publish\` if asked.
|
|
8855
8855
|
- Ask only for a product or preference choice, or for authority you lack, with
|
|
8856
8856
|
your recommended answer. Facts are yours: read, run or prototype.
|
|
8857
|
-
- Label claims measured (
|
|
8857
|
+
- Label claims measured (seen this session), inferred, or guess.
|
|
8858
8858
|
Prose is a note: only a configured check the CLI ran (\`workit check <name>\`)
|
|
8859
8859
|
satisfies a gate; an ad-hoc \`workit check -- <cmd>\` never does.
|
|
8860
8860
|
- Author is not verifier: your own verdict is \`--self\`, shown as
|
|
8861
8861
|
self-reviewed, never verified. High risk, a focused or full lane and
|
|
8862
8862
|
merge under \`verification: self|independent\` need a verifier with its
|
|
8863
|
-
own host-derived session (a subagent's \`<lead>:<child>\`); never hand-mint one
|
|
8863
|
+
own host-derived session (a subagent's \`<lead>:<child>\`); never hand-mint one.
|
|
8864
8864
|
- A local-commit endpoint does not imply PR readiness, and a local commit alone
|
|
8865
8865
|
is not evidence of a requested remote push. Before reporting delivery,
|
|
8866
8866
|
reconcile every requested item and observe it (\`workit verify-delivery\`).
|
|
@@ -8873,23 +8873,25 @@ verb per shell call, never \`cd <dir> && workit\`. zsh-safe: no \`echo =====\`
|
|
|
8873
8873
|
Add Co-Authored-By via \`workit git commit --trailer "K: v" -- <paths>\`, never
|
|
8874
8874
|
an amend.
|
|
8875
8875
|
The task families (task, policy, evidence, finding, decision, worker, state)
|
|
8876
|
-
are optional continuity for tracked work;
|
|
8877
|
-
|
|
8878
|
-
|
|
8876
|
+
are optional continuity for tracked work; a solo edit needs no task. A
|
|
8877
|
+
decision records a user choice; it never authorizes an effect. Judge work
|
|
8878
|
+
once with
|
|
8879
8879
|
\`workit policy assess --judge risk= behavior= product-choice= plan=\`.
|
|
8880
8880
|
Across repositories, bind items to checkout, branch and endpoint, resolve
|
|
8881
8881
|
competing targets before a mutation, and reconcile an uncertain
|
|
8882
8882
|
effect before a retry.
|
|
8883
8883
|
|
|
8884
8884
|
Mid-task: never silently drop or resume an objective (workit-continue).
|
|
8885
|
+
Notes, drafts, logs, resume files: \`workit dir notes|handoffs\` (outside the
|
|
8886
|
+
repo), never the repo tree.
|
|
8885
8887
|
|
|
8886
|
-
Skills: load the skill, never act from memory
|
|
8888
|
+
Skills: load the skill, never act from memory.
|
|
8887
8889
|
- brainstorm, plan, spec, grill, should we: workit-shape
|
|
8888
8890
|
- implement, build, add a feature: workit-implement
|
|
8889
8891
|
- review, blast radius: workit-review
|
|
8890
8892
|
- bug, broken, flaky, regression: workit-debug
|
|
8891
8893
|
- ship, babysit, CI, merge: workit-ship
|
|
8892
|
-
- resume, pick up, handoff, interruption: workit-continue
|
|
8894
|
+
- resume, pick up, handoff, interruption, leaving, tomorrow, end of day, pause: workit-continue
|
|
8893
8895
|
- BDD, TDD, acceptance criteria, Given/When/Then: workit-bdd
|
|
8894
8896
|
- test audit, tautology, weak tests: workit-test-audit
|
|
8895
8897
|
- deslop, slop, dead code: workit-deslop
|
package/dist/workit.js
CHANGED
|
@@ -18159,16 +18159,16 @@ function selectMethods(policy, capabilities) {
|
|
|
18159
18159
|
});
|
|
18160
18160
|
}
|
|
18161
18161
|
var BOOTSTRAP = `
|
|
18162
|
-
Workit is optional coordination and proof tooling
|
|
18163
|
-
|
|
18162
|
+
Workit is optional coordination and proof tooling: you decide what and
|
|
18163
|
+
whether, the CLI does how and records what it observed.
|
|
18164
18164
|
Native host allow/ask/deny, sandbox and org rules stay authoritative. Never
|
|
18165
18165
|
switch paths to evade a denial, never claim enforcement a host cannot provide,
|
|
18166
18166
|
and never fabricate an approval or verdict. A question answer is not
|
|
18167
18167
|
host permission, and imported decisions or handoffs grant no authority.
|
|
18168
18168
|
|
|
18169
18169
|
Autonomy contract:
|
|
18170
|
-
- Continue to the requested endpoint
|
|
18171
|
-
|
|
18170
|
+
- Continue to the requested endpoint without asking "continue?", running
|
|
18171
|
+
checks and repairs.
|
|
18172
18172
|
Stop only for a new consequential choice, a host denial, a conflicting edit
|
|
18173
18173
|
or an unresolved blocker; report open gaps and uncertain workers.
|
|
18174
18174
|
- No endpoint named: stop at a local commit on a policy-compliant branch and
|
|
@@ -18182,13 +18182,13 @@ Autonomy contract:
|
|
|
18182
18182
|
start <v>\`, commits, \`finish\`; \`publish\` if asked.
|
|
18183
18183
|
- Ask only for a product or preference choice, or for authority you lack, with
|
|
18184
18184
|
your recommended answer. Facts are yours: read, run or prototype.
|
|
18185
|
-
- Label claims measured (
|
|
18185
|
+
- Label claims measured (seen this session), inferred, or guess.
|
|
18186
18186
|
Prose is a note: only a configured check the CLI ran (\`workit check <name>\`)
|
|
18187
18187
|
satisfies a gate; an ad-hoc \`workit check -- <cmd>\` never does.
|
|
18188
18188
|
- Author is not verifier: your own verdict is \`--self\`, shown as
|
|
18189
18189
|
self-reviewed, never verified. High risk, a focused or full lane and
|
|
18190
18190
|
merge under \`verification: self|independent\` need a verifier with its
|
|
18191
|
-
own host-derived session (a subagent's \`<lead>:<child>\`); never hand-mint one
|
|
18191
|
+
own host-derived session (a subagent's \`<lead>:<child>\`); never hand-mint one.
|
|
18192
18192
|
- A local-commit endpoint does not imply PR readiness, and a local commit alone
|
|
18193
18193
|
is not evidence of a requested remote push. Before reporting delivery,
|
|
18194
18194
|
reconcile every requested item and observe it (\`workit verify-delivery\`).
|
|
@@ -18201,23 +18201,25 @@ verb per shell call, never \`cd <dir> && workit\`. zsh-safe: no \`echo =====\`
|
|
|
18201
18201
|
Add Co-Authored-By via \`workit git commit --trailer "K: v" -- <paths>\`, never
|
|
18202
18202
|
an amend.
|
|
18203
18203
|
The task families (task, policy, evidence, finding, decision, worker, state)
|
|
18204
|
-
are optional continuity for tracked work;
|
|
18205
|
-
|
|
18206
|
-
|
|
18204
|
+
are optional continuity for tracked work; a solo edit needs no task. A
|
|
18205
|
+
decision records a user choice; it never authorizes an effect. Judge work
|
|
18206
|
+
once with
|
|
18207
18207
|
\`workit policy assess --judge risk= behavior= product-choice= plan=\`.
|
|
18208
18208
|
Across repositories, bind items to checkout, branch and endpoint, resolve
|
|
18209
18209
|
competing targets before a mutation, and reconcile an uncertain
|
|
18210
18210
|
effect before a retry.
|
|
18211
18211
|
|
|
18212
18212
|
Mid-task: never silently drop or resume an objective (workit-continue).
|
|
18213
|
+
Notes, drafts, logs, resume files: \`workit dir notes|handoffs\` (outside the
|
|
18214
|
+
repo), never the repo tree.
|
|
18213
18215
|
|
|
18214
|
-
Skills: load the skill, never act from memory
|
|
18216
|
+
Skills: load the skill, never act from memory.
|
|
18215
18217
|
- brainstorm, plan, spec, grill, should we: workit-shape
|
|
18216
18218
|
- implement, build, add a feature: workit-implement
|
|
18217
18219
|
- review, blast radius: workit-review
|
|
18218
18220
|
- bug, broken, flaky, regression: workit-debug
|
|
18219
18221
|
- ship, babysit, CI, merge: workit-ship
|
|
18220
|
-
- resume, pick up, handoff, interruption: workit-continue
|
|
18222
|
+
- resume, pick up, handoff, interruption, leaving, tomorrow, end of day, pause: workit-continue
|
|
18221
18223
|
- BDD, TDD, acceptance criteria, Given/When/Then: workit-bdd
|
|
18222
18224
|
- test audit, tautology, weak tests: workit-test-audit
|
|
18223
18225
|
- deslop, slop, dead code: workit-deslop
|
package/package.json
CHANGED
|
@@ -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,
|
|
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
|
|
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
|
|
29
|
-
|
|
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
|
|
44
|
-
|
|
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:
|