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,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.1 · V1.1 in-progress · based on V1.0 · unchanged
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,32 @@
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.1 · V1.1 in-progress · based on V1.0 · unchanged
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
+ - [#SC000002 Item list](../screens/sc000002-item-list.md)
25
+ - [#SC000004 Edit item](../screens/sc000004-edit-item.md)
26
+
27
+ ## ⚙ In user flows
28
+ - [#UF000001 Create an item](../userflows/uf000001-create-an-item.md) · at: #FS000002
29
+ - [#UF000002 Edit an item](../userflows/uf000002-edit-an-item.md) · at: #FS000007
30
+
31
+ ## ⚙ Features
32
+ - [#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.1 · V1.1 in-progress · based on V1.0 · unchanged
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.1 · V1.1 in-progress · based on V1.0 · unchanged
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.1 · V1.1 in-progress · based on V1.0 · unchanged
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.1 · V1.1 in-progress · based on V1.0 · unchanged
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.1 · V1.1 in-progress · based on V1.0 · unchanged
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.1 · V1.1 in-progress · based on V1.0 · unchanged
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.1 · V1.1 in-progress · based on V1.0 · unchanged
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.1 · V1.1 in-progress · based on V1.0 · unchanged
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.1 · V1.1 in-progress · based on V1.0 · unchanged
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.1 · V1.1 in-progress · based on V1.0 · unchanged
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,13 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: manifest
4
+ kb: example-app
5
+ name: Example app
6
+ version: "1.1"
7
+ lifecycle: in-progress
8
+ based-on: "1.0"
9
+ modules: [roles, screens, components, shells, userflows, ia, rules, apis, features, edge-cases, backend, tech, decisions, comments]
10
+ ---
11
+ # Example app
12
+
13
+ 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.1 · V1.1 in-progress · based on V1.0 · unchanged
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 |
@@ -0,0 +1,22 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: role
4
+ id: RO000001
5
+ name: Member
6
+ status: In design
7
+ platform: [Web, Mobile]
8
+ ---
9
+ # Member · #RO000001
10
+ > ⚙ #RO000001V1.1 · V1.1 in-progress · based on V1.0 · unchanged
11
+
12
+ ## Description
13
+ Keeps a personal list of items; mostly on the phone, several times a week.
14
+
15
+ ## Why
16
+ The product exists for this user; every story names them.
17
+
18
+ ## ⚙ Stories
19
+ - [#PR000001 Example app](../project.md) · story: User stories
20
+ - [#FT000003 Browse items](../features/ft000003-browse-items.md) · story: R1
21
+ - [#FT000004 Edit an item](../features/ft000004-edit-an-item.md) · story: R1
22
+ - [#FT000005 Change settings](../features/ft000005-change-settings.md) · story: R1
@@ -0,0 +1,19 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: role
4
+ id: RO000002
5
+ name: Admin
6
+ status: Idea
7
+ platform: Web
8
+ ---
9
+ # Admin · #RO000002
10
+ > ⚙ #RO000002V1.1 · V1.1 in-progress · based on V1.0 · unchanged
11
+
12
+ ## Description
13
+ Reviews the items of all Members, on the web.
14
+
15
+ ## Why
16
+ Someone has to keep the shared list clean. [likely]
17
+
18
+ ## ⚙ Stories
19
+ - [#PR000001 Example app](../project.md) · story: User stories
@@ -0,0 +1,13 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: index
4
+ name: Rules
5
+ ---
6
+ # Rules
7
+
8
+ One business rule stated once, in plain words; every other card references it.
9
+
10
+ ## ⚙ Contents
11
+ | ID | Name | Status | One-liner | Blind spots |
12
+ |---|---|---|---|---|
13
+ | [#RL000001](rl000001-item-name-is-required.md) | Item name is required | Approved | If the item name is empty, then the system shall refuse to save the item and say why. | 0 |
@@ -0,0 +1,20 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: rule
4
+ id: RL000001
5
+ name: Item name is required
6
+ status: Approved
7
+ ---
8
+ # Item name is required · #RL000001
9
+ > ⚙ #RL000001V1.1 · V1.1 in-progress · based on V1.0 · unchanged
10
+
11
+ ## Description
12
+ **R1 · EARS** If the item name is empty, then the system shall refuse to save the item and say why.
13
+
14
+ ## Why
15
+ An item without a name cannot be found again in the list.
16
+
17
+ ## ⚙ Applied in
18
+ - [#SC000004 Edit item](../screens/sc000004-edit-item.md)
19
+ - [#UF000001 Create an item](../userflows/uf000001-create-an-item.md) · at: #FS000003
20
+ - [#UF000002 Edit an item](../userflows/uf000002-edit-an-item.md) · at: #FS000008
@@ -0,0 +1,17 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: index
4
+ name: Screens
5
+ ---
6
+ # Screens
7
+
8
+ A place the user can be: what it is for and what it is made of.
9
+
10
+ ## ⚙ Contents
11
+ | ID | Name | Status | Feature | One-liner | Blind spots |
12
+ |---|---|---|---|---|---|
13
+ | [#SC000001](sc000001-home.md) | Home | In design | — | The starting point of the app. | 0 |
14
+ | [#SC000002](sc000002-item-list.md) | Item list | In design | [#FT000003 Browse items](../features/ft000003-browse-items.md) | Shows all of a Member's items as rows; choosing a row opens Item detail. | 0 |
15
+ | [#SC000003](sc000003-item-detail.md) | Item detail | In design | [#FT000003 Browse items](../features/ft000003-browse-items.md) | Shows one item with all its details. | 0 |
16
+ | [#SC000004](sc000004-edit-item.md) | Edit item | In design | [#FT000004 Edit an item](../features/ft000004-edit-an-item.md) | Lets a Member change an item's name and notes. | 0 |
17
+ | [#SC000005](sc000005-settings.md) | Settings | Idea | [#FT000005 Change settings](../features/ft000005-change-settings.md) | Lets a Member change how the app behaves. | 0 |
@@ -0,0 +1,18 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: screen
4
+ id: SC000001
5
+ name: Home
6
+ status: In design
7
+ ---
8
+ # Home · #SC000001
9
+ > ⚙ #SC000001V1.1 · V1.1 in-progress · based on V1.0 · unchanged
10
+
11
+ ## Description
12
+ The starting point of the app.
13
+
14
+ ## Components
15
+ 1. [#CP000004 Top bar](../components/cp000004-top-bar.md)
16
+
17
+ ## ⚙ On maps
18
+ - [#IA000001 Main map](../ia/ia000001-main-map.md)
@@ -0,0 +1,44 @@
1
+ ---
2
+ standard: IntentFormat/1.2
3
+ type: screen
4
+ id: SC000002
5
+ name: Item list
6
+ status: In design
7
+ feature: FT000003
8
+ ---
9
+ # Item list · #SC000002
10
+ > ⚙ #SC000002V1.1 · V1.1 in-progress · based on V1.0 · changed: Components
11
+
12
+ ## Description
13
+ Shows all of a Member's items as rows; choosing a row opens Item detail.
14
+
15
+ **R1 · GWT**
16
+ Given a Member with no items
17
+ When the Item list opens
18
+ Then an empty-list message and a create button are shown
19
+
20
+ ## Components
21
+ 1. [#CP000004 Top bar](../components/cp000004-top-bar.md)
22
+ 2. [#CP000003 Item row](../components/cp000003-item-row.md) — one per item
23
+ 3. [#CP000002 Text field](../components/cp000002-text-field.md) — filters the list
24
+ 4. [#CP000001 Button](../components/cp000001-button.md) — creates an item
25
+
26
+ ## Variants
27
+ ### Picker · #SV000001
28
+ <a id="sv000001"></a>
29
+ opens-as: Side panel
30
+
31
+ 1. [#CP000003 Item row](../components/cp000003-item-row.md) · variant: Compact
32
+
33
+ ## APIs
34
+ - [#AP000001 List items](../apis/ap000001-list-items.md)
35
+
36
+ ## Comments
37
+ - [#CM000001 Empty-list message](../comments/cm000001-empty-list-message.md)
38
+
39
+ ## ⚙ On maps
40
+ - [#IA000001 Main map](../ia/ia000001-main-map.md) · under: #SC000001
41
+
42
+ ## ⚙ In user flows
43
+ - [#UF000001 Create an item](../userflows/uf000001-create-an-item.md) · at: #FS000001
44
+ - [#UF000001 Create an item](../userflows/uf000001-create-an-item.md) · at: #FS000005