@jabworks/condux 0.18.0 → 0.19.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.
|
|
3
|
+
"version": "0.19.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,17 +46,19 @@ product family.
|
|
|
46
46
|
│ Standalone: open in the browser (xdg-open / open). If neither │
|
|
47
47
|
│ works (headless, SSH), print the absolute paths and continue — │
|
|
48
48
|
│ never fail on delivery. │
|
|
49
|
-
│ Inside /discovery: open NOTHING.
|
|
50
|
-
│ doc and let the running preview reload —
|
|
51
|
-
│ Workflow.
|
|
49
|
+
│ Inside /discovery: open NOTHING. Cite the file's path in the │
|
|
50
|
+
│ design doc as inline code and let the running preview reload — │
|
|
51
|
+
│ see Inside the Workflow. │
|
|
52
52
|
│ Either way, always state which mode was produced │
|
|
53
53
|
│ and offer the flip: "wireframe mode — say 'promote to render' │
|
|
54
54
|
│ for the full house look" (or the reverse). The mode is never │
|
|
55
55
|
│ chosen silently. │
|
|
56
56
|
│ │
|
|
57
|
-
│ Step 4:
|
|
58
|
-
│
|
|
59
|
-
│ motivated them, so the visual
|
|
57
|
+
│ Step 4: CITE │
|
|
58
|
+
│ Cite the files' paths (inline code, git-root-relative) in the │
|
|
59
|
+
│ design doc or task card that motivated them, so the visual │
|
|
60
|
+
│ target travels with the design. Never a clickable relative │
|
|
61
|
+
│ link — those 404 in the review preview. │
|
|
60
62
|
└──────────────────────────────────────────────────────────────────┘
|
|
61
63
|
```
|
|
62
64
|
|
|
@@ -113,12 +115,17 @@ mockup into the spec directory first and cite the committed copy.
|
|
|
113
115
|
| What states are legal and what moves between them? | state machine |
|
|
114
116
|
| What goes where on a screen, and in what order does it read? | wireframe |
|
|
115
117
|
|
|
116
|
-
**Inside discovery, deliver by
|
|
118
|
+
**Inside discovery, deliver by citing — never by opening.** The reader
|
|
117
119
|
already has the design preview open (discovery launches it at §1 and it
|
|
118
|
-
live-reloads on every write). Add the mockup's path to the
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
live-reloads on every write). Add the mockup's git-root-relative path to the
|
|
121
|
+
design doc as inline code and the citation appears there; the reader opens
|
|
122
|
+
the file from the editor or filesystem. Never a clickable relative link —
|
|
123
|
+
the annotate server serves only the review page and `/api/*`, so relative
|
|
124
|
+
links 404 in the preview. And never an inlined copy of the diagram beside
|
|
125
|
+
the artifact: one fact, two homes is how the copies drift. A tab per section
|
|
126
|
+
is the interruption this avoids; standalone invocations keep opening on
|
|
127
|
+
deliver. Side-by-side option *picking* stays with discovery's own
|
|
128
|
+
mockup-picker.
|
|
122
129
|
- **/draft-plan** task cards may cite mockup paths so an implementer sees the
|
|
123
130
|
visual target for their task.
|
|
124
131
|
- Standalone asks ("mock this up", "visualize the data model") run the same
|
|
@@ -59,8 +59,8 @@ Accept either answer, same as any other soft gate in this skill.
|
|
|
59
59
|
│ §1 is approaches-and-tradeoffs; the rest follow the design. │
|
|
60
60
|
│ Full contract: The Section Card, below. │
|
|
61
61
|
│ Does a section's decision turn on one of blueprint's five │
|
|
62
|
-
│ questions? Load `blueprint` — the artifact is
|
|
63
|
-
│ the design doc, not opened in a new tab.
|
|
62
|
+
│ questions? Load `blueprint` — the artifact path is cited │
|
|
63
|
+
│ in the design doc as inline code, not opened in a new tab. │
|
|
64
64
|
│ │
|
|
65
65
|
│ Step 4: DETAIL ROUND — feed the spec │
|
|
66
66
|
│ With the approach chosen, ask ONE more batch, grouped by │
|
|
@@ -180,7 +180,7 @@ before they are inside it. Then create the design file and open the preview
|
|
|
180
180
|
## §n of N · <name> ← position, always
|
|
181
181
|
<one line: what this section decides>
|
|
182
182
|
|
|
183
|
-
<the evidence — table, list, or a
|
|
183
|
+
<the evidence — table, list, or a cited artifact path. Never a wall.>
|
|
184
184
|
|
|
185
185
|
**Recommendation:** <X>, because <one sentence>.
|
|
186
186
|
<the decision, as named options>
|
|
@@ -201,8 +201,12 @@ the design existed only as scrollback, so the thread was lost between them. The
|
|
|
201
201
|
**Visuals.** Load `blueprint` when a section's decision turns on one of its five
|
|
202
202
|
questions — what entities exist · what happens in what order · what talks to
|
|
203
203
|
what · what states are legal · what goes where on a screen. Inside discovery
|
|
204
|
-
the artifact is *
|
|
205
|
-
|
|
204
|
+
the artifact's git-root-relative path is *cited in the design doc as inline
|
|
205
|
+
code* (e.g. `.condux/designs/assets/checkout-flow.html`), never opened in its
|
|
206
|
+
own tab and never written as a clickable relative link — the annotate server
|
|
207
|
+
serves only the review page and `/api/*`, so a relative link 404s in the
|
|
208
|
+
preview. The preview reloads and shows the citation; the reader opens the
|
|
209
|
+
file from the editor or filesystem.
|
|
206
210
|
|
|
207
211
|
## The Design File and the Live Preview (Step 3 onward)
|
|
208
212
|
|
|
@@ -283,11 +287,15 @@ Honour an `AGENTS.md` path override if the project defines one.
|
|
|
283
287
|
|
|
284
288
|
For full design mockups — UI wireframes and renders in the house token
|
|
285
289
|
language, data-model / flow / architecture diagrams — load the `blueprint`
|
|
286
|
-
skill; the design doc
|
|
287
|
-
shows the
|
|
288
|
-
promote the chosen wireframes to render mode
|
|
289
|
-
|
|
290
|
-
|
|
290
|
+
skill; the design doc cites the paths of the files it produces as inline
|
|
291
|
+
code, and the running preview shows the citation rather than a new tab
|
|
292
|
+
opening. At sign-off, offer to promote the chosen wireframes to render mode
|
|
293
|
+
(a style-block swap). If the spec references a blueprint artifact, promote
|
|
294
|
+
the file too: copy it into the spec directory and cite the committed path —
|
|
295
|
+
a committed spec may never point into `.condux/`, which is gone on any other
|
|
296
|
+
clone (workflow's citation-direction rule). For *picking between*
|
|
297
|
+
side-by-side options in the browser, see `references/mockup-picker.md` (it
|
|
298
|
+
can point at blueprint's files).
|
|
291
299
|
|
|
292
300
|
## Design Review Loop
|
|
293
301
|
|
|
@@ -31,7 +31,7 @@ feature: <slug>
|
|
|
31
31
|
|---|---|
|
|
32
32
|
| <alternative> | <one line> |
|
|
33
33
|
|
|
34
|
-
<evidence — table, list, or a
|
|
34
|
+
<evidence — table, list, or a cited blueprint artifact path. Never a wall.>
|
|
35
35
|
|
|
36
36
|
## Constraints & out of scope [accumulates — rows added any time]
|
|
37
37
|
|