specrails-core 4.0.0 → 4.0.2
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": "specrails-core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "AI agent workflow system for Claude Code — installs 12 specialized agents, orchestration commands, and persona-driven product discovery into any repository",
|
|
5
5
|
"bin": {
|
|
6
6
|
"specrails-core": "bin/specrails-core.js"
|
|
@@ -547,7 +547,7 @@ Also store `DEVELOPER_AGENTS_USED` (the set of developer agent IDs actually laun
|
|
|
547
547
|
|
|
548
548
|
#### Launch modes
|
|
549
549
|
|
|
550
|
-
For each entry in `DEVELOPER_ROUTING`, launch the assigned developer agent with its task subset.
|
|
550
|
+
For each entry in `DEVELOPER_ROUTING`, launch the assigned developer agent using its `subagent_type` (`sr:developer`, `sr:frontend-developer`, or `sr:backend-developer`) with its task subset.
|
|
551
551
|
|
|
552
552
|
**If `SINGLE_MODE` and only one agent in routing**: Launch in the main repo, foreground.
|
|
553
553
|
**If `SINGLE_MODE` but multiple agents in routing**: Launch agents sequentially in the main repo (one at a time, foreground), passing only their assigned tasks.
|
|
@@ -561,7 +561,7 @@ Wait for all developers to complete.
|
|
|
561
561
|
|
|
562
562
|
**Guard:** If `sr-test-writer` ∉ `AVAILABLE_AGENTS`, skip this phase. Print: `[phase-3c] sr-test-writer not installed — skipping test generation.` Update pipeline state: `test-writer` → `skipped`. Proceed to Phase 3d.
|
|
563
563
|
|
|
564
|
-
Launch a **sr-test-writer** agent for each feature immediately after its developer completes.
|
|
564
|
+
Launch a **sr-test-writer** agent (`subagent_type: sr:test-writer`) for each feature immediately after its developer completes.
|
|
565
565
|
|
|
566
566
|
Construct the agent invocation prompt to include:
|
|
567
567
|
- **IMPLEMENTED_FILES_LIST**: the complete list of files the developer created or modified for this feature
|
|
@@ -597,7 +597,7 @@ If a test-writer agent fails or times out:
|
|
|
597
597
|
|
|
598
598
|
**Guard:** If `sr-doc-sync` ∉ `AVAILABLE_AGENTS`, skip this phase. Print: `[phase-3d] sr-doc-sync not installed — skipping doc sync.` Update pipeline state: `doc-sync` → `skipped`. Proceed to Phase 4.
|
|
599
599
|
|
|
600
|
-
Launch a **sr-doc-sync** agent for each feature after its tests are written.
|
|
600
|
+
Launch a **sr-doc-sync** agent (`subagent_type: sr:doc-sync`) for each feature after its tests are written.
|
|
601
601
|
|
|
602
602
|
Construct the agent invocation prompt to include:
|
|
603
603
|
- **IMPLEMENTED_FILES_LIST**: the complete list of files the developer created or modified for this feature
|
|
@@ -825,22 +825,22 @@ If a reviewer is skipped, set its report variable to `"SKIPPED"` and note the re
|
|
|
825
825
|
|
|
826
826
|
#### Step 3: Launch Layer Reviewers in Parallel
|
|
827
827
|
|
|
828
|
-
Launch all applicable layer reviewers in parallel (`run_in_background: true`)
|
|
828
|
+
Launch all applicable layer reviewers in parallel (`run_in_background: true`), using the corresponding `subagent_type` for each (`sr:frontend-reviewer`, `sr:backend-reviewer`, `sr:security-reviewer`, `sr:performance-reviewer`):
|
|
829
829
|
|
|
830
|
-
**sr-frontend-reviewer** (if applicable per Step 2):
|
|
830
|
+
**sr-frontend-reviewer** (`subagent_type: sr:frontend-reviewer`, if applicable per Step 2):
|
|
831
831
|
- Pass `FRONTEND_FILES_LIST`: the list of files in `FRONTEND_FILES`
|
|
832
832
|
- Pass `PIPELINE_CONTEXT`: brief description of what was implemented
|
|
833
833
|
|
|
834
|
-
**sr-backend-reviewer** (if applicable per Step 2):
|
|
834
|
+
**sr-backend-reviewer** (`subagent_type: sr:backend-reviewer`, if applicable per Step 2):
|
|
835
835
|
- Pass `BACKEND_FILES_LIST`: the list of files in `BACKEND_FILES`
|
|
836
836
|
- Pass `PIPELINE_CONTEXT`: brief description of what was implemented
|
|
837
837
|
|
|
838
|
-
**sr-security-reviewer** (if applicable per Step 2):
|
|
838
|
+
**sr-security-reviewer** (`subagent_type: sr:security-reviewer`, if applicable per Step 2):
|
|
839
839
|
- Pass `MODIFIED_FILES_LIST`: the complete list of all files created or modified during this run
|
|
840
840
|
- Pass `PIPELINE_CONTEXT`: brief description of what was implemented
|
|
841
841
|
- Pass the exemptions config path: `.claude/security-exemptions.yaml`
|
|
842
842
|
|
|
843
|
-
**sr-performance-reviewer** (if applicable per Step 2):
|
|
843
|
+
**sr-performance-reviewer** (`subagent_type: sr:performance-reviewer`, if applicable per Step 2):
|
|
844
844
|
- Pass `MODIFIED_FILES_LIST`: the complete list of all files created or modified during this run
|
|
845
845
|
- Pass `PIPELINE_CONTEXT`: brief description of what was implemented
|
|
846
846
|
|
|
@@ -872,7 +872,7 @@ Note: if total layer report length is very large, truncate each layer report to
|
|
|
872
872
|
|
|
873
873
|
**The security gate (blocking ship on `SECURITY_STATUS: BLOCKED`) is enforced in Phase 4c.** Do not apply it here.
|
|
874
874
|
|
|
875
|
-
Launch the **sr-reviewer** agent (foreground, `run_in_background: false`). Wait for it to complete.
|
|
875
|
+
Launch the **sr-reviewer** agent (`subagent_type: sr:reviewer`, foreground, `run_in_background: false`). Wait for it to complete.
|
|
876
876
|
|
|
877
877
|
**Pipeline state:** update `reviewer` → `done` (or `failed` with error context `"sr-reviewer timed out or did not complete"` if the agent errored out).
|
|
878
878
|
|