@jabworks/condux 0.30.0 → 0.31.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jabworks/condux",
3
- "version": "0.30.0",
3
+ "version": "0.31.0",
4
4
  "description": "OpenCode plugin for the condux workflow toolkit — bundles the condux skills and injects the specialist agents (coder, explorer, planner, researcher) plus an opt-in plan-review listener.",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -46,32 +46,22 @@ If you can't answer all four, don't spawn.
46
46
 
47
47
  ## Progress Ledger
48
48
 
49
- Conversation memory does not survive compaction. Track task completion in a
50
- ledger file, not only in todos.
51
-
52
- - At skill start, check for a ledger: `.condux/progress/<feature-slug>.md`
53
- (slug inferred kebab-case from the plan's feature name — the same
54
- convention `draft-plan` uses for its own filename). Tasks listed there as
55
- complete are DONE — do not re-dispatch them; resume at the first task not
56
- marked complete.
57
- - If no ledger exists, create it with a header naming the plan file:
58
- ```
59
- # Subagent Execution Progress: <feature-slug>
60
-
61
- Plan: .condux/plans/<plan-file>.md
62
-
63
- ```
64
- - When a task's review comes back clean, append one line in the same
65
- message as other bookkeeping: `- [x] Task N: <name> — commits
66
- <base7>..<head7>, review clean`.
67
- - The ledger is a recovery aid, not the source of truth — the commits it
68
- names exist in git even if context no longer remembers creating them.
69
- After compaction or a new session, trust the ledger and `git log` over
70
- your own recollection.
71
- - `.condux/` is gitignored working state (see `/workflow` → Artifacts). If
72
- it's ever deleted, recover progress from `git log` against the plan's task
73
- list — and note the plan itself lived there too, so re-derive scope from
74
- the spec in `specs/` if the plan is gone as well.
49
+ The ledger contract — path, header, line format, wrap-up lines — is owned by
50
+ `/workflow` → **Progress Ledger**, because inline execution keeps the same file;
51
+ this section only adds what is specific to dispatching agents.
52
+
53
+ - At skill start, check for a ledger: `.condux/progress/<feature-slug>.md`.
54
+ Tasks listed there as complete are DONE — do not re-dispatch them; resume at
55
+ the first task not marked complete.
56
+ - If no ledger exists, create it with the header `/workflow` defines (naming the
57
+ plan file and the BASE commit).
58
+ - When a task's review comes back clean, append one line in the same message as
59
+ other bookkeeping: `- [x] Task N: <name> — commits <base7>..<head7>, review
60
+ clean`.
61
+ - After compaction or a new session, trust the ledger and `git log` over your own
62
+ recollection. If `.condux/` is ever deleted, recover progress from `git log`
63
+ against the plan's task list — and note the plan itself lived there too, so
64
+ re-derive scope from the spec in `specs/` if the plan is gone as well.
75
65
 
76
66
  ## How It Works
77
67
 
@@ -107,8 +107,8 @@ Every tier ends with `preflight` then `finalize` — no exceptions.
107
107
  Overview · Files · Interfaces · Sketch where non-obvious · Edge cases) → CP-1 →
108
108
  implement top-to-bottom → CP-2 → `/preflight` → `/finalize` → CP-3.
109
109
  - **LARGE:** load `discovery`, run fully to sign-off → load `draft-plan`, produce the
110
- plan doc, sign-off → CP-1 → implement task by task (`subagent-execution` if the
111
- user picks it) → CP-2 → `/preflight` → `/finalize` → CP-3.
110
+ plan doc, sign-off → CP-1 → implement task by task, keeping the Progress Ledger
111
+ (`subagent-execution` if the user picks it) → CP-2 → `/preflight` → `/finalize` → CP-3.
112
112
 
113
113
  ## Checkpoints
114
114
 
@@ -172,7 +172,7 @@ Load each only when its step is reached.
172
172
  | `blueprint` | discovery's propose step, or a standalone mockup/visualization ask | load only when a UI surface or data model is in play; structure, never styling |
173
173
  | `draft-plan` | LARGE, after discovery sign-off | needs a signed-off design; no design → apply the discovery soft gate first |
174
174
  | `test-first-development` | user asks, or picks it at CP-1 | one upfront consent; always ask before editing an existing test spec |
175
- | `subagent-execution` | LARGE plan where specialization/parallelism pays off | default is implement yourself |
175
+ | `subagent-execution` | LARGE plan where specialization/parallelism pays off | default is implement yourself; keeps the Progress Ledger |
176
176
  | `subagent-deployment` | 2+ independent tasks, no shared files/deps | ad-hoc work, not ordered plans |
177
177
  | `preflight` | end of every tier, before finalize | automatic on SMALL; recommended CP-2 choice |
178
178
  | `finalize` | after all implementation | runs in order, once, stops on first failure; check AGENTS.md for the real commands |
@@ -229,6 +229,40 @@ without asking. Not a git repo → fall back to CWD and say so once.
229
229
  **Override.** A project can relocate either tier in `AGENTS.md`; an explicit
230
230
  override always wins over these defaults.
231
231
 
232
+ ## Progress Ledger
233
+
234
+ Conversation memory does not survive compaction, and a plan file records intent,
235
+ not progress. Whoever implements a plan saved in `.condux/plans/` — you inline,
236
+ or `subagent-execution` — keeps one ledger beside it,
237
+ `.condux/progress/<feature-slug>.md` (the plan's file name minus its date and
238
+ extension):
239
+
240
+ ```
241
+ # Progress: <feature-slug>
242
+
243
+ Plan: .condux/plans/<plan-file>.md
244
+ BASE: <sha7 of HEAD before Task 1>
245
+
246
+ - [x] Task 1: <name> — commit <sha7>
247
+ - [x] preflight clean
248
+ - [x] committed <sha7>; PR #N open
249
+ ```
250
+
251
+ - **Task lines** are appended after the task's commit, one per task, in the same
252
+ message as ticking the todo. A line names a real commit.
253
+ - **Wrap-up lines** (no task number) are appended as each checkpoint step
254
+ finishes: `code-review`, `preflight`, `finalize`, live verification, then the
255
+ commit or PR line. A tool that reads the ledger — the `/condux` board — turns
256
+ them into the pipeline's done and still-to-come steps.
257
+ - **Start of work:** if a ledger exists, tasks ticked there are DONE; resume at
258
+ the first one that is not.
259
+ - **No saved plan file, no ledger.** A SMALL task and a MEDIUM inline plan have
260
+ nothing for a ledger to key on; do not invent a plan file to get one.
261
+ - The ledger is a recovery aid, not the source of truth: the commits it names
262
+ exist in git even when context no longer remembers them. `.condux/` is
263
+ gitignored working state (see Artifacts), so never cite a ledger from a
264
+ committed file.
265
+
232
266
  ## Agents
233
267
 
234
268
  Five **named specialist agents** ship with condux — never invent a generic subagent
@@ -11,5 +11,8 @@
11
11
  ]
12
12
  }
13
13
  ]
14
- }
14
+ },
15
+ "modules": [
16
+ "./mod/register.tsx"
17
+ ]
15
18
  }