@brainervirus/workit-core 1.0.0 → 1.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-core",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "description": "Workit — workflow rails for agentic coding: specs, plans, YouTrack, CI-gated commits (shared core)",
6
6
  "keywords": [
@@ -28,8 +28,10 @@ selects requirements; do not wait for a rule that can only exist after assess.
28
28
  dependency order and recompute after every answer — a wall of questions is
29
29
  not an interview.
30
30
  4. Funnel every resolution: the moment a consequential choice settles, bind it
31
- with a receipt-shaped question (header `Workit decision: <purpose>`, exactly
32
- `approved`/`rejected`, the approved description carrying the exact content).
31
+ with a receipt-shaped question — header `Workit decision: <purpose>` and the
32
+ same label repeated in the question text (host UIs may not render headers) —
33
+ exactly `approved`/`rejected` options, the approved description carrying the
34
+ exact content.
33
35
  If the user already stated the choice in conversation and no receipt can be
34
36
  minted, record it in task progress and reassess so the settled requirement
35
37
  retires — never re-ask to mint a receipt, and never leave it for close to
@@ -101,7 +101,10 @@ check and review kinds auto-bind the current tree and need no digests. Record
101
101
  verification evidence last: later evidence or commits can reopen fixed findings
102
102
  for re-verification, so verify, resolve, then close with nothing in between.
103
103
  decision.record {binding with taskId/workspaceId from inspect plus presented and
104
- approvedContent} only through a native approval question, task.close {outcome,
104
+ approvedContent} only through a native approval question asked receipt-shaped:
105
+ header Workit decision: <purpose>, the same label repeated in the question
106
+ text (some host UIs do not render headers), exactly two options approved and
107
+ rejected; ask once, never re-ask to mint a receipt. task.close {outcome,
105
108
  summary, decisionIds}. A completed native subagent run stops its bound worker
106
109
  by itself; if a worker strands in cancelling with its run verifiably over,
107
110
  repeat worker.cancel {reason} to confirm the stop. Check and review evidence