@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.
@@ -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 MUST keep a stable public reference.
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": 27,
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": 28,
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": 27
17
+ "comparedWithLine": 28
18
18
  }
19
19
  ]
20
20
  }
@@ -21,6 +21,8 @@ Let agents find the next ticket to work on without losing context.
21
21
 
22
22
  ### SUPPORT-INBOX-S001: Agent reviews the queue
23
23
 
24
+ ```
24
25
  Given an agent has open tickets
25
26
  When they open the inbox
26
27
  Then open tickets are listed by age
28
+ ```
@@ -21,6 +21,8 @@ Help agents answer a customer without leaving the ticket.
21
21
 
22
22
  ### SUPPORT-REPLY-S001: Agent drafts a reply
23
23
 
24
+ ```
24
25
  Given an agent has selected a ticket
25
26
  When they write a reply
26
27
  Then the draft remains visible
28
+ ```
@@ -19,6 +19,8 @@ Describe the outcome this feature provides.
19
19
 
20
20
  ### FEATURE-S001: Main path
21
21
 
22
- Given a precondition is true
23
- When a person performs an action
22
+ ```
23
+ Given a precondition is true
24
+ When a person performs an action
24
25
  Then the expected outcome is visible
26
+ ```