@intoinside/praxis 1.0.1
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/CODE_OF_CONDUCT.md +99 -0
- package/CONTRIBUTING.md +108 -0
- package/LICENSE +21 -0
- package/MAINTAINERS.md +9 -0
- package/README.md +319 -0
- package/intoinside-praxis-1.0.0.tgz +0 -0
- package/last_error.txt +42 -0
- package/package.json +40 -0
- package/src/commands/init.d.ts +1 -0
- package/src/commands/init.js +42 -0
- package/src/commands/init.ts +47 -0
- package/src/commands/integration/generate.d.ts +4 -0
- package/src/commands/integration/generate.js +69 -0
- package/src/commands/integration/generate.ts +85 -0
- package/src/commands/intent/create.d.ts +4 -0
- package/src/commands/intent/create.js +55 -0
- package/src/commands/intent/create.ts +61 -0
- package/src/commands/intent/list.d.ts +4 -0
- package/src/commands/intent/list.js +52 -0
- package/src/commands/intent/list.ts +63 -0
- package/src/commands/spec/apply.d.ts +4 -0
- package/src/commands/spec/apply.js +99 -0
- package/src/commands/spec/apply.ts +109 -0
- package/src/commands/spec/archive.d.ts +4 -0
- package/src/commands/spec/archive.js +114 -0
- package/src/commands/spec/archive.ts +121 -0
- package/src/commands/spec/delete.d.ts +4 -0
- package/src/commands/spec/delete.js +70 -0
- package/src/commands/spec/delete.ts +75 -0
- package/src/commands/spec/derive.d.ts +6 -0
- package/src/commands/spec/derive.js +107 -0
- package/src/commands/spec/derive.ts +117 -0
- package/src/core/command-generation/adapters/antigravity.d.ts +12 -0
- package/src/core/command-generation/adapters/antigravity.js +25 -0
- package/src/core/command-generation/adapters/antigravity.ts +30 -0
- package/src/core/command-generation/adapters/index.d.ts +6 -0
- package/src/core/command-generation/adapters/index.js +26 -0
- package/src/core/command-generation/adapters/index.ts +27 -0
- package/src/core/command-generation/generator.d.ts +20 -0
- package/src/core/command-generation/generator.js +26 -0
- package/src/core/command-generation/generator.ts +36 -0
- package/src/core/command-generation/index.d.ts +20 -0
- package/src/core/command-generation/index.js +23 -0
- package/src/core/command-generation/index.ts +33 -0
- package/src/core/command-generation/registry.d.ts +35 -0
- package/src/core/command-generation/registry.js +87 -0
- package/src/core/command-generation/registry.ts +95 -0
- package/src/core/command-generation/types.d.ts +54 -0
- package/src/core/command-generation/types.js +7 -0
- package/src/core/command-generation/types.ts +57 -0
- package/src/index.d.ts +2 -0
- package/src/index.js +95 -0
- package/src/index.ts +97 -0
- package/src/manifest.d.ts +21 -0
- package/src/manifest.js +170 -0
- package/src/manifest.ts +188 -0
- package/templates/checklist-template.md +42 -0
- package/templates/intent-template.md +290 -0
- package/templates/spec-template.md +114 -0
- package/test_output.txt +0 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
# Feature Specification: [FEATURE NAME]
|
|
2
|
+
|
|
3
|
+
**Template Version**: 2.0
|
|
4
|
+
**Feature Branch**: `[###-feature-name]`
|
|
5
|
+
**Created**: [DATE]
|
|
6
|
+
**Status**: Draft
|
|
7
|
+
**Input**: User description: "$ARGUMENTS"
|
|
8
|
+
|
|
9
|
+
## User Scenarios & Testing *(mandatory)*
|
|
10
|
+
|
|
11
|
+
<!--
|
|
12
|
+
IMPORTANT: User stories should be PRIORITIZED as user journeys ordered by importance.
|
|
13
|
+
Each user story/journey must be INDEPENDENTLY TESTABLE - meaning if you implement just ONE of them,
|
|
14
|
+
you should still have a viable MVP (Minimum Viable Product) that delivers value.
|
|
15
|
+
|
|
16
|
+
Assign priorities (P1, P2, P3, etc.) to each story, where P1 is the most critical.
|
|
17
|
+
Think of each story as a standalone slice of functionality that can be:
|
|
18
|
+
- Developed independently
|
|
19
|
+
- Tested independently
|
|
20
|
+
- Deployed independently
|
|
21
|
+
- Demonstrated to users independently
|
|
22
|
+
-->
|
|
23
|
+
|
|
24
|
+
### User Story 1 - [Brief Title] (Priority: P1)
|
|
25
|
+
|
|
26
|
+
[Describe this user journey in plain language. Focus on what the user wants to achieve, not how the system will implement
|
|
27
|
+
it. Keep it concise yet comprehensive.]
|
|
28
|
+
|
|
29
|
+
**Why this priority**: [Explain the value and why it has this priority level. Consider business impact, user pain points,
|
|
30
|
+
technical dependencies, and regulatory requirements.]
|
|
31
|
+
|
|
32
|
+
**Independent Test**: [Describe how this can be tested independently - e.g., "Can be fully tested by [specific action]
|
|
33
|
+
and delivers [specific value]. This test should verify that the user story provides standalone value without requiring
|
|
34
|
+
other stories."]
|
|
35
|
+
|
|
36
|
+
**Acceptance Scenarios**:
|
|
37
|
+
|
|
38
|
+
1. **Given** [initial state], **When** [action], **Then** [expected outcome]
|
|
39
|
+
2. **Given** [initial state], **When** [action], **Then** [expected outcome]
|
|
40
|
+
3. **Given** [initial state], **When** [action], **Then** [expected outcome]
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
### User Story 2 - [Brief Title] (Priority: P2)
|
|
45
|
+
|
|
46
|
+
[Describe this user journey in plain language. Focus on what the user wants to achieve, not how the system will implement
|
|
47
|
+
it. Keep it concise yet comprehensive.]
|
|
48
|
+
|
|
49
|
+
**Why this priority**: [Explain the value and why it has this priority level. Consider business impact, user pain points,
|
|
50
|
+
technical dependencies, and regulatory requirements.]
|
|
51
|
+
|
|
52
|
+
**Independent Test**: [Describe how this can be tested independently. This test should verify that the user story provides
|
|
53
|
+
standalone value without requiring other stories.]
|
|
54
|
+
|
|
55
|
+
**Acceptance Scenarios**:
|
|
56
|
+
|
|
57
|
+
1. **Given** [initial state], **When** [action], **Then** [expected outcome]
|
|
58
|
+
2. **Given** [initial state], **When** [action], **Then** [expected outcome]
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
### User Story 3 - [Brief Title] (Priority: P3)
|
|
63
|
+
|
|
64
|
+
[Describe this user journey in plain language. Focus on what the user wants to achieve, not how the system will
|
|
65
|
+
implement it. Keep it concise yet comprehensive.]
|
|
66
|
+
|
|
67
|
+
**Why this priority**: [Explain the value and why it has this priority level. Consider business impact,
|
|
68
|
+
user pain points, technical dependencies, and regulatory requirements.]
|
|
69
|
+
|
|
70
|
+
**Independent Test**: [Describe how this can be tested independently. This test should verify that the user story
|
|
71
|
+
provides standalone value without requiring other stories.]
|
|
72
|
+
|
|
73
|
+
**Acceptance Scenarios**:
|
|
74
|
+
|
|
75
|
+
1. **Given** [initial state], **When** [action], **Then** [expected outcome]
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
[Add more user stories as needed, each with an assigned priority]
|
|
80
|
+
|
|
81
|
+
### Edge Cases & Error Scenarios
|
|
82
|
+
|
|
83
|
+
<!--
|
|
84
|
+
ACTION REQUIRED: The content in this section represents placeholders.
|
|
85
|
+
Fill them out with the right edge cases and error conditions.
|
|
86
|
+
-->
|
|
87
|
+
|
|
88
|
+
- What happens when [boundary condition]? How should the system respond to [unusual input or load condition]?
|
|
89
|
+
- How does the system handle [error scenario]? What is the user experience when [failure occurs]?
|
|
90
|
+
- What are the boundary limits for [key data field or operation]?
|
|
91
|
+
- How does the system behave when [external dependency] is unavailable?
|
|
92
|
+
- What happens if [user action] is performed multiple times or at unexpected times?
|
|
93
|
+
|
|
94
|
+
## Requirements *(mandatory)*
|
|
95
|
+
|
|
96
|
+
<!--
|
|
97
|
+
ACTION REQUIRED: The content in this section represents placeholders.
|
|
98
|
+
Fill them out with the right functional requirements.
|
|
99
|
+
Requirements must be:
|
|
100
|
+
- Specific and unambiguous
|
|
101
|
+
- Testable with clear acceptance criteria
|
|
102
|
+
- Aligned with user stories
|
|
103
|
+
- Prioritized by importance
|
|
104
|
+
-->
|
|
105
|
+
|
|
106
|
+
### Functional Requirements
|
|
107
|
+
|
|
108
|
+
- **FR-001**: [Priority: P1] System MUST [specific capability, e.g., "allow users to create accounts"].
|
|
109
|
+
- Acceptance: [Clear testable conditions for this requirement]
|
|
110
|
+
- Dependencies: [Any other requirements this depends on]
|
|
111
|
+
- **FR-002**: [Priority: P1] System MUST [specific capability, e.g., "validate email addresses"].
|
|
112
|
+
- Acceptance: [Clear testable conditions for this requirement]
|
|
113
|
+
- Dependencies: [Any other requirements this depends on]
|
|
114
|
+
- **FR-003**: [Priority: P2] Users MUST be able to [key interaction, e.g., "reset their password"].
|
|
115
|
+
- Acceptance: [Clear testable conditions for this requirement]
|
|
116
|
+
- Dependencies: [Any other requirements this depends on]
|
|
117
|
+
- **FR-004**: [Priority: P2] System MUST [data requirement, e.g., "persist user preferences"].
|
|
118
|
+
- Acceptance: [Clear testable conditions for this requirement]
|
|
119
|
+
- Dependencies: [Any other requirements this depends on]
|
|
120
|
+
- **FR-005**: [Priority: P3] System MUST [behavior, e.g., "log all security events"].
|
|
121
|
+
- Acceptance: [Clear testable conditions for this requirement]
|
|
122
|
+
- Dependencies: [Any other requirements this depends on]
|
|
123
|
+
|
|
124
|
+
*Example of marking unclear requirements:*
|
|
125
|
+
|
|
126
|
+
- **FR-006**: System MUST authenticate users via [NEEDS CLARIFICATION: auth method not specified - email/password, SSO, OAuth?]
|
|
127
|
+
- **FR-007**: System MUST retain user data for [NEEDS CLARIFICATION: retention period not specified]
|
|
128
|
+
|
|
129
|
+
### Non-Functional Requirements
|
|
130
|
+
|
|
131
|
+
- **NFR-001**: Performance - [System must meet performance criteria, e.g., "Handle 1000 concurrent users with
|
|
132
|
+
<100ms response time"]
|
|
133
|
+
- **NFR-002**: Security - [Security requirements, e.g., "Implement role-based access control"]
|
|
134
|
+
- **NFR-003**: Scalability - [Scalability requirements, e.g., "Support 10x growth in user base"]
|
|
135
|
+
- **NFR-004**: Usability - [Usability requirements, e.g., "Complete primary task in <5 clicks"]
|
|
136
|
+
- **NFR-005**: Compliance - [Compliance requirements, e.g., "Meet GDPR requirements for data protection"]
|
|
137
|
+
|
|
138
|
+
### Key Entities *(include if feature involves data)*
|
|
139
|
+
|
|
140
|
+
- **[Entity 1]**: [What it represents, key attributes without implementation].
|
|
141
|
+
- Key attributes: [List essential fields without specifying storage or format]
|
|
142
|
+
- Relationships: [Connections to other entities]
|
|
143
|
+
- Validation rules: [Constraints and validation requirements]
|
|
144
|
+
- **[Entity 2]**: [What it represents, relationships to other entities].
|
|
145
|
+
- Key attributes: [List essential fields without specifying storage or format]
|
|
146
|
+
- Relationships: [Connections to other entities]
|
|
147
|
+
- Validation rules: [Constraints and validation requirements]
|
|
148
|
+
|
|
149
|
+
## Success Criteria *(mandatory)*
|
|
150
|
+
|
|
151
|
+
<!--
|
|
152
|
+
ACTION REQUIRED: Define measurable success criteria.
|
|
153
|
+
These must be technology-agnostic and measurable.
|
|
154
|
+
Focus on outcomes for users and business, not implementation details.
|
|
155
|
+
-->
|
|
156
|
+
|
|
157
|
+
### Measurable Outcomes
|
|
158
|
+
|
|
159
|
+
- **SC-001**: [Measurable metric, e.g., "Users can complete account creation in under 2 minutes" - Focus on user experience]
|
|
160
|
+
- **SC-002**: [Measurable metric, e.g., "System handles 1000 concurrent users without degradation" - Focus on system performance]
|
|
161
|
+
- **SC-003**: [User satisfaction metric, e.g., "90% of users successfully complete primary task on first attempt" -
|
|
162
|
+
Focus on usability]
|
|
163
|
+
- **SC-004**: [Business metric, e.g., "Reduce support tickets related to [X] by 50%" - Focus on business value]
|
|
164
|
+
|
|
165
|
+
### Validation Approach
|
|
166
|
+
|
|
167
|
+
**How we will measure success:**
|
|
168
|
+
|
|
169
|
+
- [Specific metrics we will track]
|
|
170
|
+
- [Tools/methods for collecting data]
|
|
171
|
+
- [Timeline for measuring success]
|
|
172
|
+
- [Who is responsible for validation]
|
|
173
|
+
|
|
174
|
+
### Success Thresholds
|
|
175
|
+
|
|
176
|
+
- **Minimum Viable**: [Baseline success criteria - what constitutes basic success]
|
|
177
|
+
- **Target**: [Desired success criteria - what we're aiming for]
|
|
178
|
+
- **Stretch Goal**: [Ambitious success criteria - what would exceed expectations]
|
|
179
|
+
|
|
180
|
+
## Validation Checklist
|
|
181
|
+
|
|
182
|
+
**Before proceeding to planning phase, verify:**
|
|
183
|
+
|
|
184
|
+
- [ ] All user stories have acceptance criteria with Given/When/Then format
|
|
185
|
+
- [ ] Success criteria are measurable with specific metrics
|
|
186
|
+
- [ ] Edge cases adequately cover error conditions and boundary values
|
|
187
|
+
- [ ] All [NEEDS CLARIFICATION] markers are resolved
|
|
188
|
+
- [ ] Requirements are testable and unambiguous
|
|
189
|
+
- [ ] Security considerations are addressed if applicable
|
|
190
|
+
- [ ] Performance requirements are specified if applicable
|
|
191
|
+
- [ ] Dependencies and assumptions are documented
|
|
192
|
+
|
|
193
|
+
## Quality Scoring
|
|
194
|
+
|
|
195
|
+
**Rate each section from 1-5 (5 = Excellent):**
|
|
196
|
+
|
|
197
|
+
### User Stories Quality (Score: ___/5)
|
|
198
|
+
|
|
199
|
+
- [ ] Clear user value proposition
|
|
200
|
+
- [ ] Appropriate level of detail
|
|
201
|
+
- [ ] Measurable acceptance criteria
|
|
202
|
+
- [ ] Proper prioritization (P1/P2/P3)
|
|
203
|
+
- [ ] Independent testability
|
|
204
|
+
|
|
205
|
+
### Requirements Quality (Score: ___/5)
|
|
206
|
+
|
|
207
|
+
- [ ] All requirements are testable
|
|
208
|
+
- [ ] Technology-agnostic language
|
|
209
|
+
- [ ] Clear acceptance criteria
|
|
210
|
+
- [ ] Non-functional requirements included
|
|
211
|
+
- [ ] Aligned with user stories
|
|
212
|
+
|
|
213
|
+
### Success Criteria Quality (Score: ___/5)
|
|
214
|
+
|
|
215
|
+
- [ ] All criteria are measurable
|
|
216
|
+
- [ ] Specific metrics defined
|
|
217
|
+
- [ ] Technology-agnostic
|
|
218
|
+
- [ ] Include success thresholds (minimum/target/stretch)
|
|
219
|
+
- [ ] Cover user, business, and technical outcomes
|
|
220
|
+
|
|
221
|
+
### Overall Quality (Score: ___/5)
|
|
222
|
+
|
|
223
|
+
**Recommendation**: [Proceed to planning / Needs revision / Needs major revision]
|
|
224
|
+
|
|
225
|
+
## Automated Testing Guidance
|
|
226
|
+
|
|
227
|
+
### Test Strategy Alignment
|
|
228
|
+
|
|
229
|
+
Based on your feature specification, consider implementing these test types:
|
|
230
|
+
|
|
231
|
+
- **Unit Tests**: For individual functions, methods, and classes
|
|
232
|
+
- **Integration Tests**: For component interactions and API endpoints
|
|
233
|
+
- **Contract Tests**: For API compatibility between services
|
|
234
|
+
- **End-to-End Tests**: For critical user journeys
|
|
235
|
+
- **Performance Tests**: If performance requirements specified
|
|
236
|
+
- **Security Tests**: If security requirements specified
|
|
237
|
+
|
|
238
|
+
### Test Documentation
|
|
239
|
+
|
|
240
|
+
- Document test scenarios in `tests/scenarios/[feature-name].md`
|
|
241
|
+
- Create test data in `tests/fixtures/[feature-name]/`
|
|
242
|
+
- Define test environments in `tests/config/[environment].json`
|
|
243
|
+
- Include load testing scripts if performance is critical
|
|
244
|
+
|
|
245
|
+
## Risk Assessment Template
|
|
246
|
+
|
|
247
|
+
### Technical Risks
|
|
248
|
+
|
|
249
|
+
| Risk | Impact (H/M/L) | Probability (H/M/L) | Mitigation Strategy | Owner |
|
|
250
|
+
|------|----------------|-------------------|-------------------|-------|
|
|
251
|
+
| [e.g., Third-party API dependency] | [High] | [Medium] | [Have fallback option] | [Dev Team] |
|
|
252
|
+
| | | | | |
|
|
253
|
+
| | | | | |
|
|
254
|
+
|
|
255
|
+
### Security Risks
|
|
256
|
+
|
|
257
|
+
- **Data exposure**: [Mitigation strategy]
|
|
258
|
+
- **Authentication/authorization**: [Mitigation strategy]
|
|
259
|
+
- **Input validation**: [Mitigation strategy]
|
|
260
|
+
- **Compliance**: [Mitigation strategy]
|
|
261
|
+
|
|
262
|
+
### Performance Risks
|
|
263
|
+
|
|
264
|
+
- **Scalability**: [Expected load vs. capacity]
|
|
265
|
+
- **Response time**: [Required vs. projected times]
|
|
266
|
+
- **Resource usage**: [CPU, memory, storage projections]
|
|
267
|
+
|
|
268
|
+
### Project Risks
|
|
269
|
+
|
|
270
|
+
- **Timeline**: [Critical path dependencies]
|
|
271
|
+
- **Resources**: [Required skills/availability]
|
|
272
|
+
- **Scope creep**: [Change management process]
|
|
273
|
+
|
|
274
|
+
## Cross-Reference Validation
|
|
275
|
+
|
|
276
|
+
### Forward Compatibility for plan.md
|
|
277
|
+
|
|
278
|
+
- [ ] User stories have sufficient detail for technical planning
|
|
279
|
+
- [ ] Requirements are specific enough for architecture decisions
|
|
280
|
+
- [ ] Success criteria are measurable for implementation validation
|
|
281
|
+
- [ ] Edge cases are detailed enough for comprehensive testing
|
|
282
|
+
- [ ] Non-functional requirements provide clear technical direction
|
|
283
|
+
|
|
284
|
+
### Consistency Check
|
|
285
|
+
|
|
286
|
+
- [ ] All entities mentioned in user stories are captured in key entities section
|
|
287
|
+
- [ ] Priorities assigned to user stories align with business value
|
|
288
|
+
- [ ] Dependencies between user stories are identified
|
|
289
|
+
- [ ] Acceptance criteria are specific enough to validate implementation
|
|
290
|
+
- [ ] Security considerations are highlighted for planning phase
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# Feature Specification: [FEATURE NAME]
|
|
2
|
+
|
|
3
|
+
**Intent**: [intent-id]
|
|
4
|
+
**Created**: [DATE]
|
|
5
|
+
**Status**: Draft
|
|
6
|
+
|
|
7
|
+
## User Scenarios & Testing *(mandatory)*
|
|
8
|
+
|
|
9
|
+
<!--
|
|
10
|
+
IMPORTANT: User stories should be PRIORITIZED as user journeys ordered by importance.
|
|
11
|
+
Each user story/journey must be INDEPENDENTLY TESTABLE - meaning if you implement just ONE of them,
|
|
12
|
+
you should still have a viable MVP (Minimum Viable Product) that delivers value.
|
|
13
|
+
|
|
14
|
+
Assign priorities (P1, P2, P3, etc.) to each story, where P1 is the most critical.
|
|
15
|
+
Think of each story as a standalone slice of functionality that can be:
|
|
16
|
+
- Developed independently
|
|
17
|
+
- Tested independently
|
|
18
|
+
- Deployed independently
|
|
19
|
+
- Demonstrated to users independently
|
|
20
|
+
-->
|
|
21
|
+
|
|
22
|
+
### User Story 1 - [Brief Title] (Priority: P1)
|
|
23
|
+
|
|
24
|
+
[Describe this user journey in plain language]
|
|
25
|
+
|
|
26
|
+
**Why this priority**: [Explain the value and why it has this priority level]
|
|
27
|
+
|
|
28
|
+
**Independent Test**: [Describe how this can be tested independently - e.g., "Can be fully tested by [specific action] and delivers [specific value]"]
|
|
29
|
+
|
|
30
|
+
**Acceptance Scenarios**:
|
|
31
|
+
|
|
32
|
+
1. **Given** [initial state], **When** [action], **Then** [expected outcome]
|
|
33
|
+
2. **Given** [initial state], **When** [action], **Then** [expected outcome]
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
### User Story 2 - [Brief Title] (Priority: P2)
|
|
38
|
+
|
|
39
|
+
[Describe this user journey in plain language]
|
|
40
|
+
|
|
41
|
+
**Why this priority**: [Explain the value and why it has this priority level]
|
|
42
|
+
|
|
43
|
+
**Independent Test**: [Describe how this can be tested independently]
|
|
44
|
+
|
|
45
|
+
**Acceptance Scenarios**:
|
|
46
|
+
|
|
47
|
+
1. **Given** [initial state], **When** [action], **Then** [expected outcome]
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
### User Story 3 - [Brief Title] (Priority: P3)
|
|
52
|
+
|
|
53
|
+
[Describe this user journey in plain language]
|
|
54
|
+
|
|
55
|
+
**Why this priority**: [Explain the value and why it has this priority level]
|
|
56
|
+
|
|
57
|
+
**Independent Test**: [Describe how this can be tested independently]
|
|
58
|
+
|
|
59
|
+
**Acceptance Scenarios**:
|
|
60
|
+
|
|
61
|
+
1. **Given** [initial state], **When** [action], **Then** [expected outcome]
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
[Add more user stories as needed, each with an assigned priority]
|
|
66
|
+
|
|
67
|
+
### Edge Cases
|
|
68
|
+
|
|
69
|
+
<!--
|
|
70
|
+
ACTION REQUIRED: The content in this section represents placeholders.
|
|
71
|
+
Fill them out with the right edge cases.
|
|
72
|
+
-->
|
|
73
|
+
|
|
74
|
+
- What happens when [boundary condition]?
|
|
75
|
+
- How does system handle [error scenario]?
|
|
76
|
+
|
|
77
|
+
## Requirements *(mandatory)*
|
|
78
|
+
|
|
79
|
+
<!--
|
|
80
|
+
ACTION REQUIRED: The content in this section represents placeholders.
|
|
81
|
+
Fill them out with the right functional requirements.
|
|
82
|
+
-->
|
|
83
|
+
|
|
84
|
+
### Functional Requirements
|
|
85
|
+
|
|
86
|
+
- **FR-001**: System MUST [specific capability, e.g., "allow users to create accounts"]
|
|
87
|
+
- **FR-002**: System MUST [specific capability, e.g., "validate email addresses"]
|
|
88
|
+
- **FR-003**: Users MUST be able to [key interaction, e.g., "reset their password"]
|
|
89
|
+
- **FR-004**: System MUST [data requirement, e.g., "persist user preferences"]
|
|
90
|
+
- **FR-005**: System MUST [behavior, e.g., "log all security events"]
|
|
91
|
+
|
|
92
|
+
*Example of marking unclear requirements:*
|
|
93
|
+
|
|
94
|
+
- **FR-006**: System MUST authenticate users via [NEEDS CLARIFICATION: auth method not specified - email/password, SSO, OAuth?]
|
|
95
|
+
- **FR-007**: System MUST retain user data for [NEEDS CLARIFICATION: retention period not specified]
|
|
96
|
+
|
|
97
|
+
### Key Entities *(include if feature involves data)*
|
|
98
|
+
|
|
99
|
+
- **[Entity 1]**: [What it represents, key attributes without implementation]
|
|
100
|
+
- **[Entity 2]**: [What it represents, relationships to other entities]
|
|
101
|
+
|
|
102
|
+
## Success Criteria *(mandatory)*
|
|
103
|
+
|
|
104
|
+
<!--
|
|
105
|
+
ACTION REQUIRED: Define measurable success criteria.
|
|
106
|
+
These must be technology-agnostic and measurable.
|
|
107
|
+
-->
|
|
108
|
+
|
|
109
|
+
### Measurable Outcomes
|
|
110
|
+
|
|
111
|
+
- **SC-001**: [Measurable metric, e.g., "Users can complete account creation in under 2 minutes"]
|
|
112
|
+
- **SC-002**: [Measurable metric, e.g., "System handles 1000 concurrent users without degradation"]
|
|
113
|
+
- **SC-003**: [User satisfaction metric, e.g., "90% of users successfully complete primary task on first attempt"]
|
|
114
|
+
- **SC-004**: [Business metric, e.g., "Reduce support tickets related to [X] by 50%"]
|
package/test_output.txt
ADDED
|
Binary file
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "NodeNext",
|
|
5
|
+
"moduleResolution": "NodeNext",
|
|
6
|
+
"strict": true,
|
|
7
|
+
"noEmit": false,
|
|
8
|
+
"declaration": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"forceConsistentCasingInFileNames": true
|
|
12
|
+
},
|
|
13
|
+
"include": [
|
|
14
|
+
"src/**/*"
|
|
15
|
+
],
|
|
16
|
+
"ts-node": {
|
|
17
|
+
"esm": true,
|
|
18
|
+
"experimentalSpecifierResolution": "node"
|
|
19
|
+
}
|
|
20
|
+
}
|