your-cto-jev 0.9.7 → 0.9.8

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/brief.js CHANGED
@@ -161,7 +161,7 @@ export function flowLines(root) {
161
161
  : `Ready · none${tasks.length ? '' : ` · add tasks to ${FLOW_DIR}/features/<slug>/TASKS.md`}`);
162
162
  for (const t of ready) {
163
163
  const first = together.includes(t) ? undefined : together.find((o) => overlaps(o.files, t.files));
164
- const note = t.seq ? ' (seq: runs alone)' : first ? ` (overlaps ${first.id}: run after)` : '';
164
+ const note = t.seq ? ' (seq: runs alone)' : !t.files.length ? ' (no files: runs alone; add (files:))' : first ? ` (overlaps ${first.id}: run after)` : '';
165
165
  L.push(line(t, `files ${t.files.join(', ') || '-'} accept: ${t.accept ?? '-'}${note}`));
166
166
  }
167
167
  if (blocked.length) {
package/dist/flow.js CHANGED
@@ -99,12 +99,13 @@ export function openTasks(tasks) {
99
99
  }
100
100
  /**
101
101
  * Ready tasks that can run at the same time: taken in the given order, skipping any whose files overlap one already
102
- * taken and any marked (seq), which always runs on its own.
102
+ * taken and any that runs alone: marked (seq), or with no (files:), whose reach is unknown.
103
103
  */
104
+ export const runsAlone = (t) => !!t.seq || !t.files.length;
104
105
  export function parallelTasks(ready) {
105
106
  const out = [];
106
107
  for (const t of ready)
107
- if (!t.seq && !out.some((o) => overlaps(o.files, t.files)))
108
+ if (!runsAlone(t) && !out.some((o) => overlaps(o.files, t.files)))
108
109
  out.push(t);
109
110
  return out;
110
111
  }
package/dist/skill.js CHANGED
@@ -178,7 +178,7 @@ IDs: \`<PREFIX>-<n>\`, children \`<n>.<m>\`, prefix uppercase and unique across
178
178
 
179
179
  Two more tags, on any task:
180
180
  - **Priority** \`(P1)\` / \`(P2)\` / \`(P3)\`. P1: do first, and nothing releases while one is open (blockers, review findings that are wrong or unsafe). P2: normal work; the default when the tag is absent. P3: when nothing else is left (polish, nice-to-have). brief lists Ready as P1, then P2, then P3.
181
- - **Sync** \`(seq)\`: this task runs alone, whatever its \`(files:)\` say. Use it for migrations, shared types, route tables, anything that touches state every other task reads. Without the tag a task may run together with any Ready task whose \`(files:)\` do not overlap its own; brief computes that and shows the "run together" set.
181
+ - **Sync** \`(seq)\`: this task runs alone, whatever its \`(files:)\` say. Use it for migrations, shared types, route tables, anything that touches state every other task reads. Without the tag a task may run together with any Ready task whose \`(files:)\` do not overlap its own; brief computes that and shows the "run together" set. A task with no \`(files:)\` also runs alone, since its reach is unknown.
182
182
 
183
183
  \`\`\`md
184
184
  - [ ] CUST-3 Add customer_tier column (P1) (seq) (files: db/migrations/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "your-cto-jev",
3
- "version": "0.9.7",
3
+ "version": "0.9.8",
4
4
  "description": "A sharp-tongued CTO gatekeeper for AI coding agents: blocks leaked secrets in git commits and destructive shell commands in Claude Code, Cursor, Gemini CLI and Codex, using TypeSafe Jev.",
5
5
  "keywords": [
6
6
  "claude-code",