sdd-cli 0.1.3 → 0.1.4
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/commands/gen-architecture.js +1 -1
- package/dist/commands/gen-project-readme.js +1 -1
- package/dist/commands/req-finish.js +2 -2
- package/dist/commands/req-plan.js +1 -1
- package/flows/ADMISSIONS_ADMIN.md +2 -1
- package/flows/ART.md +2 -1
- package/flows/COURT_SYSTEM.md +2 -1
- package/flows/DATA_SCIENTIST.md +2 -1
- package/flows/ECOMMERCE.md +2 -1
- package/flows/ECONOMICS.md +2 -1
- package/flows/GRAPHIC_DESIGN.md +2 -1
- package/flows/HISTORY.md +2 -1
- package/flows/LAWYER.md +2 -1
- package/flows/PROGRAMMER.md +2 -1
- package/flows/RETAIL_STORE.md +2 -1
- package/flows/SOCIOLOGY.md +2 -1
- package/flows/STATE_ADMIN.md +2 -1
- package/flows/STUDENT_UNIVERSITY.md +2 -1
- package/flows/TAXES_ADMIN.md +2 -1
- package/flows/TEACHER.md +2 -1
- package/package.json +4 -4
- package/router/BUSINESS.flow.md +2 -1
- package/router/DATA_SCIENCE.flow.md +2 -1
- package/router/DESIGN.flow.md +2 -1
- package/router/HUMANITIES.flow.md +2 -1
- package/router/LEGAL.flow.md +2 -1
- package/router/SOFTWARE_FEATURE.flow.md +2 -1
|
@@ -63,7 +63,7 @@ async function runGenArchitecture() {
|
|
|
63
63
|
deployment: (0, list_1.formatList)(deployment),
|
|
64
64
|
diagrams: (0, list_1.formatList)(diagrams)
|
|
65
65
|
});
|
|
66
|
-
fs_1.default.writeFileSync(path_1.default.join(requirementDir, "
|
|
66
|
+
fs_1.default.writeFileSync(path_1.default.join(requirementDir, "architecture.md"), rendered, "utf-8");
|
|
67
67
|
fs_1.default.writeFileSync(path_1.default.join(requirementDir, "architecture.json"), JSON.stringify(architectureJson, null, 2), "utf-8");
|
|
68
68
|
(0, gen_utils_1.appendProgress)(requirementDir, `generated architecture for ${reqId}`);
|
|
69
69
|
(0, gen_utils_1.appendImprove)(requirementDir, improveNote);
|
|
@@ -52,7 +52,7 @@ async function runGenProjectReadme() {
|
|
|
52
52
|
requirements: requirementsLink || "requirements/requirement.md",
|
|
53
53
|
functionalSpec: functionalSpecLink || "requirements/functional-spec.md",
|
|
54
54
|
technicalSpec: technicalSpecLink || "requirements/technical-spec.md",
|
|
55
|
-
architecture: architectureLink || "requirements/
|
|
55
|
+
architecture: architectureLink || "requirements/architecture.md"
|
|
56
56
|
},
|
|
57
57
|
testingNotes: testingNotes || "N/A"
|
|
58
58
|
};
|
|
@@ -88,7 +88,7 @@ async function runReqFinish() {
|
|
|
88
88
|
requirements_link: `requirements/done/${reqId}/requirement.md`,
|
|
89
89
|
functional_spec_link: `requirements/done/${reqId}/functional-spec.md`,
|
|
90
90
|
technical_spec_link: `requirements/done/${reqId}/technical-spec.md`,
|
|
91
|
-
architecture_link: `requirements/done/${reqId}/
|
|
91
|
+
architecture_link: `requirements/done/${reqId}/architecture.md`,
|
|
92
92
|
testing_notes: testingNotes || "N/A"
|
|
93
93
|
});
|
|
94
94
|
const readmeJson = {
|
|
@@ -100,7 +100,7 @@ async function runReqFinish() {
|
|
|
100
100
|
requirements: `requirements/done/${reqId}/requirement.md`,
|
|
101
101
|
functionalSpec: `requirements/done/${reqId}/functional-spec.md`,
|
|
102
102
|
technicalSpec: `requirements/done/${reqId}/technical-spec.md`,
|
|
103
|
-
architecture: `requirements/done/${reqId}/
|
|
103
|
+
architecture: `requirements/done/${reqId}/architecture.md`
|
|
104
104
|
},
|
|
105
105
|
testingNotes: testingNotes || "N/A"
|
|
106
106
|
};
|
|
@@ -191,7 +191,7 @@ async function runReqPlan() {
|
|
|
191
191
|
[path_1.default.join(targetDir, "functional-spec.json"), JSON.stringify(functionalJson, null, 2)],
|
|
192
192
|
[path_1.default.join(targetDir, "technical-spec.md"), technicalRendered],
|
|
193
193
|
[path_1.default.join(targetDir, "technical-spec.json"), JSON.stringify(technicalJson, null, 2)],
|
|
194
|
-
[path_1.default.join(targetDir, "
|
|
194
|
+
[path_1.default.join(targetDir, "architecture.md"), architectureRendered],
|
|
195
195
|
[path_1.default.join(targetDir, "architecture.json"), JSON.stringify(architectureJson, null, 2)],
|
|
196
196
|
[path_1.default.join(targetDir, "test-plan.md"), testPlanRendered],
|
|
197
197
|
[path_1.default.join(targetDir, "test-plan.json"), JSON.stringify(testPlanJson, null, 2)]
|
|
@@ -14,7 +14,7 @@ Manage applications, documents, approvals, and communication with clear audit tr
|
|
|
14
14
|
- `requirement.md` with eligibility and decision rules
|
|
15
15
|
- `functional-spec.md` for intake, review, and decision workflows
|
|
16
16
|
- `technical-spec.md` for document verification and notifications
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` including workflow engine and queueing
|
|
18
18
|
- `test-plan.md` for fairness and correctness checks
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Manage applications, documents, approvals, and communication with clear audit tr
|
|
|
32
32
|
- Document verification checklist
|
|
33
33
|
- Decision audit report
|
|
34
34
|
|
|
35
|
+
|
package/flows/ART.md
CHANGED
|
@@ -14,7 +14,7 @@ Create an art piece or series with a clear concept, process, and critique cycle.
|
|
|
14
14
|
- `requirement.md` with concept and constraints
|
|
15
15
|
- `functional-spec.md` for narrative or interaction flow
|
|
16
16
|
- `technical-spec.md` for materials and production steps
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for series structure or installation layout
|
|
18
18
|
- `test-plan.md` for critique and iteration checkpoints
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Create an art piece or series with a clear concept, process, and critique cycle.
|
|
|
32
32
|
- Production plan
|
|
33
33
|
- Critique log
|
|
34
34
|
|
|
35
|
+
|
package/flows/COURT_SYSTEM.md
CHANGED
|
@@ -14,7 +14,7 @@ Manage case intake, hearings, rulings, and records with strict auditability and
|
|
|
14
14
|
- `requirement.md` with legal constraints and actors
|
|
15
15
|
- `functional-spec.md` for filing, scheduling, and ruling flows
|
|
16
16
|
- `technical-spec.md` for access control and audit logs
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for resiliency and record management
|
|
18
18
|
- `test-plan.md` for permissions and compliance verification
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Manage case intake, hearings, rulings, and records with strict auditability and
|
|
|
32
32
|
- Evidence chain-of-custody log
|
|
33
33
|
- Compliance audit pack
|
|
34
34
|
|
|
35
|
+
|
package/flows/DATA_SCIENTIST.md
CHANGED
|
@@ -14,7 +14,7 @@ Deliver a data product or model with reproducible experiments and measurable imp
|
|
|
14
14
|
- `requirement.md` with objective and success metrics
|
|
15
15
|
- `functional-spec.md` for data flows and user interactions
|
|
16
16
|
- `technical-spec.md` for pipelines, features, and infra
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for data storage and serving
|
|
18
18
|
- `test-plan.md` for data validation and model evaluation
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Deliver a data product or model with reproducible experiments and measurable imp
|
|
|
32
32
|
- Experiment tracking plan
|
|
33
33
|
- Model card summary
|
|
34
34
|
|
|
35
|
+
|
package/flows/ECOMMERCE.md
CHANGED
|
@@ -14,7 +14,7 @@ Build or extend an ecommerce platform with reliable checkout and inventory integ
|
|
|
14
14
|
- `requirement.md` with revenue and conversion goals
|
|
15
15
|
- `functional-spec.md` for browse, cart, checkout, returns
|
|
16
16
|
- `technical-spec.md` for payment and order integrations
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for scaling and availability
|
|
18
18
|
- `test-plan.md` for checkout and payment validation
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Build or extend an ecommerce platform with reliable checkout and inventory integ
|
|
|
32
32
|
- Fraud prevention checklist
|
|
33
33
|
- Post-purchase email templates
|
|
34
34
|
|
|
35
|
+
|
package/flows/ECONOMICS.md
CHANGED
|
@@ -14,7 +14,7 @@ Analyze economic scenarios or policy impacts with clear assumptions and models.
|
|
|
14
14
|
- `requirement.md` with objectives and constraints
|
|
15
15
|
- `functional-spec.md` for analysis flow and outputs
|
|
16
16
|
- `technical-spec.md` for models and datasets
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for data pipeline and reporting
|
|
18
18
|
- `test-plan.md` for sensitivity and robustness checks
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Analyze economic scenarios or policy impacts with clear assumptions and models.
|
|
|
32
32
|
- Scenario matrix
|
|
33
33
|
- Executive summary
|
|
34
34
|
|
|
35
|
+
|
package/flows/GRAPHIC_DESIGN.md
CHANGED
|
@@ -14,7 +14,7 @@ Deliver a visual system (brand, UI, or campaign) with clear requirements and cri
|
|
|
14
14
|
- `requirement.md` with audience and goals
|
|
15
15
|
- `functional-spec.md` for usage scenarios
|
|
16
16
|
- `technical-spec.md` for file formats and delivery specs
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for design system structure
|
|
18
18
|
- `test-plan.md` for accessibility and brand consistency checks
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Deliver a visual system (brand, UI, or campaign) with clear requirements and cri
|
|
|
32
32
|
- Component library
|
|
33
33
|
- Asset delivery checklist
|
|
34
34
|
|
|
35
|
+
|
package/flows/HISTORY.md
CHANGED
|
@@ -14,7 +14,7 @@ Produce a credible historical analysis with sources, timelines, and context.
|
|
|
14
14
|
- `requirement.md` with scope and thesis
|
|
15
15
|
- `functional-spec.md` for narrative flow
|
|
16
16
|
- `technical-spec.md` for citation style and source rules
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for section structure
|
|
18
18
|
- `test-plan.md` for source verification and bias checks
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Produce a credible historical analysis with sources, timelines, and context.
|
|
|
32
32
|
- Timeline map
|
|
33
33
|
- Thesis refinement log
|
|
34
34
|
|
|
35
|
+
|
package/flows/LAWYER.md
CHANGED
|
@@ -14,7 +14,7 @@ Build a system to manage cases, documents, deadlines, and client communication w
|
|
|
14
14
|
- `requirement.md` with scope and compliance constraints
|
|
15
15
|
- `functional-spec.md` including case lifecycle and document review flows
|
|
16
16
|
- `technical-spec.md` detailing access control and audit logging
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` with secure storage and encryption at rest
|
|
18
18
|
- `test-plan.md` with permission boundary tests
|
|
19
19
|
- `decision-log/ADR-XXXX.md` for storage and retention choices
|
|
20
20
|
|
|
@@ -33,3 +33,4 @@ Build a system to manage cases, documents, deadlines, and client communication w
|
|
|
33
33
|
- Role-based access matrix
|
|
34
34
|
- Case timeline dashboard
|
|
35
35
|
|
|
36
|
+
|
package/flows/PROGRAMMER.md
CHANGED
|
@@ -14,7 +14,7 @@ Implement a feature or system change with clean code, tests, and documentation.
|
|
|
14
14
|
- `requirement.md` with scope and constraints
|
|
15
15
|
- `functional-spec.md` for behavior and edge cases
|
|
16
16
|
- `technical-spec.md` for design and dependencies
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for component-level impact
|
|
18
18
|
- `test-plan.md` for coverage and regression
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Implement a feature or system change with clean code, tests, and documentation.
|
|
|
32
32
|
- Code review checklist
|
|
33
33
|
- Rollout plan
|
|
34
34
|
|
|
35
|
+
|
package/flows/RETAIL_STORE.md
CHANGED
|
@@ -14,7 +14,7 @@ Support in-store sales, inventory, and customer management in a reliable, low-la
|
|
|
14
14
|
- `requirement.md` with store operations constraints
|
|
15
15
|
- `functional-spec.md` for POS, inventory, and staff flows
|
|
16
16
|
- `technical-spec.md` for device integration and offline sync
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for store-local resiliency
|
|
18
18
|
- `test-plan.md` for offline/online transitions
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Support in-store sales, inventory, and customer management in a reliable, low-la
|
|
|
32
32
|
- Offline sync strategy
|
|
33
33
|
- Store ops checklist
|
|
34
34
|
|
|
35
|
+
|
package/flows/SOCIOLOGY.md
CHANGED
|
@@ -14,7 +14,7 @@ Design a study or analysis of social behavior with clear methods and ethical saf
|
|
|
14
14
|
- `requirement.md` with research scope
|
|
15
15
|
- `functional-spec.md` for research workflow
|
|
16
16
|
- `technical-spec.md` for data collection and analysis tools
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for dataset and analysis pipeline
|
|
18
18
|
- `test-plan.md` for validity and bias checks
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Design a study or analysis of social behavior with clear methods and ethical saf
|
|
|
32
32
|
- Survey or interview guide
|
|
33
33
|
- Data analysis plan
|
|
34
34
|
|
|
35
|
+
|
package/flows/STATE_ADMIN.md
CHANGED
|
@@ -14,7 +14,7 @@ Deliver reliable public services with strict compliance, transparency, and audit
|
|
|
14
14
|
- `requirement.md` with legal constraints and SLA targets
|
|
15
15
|
- `functional-spec.md` for service request and approval flows
|
|
16
16
|
- `technical-spec.md` for identity and access management
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for resiliency and data governance
|
|
18
18
|
- `test-plan.md` for SLA compliance and failure scenarios
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Deliver reliable public services with strict compliance, transparency, and audit
|
|
|
32
32
|
- Compliance dashboard
|
|
33
33
|
- Audit-ready reports
|
|
34
34
|
|
|
35
|
+
|
|
@@ -14,7 +14,7 @@ Plan and deliver a project or research task with clear milestones, requirements,
|
|
|
14
14
|
- `requirement.md` with assignment constraints
|
|
15
15
|
- `functional-spec.md` for user stories or research tasks
|
|
16
16
|
- `technical-spec.md` for tools and stack
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for system or study design
|
|
18
18
|
- `test-plan.md` or validation plan
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Plan and deliver a project or research task with clear milestones, requirements,
|
|
|
32
32
|
- Research log
|
|
33
33
|
- Final submission checklist
|
|
34
34
|
|
|
35
|
+
|
package/flows/TAXES_ADMIN.md
CHANGED
|
@@ -14,7 +14,7 @@ Manage tax filing, validation, audits, and compliance with strong security and t
|
|
|
14
14
|
- `requirement.md` with compliance and validation constraints
|
|
15
15
|
- `functional-spec.md` for filing and audit workflows
|
|
16
16
|
- `technical-spec.md` covering encryption and access controls
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` with data segregation and audit trails
|
|
18
18
|
- `test-plan.md` for validation accuracy and security
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Manage tax filing, validation, audits, and compliance with strong security and t
|
|
|
32
32
|
- Audit case management
|
|
33
33
|
- Compliance reporting
|
|
34
34
|
|
|
35
|
+
|
package/flows/TEACHER.md
CHANGED
|
@@ -14,7 +14,7 @@ Create a system for lesson planning, assessments, and feedback with clear learni
|
|
|
14
14
|
- `requirement.md` with learning objectives and scope
|
|
15
15
|
- `functional-spec.md` covering lesson, assignment, and grading flows
|
|
16
16
|
- `technical-spec.md` for integrations (LMS, email, calendars)
|
|
17
|
-
- `
|
|
17
|
+
- `architecture.md` for content storage and versioning
|
|
18
18
|
- `test-plan.md` with grading accuracy and accessibility checks
|
|
19
19
|
|
|
20
20
|
## Risk and compliance
|
|
@@ -32,3 +32,4 @@ Create a system for lesson planning, assessments, and feedback with clear learni
|
|
|
32
32
|
- Grading rubric engine
|
|
33
33
|
- Student progress analytics
|
|
34
34
|
|
|
35
|
+
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sdd-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "SDD-first, AI-native CLI for end-to-end delivery.",
|
|
5
|
-
"homepage": "https://github.com/jdsalasca/sdd-
|
|
5
|
+
"homepage": "https://github.com/jdsalasca/sdd-tool#readme",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/jdsalasca/sdd-
|
|
8
|
+
"url": "git+https://github.com/jdsalasca/sdd-tool.git"
|
|
9
9
|
},
|
|
10
10
|
"bugs": {
|
|
11
|
-
"url": "https://github.com/jdsalasca/sdd-
|
|
11
|
+
"url": "https://github.com/jdsalasca/sdd-tool/issues"
|
|
12
12
|
},
|
|
13
13
|
"bin": {
|
|
14
14
|
"sdd-cli": "dist/cli.js",
|
package/router/BUSINESS.flow.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
## Required outputs
|
|
21
21
|
- `requirement.md`
|
|
22
22
|
- `technical-spec.md`
|
|
23
|
-
- `
|
|
23
|
+
- `architecture.md`
|
|
24
24
|
- `test-plan.md` (sensitivity checks)
|
|
25
25
|
|
|
26
26
|
## Scripted Q/A tree
|
|
@@ -56,3 +56,4 @@ A: No -> refine
|
|
|
56
56
|
## Agents
|
|
57
57
|
- Analyst, Economist, Critic
|
|
58
58
|
|
|
59
|
+
|
package/router/DESIGN.flow.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
- `requirement.md`
|
|
22
22
|
- `functional-spec.md`
|
|
23
23
|
- `technical-spec.md`
|
|
24
|
-
- `
|
|
24
|
+
- `architecture.md`
|
|
25
25
|
- `test-plan.md`
|
|
26
26
|
|
|
27
27
|
## Scripted Q/A tree
|
|
@@ -57,3 +57,4 @@ A: No -> refine
|
|
|
57
57
|
## Agents
|
|
58
58
|
- Creative Lead, Design Systems, Critic
|
|
59
59
|
|
|
60
|
+
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
- `requirement.md`
|
|
22
22
|
- `functional-spec.md`
|
|
23
23
|
- `technical-spec.md` (citation rules)
|
|
24
|
-
- `
|
|
24
|
+
- `architecture.md` (structure)
|
|
25
25
|
- `test-plan.md` (bias and source checks)
|
|
26
26
|
|
|
27
27
|
## Scripted Q/A tree
|
|
@@ -57,3 +57,4 @@ A: No -> refine
|
|
|
57
57
|
## Agents
|
|
58
58
|
- Researcher, Critic, Synthesizer
|
|
59
59
|
|
|
60
|
+
|
package/router/LEGAL.flow.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
- `requirement.md`
|
|
22
22
|
- `functional-spec.md`
|
|
23
23
|
- `technical-spec.md`
|
|
24
|
-
- `
|
|
24
|
+
- `architecture.md`
|
|
25
25
|
- `test-plan.md` (access and audit checks)
|
|
26
26
|
|
|
27
27
|
## Scripted Q/A tree
|
|
@@ -57,3 +57,4 @@ A: No -> refine
|
|
|
57
57
|
## Agents
|
|
58
58
|
- Legal Analyst, Compliance, QA
|
|
59
59
|
|
|
60
|
+
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
- `requirement.md`
|
|
22
22
|
- `functional-spec.md`
|
|
23
23
|
- `technical-spec.md`
|
|
24
|
-
- `
|
|
24
|
+
- `architecture.md`
|
|
25
25
|
- `test-plan.md`
|
|
26
26
|
- `quality.yml`
|
|
27
27
|
|
|
@@ -58,3 +58,4 @@ A: No -> refine
|
|
|
58
58
|
## Agents
|
|
59
59
|
- Req Analyst, Solution Architect, Tech Lead, QA
|
|
60
60
|
|
|
61
|
+
|