intent-format 0.0.0-stage → 1.2.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.
Files changed (175) hide show
  1. package/.github/ISSUE_TEMPLATE/1-something-wrong.yml +18 -0
  2. package/.github/ISSUE_TEMPLATE/2-idea.yml +11 -0
  3. package/.github/ISSUE_TEMPLATE/config.yml +5 -0
  4. package/AGENTS.md +11 -0
  5. package/CHANGELOG.md +288 -0
  6. package/CLAUDE.md +1 -0
  7. package/CODE_OF_CONDUCT.md +128 -0
  8. package/CONTRIBUTING.md +19 -0
  9. package/LICENSE +21 -0
  10. package/README.md +72 -2
  11. package/SECURITY.md +10 -0
  12. package/VERSION +1 -0
  13. package/examples/example-app/AGENTS.md +19 -0
  14. package/examples/example-app/CLAUDE.md +1 -0
  15. package/examples/example-app/V1.0/apis/_index.md +14 -0
  16. package/examples/example-app/V1.0/apis/ap000001-list-items.md +20 -0
  17. package/examples/example-app/V1.0/apis/ap000002-save-item.md +28 -0
  18. package/examples/example-app/V1.0/backend/_index.md +15 -0
  19. package/examples/example-app/V1.0/backend/bn000001-app-server.md +24 -0
  20. package/examples/example-app/V1.0/backend/bn000002-main-database.md +22 -0
  21. package/examples/example-app/V1.0/backend/bn000003-file-storage.md +22 -0
  22. package/examples/example-app/V1.0/comments/_index.md +13 -0
  23. package/examples/example-app/V1.0/comments/cm000001-empty-list-message.md +15 -0
  24. package/examples/example-app/V1.0/components/_index.md +16 -0
  25. package/examples/example-app/V1.0/components/cp000001-button.md +32 -0
  26. package/examples/example-app/V1.0/components/cp000002-text-field.md +31 -0
  27. package/examples/example-app/V1.0/components/cp000003-item-row.md +34 -0
  28. package/examples/example-app/V1.0/components/cp000004-top-bar.md +26 -0
  29. package/examples/example-app/V1.0/decisions/_index.md +13 -0
  30. package/examples/example-app/V1.0/decisions/dc000001-where-do-item-images-live.md +26 -0
  31. package/examples/example-app/V1.0/edge-cases/_index.md +13 -0
  32. package/examples/example-app/V1.0/edge-cases/ec000001-save-fails.md +24 -0
  33. package/examples/example-app/V1.0/features/_index.md +17 -0
  34. package/examples/example-app/V1.0/features/ft000001-items.md +22 -0
  35. package/examples/example-app/V1.0/features/ft000002-account.md +21 -0
  36. package/examples/example-app/V1.0/features/ft000003-browse-items.md +26 -0
  37. package/examples/example-app/V1.0/features/ft000004-edit-an-item.md +33 -0
  38. package/examples/example-app/V1.0/features/ft000005-change-settings.md +21 -0
  39. package/examples/example-app/V1.0/ia/_index.md +13 -0
  40. package/examples/example-app/V1.0/ia/ia000001-main-map.md +23 -0
  41. package/examples/example-app/V1.0/intent-format.md +12 -0
  42. package/examples/example-app/V1.0/project.md +51 -0
  43. package/examples/example-app/V1.0/roles/_index.md +14 -0
  44. package/examples/example-app/V1.0/roles/ro000001-member.md +22 -0
  45. package/examples/example-app/V1.0/roles/ro000002-admin.md +19 -0
  46. package/examples/example-app/V1.0/rules/_index.md +13 -0
  47. package/examples/example-app/V1.0/rules/rl000001-item-name-is-required.md +20 -0
  48. package/examples/example-app/V1.0/screens/_index.md +17 -0
  49. package/examples/example-app/V1.0/screens/sc000001-home.md +18 -0
  50. package/examples/example-app/V1.0/screens/sc000002-item-list.md +43 -0
  51. package/examples/example-app/V1.0/screens/sc000003-item-detail.md +24 -0
  52. package/examples/example-app/V1.0/screens/sc000004-edit-item.md +35 -0
  53. package/examples/example-app/V1.0/screens/sc000005-settings.md +19 -0
  54. package/examples/example-app/V1.0/shells/_index.md +8 -0
  55. package/examples/example-app/V1.0/tech/_index.md +14 -0
  56. package/examples/example-app/V1.0/tech/tc000001-ui-framework.md +23 -0
  57. package/examples/example-app/V1.0/tech/tc000002-relational-database.md +25 -0
  58. package/examples/example-app/V1.0/userflows/_index.md +14 -0
  59. package/examples/example-app/V1.0/userflows/uf000001-create-an-item.md +66 -0
  60. package/examples/example-app/V1.0/userflows/uf000002-edit-an-item.md +47 -0
  61. package/examples/example-app/V1.1/CHANGES.md +12 -0
  62. package/examples/example-app/V1.1/apis/_index.md +14 -0
  63. package/examples/example-app/V1.1/apis/ap000001-list-items.md +20 -0
  64. package/examples/example-app/V1.1/apis/ap000002-save-item.md +28 -0
  65. package/examples/example-app/V1.1/backend/_index.md +15 -0
  66. package/examples/example-app/V1.1/backend/bn000001-app-server.md +24 -0
  67. package/examples/example-app/V1.1/backend/bn000002-main-database.md +22 -0
  68. package/examples/example-app/V1.1/backend/bn000003-file-storage.md +22 -0
  69. package/examples/example-app/V1.1/comments/_index.md +14 -0
  70. package/examples/example-app/V1.1/comments/cm000001-empty-list-message.md +15 -0
  71. package/examples/example-app/V1.1/comments/cm000002-filter-placement.md +12 -0
  72. package/examples/example-app/V1.1/components/_index.md +16 -0
  73. package/examples/example-app/V1.1/components/cp000001-button.md +32 -0
  74. package/examples/example-app/V1.1/components/cp000002-text-field.md +32 -0
  75. package/examples/example-app/V1.1/components/cp000003-item-row.md +34 -0
  76. package/examples/example-app/V1.1/components/cp000004-top-bar.md +26 -0
  77. package/examples/example-app/V1.1/decisions/_index.md +13 -0
  78. package/examples/example-app/V1.1/decisions/dc000001-where-do-item-images-live.md +26 -0
  79. package/examples/example-app/V1.1/edge-cases/_index.md +13 -0
  80. package/examples/example-app/V1.1/edge-cases/ec000001-save-fails.md +24 -0
  81. package/examples/example-app/V1.1/features/_index.md +17 -0
  82. package/examples/example-app/V1.1/features/ft000001-items.md +22 -0
  83. package/examples/example-app/V1.1/features/ft000002-account.md +21 -0
  84. package/examples/example-app/V1.1/features/ft000003-browse-items.md +26 -0
  85. package/examples/example-app/V1.1/features/ft000004-edit-an-item.md +33 -0
  86. package/examples/example-app/V1.1/features/ft000005-change-settings.md +21 -0
  87. package/examples/example-app/V1.1/ia/_index.md +13 -0
  88. package/examples/example-app/V1.1/ia/ia000001-main-map.md +23 -0
  89. package/examples/example-app/V1.1/intent-format.md +13 -0
  90. package/examples/example-app/V1.1/project.md +51 -0
  91. package/examples/example-app/V1.1/roles/_index.md +14 -0
  92. package/examples/example-app/V1.1/roles/ro000001-member.md +22 -0
  93. package/examples/example-app/V1.1/roles/ro000002-admin.md +19 -0
  94. package/examples/example-app/V1.1/rules/_index.md +13 -0
  95. package/examples/example-app/V1.1/rules/rl000001-item-name-is-required.md +20 -0
  96. package/examples/example-app/V1.1/screens/_index.md +17 -0
  97. package/examples/example-app/V1.1/screens/sc000001-home.md +18 -0
  98. package/examples/example-app/V1.1/screens/sc000002-item-list.md +44 -0
  99. package/examples/example-app/V1.1/screens/sc000003-item-detail.md +24 -0
  100. package/examples/example-app/V1.1/screens/sc000004-edit-item.md +35 -0
  101. package/examples/example-app/V1.1/screens/sc000005-settings.md +19 -0
  102. package/examples/example-app/V1.1/shells/_index.md +8 -0
  103. package/examples/example-app/V1.1/tech/_index.md +14 -0
  104. package/examples/example-app/V1.1/tech/tc000001-ui-framework.md +23 -0
  105. package/examples/example-app/V1.1/tech/tc000002-relational-database.md +25 -0
  106. package/examples/example-app/V1.1/userflows/_index.md +14 -0
  107. package/examples/example-app/V1.1/userflows/uf000001-create-an-item.md +66 -0
  108. package/examples/example-app/V1.1/userflows/uf000002-edit-an-item.md +47 -0
  109. package/examples/example-app/_ids.md +78 -0
  110. package/examples/example-app/_index.md +14 -0
  111. package/examples/example-app/inputs/brief.md +3 -0
  112. package/examples/example-app/inputs/links.md +3 -0
  113. package/kit/cli/README.md +128 -0
  114. package/kit/cli/intent-format.mjs +342 -0
  115. package/kit/cli/lib/agents.mjs +39 -0
  116. package/kit/cli/lib/check.mjs +412 -0
  117. package/kit/cli/lib/create.mjs +190 -0
  118. package/kit/cli/lib/frame.mjs +182 -0
  119. package/kit/cli/lib/generate.mjs +418 -0
  120. package/kit/cli/lib/kit.mjs +203 -0
  121. package/kit/cli/lib/migrate.mjs +97 -0
  122. package/kit/cli/lib/model.mjs +409 -0
  123. package/kit/cli/lib/next.mjs +134 -0
  124. package/kit/cli/lib/open.mjs +34 -0
  125. package/kit/cli/lib/parse.mjs +260 -0
  126. package/kit/cli/lib/project.mjs +120 -0
  127. package/kit/cli/lib/regen.mjs +112 -0
  128. package/kit/cli/lib/relations.mjs +380 -0
  129. package/kit/cli/lib/rename.mjs +23 -0
  130. package/kit/cli/lib/schema.mjs +185 -0
  131. package/kit/cli/lib/templates.mjs +41 -0
  132. package/kit/cli/lib/util.mjs +165 -0
  133. package/kit/cli/test/nav.mjs +145 -0
  134. package/kit/cli/test/roles.mjs +85 -0
  135. package/kit/cli/test/smoke.mjs +716 -0
  136. package/kit/skills/intent-format/SKILL.md +91 -0
  137. package/kit/skills/intent-format/links.md +142 -0
  138. package/kit/skills/intent-format/types/_overview.md +73 -0
  139. package/kit/skills/intent-format/types/api.md +111 -0
  140. package/kit/skills/intent-format/types/backend.md +110 -0
  141. package/kit/skills/intent-format/types/comment.md +66 -0
  142. package/kit/skills/intent-format/types/component.md +139 -0
  143. package/kit/skills/intent-format/types/decision.md +91 -0
  144. package/kit/skills/intent-format/types/edge-case.md +107 -0
  145. package/kit/skills/intent-format/types/feature.md +154 -0
  146. package/kit/skills/intent-format/types/ia.md +106 -0
  147. package/kit/skills/intent-format/types/project.md +131 -0
  148. package/kit/skills/intent-format/types/role.md +98 -0
  149. package/kit/skills/intent-format/types/rule.md +100 -0
  150. package/kit/skills/intent-format/types/screen.md +153 -0
  151. package/kit/skills/intent-format/types/shell.md +156 -0
  152. package/kit/skills/intent-format/types/tech.md +109 -0
  153. package/kit/skills/intent-format/types/userflow.md +197 -0
  154. package/kit/skills/kb-cold-start/SKILL.md +124 -0
  155. package/kit/skills/kb-cold-start/kickoff-questionnaire.md +42 -0
  156. package/kit/skills/kb-cold-start/templates.md +108 -0
  157. package/package.json +30 -4
  158. package/rationale.md +180 -0
  159. package/schema.json +5895 -0
  160. package/spec.md +1173 -0
  161. package/templates/api.md +16 -0
  162. package/templates/backend.md +15 -0
  163. package/templates/comment.md +11 -0
  164. package/templates/component.md +15 -0
  165. package/templates/decision.md +23 -0
  166. package/templates/edge-case.md +14 -0
  167. package/templates/feature.md +14 -0
  168. package/templates/ia.md +14 -0
  169. package/templates/project.md +34 -0
  170. package/templates/role.md +14 -0
  171. package/templates/rule.md +14 -0
  172. package/templates/screen.md +14 -0
  173. package/templates/shell.md +24 -0
  174. package/templates/tech.md +18 -0
  175. package/templates/userflow.md +20 -0
@@ -0,0 +1,20 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: api
4
+ id: AP000001
5
+ name: List items
6
+ status: In build
7
+ method: GET
8
+ endpoint: /items
9
+ ---
10
+ # List items · #AP000001
11
+ > ⚙ #AP000001V1.0 · V1.0 released
12
+
13
+ ## Description
14
+ Returns the items of the signed-in Member, newest first.
15
+
16
+ ## Served by
17
+ - [#BN000001 App server](../backend/bn000001-app-server.md)
18
+
19
+ ## ⚙ Called from
20
+ - [#SC000002 Item list](../screens/sc000002-item-list.md)
@@ -0,0 +1,28 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: api
4
+ id: AP000002
5
+ name: Save item
6
+ status: In build
7
+ method: PUT
8
+ endpoint: /items/{id}
9
+ ---
10
+ # Save item · #AP000002
11
+ > ⚙ #AP000002V1.0 · V1.0 released
12
+
13
+ ## Description
14
+ Creates or updates one item and returns the stored version.
15
+
16
+ ## Served by
17
+ - [#BN000001 App server](../backend/bn000001-app-server.md)
18
+
19
+ ## ⚙ Called from
20
+ - [#SC000004 Edit item](../screens/sc000004-edit-item.md)
21
+ - [#UF000001 Create an item](../userflows/uf000001-create-an-item.md) · at: #FS000004
22
+ - [#UF000002 Edit an item](../userflows/uf000002-edit-an-item.md) · at: #FS000008
23
+
24
+ ## ⚙ Edge cases
25
+ - [#EC000001 Save fails](../edge-cases/ec000001-save-fails.md) · severity: Medium
26
+
27
+ ## ⚙ Decisions
28
+ - [#DC000001 Where do item images live?](../decisions/dc000001-where-do-item-images-live.md) · status: Open
@@ -0,0 +1,15 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: index
4
+ name: Backend
5
+ ---
6
+ # Backend
7
+
8
+ A backend node of this product and its connections.
9
+
10
+ ## ⚙ Contents
11
+ | ID | Name | Status | One-liner | Blind spots |
12
+ |---|---|---|---|---|
13
+ | [#BN000001](bn000001-app-server.md) | App server | In build | Serves the item APIs and reads and writes the stored data. | 0 |
14
+ | [#BN000002](bn000002-main-database.md) | Main database | In build | Stores items and settings. | 0 |
15
+ | [#BN000003](bn000003-file-storage.md) | File storage | Idea | Keeps files attached to items. | 0 |
@@ -0,0 +1,24 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: backend
4
+ id: BN000001
5
+ name: App server
6
+ status: In build
7
+ backend-type: server
8
+ ---
9
+ # App server · #BN000001
10
+ > ⚙ #BN000001V1.0 · V1.0 released
11
+
12
+ ## Description
13
+ Serves the item APIs and reads and writes the stored data.
14
+
15
+ ## Connections
16
+ - [#BN000002 Main database](bn000002-main-database.md) · kind: stores
17
+ - [#BN000003 File storage](bn000003-file-storage.md) · kind: stores
18
+
19
+ ## Built with
20
+ - [~ Server runtime]
21
+
22
+ ## ⚙ Serves
23
+ - [#AP000001 List items](../apis/ap000001-list-items.md)
24
+ - [#AP000002 Save item](../apis/ap000002-save-item.md)
@@ -0,0 +1,22 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: backend
4
+ id: BN000002
5
+ name: Main database
6
+ status: In build
7
+ backend-type: database
8
+ ---
9
+ # Main database · #BN000002
10
+ > ⚙ #BN000002V1.0 · V1.0 released
11
+
12
+ ## Description
13
+ Stores items and settings.
14
+
15
+ ## Connections
16
+ none
17
+
18
+ ## Built with
19
+ - [#TC000002 Relational database](../tech/tc000002-relational-database.md)
20
+
21
+ ## ⚙ Connected from
22
+ - [#BN000001 App server](bn000001-app-server.md) · kind: stores
@@ -0,0 +1,22 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: backend
4
+ id: BN000003
5
+ name: File storage
6
+ status: Idea
7
+ backend-type: storage
8
+ ---
9
+ # File storage · #BN000003
10
+ > ⚙ #BN000003V1.0 · V1.0 released
11
+
12
+ ## Description
13
+ Keeps files attached to items.
14
+
15
+ ## Connections
16
+ none
17
+
18
+ ## ⚙ Connected from
19
+ - [#BN000001 App server](bn000001-app-server.md) · kind: stores
20
+
21
+ ## ⚙ Decisions
22
+ - [#DC000001 Where do item images live?](../decisions/dc000001-where-do-item-images-live.md) · status: Open
@@ -0,0 +1,13 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: index
4
+ name: Comments
5
+ ---
6
+ # Comments
7
+
8
+ One remark, attached from the cards it is about; its text lives only here.
9
+
10
+ ## ⚙ Contents
11
+ | ID | Name | Status | One-liner | Blind spots |
12
+ |---|---|---|---|---|
13
+ | [#CM000001](cm000001-empty-list-message.md) | Empty-list message | Open | Should the empty Item list also offer to import items? | 0 |
@@ -0,0 +1,15 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: comment
4
+ id: CM000001
5
+ name: Empty-list message
6
+ status: Open
7
+ author: Product owner
8
+ ---
9
+ # Empty-list message · #CM000001
10
+ > ⚙ #CM000001V1.0 · V1.0 released
11
+
12
+ Should the empty Item list also offer to import items? Only if it is cheap.
13
+
14
+ ## ⚙ Attached to
15
+ - [#SC000002 Item list](../screens/sc000002-item-list.md)
@@ -0,0 +1,16 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: index
4
+ name: Components
5
+ ---
6
+ # Components
7
+
8
+ A reusable part placed in screens or other components: what it does wherever it appears.
9
+
10
+ ## ⚙ Contents
11
+ | ID | Name | Status | Feature | One-liner | Blind spots |
12
+ |---|---|---|---|---|---|
13
+ | [#CP000001](cp000001-button.md) | Button | Live | — | Starts one action when chosen. | 0 |
14
+ | [#CP000002](cp000002-text-field.md) | Text field | Live | — | Lets the user type one line of text. | 0 |
15
+ | [#CP000003](cp000003-item-row.md) | Item row | In design | [#FT000003 Browse items](../features/ft000003-browse-items.md) | Shows one item's name in a list and opens the item when chosen. | 0 |
16
+ | [#CP000004](cp000004-top-bar.md) | Top bar | In design | — | Shows the title of the current screen and its main action. | 0 |
@@ -0,0 +1,32 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: component
4
+ id: CP000001
5
+ name: Button
6
+ status: Live
7
+ component-type: atom
8
+ ---
9
+ # Button · #CP000001
10
+ > ⚙ #CP000001V1.0 · V1.0 released
11
+
12
+ ## Description
13
+ Starts one action when chosen.
14
+
15
+ ## Why
16
+ none — layout only
17
+
18
+ ## Components
19
+ none
20
+
21
+ ## ⚙ Used in
22
+ - [#SC000001 Home](../screens/sc000001-home.md) · via: #CP000004
23
+ - [#SC000002 Item list](../screens/sc000002-item-list.md)
24
+ - [#SC000002 Item list](../screens/sc000002-item-list.md) · via: #CP000003
25
+ - [#SC000002 Item list](../screens/sc000002-item-list.md) · via: #CP000004
26
+ - [#SC000003 Item detail](../screens/sc000003-item-detail.md)
27
+ - [#SC000003 Item detail](../screens/sc000003-item-detail.md) · via: #CP000004
28
+ - [#SC000004 Edit item](../screens/sc000004-edit-item.md)
29
+ - [#SC000004 Edit item](../screens/sc000004-edit-item.md) · via: #CP000004
30
+ - [#SC000005 Settings](../screens/sc000005-settings.md) · via: #CP000004
31
+ - [#CP000003 Item row](cp000003-item-row.md)
32
+ - [#CP000004 Top bar](cp000004-top-bar.md)
@@ -0,0 +1,31 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: component
4
+ id: CP000002
5
+ name: Text field
6
+ status: Live
7
+ component-type: atom
8
+ ---
9
+ # Text field · #CP000002
10
+ > ⚙ #CP000002V1.0 · V1.0 released
11
+
12
+ ## Description
13
+ Lets the user type one line of text.
14
+
15
+ **R1 · GWT**
16
+ Given an empty Text field
17
+ When the user types a name
18
+ Then the name is shown in the field
19
+
20
+ ## Components
21
+ none
22
+
23
+ ## ⚙ Used in
24
+ - [#SC000004 Edit item](../screens/sc000004-edit-item.md)
25
+
26
+ ## ⚙ In user flows
27
+ - [#UF000001 Create an item](../userflows/uf000001-create-an-item.md) · at: #FS000002
28
+ - [#UF000002 Edit an item](../userflows/uf000002-edit-an-item.md) · at: #FS000007
29
+
30
+ ## ⚙ Features
31
+ - [#FT000004 Edit an item](../features/ft000004-edit-an-item.md)
@@ -0,0 +1,34 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: component
4
+ id: CP000003
5
+ name: Item row
6
+ status: In design
7
+ feature: FT000003
8
+ component-type: molecule
9
+ ---
10
+ # Item row · #CP000003
11
+ > ⚙ #CP000003V1.0 · V1.0 released
12
+
13
+ ## Description
14
+ Shows one item's name in a list and opens the item when chosen.
15
+
16
+ ## Why
17
+ same as #FT000003
18
+
19
+ ## Do & Don'ts
20
+ ✅ Show the whole name on one line and cut it at the end.
21
+ 🚫 Don't put more than one button in a row.
22
+
23
+ ## Components
24
+ 1. [#CP000001 Button](cp000001-button.md) — opens the item
25
+
26
+ ## Variants
27
+ ### Compact · #CV000001
28
+ <a id="cv000001"></a>
29
+
30
+ none
31
+
32
+ ## ⚙ Used in
33
+ - [#SC000002 Item list](../screens/sc000002-item-list.md)
34
+ - [#SC000002 Item list](../screens/sc000002-item-list.md) · at: #SV000001
@@ -0,0 +1,26 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: component
4
+ id: CP000004
5
+ name: Top bar
6
+ status: In design
7
+ component-type: organism
8
+ ---
9
+ # Top bar · #CP000004
10
+ > ⚙ #CP000004V1.0 · V1.0 released
11
+
12
+ ## Description
13
+ Shows the title of the current screen and its main action.
14
+
15
+ ## Components
16
+ 1. [#CP000001 Button](cp000001-button.md) — main action
17
+
18
+ ## Built with
19
+ - [#TC000001 UI framework](../tech/tc000001-ui-framework.md)
20
+
21
+ ## ⚙ Used in
22
+ - [#SC000001 Home](../screens/sc000001-home.md)
23
+ - [#SC000002 Item list](../screens/sc000002-item-list.md)
24
+ - [#SC000003 Item detail](../screens/sc000003-item-detail.md)
25
+ - [#SC000004 Edit item](../screens/sc000004-edit-item.md)
26
+ - [#SC000005 Settings](../screens/sc000005-settings.md)
@@ -0,0 +1,13 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: index
4
+ name: Decisions
5
+ ---
6
+ # Decisions
7
+
8
+ A question that needs or got a decision: options, outcome and the cards it affects.
9
+
10
+ ## ⚙ Contents
11
+ | ID | Name | Status | One-liner | Blind spots |
12
+ |---|---|---|---|---|
13
+ | [#DC000001](dc000001-where-do-item-images-live.md) | Where do item images live? | Open | Should item images be kept in File storage or inside the Main database? | 0 |
@@ -0,0 +1,26 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: decision
4
+ id: DC000001
5
+ name: Where do item images live?
6
+ status: Open
7
+ ---
8
+ # Where do item images live? · #DC000001
9
+ > ⚙ #DC000001V1.0 · V1.0 released
10
+
11
+ ## Question
12
+ Should item images be kept in File storage or inside the Main database?
13
+
14
+ ## Why
15
+ Images are the largest data the app stores; where they live decides backup and cost.
16
+
17
+ ## Options
18
+ 1. File storage — cheap and fast to serve; needs a cleanup job.
19
+ 2. Main database — one backup for everything; larger tables.
20
+
21
+ ## Outcome
22
+ —
23
+
24
+ ## Affects
25
+ - [#BN000003 File storage](../backend/bn000003-file-storage.md)
26
+ - [#AP000002 Save item](../apis/ap000002-save-item.md)
@@ -0,0 +1,13 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: index
4
+ name: Edge cases
5
+ ---
6
+ # Edge cases
7
+
8
+ A named exceptional situation: what happens (If/Then) and every place it can occur.
9
+
10
+ ## ⚙ Contents
11
+ | ID | Name | Status | One-liner | Blind spots |
12
+ |---|---|---|---|---|
13
+ | [#EC000001](ec000001-save-fails.md) | Save fails | Idea | Given a Member editing an item When Save item does not answer in time Then the edits stay on screen and a retry option… | 0 |
@@ -0,0 +1,24 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: edge-case
4
+ id: EC000001
5
+ name: Save fails
6
+ status: Idea
7
+ severity: Medium
8
+ ---
9
+ # Save fails · #EC000001
10
+ > ⚙ #EC000001V1.0 · V1.0 released
11
+
12
+ ## Description
13
+ **R1 · GWT**
14
+ Given a Member editing an item
15
+ When Save item does not answer in time
16
+ Then the edits stay on screen and a retry option is shown
17
+
18
+ ## Rules
19
+ none
20
+
21
+ ## Where
22
+ - [#SC000004 Edit item](../screens/sc000004-edit-item.md)
23
+ - [#FS000004 Save the item](../userflows/uf000001-create-an-item.md#fs000004)
24
+ - [#AP000002 Save item](../apis/ap000002-save-item.md)
@@ -0,0 +1,17 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: index
4
+ name: Features
5
+ ---
6
+ # Features
7
+
8
+ A product domain (Feature) or a capability inside one (Sub-feature, with parent:).
9
+
10
+ ## ⚙ Contents
11
+ | ID | Name | Status | Parent | One-liner | Blind spots |
12
+ |---|---|---|---|---|---|
13
+ | [#FT000001](ft000001-items.md) | Items | In design | — | Members need one dependable place for the things they keep track of. | 0 |
14
+ | [#FT000002](ft000002-account.md) | Account | Idea | — | Members need to adjust the app to how they work. | 0 |
15
+ | [#FT000003](ft000003-browse-items.md) | Browse items | In design | [#FT000001 Items](ft000001-items.md) | Lets a Member find an item in their list. | 0 |
16
+ | [#FT000004](ft000004-edit-an-item.md) | Edit an item | In design | [#FT000001 Items](ft000001-items.md) | Lets a Member create an item or change its details. | 0 |
17
+ | [#FT000005](ft000005-change-settings.md) | Change settings | Idea | [#FT000002 Account](ft000002-account.md) | Lets a Member change their personal settings. | 0 |
@@ -0,0 +1,22 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: feature
4
+ id: FT000001
5
+ name: Items
6
+ status: In design
7
+ priority: High
8
+ ---
9
+ # Items · #FT000001
10
+ > ⚙ #FT000001V1.0 · V1.0 released
11
+
12
+ ## Description
13
+ Members need one dependable place for the things they keep track of.
14
+
15
+ In scope: finding, creating and changing items. Out of scope: sharing items with other people.
16
+
17
+ ## Why
18
+ Keeping track of things is the reason the app exists.
19
+
20
+ ## ⚙ Sub-features
21
+ - [#FT000003 Browse items](ft000003-browse-items.md) — Lets a Member find an item in their list.
22
+ - [#FT000004 Edit an item](ft000004-edit-an-item.md) — Lets a Member create an item or change its details.
@@ -0,0 +1,21 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: feature
4
+ id: FT000002
5
+ name: Account
6
+ status: Idea
7
+ priority: Medium
8
+ ---
9
+ # Account · #FT000002
10
+ > ⚙ #FT000002V1.0 · V1.0 released
11
+
12
+ ## Description
13
+ Members need to adjust the app to how they work.
14
+
15
+ In scope: personal settings. Out of scope: settings shared between Members.
16
+
17
+ ## Why
18
+ Members asked for a dark theme in the first interviews. [assumed]
19
+
20
+ ## ⚙ Sub-features
21
+ - [#FT000005 Change settings](ft000005-change-settings.md) — Lets a Member change their personal settings.
@@ -0,0 +1,26 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: feature
4
+ id: FT000003
5
+ name: Browse items
6
+ status: In design
7
+ parent: FT000001
8
+ priority: High
9
+ ---
10
+ # Browse items · #FT000003
11
+ > ⚙ #FT000003V1.0 · V1.0 released
12
+
13
+ ## Description
14
+ Lets a Member find an item in their list.
15
+
16
+ **R1 · User story** As a Member, I want to browse my items, so that I find one quickly.
17
+
18
+ ## Why
19
+ same as #FT000001
20
+
21
+ ## ⚙ Screens
22
+ - [#SC000002 Item list](../screens/sc000002-item-list.md)
23
+ - [#SC000003 Item detail](../screens/sc000003-item-detail.md)
24
+
25
+ ## ⚙ Components
26
+ - [#CP000003 Item row](../components/cp000003-item-row.md)
@@ -0,0 +1,33 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: feature
4
+ id: FT000004
5
+ name: Edit an item
6
+ status: In design
7
+ parent: FT000001
8
+ priority: High
9
+ ---
10
+ # Edit an item · #FT000004
11
+ > ⚙ #FT000004V1.0 · V1.0 released
12
+
13
+ ## Description
14
+ Lets a Member create an item or change its details.
15
+
16
+ **R1 · User story** As a Member, I want to change an item's details, so that my list stays accurate.
17
+
18
+ ## Why
19
+ A list nobody can change goes stale within a week.
20
+
21
+ ## Touchpoints
22
+ - [#CP000002 Text field](../components/cp000002-text-field.md) — name entry
23
+
24
+ ## ⚙ Screens
25
+ - [#SC000004 Edit item](../screens/sc000004-edit-item.md)
26
+
27
+ ## ⚙ Also uses
28
+ - [#SC000002 Item list](../screens/sc000002-item-list.md) · home: #FT000003
29
+ - [#SC000003 Item detail](../screens/sc000003-item-detail.md) · home: #FT000003
30
+
31
+ ## ⚙ User flows
32
+ - [#UF000001 Create an item](../userflows/uf000001-create-an-item.md)
33
+ - [#UF000002 Edit an item](../userflows/uf000002-edit-an-item.md)
@@ -0,0 +1,21 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: feature
4
+ id: FT000005
5
+ name: Change settings
6
+ status: Idea
7
+ parent: FT000002
8
+ ---
9
+ # Change settings · #FT000005
10
+ > ⚙ #FT000005V1.0 · V1.0 released
11
+
12
+ ## Description
13
+ Lets a Member change their personal settings.
14
+
15
+ **R1 · User story** As a Member, I want to change my settings, so that the app fits how I work.
16
+
17
+ ## Why
18
+ One app, many working habits.
19
+
20
+ ## ⚙ Screens
21
+ - [#SC000005 Settings](../screens/sc000005-settings.md)
@@ -0,0 +1,13 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: index
4
+ name: IA maps
5
+ ---
6
+ # IA maps
7
+
8
+ One IA map: screens arranged in a hierarchy plus lateral edges — pure arrangement.
9
+
10
+ ## ⚙ Contents
11
+ | ID | Name | Status | One-liner | Blind spots |
12
+ |---|---|---|---|---|
13
+ | [#IA000001](ia000001-main-map.md) | Main map | In design | How the places of Example app are arranged for every Member. | 0 |
@@ -0,0 +1,23 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: ia
4
+ id: IA000001
5
+ name: Main map
6
+ status: In design
7
+ default: true
8
+ ---
9
+ # Main map · #IA000001
10
+ > ⚙ #IA000001V1.0 · V1.0 released
11
+
12
+ ## Description
13
+ How the places of Example app are arranged for every Member.
14
+
15
+ ## Parts
16
+ - [#SC000001 Home](../screens/sc000001-home.md)
17
+ - [#SC000002 Item list](../screens/sc000002-item-list.md) · group: Items
18
+ - [#SC000003 Item detail](../screens/sc000003-item-detail.md) · group: Items
19
+ - [#SC000004 Edit item](../screens/sc000004-edit-item.md) · opens-as: Side panel · group: Items
20
+ - [#SC000005 Settings](../screens/sc000005-settings.md)
21
+
22
+ ### Lateral
23
+ - Edge: [#SC000005 Settings](../screens/sc000005-settings.md) → [#SC000002 Item list](../screens/sc000002-item-list.md) · label: Back to items
@@ -0,0 +1,12 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: manifest
4
+ kb: example-app
5
+ name: Example app
6
+ version: "1.0"
7
+ lifecycle: released
8
+ modules: [roles, screens, components, shells, userflows, ia, rules, apis, features, edge-cases, backend, tech, decisions, comments]
9
+ ---
10
+ # Example app
11
+
12
+ Knowledge base of Example app. Maintainer: —.
@@ -0,0 +1,51 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: project
4
+ id: PR000001
5
+ name: Example app
6
+ status: In design
7
+ ---
8
+ # Example app · #PR000001
9
+ > ⚙ #PR000001V1.0 · V1.0 released
10
+
11
+ ## Description
12
+ A small app in which a Member keeps a list of items: create, browse and change them.
13
+
14
+ ## Why
15
+ Members lose track of things kept in notes and chats; one list that is always at hand fixes that.
16
+
17
+ ## User stories
18
+ - As a Member, I want to create an item, so that I can keep track of it.
19
+ - As a Member, I want to browse my items, so that I find one quickly.
20
+ - As a Member, I want to edit an item, so that its details stay current.
21
+ - As a Member, I want to change my settings, so that the app fits how I work.
22
+ - As an Admin, I want to review all items, so that the list stays clean.
23
+
24
+ ## Keep in mind
25
+ **R1 · Checklist**
26
+ - [ ] The Item list opens in under one second with 1000 items.
27
+ - [ ] Every screen works with the keyboard alone.
28
+
29
+ ## Vocabularies
30
+ ### States
31
+ | State | Code | Note |
32
+ |---|---|---|
33
+
34
+ ### Platforms
35
+ - Web
36
+ - Mobile
37
+
38
+ ### Opens-as
39
+ - Side panel — opens beside the current page
40
+
41
+ ### Tech categories
42
+ - Frontend
43
+ - Data & storage
44
+
45
+ ## Built with
46
+ - [#TC000001 UI framework](tech/tc000001-ui-framework.md)
47
+ - [#TC000002 Relational database](tech/tc000002-relational-database.md)
48
+ - [~ Graph canvas library]
49
+
50
+ ## Links
51
+ - [Product brief](../inputs/brief.md) · type: Source
@@ -0,0 +1,14 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: index
4
+ name: Roles
5
+ ---
6
+ # Roles
7
+
8
+ A user type: who uses the product, why they come and how they use it. User stories name it.
9
+
10
+ ## ⚙ Contents
11
+ | ID | Name | Status | One-liner | Blind spots |
12
+ |---|---|---|---|---|
13
+ | [#RO000001](ro000001-member.md) | Member | In design | Keeps a personal list of items; mostly on the phone, several times a week. | 0 |
14
+ | [#RO000002](ro000002-admin.md) | Admin | Idea | Reviews the items of all Members, on the web. | 0 |