operbe 0.0.0-stage → 1.0.0-rc.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.
Files changed (165) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +106 -2
  3. package/conformance/describe/edge/body.json +1 -0
  4. package/conformance/describe/edge/digest +1 -0
  5. package/conformance/describe/edge/project/acme/architecture.md +18 -0
  6. package/conformance/describe/edge/project/behaviors/B-7.md +15 -0
  7. package/conformance/describe/edge/project/behaviors/coverage/web.md +8 -0
  8. package/conformance/describe/edge/project/operations/broken-file.md +1 -0
  9. package/conformance/describe/edge/project/operations/read-note.md +4 -0
  10. package/conformance/describe/edge/project/operations/send-note.md +20 -0
  11. package/conformance/describe/edge/project/operbe.md +15 -0
  12. package/conformance/describe/example/body.json +1 -0
  13. package/conformance/describe/example/digest +1 -0
  14. package/conformance/describe/example/project/behaviors/B-0001.md +36 -0
  15. package/conformance/describe/example/project/behaviors/B-0002.md +21 -0
  16. package/conformance/describe/example/project/behaviors/B-0003.md +19 -0
  17. package/conformance/describe/example/project/behaviors/B-0004.md +18 -0
  18. package/conformance/describe/example/project/behaviors/B-0005.md +18 -0
  19. package/conformance/describe/example/project/behaviors/coverage/desktop.md +8 -0
  20. package/conformance/describe/example/project/behaviors/coverage/phone.md +12 -0
  21. package/conformance/describe/example/project/client-actions/archive-conversation.md +22 -0
  22. package/conformance/describe/example/project/client-actions/show-conversations.md +21 -0
  23. package/conformance/describe/example/project/client-actions/start-retitle.md +22 -0
  24. package/conformance/describe/example/project/client-actions/unarchive-conversation.md +21 -0
  25. package/conformance/describe/example/project/operations/archive-conversation.md +16 -0
  26. package/conformance/describe/example/project/operations/list-conversations.md +16 -0
  27. package/conformance/describe/example/project/operations/set-conversation-title.md +16 -0
  28. package/conformance/describe/example/project/operations/unarchive-conversation.md +16 -0
  29. package/conformance/describe/example/project/operbe.md +15 -0
  30. package/conformance/diff/core/a/behaviors/B-0001.md +36 -0
  31. package/conformance/diff/core/a/behaviors/B-0002.md +21 -0
  32. package/conformance/diff/core/a/behaviors/B-0003.md +19 -0
  33. package/conformance/diff/core/a/behaviors/B-0004.md +18 -0
  34. package/conformance/diff/core/a/behaviors/B-0005.md +18 -0
  35. package/conformance/diff/core/a/behaviors/coverage/desktop.md +8 -0
  36. package/conformance/diff/core/a/behaviors/coverage/phone.md +12 -0
  37. package/conformance/diff/core/a/client-actions/archive-conversation.md +22 -0
  38. package/conformance/diff/core/a/client-actions/show-conversations.md +21 -0
  39. package/conformance/diff/core/a/client-actions/start-retitle.md +22 -0
  40. package/conformance/diff/core/a/client-actions/unarchive-conversation.md +21 -0
  41. package/conformance/diff/core/a/operations/archive-conversation.md +16 -0
  42. package/conformance/diff/core/a/operations/list-conversations.md +16 -0
  43. package/conformance/diff/core/a/operations/set-conversation-title.md +16 -0
  44. package/conformance/diff/core/a/operations/unarchive-conversation.md +16 -0
  45. package/conformance/diff/core/a/operbe.md +15 -0
  46. package/conformance/diff/core/b/behaviors/B-0001.md +36 -0
  47. package/conformance/diff/core/b/behaviors/B-0002.md +22 -0
  48. package/conformance/diff/core/b/behaviors/B-0003.md +19 -0
  49. package/conformance/diff/core/b/behaviors/B-0004.md +18 -0
  50. package/conformance/diff/core/b/behaviors/B-0005.md +18 -0
  51. package/conformance/diff/core/b/behaviors/coverage/desktop.md +8 -0
  52. package/conformance/diff/core/b/behaviors/coverage/phone.md +12 -0
  53. package/conformance/diff/core/b/client-actions/archive-conversation.md +22 -0
  54. package/conformance/diff/core/b/client-actions/show-conversations.md +21 -0
  55. package/conformance/diff/core/b/client-actions/unarchive-conversation.md +21 -0
  56. package/conformance/diff/core/b/operations/archive-conversation.md +16 -0
  57. package/conformance/diff/core/b/operations/list-conversations.md +16 -0
  58. package/conformance/diff/core/b/operations/set-conversation-name.md +16 -0
  59. package/conformance/diff/core/b/operations/unarchive-conversation.md +16 -0
  60. package/conformance/diff/core/b/operbe.md +16 -0
  61. package/conformance/diff/core/changes.json +192 -0
  62. package/conformance/diff/declared/a/acme/architecture.md +18 -0
  63. package/conformance/diff/declared/a/behaviors/B-7.md +15 -0
  64. package/conformance/diff/declared/a/behaviors/coverage/web.md +8 -0
  65. package/conformance/diff/declared/a/operations/broken-file.md +1 -0
  66. package/conformance/diff/declared/a/operations/read-note.md +4 -0
  67. package/conformance/diff/declared/a/operations/send-note.md +20 -0
  68. package/conformance/diff/declared/a/operbe.md +15 -0
  69. package/conformance/diff/declared/b/acme/architecture.md +18 -0
  70. package/conformance/diff/declared/b/behaviors/B-7.md +15 -0
  71. package/conformance/diff/declared/b/behaviors/coverage/web.md +8 -0
  72. package/conformance/diff/declared/b/operations/broken-file.md +1 -0
  73. package/conformance/diff/declared/b/operations/read-note.md +5 -0
  74. package/conformance/diff/declared/b/operations/send-note.md +19 -0
  75. package/conformance/diff/declared/b/operbe.md +15 -0
  76. package/conformance/diff/declared/changes.json +73 -0
  77. package/conformance/diff/reworded/a/behaviors/B-0001.md +36 -0
  78. package/conformance/diff/reworded/a/behaviors/B-0002.md +21 -0
  79. package/conformance/diff/reworded/a/behaviors/B-0003.md +19 -0
  80. package/conformance/diff/reworded/a/behaviors/B-0004.md +18 -0
  81. package/conformance/diff/reworded/a/behaviors/B-0005.md +18 -0
  82. package/conformance/diff/reworded/a/behaviors/coverage/desktop.md +8 -0
  83. package/conformance/diff/reworded/a/behaviors/coverage/phone.md +12 -0
  84. package/conformance/diff/reworded/a/client-actions/archive-conversation.md +22 -0
  85. package/conformance/diff/reworded/a/client-actions/show-conversations.md +21 -0
  86. package/conformance/diff/reworded/a/client-actions/start-retitle.md +22 -0
  87. package/conformance/diff/reworded/a/client-actions/unarchive-conversation.md +21 -0
  88. package/conformance/diff/reworded/a/operations/archive-conversation.md +16 -0
  89. package/conformance/diff/reworded/a/operations/list-conversations.md +16 -0
  90. package/conformance/diff/reworded/a/operations/set-conversation-title.md +16 -0
  91. package/conformance/diff/reworded/a/operations/unarchive-conversation.md +16 -0
  92. package/conformance/diff/reworded/a/operbe.md +18 -0
  93. package/conformance/diff/reworded/b/behaviors/B-0001.md +36 -0
  94. package/conformance/diff/reworded/b/behaviors/B-0002.md +21 -0
  95. package/conformance/diff/reworded/b/behaviors/B-0003.md +19 -0
  96. package/conformance/diff/reworded/b/behaviors/B-0004.md +18 -0
  97. package/conformance/diff/reworded/b/behaviors/B-0005.md +18 -0
  98. package/conformance/diff/reworded/b/behaviors/coverage/desktop.md +8 -0
  99. package/conformance/diff/reworded/b/behaviors/coverage/phone.md +12 -0
  100. package/conformance/diff/reworded/b/client-actions/archive-conversation.md +22 -0
  101. package/conformance/diff/reworded/b/client-actions/show-conversations.md +21 -0
  102. package/conformance/diff/reworded/b/client-actions/start-retitle.md +22 -0
  103. package/conformance/diff/reworded/b/client-actions/unarchive-conversation.md +21 -0
  104. package/conformance/diff/reworded/b/operations/archive-conversation.md +16 -0
  105. package/conformance/diff/reworded/b/operations/list-conversations.md +16 -0
  106. package/conformance/diff/reworded/b/operations/set-conversation-title.md +16 -0
  107. package/conformance/diff/reworded/b/operations/unarchive-conversation.md +16 -0
  108. package/conformance/diff/reworded/b/operbe.md +18 -0
  109. package/conformance/diff/reworded/changes.json +43 -0
  110. package/dist/check.d.ts +21 -0
  111. package/dist/check.js +422 -0
  112. package/dist/cli.d.ts +2 -0
  113. package/dist/cli.js +272 -0
  114. package/dist/describe.d.ts +22 -0
  115. package/dist/describe.js +201 -0
  116. package/dist/diff.d.ts +13 -0
  117. package/dist/diff.js +249 -0
  118. package/dist/findings.d.ts +11 -0
  119. package/dist/findings.js +6 -0
  120. package/dist/index.d.ts +19 -0
  121. package/dist/index.js +11 -0
  122. package/dist/indexes.d.ts +2 -0
  123. package/dist/indexes.js +27 -0
  124. package/dist/jcs.d.ts +1 -0
  125. package/dist/jcs.js +16 -0
  126. package/dist/jj.d.ts +12 -0
  127. package/dist/jj.js +82 -0
  128. package/dist/read.d.ts +83 -0
  129. package/dist/read.js +249 -0
  130. package/dist/reconcile.d.ts +9 -0
  131. package/dist/reconcile.js +46 -0
  132. package/dist/source.d.ts +5 -0
  133. package/dist/source.js +29 -0
  134. package/dist/version.d.ts +1 -0
  135. package/dist/version.js +2 -0
  136. package/package.json +40 -4
  137. package/schema/description.schema.json +481 -0
  138. package/skills/operbe/SKILL.md +69 -0
  139. package/skills/operbe/example/behaviors/B-0001.md +36 -0
  140. package/skills/operbe/example/behaviors/B-0002.md +21 -0
  141. package/skills/operbe/example/behaviors/B-0003.md +19 -0
  142. package/skills/operbe/example/behaviors/B-0004.md +18 -0
  143. package/skills/operbe/example/behaviors/B-0005.md +18 -0
  144. package/skills/operbe/example/behaviors/coverage/desktop.md +8 -0
  145. package/skills/operbe/example/behaviors/coverage/phone.md +12 -0
  146. package/skills/operbe/example/client-actions/archive-conversation.md +22 -0
  147. package/skills/operbe/example/client-actions/show-conversations.md +21 -0
  148. package/skills/operbe/example/client-actions/start-retitle.md +22 -0
  149. package/skills/operbe/example/client-actions/unarchive-conversation.md +21 -0
  150. package/skills/operbe/example/operations/archive-conversation.md +16 -0
  151. package/skills/operbe/example/operations/list-conversations.md +16 -0
  152. package/skills/operbe/example/operations/set-conversation-title.md +16 -0
  153. package/skills/operbe/example/operations/unarchive-conversation.md +16 -0
  154. package/skills/operbe/example/operbe.md +15 -0
  155. package/skills/operbe/references/adopting.md +48 -0
  156. package/skills/operbe/references/behaviors.md +168 -0
  157. package/skills/operbe/references/client-actions.md +211 -0
  158. package/skills/operbe/references/formats.md +408 -0
  159. package/skills/operbe/references/operations.md +146 -0
  160. package/skills/operbe/references/tandem.md +69 -0
  161. package/skills/operbe/templates/behavior.md +18 -0
  162. package/skills/operbe/templates/client-action.md +20 -0
  163. package/skills/operbe/templates/coverage.md +4 -0
  164. package/skills/operbe/templates/operation.md +14 -0
  165. package/skills/operbe/templates/operbe.md +10 -0
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: unarchive-conversation
3
+ class: do
4
+ status: firm
5
+ form: 1
6
+ behaviors: [B-0001]
7
+ operations: [unarchive-conversation]
8
+ available-when: the conversation is archived and I may change it
9
+ applies-to: all
10
+ replaced-by:
11
+ ---
12
+
13
+ ## Sentence
14
+ Return {conversation} to the active list.
15
+
16
+ ## Inputs
17
+ - conversation: a conversation, by its id. Needed.
18
+
19
+ ## Result
20
+ - done: the conversation is back in the active list, where it was.
21
+ - refused: says why, and nothing changed.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: archive-conversation
3
+ class: change
4
+ named-because: restricted-state
5
+ needs: may change the conversation
6
+ safe-to-repeat: yes
7
+ taken-back-by: unarchive-conversation
8
+ risk: changes
9
+ many-at-once: none
10
+ ---
11
+
12
+ ## Sentence
13
+ Archive {conversation}.
14
+
15
+ ## Holds only if
16
+ The conversation is not already archived.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: list-conversations
3
+ class: query
4
+ named-because:
5
+ needs: nothing
6
+ safe-to-repeat: yes
7
+ taken-back-by: nothing
8
+ risk: reads
9
+ many-at-once: none
10
+ ---
11
+
12
+ ## Sentence
13
+ List the conversations the caller has that are {active or archived}.
14
+
15
+ ## Holds only if
16
+ Always.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: set-conversation-title
3
+ class: change
4
+ named-because:
5
+ needs: may change the conversation
6
+ safe-to-repeat: yes
7
+ taken-back-by: itself
8
+ risk: changes
9
+ many-at-once: none
10
+ ---
11
+
12
+ ## Sentence
13
+ Set the title of {conversation} to {title}.
14
+
15
+ ## Holds only if
16
+ Always.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: unarchive-conversation
3
+ class: change
4
+ named-because: restricted-state
5
+ needs: may change the conversation
6
+ safe-to-repeat: yes
7
+ taken-back-by: archive-conversation
8
+ risk: changes
9
+ many-at-once: none
10
+ ---
11
+
12
+ ## Sentence
13
+ Return {conversation} from the archive.
14
+
15
+ ## Holds only if
16
+ The conversation is archived.
@@ -0,0 +1,18 @@
1
+ ---
2
+ operbe: 1
3
+ operations: operations
4
+ behaviors: behaviors
5
+ client-actions: client-actions
6
+ uis: [phone, desktop]
7
+ ---
8
+
9
+ ## Decisions
10
+ - Front ends: a phone UI, a desktop UI and a command line.
11
+ - The phone UI is built first.
12
+ - Client actions are kept, for the desktop's command palette and for an assistant built into both UIs.
13
+ - Renaming in place is on the phone only for now, so `start-retitle` applies to the phone.
14
+
15
+ ## Known deviations
16
+ - `undo` (command line) takes back only the last change, in the same record as the change, oldest first.
17
+ - `export` (command line) writes CSV only.
18
+ - Undo isn't offered on the command line yet.
@@ -0,0 +1,36 @@
1
+ ---
2
+ id: B-0001
3
+ name: Archive a conversation
4
+ status: firm
5
+ form: 1
6
+ applies-to: all
7
+ operations: [archive-conversation, unarchive-conversation, list-conversations]
8
+ replaced-by:
9
+ ---
10
+
11
+ ## Statement
12
+ A person can put a conversation out of the way without deleting it. It leaves the active list at once, and for a few seconds the product offers Undo.
13
+
14
+ ## Flow
15
+ 1. The person chooses to archive a conversation.
16
+ 2. The product removes it from the active list and says it was archived.
17
+ 3. The product offers Undo for at least five seconds.
18
+
19
+ ## Appears when
20
+ The person may change the conversation.
21
+
22
+ ## Usable when
23
+ The conversation is not already archived. Otherwise it is shown but can't be used, with "Already archived."
24
+
25
+ ## Undo
26
+ Returns the conversation to the active list, where it was.
27
+
28
+ ## Examples
29
+ - **Usual.** Given an active conversation I may change, when I archive it, then it leaves the active list, appears in the archive, and Undo is offered.
30
+ - **Not allowed.** Given a conversation I may only read, then archiving isn't offered at all.
31
+ - **Wrong moment.** Given an archived conversation, then archiving is shown but can't be used, with "Already archived."
32
+ - **Offline.** Given I have no connection, when I archive it, then it leaves the active list and is marked as waiting; when I'm back it completes.
33
+ - **Refused.** Given the server refuses, then the conversation returns to the active list and I'm told why.
34
+
35
+ ## Changes
36
+ - form 1: first version.
@@ -0,0 +1,21 @@
1
+ ---
2
+ id: B-0002
3
+ name: Swipe to archive
4
+ status: firm
5
+ form: 1
6
+ applies-to: [phone]
7
+ operations: [archive-conversation]
8
+ replaced-by:
9
+ client-actions: none # a gesture; it runs the same action as B-0001
10
+ ---
11
+
12
+ ## Statement
13
+ In any list of conversations, swiping a row fully to the left archives that conversation, exactly as Archive a conversation (B-0001) does. A partial swipe reveals an Archive button and does nothing more.
14
+
15
+ ## Examples
16
+ - **Full swipe.** When I swipe a row all the way left and let go, the conversation is archived and Undo is offered.
17
+ - **Partial swipe.** When I swipe a row part of the way, an Archive button shows on the right; letting go leaves the row open with the button.
18
+ - **Not allowed.** On a conversation I may only read, the row doesn't swipe.
19
+
20
+ ## Changes
21
+ - form 1: first version.
@@ -0,0 +1,19 @@
1
+ ---
2
+ id: B-0003
3
+ name: Archived looks dimmed
4
+ status: rough
5
+ form: 1
6
+ applies-to: all
7
+ operations: []
8
+ replaced-by:
9
+ client-actions: none # a rule about appearance; nothing to call
10
+ ---
11
+
12
+ ## Statement
13
+ Wherever an archived conversation is shown (the archive, search results, a link from elsewhere), its row is dimmed and carries the word "Archived".
14
+
15
+ ## Examples
16
+ - **Search.** When a search finds an archived conversation, its row is dimmed and says "Archived".
17
+
18
+ ## Changes
19
+ - form 1: first version.
@@ -0,0 +1,18 @@
1
+ ---
2
+ id: B-0004
3
+ name: Rename a conversation
4
+ status: rough
5
+ form: 1
6
+ applies-to: all
7
+ operations: [set-conversation-title]
8
+ replaced-by:
9
+ ---
10
+
11
+ ## Statement
12
+ Tapping a conversation's title opens it for editing in place. It may open already holding a suggested title. Saving changes the title for everyone who has the conversation; cancelling leaves it as it was.
13
+
14
+ ## Examples
15
+ - **Usual.** When I change "Trip" to "Trip to Leeds" and save, the list shows the new title.
16
+
17
+ ## Changes
18
+ - form 1: first version.
@@ -0,0 +1,18 @@
1
+ ---
2
+ id: B-0005
3
+ name: The two lists
4
+ status: rough
5
+ form: 1
6
+ applies-to: all
7
+ operations: [list-conversations]
8
+ replaced-by:
9
+ ---
10
+
11
+ ## Statement
12
+ Conversations are shown in two lists, active and archived, and a person can go from either to the other in one step. Each says which list it is.
13
+
14
+ ## Examples
15
+ - **Usual.** When I choose the archive, the list shows archived conversations and is headed "Archive".
16
+
17
+ ## Changes
18
+ - form 1: first version.
@@ -0,0 +1,8 @@
1
+ # Coverage: desktop
2
+
3
+ | id | value | form | note |
4
+ |---|---|---|---|
5
+ | B-0001 | differs | 1 | Undo is offered for three seconds, not five. Being fixed. |
6
+ | B-0005 | honours | 1 | |
7
+ | show-conversations | honours | 1 | |
8
+ | archive-conversation | honours | 1 | |
@@ -0,0 +1,12 @@
1
+ # Coverage: phone
2
+
3
+ | id | value | form | note |
4
+ |---|---|---|---|
5
+ | B-0001 | honours | 1 | |
6
+ | B-0002 | honours | 1 | |
7
+ | B-0004 | honours | 1 | |
8
+ | B-0005 | honours | 1 | |
9
+ | show-conversations | honours | 1 | |
10
+ | start-retitle | honours | 1 | |
11
+ | archive-conversation | honours | 1 | |
12
+ | unarchive-conversation | honours | 1 | |
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: archive-conversation
3
+ class: do
4
+ status: firm
5
+ form: 1
6
+ behaviors: [B-0001]
7
+ operations: [archive-conversation]
8
+ available-when: the conversation is not already archived and I may change it
9
+ applies-to: all
10
+ replaced-by:
11
+ ---
12
+
13
+ ## Sentence
14
+ Archive {conversation}.
15
+
16
+ ## Inputs
17
+ - conversation: a conversation, by its id. Needed.
18
+
19
+ ## Result
20
+ - done: the conversation has left the active list, and Undo is offered.
21
+ - started: offline; it is marked as waiting and completes when the connection returns.
22
+ - refused: says why, and nothing changed. If the server refuses after the list has changed, the conversation returns to it.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: show-conversations
3
+ class: show
4
+ status: firm
5
+ form: 1
6
+ behaviors: [B-0005]
7
+ operations: [list-conversations]
8
+ available-when: always
9
+ applies-to: all
10
+ replaced-by:
11
+ ---
12
+
13
+ ## Sentence
14
+ Show {which} conversations.
15
+
16
+ ## Inputs
17
+ - which: one of active or archived. Needed.
18
+
19
+ ## Result
20
+ - done: the screen is that list. Hands back each conversation shown: its id, its title, and whether it is archived.
21
+ - refused: says why (for example, offline with nothing kept).
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: start-retitle
3
+ class: prepare
4
+ status: firm
5
+ form: 1
6
+ behaviors: [B-0004]
7
+ operations: []
8
+ available-when: I may change the conversation
9
+ applies-to: [phone]
10
+ replaced-by:
11
+ ---
12
+
13
+ ## Sentence
14
+ Open the title of {conversation} for editing, filled with {text}.
15
+
16
+ ## Inputs
17
+ - conversation: a conversation, by its id. Needed.
18
+ - text: the title to suggest. If left out, the field holds the present title.
19
+
20
+ ## Result
21
+ - done: the title field is open with the text in it. The person saves or cancels; which they did is reported afterwards.
22
+ - refused: says why.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: unarchive-conversation
3
+ class: do
4
+ status: firm
5
+ form: 1
6
+ behaviors: [B-0001]
7
+ operations: [unarchive-conversation]
8
+ available-when: the conversation is archived and I may change it
9
+ applies-to: all
10
+ replaced-by:
11
+ ---
12
+
13
+ ## Sentence
14
+ Return {conversation} to the active list.
15
+
16
+ ## Inputs
17
+ - conversation: a conversation, by its id. Needed.
18
+
19
+ ## Result
20
+ - done: the conversation is back in the active list, where it was.
21
+ - refused: says why, and nothing changed.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: archive-conversation
3
+ class: change
4
+ named-because: restricted-state
5
+ needs: may change the conversation
6
+ safe-to-repeat: yes
7
+ taken-back-by: unarchive-conversation
8
+ risk: changes
9
+ many-at-once: none
10
+ ---
11
+
12
+ ## Sentence
13
+ Archive {conversation}.
14
+
15
+ ## Holds only if
16
+ The conversation is not already archived.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: list-conversations
3
+ class: query
4
+ named-because:
5
+ needs: nothing
6
+ safe-to-repeat: yes
7
+ taken-back-by: nothing
8
+ risk: reads
9
+ many-at-once: none
10
+ ---
11
+
12
+ ## Sentence
13
+ List the conversations the caller has that are {active or archived}.
14
+
15
+ ## Holds only if
16
+ Always.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: set-conversation-title
3
+ class: change
4
+ named-because:
5
+ needs: may change the conversation
6
+ safe-to-repeat: yes
7
+ taken-back-by: itself
8
+ risk: changes
9
+ many-at-once: none
10
+ ---
11
+
12
+ ## Sentence
13
+ Set the title of {conversation} to {title}.
14
+
15
+ ## Holds only if
16
+ Always.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: unarchive-conversation
3
+ class: change
4
+ named-because: restricted-state
5
+ needs: may change the conversation
6
+ safe-to-repeat: yes
7
+ taken-back-by: archive-conversation
8
+ risk: changes
9
+ many-at-once: none
10
+ ---
11
+
12
+ ## Sentence
13
+ Return {conversation} from the archive.
14
+
15
+ ## Holds only if
16
+ The conversation is archived.
@@ -0,0 +1,18 @@
1
+ ---
2
+ operbe: 1
3
+ operations: operations
4
+ behaviors: behaviors
5
+ client-actions: client-actions
6
+ uis: [phone, desktop]
7
+ ---
8
+
9
+ ## Decisions
10
+ - Front ends: a phone UI, a desktop UI and a command line.
11
+ - The phone UI is built first.
12
+ - Client actions are kept, for the desktop's command palette and for an assistant built into both UIs.
13
+ - Renaming in place is on the phone only for now, so `start-retitle` applies to the phone.
14
+
15
+ ## Known deviations
16
+ - `undo` (command line) takes back only the last change, in the keeper's own entry, round robin by maker.
17
+ - `import` (command line) reads CSV only.
18
+ - Undo isn't offered on the command line or the phone yet.
@@ -0,0 +1,43 @@
1
+ [
2
+ {
3
+ "kind": "profile.deviation-added",
4
+ "record": "profile",
5
+ "field": "Known deviations",
6
+ "after": "Undo isn't offered on the command line or the phone yet.",
7
+ "level": "breaking",
8
+ "message": "a known deviation was added; the list may only shrink: Undo isn't offered on the command line or the phone yet."
9
+ },
10
+ {
11
+ "kind": "profile.deviation-added",
12
+ "record": "profile",
13
+ "field": "Known deviations",
14
+ "after": "`import` (command line) reads CSV only.",
15
+ "level": "breaking",
16
+ "message": "a known deviation was added; the list may only shrink: `import` (command line) reads CSV only."
17
+ },
18
+ {
19
+ "kind": "profile.deviation-changed",
20
+ "record": "profile",
21
+ "field": "Known deviations:`undo`",
22
+ "before": "`undo` (command line) takes back only the last change, in the same record as the change, oldest first.",
23
+ "after": "`undo` (command line) takes back only the last change, in the keeper's own entry, round robin by maker.",
24
+ "level": "warning",
25
+ "message": "the known deviation `undo` was reworded; check it did not widen"
26
+ },
27
+ {
28
+ "kind": "profile.deviation-removed",
29
+ "record": "profile",
30
+ "field": "Known deviations",
31
+ "before": "Undo isn't offered on the command line yet.",
32
+ "level": "info",
33
+ "message": "a known deviation was fixed: Undo isn't offered on the command line yet."
34
+ },
35
+ {
36
+ "kind": "profile.deviation-removed",
37
+ "record": "profile",
38
+ "field": "Known deviations",
39
+ "before": "`export` (command line) writes CSV only.",
40
+ "level": "info",
41
+ "message": "a known deviation was fixed: `export` (command line) writes CSV only."
42
+ }
43
+ ]
@@ -0,0 +1,21 @@
1
+ import type { Finding } from "./findings.ts";
2
+ import { type Model, type Rec } from "./read.ts";
3
+ export declare const KNOWN: Record<Rec["kind"], string[]>;
4
+ export declare const whole: (v: string) => boolean;
5
+ export declare function check(m: Model): Finding[];
6
+ export interface Counts {
7
+ errors: number;
8
+ gaps: number;
9
+ behaviors: {
10
+ firm: number;
11
+ rough: number;
12
+ retired: number;
13
+ } | null;
14
+ clientActions: {
15
+ firm: number;
16
+ rough: number;
17
+ retired: number;
18
+ } | null;
19
+ }
20
+ export declare function counts(m: Model, findings: Finding[]): Counts;
21
+ export declare function summary(c: Counts): string;