@anselmdk/feature-spec-md 0.7.0 → 0.8.0
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 +71 -20
- package/SPEC_FORMAT.md +125 -4
- package/dist/githubActionDiffReport.js +16 -26
- package/dist/githubActionDiffReport.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/mockReports.js +7 -4
- package/dist/mockReports.js.map +1 -1
- package/dist/reportTemplate.d.ts.map +1 -1
- package/dist/reportTemplate.js +235 -25
- package/dist/reportTemplate.js.map +1 -1
- package/dist/types.d.ts +21 -0
- package/dist/types.d.ts.map +1 -1
- package/docs/evidence-policy.md +4 -2
- package/package.json +1 -1
- package/src/mocks/current/screenshots/screenshots.json +6 -6
- package/src/mocks/current/specs/support-desk.model.md +22 -1
- package/src/mocks/current/specs/ticket-inbox.feature.md +2 -0
- package/src/mocks/current/specs/ticket-reply.feature.md +4 -0
- package/src/mocks/previous/screenshots/screenshots.json +3 -3
- package/src/mocks/previous/specs/ticket-inbox.feature.md +2 -0
- package/src/mocks/previous/specs/ticket-reply.feature.md +2 -0
- package/templates/feature.feature.md +4 -2
|
@@ -26,4 +26,25 @@ A visible urgency label used to sort the queue.
|
|
|
26
26
|
|
|
27
27
|
## Rules
|
|
28
28
|
|
|
29
|
-
- SUPPORT-M-R001: Tickets
|
|
29
|
+
- SUPPORT-M-R001: Tickets keep a stable public reference.
|
|
30
|
+
|
|
31
|
+
## Model Diagram
|
|
32
|
+
|
|
33
|
+
```mermaid
|
|
34
|
+
erDiagram
|
|
35
|
+
AGENT ||--o{ TICKET : handles
|
|
36
|
+
TICKET }o--|| PRIORITY : has
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Open Questions
|
|
40
|
+
|
|
41
|
+
- SUPPORT-Q001: Should permission tables have optional coverage checks later?
|
|
42
|
+
|
|
43
|
+
## Assumptions
|
|
44
|
+
|
|
45
|
+
- SUPPORT-A001: Review notes are shown in reports as informational context.
|
|
46
|
+
|
|
47
|
+
## Permissions
|
|
48
|
+
|
|
49
|
+
- Agents can view assigned tickets.
|
|
50
|
+
- Leads can reassign tickets.
|
|
@@ -22,6 +22,8 @@ Let agents find the next ticket to work on without losing context.
|
|
|
22
22
|
|
|
23
23
|
### SUPPORT-INBOX-S001: Agent reviews the queue
|
|
24
24
|
|
|
25
|
+
```
|
|
25
26
|
Given an agent has open tickets
|
|
26
27
|
When they open the inbox
|
|
27
28
|
Then open tickets are listed by age with priority badges
|
|
29
|
+
```
|
|
@@ -22,12 +22,16 @@ Help agents answer a customer without leaving the ticket.
|
|
|
22
22
|
|
|
23
23
|
### SUPPORT-REPLY-S001: Agent drafts a reply
|
|
24
24
|
|
|
25
|
+
```
|
|
25
26
|
Given an agent has selected a ticket
|
|
26
27
|
When they write a reply
|
|
27
28
|
Then the draft remains visible
|
|
29
|
+
```
|
|
28
30
|
|
|
29
31
|
### SUPPORT-REPLY-S002: Agent sends a saved reply
|
|
30
32
|
|
|
33
|
+
```
|
|
31
34
|
Given an agent has selected a ticket
|
|
32
35
|
When they choose a saved reply
|
|
33
36
|
Then the composer is filled with reusable text
|
|
37
|
+
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"evidence": [
|
|
3
3
|
{
|
|
4
4
|
"specPath": "src/mocks/previous/specs/ticket-inbox.feature.md",
|
|
5
|
-
"line":
|
|
5
|
+
"line": 28,
|
|
6
6
|
"changed": true,
|
|
7
7
|
"path": "screenshots/SUPPORT-INBOX-S001-line-27-previous.svg",
|
|
8
8
|
"title": "Inbox before priority badges",
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"specPath": "src/mocks/previous/specs/ticket-inbox.feature.md",
|
|
13
|
-
"line":
|
|
13
|
+
"line": 29,
|
|
14
14
|
"changed": false,
|
|
15
15
|
"title": "Inbox remains visually unchanged after selecting the first ticket",
|
|
16
16
|
"testPath": "src/mocks/previous/tests/supportDesk.spec.ts",
|
|
17
|
-
"comparedWithLine":
|
|
17
|
+
"comparedWithLine": 28
|
|
18
18
|
}
|
|
19
19
|
]
|
|
20
20
|
}
|
|
@@ -19,6 +19,8 @@ Describe the outcome this feature provides.
|
|
|
19
19
|
|
|
20
20
|
### FEATURE-S001: Main path
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
```
|
|
23
|
+
Given a precondition is true
|
|
24
|
+
When a person performs an action
|
|
24
25
|
Then the expected outcome is visible
|
|
26
|
+
```
|