@mengde1231/rudder 0.6.20 → 0.6.21
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/README.md +12 -0
- package/dist/migrations/manifests/0.4.0-beta.1.json +5 -5
- package/dist/migrations/manifests/0.5.14.json +9 -0
- package/dist/migrations/manifests/0.5.15.json +9 -0
- package/dist/migrations/manifests/0.5.16.json +9 -0
- package/dist/migrations/manifests/0.5.17.json +9 -0
- package/dist/migrations/manifests/0.5.19.json +9 -0
- package/dist/migrations/manifests/0.5.20.json +9 -0
- package/dist/migrations/manifests/0.5.21.json +9 -0
- package/dist/migrations/manifests/0.5.22.json +9 -0
- package/dist/migrations/manifests/0.5.23.json +9 -0
- package/dist/migrations/manifests/0.5.30.json +9 -0
- package/dist/migrations/manifests/0.6.1.json +9 -0
- package/dist/migrations/manifests/0.6.11.json +9 -0
- package/dist/migrations/manifests/0.6.20.json +9 -0
- package/dist/migrations/manifests/0.6.21.json +9 -0
- package/dist/templates/claude/agents/rudder-check.md +170 -170
- package/dist/templates/codex/agents/rudder-check.toml +95 -95
- package/dist/templates/common/skills/check.md +8 -1
- package/dist/templates/rudder/config.yaml +13 -2
- package/dist/templates/rudder/index.d.ts +1 -0
- package/dist/templates/rudder/index.d.ts.map +1 -1
- package/dist/templates/rudder/index.js +2 -0
- package/dist/templates/rudder/index.js.map +1 -1
- package/dist/templates/rudder/scripts/common/task_context.py +42 -1
- package/dist/templates/rudder/scripts/common/task_readiness.py +169 -0
- package/dist/templates/rudder/scripts/common/task_store.py +10 -2
- package/dist/templates/rudder/scripts/common/types.py +1 -0
- package/dist/templates/rudder/scripts/task.py +28 -0
- package/dist/templates/rudder/workflow.md +36 -23
- package/dist/utils/task-json.d.ts +6 -0
- package/dist/utils/task-json.d.ts.map +1 -1
- package/dist/utils/task-json.js +6 -0
- package/dist/utils/task-json.js.map +1 -1
- package/package.json +2 -2
|
@@ -73,7 +73,7 @@ python3 ./.rudder/scripts/task.py create-pr [name] [--dry-run]
|
|
|
73
73
|
|
|
74
74
|
> Run `python3 ./.rudder/scripts/task.py --help` to see the authoritative, up-to-date list.
|
|
75
75
|
|
|
76
|
-
**Current-task mechanism**: `task.py create` creates the task directory and (when session identity is available) auto-sets the per-session active-task pointer so the planning breadcrumb fires immediately. `task.py start` writes the same pointer (idempotent if already set) and flips `task.json.status` from `planning` to `in_progress
|
|
76
|
+
**Current-task mechanism**: `task.py create` creates the task directory and (when session identity is available) auto-sets the per-session active-task pointer so the planning breadcrumb fires immediately. After the final PRD is confirmed with `task.py confirm`, `task.py start` writes the same pointer (idempotent if already set) and flips `task.json.status` from `planning` to `in_progress`; it refuses to start when the PRD, confirmation hash, acceptance criteria, or applicable JSONL context is incomplete. State is stored under `.rudder/.runtime/sessions/`. If no context key is available, start still performs the readiness gate and then uses degraded mode without persisting a session pointer. `task.py finish` deletes the current session file (status unchanged). `task.py archive <task>` writes `status=completed`, moves the directory to `archive/`, and deletes any runtime session files that still point at the archived task.
|
|
77
77
|
|
|
78
78
|
### Workspace System
|
|
79
79
|
|
|
@@ -170,7 +170,7 @@ No active task. **A Direct answer** — pure Q&A / explanation / lookup / chat;
|
|
|
170
170
|
Load the `rudder-brainstorm` skill and iterate on prd.md with the user.
|
|
171
171
|
Phase 1.0.5 (conditional, once): if this task involves DDL operations (create/alter tables, add/drop columns, migration scripts), create `{TASK_DIR}/sql/` via `mkdir -p .rudder/tasks/<task-dir>/sql/`. Skip if no database changes.
|
|
172
172
|
Phase 1.3 (required, once): before `task.py start`, you MUST curate `implement.jsonl` and `check.jsonl` — list the spec / research files sub-agents need so they get the right context injected. You may skip only if the jsonl already has agent-curated entries (the seed `_example` row alone doesn't count).
|
|
173
|
-
Then run `task.py start <task-dir>` to flip status to in_progress.
|
|
173
|
+
Before `task.py start`, run `task.py confirm <task-dir>` after the user approves the final `prd.md`; this records the PRD hash and blocks stale or unconfirmed requirements. Then run `task.py start <task-dir>` to flip status to in_progress.
|
|
174
174
|
[/workflow-state:planning]
|
|
175
175
|
|
|
176
176
|
<!-- Per-turn breadcrumb: shown throughout Phase 1 when codex.dispatch_mode=inline.
|
|
@@ -183,12 +183,12 @@ Then run `task.py start <task-dir>` to flip status to in_progress.
|
|
|
183
183
|
Load the `rudder-brainstorm` skill and iterate on prd.md with the user.
|
|
184
184
|
Phase 1.0.5 (conditional, once): if this task involves DDL operations (create/alter tables, add/drop columns, migration scripts), create `{TASK_DIR}/sql/` via `mkdir -p .rudder/tasks/<task-dir>/sql/`. Skip if no database changes.
|
|
185
185
|
Phase 1.3 jsonl curation is **skipped** in inline dispatch mode — the main session loads `rudder-before-dev` directly in Phase 2 and reads spec context itself, so there is no sub-agent to inject jsonl into.
|
|
186
|
-
Then run `task.py start <task-dir>` to flip status to in_progress.
|
|
186
|
+
Before `task.py start`, run `task.py confirm <task-dir>` after the user approves the final `prd.md`; this records the PRD hash and blocks stale or unconfirmed requirements. Then run `task.py start <task-dir>` to flip status to in_progress.
|
|
187
187
|
[/workflow-state:planning-inline]
|
|
188
188
|
|
|
189
189
|
### Phase 2: Execute
|
|
190
|
-
- 2.1 Implement `[required · repeatable]`
|
|
191
|
-
- 2.2
|
|
190
|
+
- 2.1 Implement `[required · repeatable until complete]`
|
|
191
|
+
- 2.2 Verify `[required · after implementation; repeat only after fixes]`
|
|
192
192
|
- 2.3 Rollback `[on demand]`
|
|
193
193
|
|
|
194
194
|
<!-- Per-turn breadcrumb: shown while status='in_progress'.
|
|
@@ -198,7 +198,7 @@ Then run `task.py start <task-dir>` to flip status to in_progress.
|
|
|
198
198
|
commit, including Phase 3.3 spec update and Phase 3.4 commit. -->
|
|
199
199
|
|
|
200
200
|
[workflow-state:in_progress]
|
|
201
|
-
**Flow**:
|
|
201
|
+
**Flow**: finish all implementation work → rudder-check review → Verify (lint/type-check/tests/build) → fix all findings → rerun Verify if needed → conditional rudder-update-spec → commit (Phase 3.4) → `/rudder:finish-work`.
|
|
202
202
|
**Main-session default (no override)**: dispatch the `rudder-implement` / `rudder-check` sub-agents — the main agent does NOT edit code by default. Phase 3.4 commit (required, once): after rudder-update-spec, or whenever implementation is verifiably complete, the main agent **drives the commit** — run `git diff --stat` to show changes, state the proposed commit message, then check `code_auto_commit` in `.rudder/config.yaml`: if **false** (default), **ask the user for confirmation (Y/n)** before running `git commit`; if **true**, commit directly without prompting. Only after commit, suggest `/rudder:finish-work`. `/finish-work` refuses to run on a dirty working tree (paths outside `.rudder/workspace/` and `.rudder/tasks/`).
|
|
203
203
|
**Sub-agent self-exemption**: if you are already running as `rudder-implement`, implement directly from the loaded task context and do NOT spawn another `rudder-implement`; if you are already running as `rudder-check`, review/fix directly and do NOT spawn another `rudder-check`. The default dispatch rule applies to the main session only.
|
|
204
204
|
**Sub-agent dispatch protocol (all platforms, all sub-agents)**: When you spawn `rudder-implement` / `rudder-check` / `rudder-research`, your dispatch prompt **MUST** start with one line: `Active task: <task path from \`task.py current\`>`. No exceptions. On class-2 platforms (codex / copilot / gemini / qoder) the sub-agent depends on this line because there is no hook to inject task context. On class-1 platforms (claude / cursor / opencode / kiro / codebuddy / droid) the line is normally redundant — the hook injects context directly — but it serves as a critical fallback when the hook fails (Windows + Claude Code PreToolUse silent skip, `--continue` resume, fork distribution, hooks disabled, etc.). For `rudder-research`, the line tells the sub-agent which `{task_dir}/research/` to write into.
|
|
@@ -211,13 +211,13 @@ Then run `task.py start <task-dir>` to flip status to in_progress.
|
|
|
211
211
|
instead of dispatching sub-agents. -->
|
|
212
212
|
|
|
213
213
|
[workflow-state:in_progress-inline]
|
|
214
|
-
**Flow** (inline mode): main session loads `rudder-before-dev` → main session
|
|
214
|
+
**Flow** (inline mode): main session loads `rudder-before-dev` → main session finishes all code changes → main session loads `rudder-check` for the full task diff → Verify lint / type-check / tests / build → fix all findings → rerun Verify if needed → conditional `rudder-update-spec` → commit (Phase 3.4) → `/rudder:finish-work`.
|
|
215
215
|
**Main-session default (inline dispatch_mode)**: the main agent edits code directly. Do NOT dispatch `rudder-implement` / `rudder-check` sub-agents. Load the `rudder-before-dev` skill before writing code; load the `rudder-check` skill before reporting completion.
|
|
216
216
|
Phase 3.4 commit (required, once): after `rudder-update-spec`, or whenever implementation is verifiably complete, the main agent **drives the commit** — run `git diff --stat` to show changes, state the proposed commit message, then check `code_auto_commit` in `.rudder/config.yaml`: if **false** (default), **ask the user for confirmation (Y/n)** before running `git commit`; if **true**, commit directly without prompting. Only after commit, suggest `/rudder:finish-work`. `/finish-work` refuses to run on a dirty working tree (paths outside `.rudder/workspace/` and `.rudder/tasks/`).
|
|
217
217
|
[/workflow-state:in_progress-inline]
|
|
218
218
|
|
|
219
219
|
### Phase 3: Finish
|
|
220
|
-
- 3.1
|
|
220
|
+
- 3.1 Verify evidence `[folded into 2.2 and commit preamble]`
|
|
221
221
|
- 3.2 Debug retrospective `[on demand]`
|
|
222
222
|
- 3.3 Spec update `[conditional · once]`
|
|
223
223
|
- 3.4 Commit changes `[required · once]`
|
|
@@ -254,7 +254,7 @@ When a user request matches one of these intents, load the corresponding skill (
|
|
|
254
254
|
|---|---|
|
|
255
255
|
| Wants a new feature / requirement unclear | `rudder-brainstorm` |
|
|
256
256
|
| About to write code / start implementing | Dispatch the `rudder-implement` sub-agent per Phase 2.1 |
|
|
257
|
-
| Finished
|
|
257
|
+
| Finished all implementation / want to verify | Dispatch the `rudder-check` sub-agent once per Phase 2.2 |
|
|
258
258
|
| Stuck / fixed same bug several times | `rudder-break-loop` |
|
|
259
259
|
| Spec needs update | `rudder-update-spec` |
|
|
260
260
|
|
|
@@ -268,7 +268,7 @@ When a user request matches one of these intents, load the corresponding skill (
|
|
|
268
268
|
|---|---|
|
|
269
269
|
| Wants a new feature / requirement unclear | `rudder-brainstorm` |
|
|
270
270
|
| About to write code / start implementing | `rudder-before-dev` (then implement directly in the main session) |
|
|
271
|
-
| Finished
|
|
271
|
+
| Finished all implementation / want to verify | `rudder-check` |
|
|
272
272
|
| Stuck / fixed same bug several times | `rudder-break-loop` |
|
|
273
273
|
| Spec needs update | `rudder-update-spec` |
|
|
274
274
|
|
|
@@ -283,7 +283,7 @@ When a user request matches one of these intents, load the corresponding skill (
|
|
|
283
283
|
| "This is simple, I'll just code it in the main thread" | Dispatching `rudder-implement` is the cheap path; skipping it tempts you to write code in the main thread and lose spec context — sub-agents get `implement.jsonl` injected, you don't |
|
|
284
284
|
| "I already thought it through in plan mode" | Plan-mode output lives in memory — sub-agents can't see it; must be persisted to prd.md |
|
|
285
285
|
| "I already know the spec" | The spec may have been updated since you last read it; the sub-agent gets the fresh copy, you may not |
|
|
286
|
-
| "
|
|
286
|
+
| "Check after every small change" | Check is a post-implementation gate; finish the complete change set first so the reviewer sees the real cross-file contract |
|
|
287
287
|
|
|
288
288
|
[/Claude Code, Cursor, OpenCode, codex-sub-agent, Kiro, Gemini, Qoder, CodeBuddy, Copilot, Droid, Pi]
|
|
289
289
|
|
|
@@ -294,7 +294,7 @@ When a user request matches one of these intents, load the corresponding skill (
|
|
|
294
294
|
| "This is simple, just code it" | Simple tasks often grow complex; `rudder-before-dev` takes under a minute and loads the spec context you'll need |
|
|
295
295
|
| "I already thought it through in plan mode" | Plan-mode output lives in memory — must be persisted to prd.md before code |
|
|
296
296
|
| "I already know the spec" | The spec may have been updated since you last read it; read again |
|
|
297
|
-
| "
|
|
297
|
+
| "Check after every small change" | Check is a post-implementation gate; finish the complete change set first so the reviewer sees the real cross-file contract |
|
|
298
298
|
|
|
299
299
|
[/codex-inline, Kilo, Antigravity, Windsurf]
|
|
300
300
|
|
|
@@ -437,9 +437,10 @@ Skip this step. Context is loaded directly by the `rudder-before-dev` skill in P
|
|
|
437
437
|
|
|
438
438
|
#### 1.4 Activate task `[required · once]`
|
|
439
439
|
|
|
440
|
-
Once prd.md is complete and 1.3 jsonl curation is done,
|
|
440
|
+
Once prd.md is complete, the user has confirmed it, and 1.3 jsonl curation is done when applicable, confirm and activate the task:
|
|
441
441
|
|
|
442
442
|
```bash
|
|
443
|
+
python3 ./.rudder/scripts/task.py confirm <task-dir>
|
|
443
444
|
python3 ./.rudder/scripts/task.py start <task-dir>
|
|
444
445
|
```
|
|
445
446
|
|
|
@@ -452,6 +453,7 @@ If `task.py start` errors with a session-identity message (no context key from h
|
|
|
452
453
|
| Condition | Required |
|
|
453
454
|
|------|:---:|
|
|
454
455
|
| `prd.md` exists | ✅ |
|
|
456
|
+
| `prd.md` has acceptance criteria and no unresolved questions/conflicts | ✅ |
|
|
455
457
|
| User confirms requirements | ✅ |
|
|
456
458
|
| `task.py start` has been run (status = in_progress) | ✅ |
|
|
457
459
|
| `research/` has artifacts (complex tasks) | recommended |
|
|
@@ -467,16 +469,18 @@ If `task.py start` errors with a session-identity message (no context key from h
|
|
|
467
469
|
|
|
468
470
|
## Phase 2: Execute
|
|
469
471
|
|
|
470
|
-
Goal: turn the
|
|
472
|
+
Goal: turn the confirmed PRD into code. Project syntax, build, lint, type-check,
|
|
473
|
+
and business acceptance tests are run after implementation during Phase 3;
|
|
474
|
+
`task.py start` performs readiness checks only and does not replace those checks.
|
|
471
475
|
|
|
472
|
-
#### 2.1 Implement `[required · repeatable]`
|
|
476
|
+
#### 2.1 Implement `[required · repeatable until complete]`
|
|
473
477
|
|
|
474
478
|
[Claude Code, Cursor, OpenCode, Gemini, Qoder, CodeBuddy, Copilot, Droid, Pi]
|
|
475
479
|
|
|
476
480
|
Spawn the implement sub-agent:
|
|
477
481
|
|
|
478
482
|
- **Agent type**: `rudder-implement`
|
|
479
|
-
- **Task description**: Implement
|
|
483
|
+
- **Task description**: Implement all requirements in prd.md, consulting materials under `{TASK_DIR}/research/`; continue until the complete change set is written and report implementation complete. Do not dispatch `rudder-check` or run the quality gate during this step.
|
|
480
484
|
- **Dispatch prompt guard**: Tell the spawned agent it is already the `rudder-implement` sub-agent and must implement directly, not spawn another `rudder-implement` / `rudder-check`.
|
|
481
485
|
|
|
482
486
|
The platform hook/plugin auto-handles:
|
|
@@ -490,7 +494,7 @@ The platform hook/plugin auto-handles:
|
|
|
490
494
|
Spawn the implement sub-agent:
|
|
491
495
|
|
|
492
496
|
- **Agent type**: `rudder-implement`
|
|
493
|
-
- **Task description**: Implement
|
|
497
|
+
- **Task description**: Implement all requirements in prd.md, consulting materials under `{TASK_DIR}/research/`; continue until the complete change set is written and report implementation complete. Do not dispatch `rudder-check` or run the quality gate during this step.
|
|
494
498
|
- **Dispatch prompt guard**: The prompt MUST start with `Active task: <task path>`, then explicitly say the spawned agent is already `rudder-implement` and must implement directly without spawning another `rudder-implement` / `rudder-check`.
|
|
495
499
|
|
|
496
500
|
The Codex sub-agent definition auto-handles the context load requirement:
|
|
@@ -504,7 +508,7 @@ The Codex sub-agent definition auto-handles the context load requirement:
|
|
|
504
508
|
Spawn the implement sub-agent:
|
|
505
509
|
|
|
506
510
|
- **Agent type**: `rudder-implement`
|
|
507
|
-
- **Task description**: Implement
|
|
511
|
+
- **Task description**: Implement all requirements in prd.md, consulting materials under `{TASK_DIR}/research/`; continue until the complete change set is written and report implementation complete. Do not dispatch `rudder-check` or run the quality gate during this step.
|
|
508
512
|
- **Dispatch prompt guard**: Tell the spawned agent it is already the `rudder-implement` sub-agent and must implement directly, not spawn another `rudder-implement` / `rudder-check`.
|
|
509
513
|
|
|
510
514
|
The platform prelude auto-handles the context load requirement:
|
|
@@ -518,19 +522,28 @@ The platform prelude auto-handles the context load requirement:
|
|
|
518
522
|
1. Load the `rudder-before-dev` skill to read project guidelines
|
|
519
523
|
2. Read `{TASK_DIR}/prd.md` for requirements
|
|
520
524
|
3. Consult materials under `{TASK_DIR}/research/`
|
|
521
|
-
4. Implement the code per requirements
|
|
522
|
-
5.
|
|
525
|
+
4. Implement the complete code change per requirements
|
|
526
|
+
5. Report implementation complete; do not load `rudder-check` yet
|
|
523
527
|
|
|
524
528
|
[/codex-inline, Kilo, Antigravity, Windsurf]
|
|
525
529
|
|
|
526
|
-
#### 2.2
|
|
530
|
+
#### 2.2 Verify `[required · after implementation; repeat only after fixes]`
|
|
531
|
+
|
|
532
|
+
**Check/Verify boundary (mandatory):** `Check` is the review of the complete
|
|
533
|
+
diff; `Verify` is the execution of lint, type-check, tests, build, and business
|
|
534
|
+
acceptance commands. Do not dispatch or load `rudder-check` while
|
|
535
|
+
2.1 is still writing code. The implementer must finish the complete
|
|
536
|
+
requirement set first. Then run Check once over the full task diff, followed by
|
|
537
|
+
one Verify pass. If Check or Verify finds issues, fix them and rerun the
|
|
538
|
+
affected stage; do not alternate implementation and verification for individual
|
|
539
|
+
files or partial requirements.
|
|
527
540
|
|
|
528
541
|
[Claude Code, Cursor, OpenCode, codex-sub-agent, Kiro, Gemini, Qoder, CodeBuddy, Copilot, Droid, Pi]
|
|
529
542
|
|
|
530
543
|
Spawn the check sub-agent:
|
|
531
544
|
|
|
532
545
|
- **Agent type**: `rudder-check`
|
|
533
|
-
- **Task description**: Review
|
|
546
|
+
- **Task description**: Review the complete implementation diff against spec and prd, then run the Verify commands (lint, type-check, tests, and build). Fix all findings directly. This is the first full Check + Verify pass for the task, not an incremental review.
|
|
534
547
|
- **Dispatch prompt guard**: Tell the spawned agent it is already the `rudder-check` sub-agent and must review/fix directly, not spawn another `rudder-check` / `rudder-implement`.
|
|
535
548
|
|
|
536
549
|
The check agent's job:
|
|
@@ -544,7 +557,7 @@ The check agent's job:
|
|
|
544
557
|
|
|
545
558
|
[codex-inline, Kilo, Antigravity, Windsurf]
|
|
546
559
|
|
|
547
|
-
|
|
560
|
+
Only after the complete implementation is written, load the `rudder-check` skill for the full Check + Verify pass:
|
|
548
561
|
- Spec compliance
|
|
549
562
|
- lint / type-check / tests
|
|
550
563
|
- Compile/build verification (detect project type, run `mvn compile` / `go build` / `cargo check`, fix errors up to 3 rounds)
|
|
@@ -33,6 +33,12 @@ export interface TaskJson {
|
|
|
33
33
|
relatedFiles: string[];
|
|
34
34
|
notes: string;
|
|
35
35
|
meta: Record<string, unknown>;
|
|
36
|
+
requirements?: {
|
|
37
|
+
status: string;
|
|
38
|
+
confirmed_by: string | null;
|
|
39
|
+
confirmed_at: string | null;
|
|
40
|
+
prd_hash: string | null;
|
|
41
|
+
};
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Produce a fully-populated canonical-shape TaskJson.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-json.d.ts","sourceRoot":"","sources":["../../src/utils/task-json.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"task-json.d.ts","sourceRoot":"","sources":["../../src/utils/task-json.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,YAAY,CAAC,EAAE;QACb,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,CAAC;CACH;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,SAAS,GAAE,OAAO,CAAC,QAAQ,CAAM,GAAG,QAAQ,CAmCzE"}
|
package/dist/utils/task-json.js
CHANGED
|
@@ -43,6 +43,12 @@ export function emptyTaskJson(overrides = {}) {
|
|
|
43
43
|
relatedFiles: [],
|
|
44
44
|
notes: "",
|
|
45
45
|
meta: {},
|
|
46
|
+
requirements: {
|
|
47
|
+
status: "pending",
|
|
48
|
+
confirmed_by: null,
|
|
49
|
+
confirmed_at: null,
|
|
50
|
+
prd_hash: null,
|
|
51
|
+
},
|
|
46
52
|
};
|
|
47
53
|
return { ...base, ...overrides };
|
|
48
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-json.js","sourceRoot":"","sources":["../../src/utils/task-json.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"task-json.js","sourceRoot":"","sources":["../../src/utils/task-json.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAmCH;;;;;;;GAOG;AACH,MAAM,UAAU,aAAa,CAAC,YAA+B,EAAE;IAC7D,MAAM,KAAK,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IACrD,MAAM,IAAI,GAAa;QACrB,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,EAAE;QACT,WAAW,EAAE,EAAE;QACf,MAAM,EAAE,UAAU;QAClB,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,IAAI;QACX,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,EAAE;QACZ,SAAS,EAAE,KAAK;QAChB,WAAW,EAAE,IAAI;QACjB,MAAM,EAAE,IAAI;QACZ,WAAW,EAAE,IAAI;QACjB,aAAa,EAAE,IAAI;QACnB,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,EAAE;QAChB,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,EAAE;QACR,YAAY,EAAE;YACZ,MAAM,EAAE,SAAS;YACjB,YAAY,EAAE,IAAI;YAClB,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;SACf;KACF,CAAC;IACF,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,SAAS,EAAE,CAAC;AACnC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mengde1231/rudder",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.21",
|
|
4
4
|
"description": "AI capabilities grow like ivy — Rudder provides the structure to guide them along a disciplined path",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"typecheck": "tsc --noEmit",
|
|
29
29
|
"lint:py": "basedpyright",
|
|
30
30
|
"lint:all": "pnpm lint && pnpm lint:py",
|
|
31
|
-
"prepublishOnly": "pnpm test && pnpm run build &&
|
|
31
|
+
"prepublishOnly": "pnpm test && pnpm run build && node -e \"const fs=require('node:fs'); fs.copyFileSync('../../README.md','README.md'); fs.copyFileSync('../../LICENSE','LICENSE')\"",
|
|
32
32
|
"release": "node scripts/check-manifest-continuity.js && pnpm test && git add -A -- ':!docs-site' && (git diff-index --quiet HEAD || git commit -m 'chore: pre-release updates') && pnpm version --no-git-tag-version patch && V=$(node -p \"require('./package.json').version\") && git add package.json && git commit -m \"$V\" && git tag \"v$V\" && git push origin main --tags",
|
|
33
33
|
"release:minor": "node scripts/check-manifest-continuity.js && pnpm test && git add -A -- ':!docs-site' && (git diff-index --quiet HEAD || git commit -m 'chore: pre-release updates') && pnpm version --no-git-tag-version minor && V=$(node -p \"require('./package.json').version\") && git add package.json && git commit -m \"$V\" && git tag \"v$V\" && git push origin main --tags",
|
|
34
34
|
"release:major": "node scripts/check-manifest-continuity.js && pnpm test && git add -A -- ':!docs-site' && (git diff-index --quiet HEAD || git commit -m 'chore: pre-release updates') && pnpm version --no-git-tag-version major && V=$(node -p \"require('./package.json').version\") && git add package.json && git commit -m \"$V\" && git tag \"v$V\" && git push origin main --tags",
|