@mriekki/lean 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/components.json +3 -3
- package/assets/core/distribution.json +8 -0
- package/assets/deployment/distribution.json +2 -0
- package/assets/generated/ASSEMBLY.json +73 -23
- package/assets/generated/core/core/instructions/lean-docs.instructions.md +33 -2
- package/assets/generated/core/core/instructions/lean-workflow.instructions.md +42 -0
- package/assets/generated/core/core/learning/DIAGRAM_GUIDE.md +46 -6
- package/assets/generated/core/core/learning/ENGINEERING_LEARNING_WORKBOOK.md +29 -6
- package/assets/generated/core/core/learning/LEARNING_MAP.md +37 -2
- package/assets/generated/core/core/learning/LEARNING_PROGRESS.md +15 -7
- package/assets/generated/core/core/learning/SYSTEM_DESIGN_DRILLS.md +299 -19
- package/assets/generated/core/core/process/COACHING_GUIDE.md +35 -2
- package/assets/generated/core/core/process/DATABASE_LEARNING_WORKBENCH.md +153 -102
- package/assets/generated/core/core/process/DEPLOYMENT_ENABLEMENT.md +108 -71
- package/assets/generated/core/core/process/LEAN_ENGINEERING_GUIDE.md +317 -0
- package/assets/generated/core/core/process/PROJECT_DOCUMENTATION_FRAMEWORK.md +324 -0
- package/assets/generated/core/core/process/SYSTEM_DESIGN_LEARNING_WORKBENCH.md +520 -0
- package/assets/generated/core/core/skills/coach/SKILL.md +31 -4
- package/assets/generated/core/core/skills/db-lab/SKILL.md +59 -16
- package/assets/generated/core/core/skills/deliver/SKILL.md +77 -5
- package/assets/generated/core/core/skills/deploy/SKILL.md +164 -121
- package/assets/generated/core/core/skills/deployment-readiness/SKILL.md +223 -250
- package/assets/generated/core/core/skills/docs/SKILL.md +116 -0
- package/assets/generated/core/core/skills/next-step/SKILL.md +21 -6
- package/assets/generated/core/core/skills/system-lab/SKILL.md +333 -0
- package/assets/generated/core/core/skills/tear-down/SKILL.md +101 -61
- package/assets/generated/core/core/templates/ADR_TEMPLATE.md +41 -0
- package/assets/generated/core/tools/docs_site/docs_site.py +382 -0
- package/assets/generated/core/tools/system_lab/system_workbench.py +243 -0
- package/assets/generated/deployment/src/lean_poc_deployment/entrypoint.py +5 -1
- package/assets/generated/deployment/src/lean_poc_deployment/local_cli.py +112 -0
- package/assets/generated/deployment/src/lean_poc_deployment/local_runtime.py +523 -0
- package/assets/generated/deployment/src/lean_poc_deployment/teardown.py +49 -35
- package/assets/generated/deployment/src/lean_poc_deployment/teardown_cli.py +31 -12
- package/package.json +1 -1
package/assets/components.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": "@mriekki/lean",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.5",
|
|
5
5
|
"defaultProfile": "greenfield-poc",
|
|
6
6
|
"profiles": {
|
|
7
7
|
"greenfield-poc": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"components": {
|
|
15
15
|
"core": {
|
|
16
16
|
"repository": "mriekki/lean-agentic-core",
|
|
17
|
-
"commit": "
|
|
17
|
+
"commit": "68f3f45e663cab535c5a9544cf4efe2f048f8f34",
|
|
18
18
|
"version": "1.13.0",
|
|
19
19
|
"distribution": "greenfield-workspace",
|
|
20
20
|
"descriptor": "assets/core/distribution.json",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"deployment": {
|
|
25
25
|
"repository": "mriekki/lean-poc-deployment-kit",
|
|
26
|
-
"commit": "
|
|
26
|
+
"commit": "bfe07aac1809d4cf41428fba9fdbcfe6a5e85470",
|
|
27
27
|
"distribution": "greenfield-poc",
|
|
28
28
|
"descriptor": "assets/deployment/distribution.json",
|
|
29
29
|
"sourceRoot": "assets/generated/deployment",
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
{"source":"core/skills/tear-down/SKILL.md","destination":".github/skills/tear-down/SKILL.md"},
|
|
26
26
|
{"source":"core/skills/coach/SKILL.md","destination":".github/skills/coach/SKILL.md"},
|
|
27
27
|
{"source":"core/skills/db-lab/SKILL.md","destination":".github/skills/db-lab/SKILL.md"},
|
|
28
|
+
{"source":"core/skills/system-lab/SKILL.md","destination":".github/skills/system-lab/SKILL.md"},
|
|
29
|
+
{"source":"core/skills/docs/SKILL.md","destination":".github/skills/docs/SKILL.md"},
|
|
28
30
|
{"source":"core/skills/code-walkthrough/SKILL.md","destination":".github/skills/code-walkthrough/SKILL.md"},
|
|
29
31
|
{"source":"core/skills/learning-review/SKILL.md","destination":".github/skills/learning-review/SKILL.md"},
|
|
30
32
|
{"source":"core/process/WORK_ITEM_MODEL.md","destination":"docs/process/WORK_ITEM_MODEL.md"},
|
|
@@ -35,11 +37,15 @@
|
|
|
35
37
|
{"source":"core/process/INTERACTIVE_SESSION_GUIDE.md","destination":"docs/process/INTERACTIVE_SESSION_GUIDE.md"},
|
|
36
38
|
{"source":"core/process/COACHING_GUIDE.md","destination":"docs/process/COACHING_GUIDE.md"},
|
|
37
39
|
{"source":"core/process/DATABASE_LEARNING_WORKBENCH.md","destination":"docs/process/DATABASE_LEARNING_WORKBENCH.md"},
|
|
40
|
+
{"source":"core/process/SYSTEM_DESIGN_LEARNING_WORKBENCH.md","destination":"docs/process/SYSTEM_DESIGN_LEARNING_WORKBENCH.md"},
|
|
41
|
+
{"source":"core/process/PROJECT_DOCUMENTATION_FRAMEWORK.md","destination":"docs/process/PROJECT_DOCUMENTATION_FRAMEWORK.md"},
|
|
42
|
+
{"source":"core/process/LEAN_ENGINEERING_GUIDE.md","destination":"docs/lean/LEAN_ENGINEERING_GUIDE.md"},
|
|
38
43
|
{"source":"core/process/SETUP_ACCEPTANCE_CHECKLIST.md","destination":"docs/process/SETUP_ACCEPTANCE_CHECKLIST.md"},
|
|
39
44
|
{"source":"core/templates/PULL_REQUEST_TEMPLATE.md","destination":".github/PULL_REQUEST_TEMPLATE.md"},
|
|
40
45
|
{"source":"core/templates/PRODUCT_BRIEF_TEMPLATE.md","destination":"docs/templates/PRODUCT_BRIEF_TEMPLATE.md"},
|
|
41
46
|
{"source":"core/templates/FEATURE_BRIEF_TEMPLATE.md","destination":"docs/templates/FEATURE_BRIEF_TEMPLATE.md"},
|
|
42
47
|
{"source":"core/templates/REQUIREMENTS_TEMPLATE.md","destination":"docs/templates/REQUIREMENTS_TEMPLATE.md"},
|
|
48
|
+
{"source":"core/templates/ADR_TEMPLATE.md","destination":"docs/templates/ADR_TEMPLATE.md"},
|
|
43
49
|
{"source":"core/learning/ENGINEERING_LEARNING_WORKBOOK.md","destination":"learning/ENGINEERING_LEARNING_WORKBOOK.md"},
|
|
44
50
|
{"source":"core/learning/LEARNING_MAP.md","destination":"learning/LEARNING_MAP.md"},
|
|
45
51
|
{"source":"core/learning/LEARNING_PROGRESS.md","destination":"learning/LEARNING_PROGRESS.md"},
|
|
@@ -49,6 +55,8 @@
|
|
|
49
55
|
{"source":"core/learning/DIAGRAM_GUIDE.md","destination":"learning/DIAGRAM_GUIDE.md"},
|
|
50
56
|
{"source":"core/learning/RESOURCE_CATALOG.md","destination":"learning/RESOURCE_CATALOG.md"},
|
|
51
57
|
{"source":"tools/db_lab/sqlite_workbench.py","destination":"tools/lean-db-lab/sqlite-workbench.py"},
|
|
58
|
+
{"source":"tools/system_lab/system_workbench.py","destination":"tools/lean-system-lab/system-workbench.py"},
|
|
59
|
+
{"source":"tools/docs_site/docs_site.py","destination":"tools/lean-docs/docs-site.py"},
|
|
52
60
|
{"source":"tools/package/check_baseline.py","destination":"tools/lean-core/check-core-baseline.py"},
|
|
53
61
|
{"source":"tools/package/check_upstream.py","destination":"tools/lean-core/check-core-upstream.py"}
|
|
54
62
|
]
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
{"source": "src/lean_poc_deployment/app_cli.py", "destination": "tools/lean-deployment/lean_poc_deployment/app_cli.py"},
|
|
10
10
|
{"source": "src/lean_poc_deployment/app_runtime.py", "destination": "tools/lean-deployment/lean_poc_deployment/app_runtime.py"},
|
|
11
11
|
{"source": "src/lean_poc_deployment/app_runtime_remote.py", "destination": "tools/lean-deployment/lean_poc_deployment/app_runtime_remote.py"},
|
|
12
|
+
{"source": "src/lean_poc_deployment/local_cli.py", "destination": "tools/lean-deployment/lean_poc_deployment/local_cli.py"},
|
|
13
|
+
{"source": "src/lean_poc_deployment/local_runtime.py", "destination": "tools/lean-deployment/lean_poc_deployment/local_runtime.py"},
|
|
12
14
|
{"source": "src/lean_poc_deployment/box_platform.py", "destination": "tools/lean-deployment/lean_poc_deployment/box_platform.py"},
|
|
13
15
|
{"source": "src/lean_poc_deployment/box_platform_assets.py", "destination": "tools/lean-deployment/lean_poc_deployment/box_platform_assets.py"},
|
|
14
16
|
{"source": "src/lean_poc_deployment/box_platform_remote.py", "destination": "tools/lean-deployment/lean_poc_deployment/box_platform_remote.py"},
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": "@mriekki/lean",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.5",
|
|
5
5
|
"components": {
|
|
6
6
|
"core": {
|
|
7
7
|
"repository": "mriekki/lean-agentic-core",
|
|
8
|
-
"commit": "
|
|
8
|
+
"commit": "68f3f45e663cab535c5a9544cf4efe2f048f8f34",
|
|
9
9
|
"version": "1.13.0",
|
|
10
10
|
"distribution": "greenfield-workspace",
|
|
11
11
|
"files": [
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
{
|
|
28
28
|
"source": "core/instructions/lean-workflow.instructions.md",
|
|
29
29
|
"destination": ".github/instructions/lean-workflow.instructions.md",
|
|
30
|
-
"sha256": "
|
|
30
|
+
"sha256": "5f82d6709ad5382235bc83efdfdb031d1b97ff1050fa476db81c7753c8140054"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"source": "core/instructions/lean-docs.instructions.md",
|
|
34
34
|
"destination": ".github/instructions/lean-docs.instructions.md",
|
|
35
|
-
"sha256": "
|
|
35
|
+
"sha256": "f8b73ec5ae1e12fdd98db4ee2c404b0b770e78248bfadc827d00eefda4d5eaf5"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"source": "core/skills/define-feature/SKILL.md",
|
|
@@ -62,12 +62,12 @@
|
|
|
62
62
|
{
|
|
63
63
|
"source": "core/skills/next-step/SKILL.md",
|
|
64
64
|
"destination": ".github/skills/next-step/SKILL.md",
|
|
65
|
-
"sha256": "
|
|
65
|
+
"sha256": "94a7b7c0ec56a1772439dd0fc9b7adec1d48a67978c2bce5ab0cbe88d7ef74f0"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"source": "core/skills/deliver/SKILL.md",
|
|
69
69
|
"destination": ".github/skills/deliver/SKILL.md",
|
|
70
|
-
"sha256": "
|
|
70
|
+
"sha256": "5fe9875fb32a1e63a181342556f975522bf3a1e29d399567d905c51a83fa2750"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"source": "core/skills/cleanup-branches/SKILL.md",
|
|
@@ -102,27 +102,37 @@
|
|
|
102
102
|
{
|
|
103
103
|
"source": "core/skills/deployment-readiness/SKILL.md",
|
|
104
104
|
"destination": ".github/skills/deployment-readiness/SKILL.md",
|
|
105
|
-
"sha256": "
|
|
105
|
+
"sha256": "411fa4c918715679afc8636bd0e6503c1427688af213bd37cea4ba4920a678db"
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
"source": "core/skills/deploy/SKILL.md",
|
|
109
109
|
"destination": ".github/skills/deploy/SKILL.md",
|
|
110
|
-
"sha256": "
|
|
110
|
+
"sha256": "3a118753fba9f3e529062b98adfba4df5e76842027421a75f4beeac9d6bc247b"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
"source": "core/skills/tear-down/SKILL.md",
|
|
114
114
|
"destination": ".github/skills/tear-down/SKILL.md",
|
|
115
|
-
"sha256": "
|
|
115
|
+
"sha256": "ac9dca37648dbd7ee1fa3b7117d136628cce5f8293a2c15d64f2ebcb8e788692"
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"source": "core/skills/coach/SKILL.md",
|
|
119
119
|
"destination": ".github/skills/coach/SKILL.md",
|
|
120
|
-
"sha256": "
|
|
120
|
+
"sha256": "68c28d5b9a55eedbf4261d12f1cd06f86b905e973b7ed7973fa4c49cf5338091"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
"source": "core/skills/db-lab/SKILL.md",
|
|
124
124
|
"destination": ".github/skills/db-lab/SKILL.md",
|
|
125
|
-
"sha256": "
|
|
125
|
+
"sha256": "1ad8ec01411abcd576f9486a9a1aab83c844d27eaa8f70d1001676d2047e2c67"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"source": "core/skills/system-lab/SKILL.md",
|
|
129
|
+
"destination": ".github/skills/system-lab/SKILL.md",
|
|
130
|
+
"sha256": "1ec8c3f46cca6e2e72be1a85aae1adad0c32872e531d80baf12b1e49f2b780fc"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"source": "core/skills/docs/SKILL.md",
|
|
134
|
+
"destination": ".github/skills/docs/SKILL.md",
|
|
135
|
+
"sha256": "6edc48f28394ca99ea0e2a2abfa46901896199717a7a6b071028a43e56f327b7"
|
|
126
136
|
},
|
|
127
137
|
{
|
|
128
138
|
"source": "core/skills/code-walkthrough/SKILL.md",
|
|
@@ -147,7 +157,7 @@
|
|
|
147
157
|
{
|
|
148
158
|
"source": "core/process/DEPLOYMENT_ENABLEMENT.md",
|
|
149
159
|
"destination": "docs/process/DEPLOYMENT_ENABLEMENT.md",
|
|
150
|
-
"sha256": "
|
|
160
|
+
"sha256": "987f6e68a2ab58d23388127fae2318b385ef86de389fc616c1e40b48c0ff3b07"
|
|
151
161
|
},
|
|
152
162
|
{
|
|
153
163
|
"source": "core/process/HUMAN_GATES.md",
|
|
@@ -167,12 +177,27 @@
|
|
|
167
177
|
{
|
|
168
178
|
"source": "core/process/COACHING_GUIDE.md",
|
|
169
179
|
"destination": "docs/process/COACHING_GUIDE.md",
|
|
170
|
-
"sha256": "
|
|
180
|
+
"sha256": "cf141525e71467b189b18283ba8616859c665bba632f92de80e94f2de2e8f7b4"
|
|
171
181
|
},
|
|
172
182
|
{
|
|
173
183
|
"source": "core/process/DATABASE_LEARNING_WORKBENCH.md",
|
|
174
184
|
"destination": "docs/process/DATABASE_LEARNING_WORKBENCH.md",
|
|
175
|
-
"sha256": "
|
|
185
|
+
"sha256": "282566eca21d777614810d37403c0093efff4cee7f561874e5b0482ebd27d4fb"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"source": "core/process/SYSTEM_DESIGN_LEARNING_WORKBENCH.md",
|
|
189
|
+
"destination": "docs/process/SYSTEM_DESIGN_LEARNING_WORKBENCH.md",
|
|
190
|
+
"sha256": "eb0f613717d6bfdaecbb9d3a8ecb6323fa27331e429f5c5781c5c5a0289a8091"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"source": "core/process/PROJECT_DOCUMENTATION_FRAMEWORK.md",
|
|
194
|
+
"destination": "docs/process/PROJECT_DOCUMENTATION_FRAMEWORK.md",
|
|
195
|
+
"sha256": "e6697c8d9bc346e8c8229625fc422b869a6428a083e4fee717b97d17afde7b03"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"source": "core/process/LEAN_ENGINEERING_GUIDE.md",
|
|
199
|
+
"destination": "docs/lean/LEAN_ENGINEERING_GUIDE.md",
|
|
200
|
+
"sha256": "85e18e8c00bfab8e05e9e5dbea0a74238b345d08634cf459ae2c3efe455e311a"
|
|
176
201
|
},
|
|
177
202
|
{
|
|
178
203
|
"source": "core/process/SETUP_ACCEPTANCE_CHECKLIST.md",
|
|
@@ -199,20 +224,25 @@
|
|
|
199
224
|
"destination": "docs/templates/REQUIREMENTS_TEMPLATE.md",
|
|
200
225
|
"sha256": "ec85cc723071edb01f09acca41e20e9833afe21d06d103b39dfcdbfb59a31aed"
|
|
201
226
|
},
|
|
227
|
+
{
|
|
228
|
+
"source": "core/templates/ADR_TEMPLATE.md",
|
|
229
|
+
"destination": "docs/templates/ADR_TEMPLATE.md",
|
|
230
|
+
"sha256": "f802ae066438642de9a4948980a4ab48c4cb68309fa5de16d48b08415a1a31fb"
|
|
231
|
+
},
|
|
202
232
|
{
|
|
203
233
|
"source": "core/learning/ENGINEERING_LEARNING_WORKBOOK.md",
|
|
204
234
|
"destination": "learning/ENGINEERING_LEARNING_WORKBOOK.md",
|
|
205
|
-
"sha256": "
|
|
235
|
+
"sha256": "e065342b6a5fb8a5f39ec616c1f59b7417cf3cba4238d01b0fee6d23ba881af6"
|
|
206
236
|
},
|
|
207
237
|
{
|
|
208
238
|
"source": "core/learning/LEARNING_MAP.md",
|
|
209
239
|
"destination": "learning/LEARNING_MAP.md",
|
|
210
|
-
"sha256": "
|
|
240
|
+
"sha256": "c1e3b565b57fa0cced6a0a1abe66cbbe67c7cd4960ff9c0307564cf1e2c76470"
|
|
211
241
|
},
|
|
212
242
|
{
|
|
213
243
|
"source": "core/learning/LEARNING_PROGRESS.md",
|
|
214
244
|
"destination": "learning/LEARNING_PROGRESS.md",
|
|
215
|
-
"sha256": "
|
|
245
|
+
"sha256": "50a19d3d3c7da4c2082ab7f5832c1ed5f90b54495db6c4aced3cb3a07ad78f89"
|
|
216
246
|
},
|
|
217
247
|
{
|
|
218
248
|
"source": "core/learning/CODING_DRILLS.md",
|
|
@@ -227,12 +257,12 @@
|
|
|
227
257
|
{
|
|
228
258
|
"source": "core/learning/SYSTEM_DESIGN_DRILLS.md",
|
|
229
259
|
"destination": "learning/SYSTEM_DESIGN_DRILLS.md",
|
|
230
|
-
"sha256": "
|
|
260
|
+
"sha256": "1fbcd5b0cebfb1fa0ba3051cb019ef110790190b06e034075a37109711963154"
|
|
231
261
|
},
|
|
232
262
|
{
|
|
233
263
|
"source": "core/learning/DIAGRAM_GUIDE.md",
|
|
234
264
|
"destination": "learning/DIAGRAM_GUIDE.md",
|
|
235
|
-
"sha256": "
|
|
265
|
+
"sha256": "a2c9a3475dca76f2192b0ad2250ae20731c6ab213204b364e2305e37bf867e84"
|
|
236
266
|
},
|
|
237
267
|
{
|
|
238
268
|
"source": "core/learning/RESOURCE_CATALOG.md",
|
|
@@ -244,6 +274,16 @@
|
|
|
244
274
|
"destination": "tools/lean-db-lab/sqlite-workbench.py",
|
|
245
275
|
"sha256": "a5bb99a3f67f88f00b99c10b2c0698710b6b2fa302becc6ff3435c4321cdd4d3"
|
|
246
276
|
},
|
|
277
|
+
{
|
|
278
|
+
"source": "tools/system_lab/system_workbench.py",
|
|
279
|
+
"destination": "tools/lean-system-lab/system-workbench.py",
|
|
280
|
+
"sha256": "25b507bacb05b938bee299bcb44a5476a6fc5ecb9143f5561773adc7ff987fcc"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"source": "tools/docs_site/docs_site.py",
|
|
284
|
+
"destination": "tools/lean-docs/docs-site.py",
|
|
285
|
+
"sha256": "d8516175150b48b85b2a0b8013d5790b78bdd6eb6de73ab8dce9ed8e32e2dc68"
|
|
286
|
+
},
|
|
247
287
|
{
|
|
248
288
|
"source": "tools/package/check_baseline.py",
|
|
249
289
|
"destination": "tools/lean-core/check-core-baseline.py",
|
|
@@ -258,7 +298,7 @@
|
|
|
258
298
|
},
|
|
259
299
|
"deployment": {
|
|
260
300
|
"repository": "mriekki/lean-poc-deployment-kit",
|
|
261
|
-
"commit": "
|
|
301
|
+
"commit": "bfe07aac1809d4cf41428fba9fdbcfe6a5e85470",
|
|
262
302
|
"distribution": "greenfield-poc",
|
|
263
303
|
"files": [
|
|
264
304
|
{
|
|
@@ -291,6 +331,16 @@
|
|
|
291
331
|
"destination": "tools/lean-deployment/lean_poc_deployment/app_runtime_remote.py",
|
|
292
332
|
"sha256": "f3ccde6ed3c6e5fe185a9a0f032a5c924fa0906e3619e12d0ad6228c1210f8ec"
|
|
293
333
|
},
|
|
334
|
+
{
|
|
335
|
+
"source": "src/lean_poc_deployment/local_cli.py",
|
|
336
|
+
"destination": "tools/lean-deployment/lean_poc_deployment/local_cli.py",
|
|
337
|
+
"sha256": "9c658c0409da3c6297ad349035bccb263a587cd6d9b07a9796ccbb7cdb6676f9"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"source": "src/lean_poc_deployment/local_runtime.py",
|
|
341
|
+
"destination": "tools/lean-deployment/lean_poc_deployment/local_runtime.py",
|
|
342
|
+
"sha256": "82cf795733b59f4591515396be65317da4e515fde19874e3c5851bcff412d84d"
|
|
343
|
+
},
|
|
294
344
|
{
|
|
295
345
|
"source": "src/lean_poc_deployment/box_platform.py",
|
|
296
346
|
"destination": "tools/lean-deployment/lean_poc_deployment/box_platform.py",
|
|
@@ -319,7 +369,7 @@
|
|
|
319
369
|
{
|
|
320
370
|
"source": "src/lean_poc_deployment/entrypoint.py",
|
|
321
371
|
"destination": "tools/lean-deployment/lean_poc_deployment/entrypoint.py",
|
|
322
|
-
"sha256": "
|
|
372
|
+
"sha256": "8275c22ad1f9e3420630e773039902136ab036882f924b68f10ae5f602cae739"
|
|
323
373
|
},
|
|
324
374
|
{
|
|
325
375
|
"source": "src/lean_poc_deployment/errors.py",
|
|
@@ -389,12 +439,12 @@
|
|
|
389
439
|
{
|
|
390
440
|
"source": "src/lean_poc_deployment/teardown.py",
|
|
391
441
|
"destination": "tools/lean-deployment/lean_poc_deployment/teardown.py",
|
|
392
|
-
"sha256": "
|
|
442
|
+
"sha256": "114b6e29725caaf105e67b5407de9a21c4ae9a9bfdc965bd4a0f1e91c316d011"
|
|
393
443
|
},
|
|
394
444
|
{
|
|
395
445
|
"source": "src/lean_poc_deployment/teardown_cli.py",
|
|
396
446
|
"destination": "tools/lean-deployment/lean_poc_deployment/teardown_cli.py",
|
|
397
|
-
"sha256": "
|
|
447
|
+
"sha256": "93abb9350f1b06b0d53b38dff47030ecec982aed2455e9ddc4be12d70bfb6c3f"
|
|
398
448
|
},
|
|
399
449
|
{
|
|
400
450
|
"source": "src/lean_poc_deployment/teardown_remote.py",
|
|
@@ -4,11 +4,42 @@ applyTo: "**/*.md"
|
|
|
4
4
|
|
|
5
5
|
# Lean Documentation Rules
|
|
6
6
|
|
|
7
|
-
Respect `.github/lean-workspace.json` and existing repository documentation.
|
|
7
|
+
Respect `.github/lean-workspace.json`, `docs/lean-docs.json` when present, and existing repository documentation.
|
|
8
|
+
|
|
9
|
+
## Authority
|
|
8
10
|
|
|
9
11
|
- Do not create Product/Feature Briefs when the profile says they are unused.
|
|
10
12
|
- Do not create duplicate requirement authorities.
|
|
13
|
+
- `PROJECT_BRIEF.md` is a project briefing/navigation surface unless the repository explicitly says otherwise; do not let it silently compete with the accepted product/work-item authority.
|
|
11
14
|
- Label experimental/supplemental briefs clearly.
|
|
12
15
|
- Do not assume a Jira Epic is a Feature Brief.
|
|
13
16
|
- Prefer one useful combined requirements artifact over a conveyor belt of docs when local requirements are appropriate.
|
|
14
|
-
|
|
17
|
+
|
|
18
|
+
## Ownership
|
|
19
|
+
|
|
20
|
+
When `docs/lean-docs.json` is present, preserve its ownership boundary:
|
|
21
|
+
|
|
22
|
+
- `project` — project-owned prose/decisions; update only when the current change actually owns that documentation.
|
|
23
|
+
- `lean` — reusable Lean-managed material; update through the controlled reusable-package/baseline path rather than hand-diverging it in consumers.
|
|
24
|
+
- `generated-evidence` — disposable projections reconstructed from current evidence; do not hand-edit or treat them as requirements.
|
|
25
|
+
|
|
26
|
+
ADRs are project-owned decisions. Do not create or approve an architectural decision on the human's behalf merely because implementation evidence suggests one.
|
|
27
|
+
|
|
28
|
+
## Generated views
|
|
29
|
+
|
|
30
|
+
- Markdown is canonical; the local documentation website is a projection.
|
|
31
|
+
- DB/System diagrams are current-by-default projections. Do not tell the developer to maintain, rebuild, or manually synchronize generated diagrams.
|
|
32
|
+
- Keep disposable site/lab output under `.lean/` or another repository-approved ignored cache path by default.
|
|
33
|
+
- A generated view may report `CURRENT`, `STALE`, `AVAILABLE / FRESHNESS UNKNOWN`, or `NOT GENERATED`; do not claim freshness without supporting evidence.
|
|
34
|
+
- Repository/runtime/database evidence outranks stale generated views.
|
|
35
|
+
|
|
36
|
+
## Change impact
|
|
37
|
+
|
|
38
|
+
When a change materially affects public contracts, architecture, persistence, deployment/environments, developer workflow, testing strategy, or an architectural tradeoff, surface the likely documentation impact. Safe generated projections may be rebuilt automatically; human/project-authored prose should not be silently rewritten merely because code changed.
|
|
39
|
+
|
|
40
|
+
Documentation follow-up is non-blocking unless the work item's acceptance criteria explicitly require documentation.
|
|
41
|
+
|
|
42
|
+
## Safety
|
|
43
|
+
|
|
44
|
+
- Keep sensitive values out of tracked Markdown, documentation manifests, and generated site data.
|
|
45
|
+
- Preserve evidence labels and uncertainty rather than turning inference into authoritative architecture facts.
|
|
@@ -34,4 +34,46 @@ After implementation review and local human acceptance, manually invoking `/deli
|
|
|
34
34
|
|
|
35
35
|
Changed PR evidence re-opens the relevant review gate. Merge never implies production-deployment authorization.
|
|
36
36
|
|
|
37
|
+
## Post-delivery documentation and learning handoff
|
|
38
|
+
|
|
39
|
+
After engineering delivery is complete, documentation impact and learning are **non-blocking follow-ups**, not new delivery states or gates.
|
|
40
|
+
|
|
41
|
+
Use the accepted work-item/PR diff conservatively to classify likely documentation impact. Examples:
|
|
42
|
+
|
|
43
|
+
- public API/contract changes may affect architecture/runtime/API narrative;
|
|
44
|
+
- services, dependencies, messaging, caches, auth, observability, deployment topology, or failure handling may affect System evidence;
|
|
45
|
+
- entities, migrations, schema/DDL, ORM, queries, constraints, or indexes may affect DB evidence;
|
|
46
|
+
- environment/deployment changes may affect operations docs;
|
|
47
|
+
- durable developer/test workflow changes may affect engineering docs;
|
|
48
|
+
- a consequential architectural tradeoff may deserve an ADR recommendation.
|
|
49
|
+
|
|
50
|
+
A changed file proves relevant evidence was touched; it does not by itself prove a runtime or physical-schema change.
|
|
51
|
+
|
|
52
|
+
When the relevant tools exist and prerequisites are safe, `/deliver` may best-effort prepare **disposable** evidence/site projections under:
|
|
53
|
+
|
|
54
|
+
```text
|
|
55
|
+
.lean/docs-cache/system/
|
|
56
|
+
.lean/docs-cache/database/
|
|
57
|
+
.lean/docs-site/
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
System evidence may be reconstructed from the current repository. Database evidence may be generated automatically only when a safe local development/test database path is already explicit; never guess a path merely to populate docs.
|
|
61
|
+
|
|
62
|
+
If `tools/lean-docs/docs-site.py` exists, a build of the local documentation projection may follow safe lab preparation. Failure to build docs or a lab projection does not change `DELIVERY COMPLETE`.
|
|
63
|
+
|
|
64
|
+
Do not silently rewrite project-owned narrative or approve/create an ADR solely because implementation evidence changed. Instead surface a compact `DOCUMENTATION IMPACT` handoff, for example:
|
|
65
|
+
|
|
66
|
+
```text
|
|
67
|
+
DOCUMENTATION IMPACT
|
|
68
|
+
|
|
69
|
+
✓ Project brief: no material change detected
|
|
70
|
+
★ System evidence: changed; current projection prepared
|
|
71
|
+
★ Database evidence: changed; /db-lab recommended
|
|
72
|
+
○ ADR consideration: new synchronous external dependency introduced
|
|
73
|
+
|
|
74
|
+
/docs — explore the current project documentation
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Use only claims supported by observed evidence. Keep `/docs`, `/db-lab`, `/system-lab`, `/code-walkthrough`, and `/learning-review` visible when useful, but never require them solely to complete engineering delivery.
|
|
78
|
+
|
|
37
79
|
Do not pin or automatically escalate models.
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# Diagram Guide
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Diagrams are learning views, not architecture authorities.
|
|
4
|
+
|
|
5
|
+
Use current repository/runtime/database evidence first. Generated diagrams are disposable projections and should normally be regenerated from current evidence when the relevant lab is invoked rather than manually maintained.
|
|
6
|
+
|
|
7
|
+
## Lightweight diagrams
|
|
8
|
+
|
|
9
|
+
Coach may use ephemeral Mermaid/text diagrams in chat for:
|
|
4
10
|
|
|
5
11
|
- architecture,
|
|
6
12
|
- request flow,
|
|
@@ -9,11 +15,45 @@ Coach may use Mermaid diagrams in chat for:
|
|
|
9
15
|
- ER/data relationships,
|
|
10
16
|
- CI/CD,
|
|
11
17
|
- deployment,
|
|
12
|
-
- concurrency
|
|
18
|
+
- concurrency,
|
|
19
|
+
- messaging timelines,
|
|
20
|
+
- failure propagation.
|
|
21
|
+
|
|
22
|
+
Only save them as durable project artifacts when explicitly requested.
|
|
23
|
+
|
|
24
|
+
## Interactive diagrams
|
|
25
|
+
|
|
26
|
+
Prefer `/db-lab` when the learning question needs schema/query/index/ORM/plan evidence. Prefer `/system-lab` when it needs architecture/runtime/API/dependency/failure/scale/observability/security/deployment evidence.
|
|
27
|
+
|
|
28
|
+
Interactive views should support learning, not merely look attractive. Useful interactions include:
|
|
29
|
+
|
|
30
|
+
- select a scenario and highlight participating nodes/edges;
|
|
31
|
+
- click a component/table/dependency for evidence and responsibilities;
|
|
32
|
+
- show query/index/plan relationships;
|
|
33
|
+
- show work-item change overlays;
|
|
34
|
+
- show failure or scale perturbations;
|
|
35
|
+
- link system database nodes to `/db-lab` depth;
|
|
36
|
+
- distinguish current evidence from inferred topology.
|
|
37
|
+
|
|
38
|
+
## Evidence provenance
|
|
39
|
+
|
|
40
|
+
Use explicit labels where ambiguity matters:
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
CONFIRMED BY CODE
|
|
44
|
+
CONFIRMED BY RUNTIME
|
|
45
|
+
DOCUMENTED INTENT
|
|
46
|
+
INFERRED
|
|
47
|
+
UNKNOWN
|
|
48
|
+
LEARNER ASSUMPTION
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
A static dependency edge is not automatically proof that the call occurred at runtime. A generated ERD is not more authoritative than the physical database metadata from which it was generated.
|
|
52
|
+
|
|
53
|
+
## Learning behavior
|
|
13
54
|
|
|
14
|
-
|
|
55
|
+
After a diagram, ask the developer to explain the relevant flow, state, failure path, boundary, scaling concern, or tradeoff.
|
|
15
56
|
|
|
16
|
-
|
|
57
|
+
For advanced exercises, ask the learner to predict a failure/plan/scale consequence before revealing the overlay when useful.
|
|
17
58
|
|
|
18
|
-
|
|
19
|
-
and tradeoff.
|
|
59
|
+
Never require the human to "refresh" or "rebuild" a learning diagram as routine maintenance. Running the lab means inspect current evidence and create/show the current view.
|
|
@@ -12,12 +12,13 @@ Use the learning tools for different purposes:
|
|
|
12
12
|
/code-walkthrough — instructional walkthrough of actual implementation changes
|
|
13
13
|
/learning-review — assessment of whether the developer can explain and defend the implementation
|
|
14
14
|
/coach — targeted concept learning, debugging practice, design discussion, drills, and deeper follow-up
|
|
15
|
-
/db-lab — evidence-backed database/schema/ORM/query-plan exploration and database interview practice
|
|
15
|
+
/db-lab — evidence-backed database/schema/ORM/query-plan/change exploration and database interview practice
|
|
16
|
+
/system-lab — evidence-backed architecture/runtime/failure/scale/change exploration and system-design interview practice
|
|
16
17
|
```
|
|
17
18
|
|
|
18
19
|
All learning activity is optional and never an engineering delivery gate.
|
|
19
20
|
|
|
20
|
-
For database usage examples, see `docs/process/DATABASE_LEARNING_WORKBENCH.md` in a greenfield consumer.
|
|
21
|
+
For database usage examples, see `docs/process/DATABASE_LEARNING_WORKBENCH.md` in a greenfield consumer. For advanced system-design usage, see `docs/process/SYSTEM_DESIGN_LEARNING_WORKBENCH.md`.
|
|
21
22
|
|
|
22
23
|
## Preferred project-first sequence
|
|
23
24
|
|
|
@@ -27,9 +28,11 @@ When an implementation is stable enough to study, a useful optional sequence is:
|
|
|
27
28
|
implementation
|
|
28
29
|
→ /code-walkthrough
|
|
29
30
|
→ /learning-review
|
|
30
|
-
→ targeted /coach
|
|
31
|
+
→ targeted /coach, /db-lab, or /system-lab where gaps remain
|
|
31
32
|
```
|
|
32
33
|
|
|
34
|
+
After successful delivery, the workflow may surface the relevant evidence labs again while the change is fresh. A work item that changed persistence may make `/db-lab changes <work-item>` especially useful; one that changed APIs, dependencies, messaging, runtime topology, security, observability, performance or failure behavior may make `/system-lab changes <work-item>` especially useful. These are recommendations, not gates.
|
|
35
|
+
|
|
33
36
|
A code walkthrough should connect two views of every meaningful change:
|
|
34
37
|
|
|
35
38
|
```text
|
|
@@ -42,7 +45,26 @@ Which files, classes, functions, data structures, framework mechanisms, tests, a
|
|
|
42
45
|
|
|
43
46
|
Then connect the files into an end-to-end flow such as request, data, state, event, persistence, UI, or operational behavior. Use the repository's actual architecture rather than forcing a generic sequence.
|
|
44
47
|
|
|
45
|
-
During a walkthrough, deeper learning can branch into tracing, diagrams, debugging discussion, design tradeoffs, quizzes, or interview-style explanation. The walkthrough
|
|
48
|
+
During a walkthrough, deeper learning can branch into tracing, interactive diagrams, debugging discussion, design tradeoffs, quizzes, capacity/failure reasoning, or interview-style explanation. The walkthrough and labs remain read-only; discovered implementation issues return to the normal engineering workflow rather than being silently fixed inside learning mode.
|
|
49
|
+
|
|
50
|
+
## Advanced learning pattern
|
|
51
|
+
|
|
52
|
+
Evidence labs should favor active reasoning:
|
|
53
|
+
|
|
54
|
+
```text
|
|
55
|
+
current evidence
|
|
56
|
+
→ learner prediction/assumption
|
|
57
|
+
→ reveal strongest available evidence
|
|
58
|
+
→ explain discrepancy
|
|
59
|
+
→ trace/apply/debug
|
|
60
|
+
→ defend tradeoff
|
|
61
|
+
→ change one constraint
|
|
62
|
+
→ reason again
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Use explanation-first when the human asks for it. Do not turn every learning interaction into a quiz.
|
|
66
|
+
|
|
67
|
+
Generated workbench diagrams are disposable projections. The repository/database/runtime evidence remains authoritative, and invoking a lab should rebuild its view from current evidence automatically.
|
|
46
68
|
|
|
47
69
|
## Suggested practice loop
|
|
48
70
|
|
|
@@ -67,9 +89,10 @@ concept or changed code
|
|
|
67
89
|
- CI/CD/deployment/operations,
|
|
68
90
|
- security and data protection,
|
|
69
91
|
- architecture/system design,
|
|
92
|
+
- capacity/performance/reliability,
|
|
70
93
|
- coding/DSA interview patterns.
|
|
71
94
|
|
|
72
|
-
Use `LEARNING_MAP.md` to choose a small number of high-value topics and the drill files for focused practice. Learning progress is optional and never an engineering gate.
|
|
95
|
+
Use `LEARNING_MAP.md` to choose a small number of high-value topics and the drill files for focused practice. Database and system-design depth should be tracked by independent competencies rather than one broad score. Learning progress is optional and never an engineering gate.
|
|
73
96
|
|
|
74
97
|
## Experience credibility
|
|
75
98
|
|
|
@@ -82,4 +105,4 @@ studied/practiced
|
|
|
82
105
|
not yet understood
|
|
83
106
|
```
|
|
84
107
|
|
|
85
|
-
A code walkthrough can help move AI-assisted implementation toward reviewed/understood code, but it does not by itself prove mastery or professional experience.
|
|
108
|
+
A code walkthrough or lab can help move AI-assisted implementation toward reviewed/understood code, but it does not by itself prove mastery or professional experience. Generated diagrams and completed exercises must not become false claims of professional experience.
|
|
@@ -46,7 +46,38 @@ database debugging
|
|
|
46
46
|
design defense / interview communication
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
Use `/db-lab` for evidence-backed exploration of the current project's schema, queries, ORM translation, query plans, migrations, and query-to-ERD relationships. Use `/coach` for adaptive teaching and reinforcement.
|
|
49
|
+
Use `/db-lab` for evidence-backed exploration of the current project's schema, queries, ORM translation, query plans, migrations, change impact, and query-to-ERD relationships. Invoking the lab means inspect current evidence; generated views are disposable rather than manually maintained diagrams. Use `/coach` for adaptive teaching and reinforcement.
|
|
50
|
+
|
|
51
|
+
## System-design learning is multi-dimensional
|
|
52
|
+
|
|
53
|
+
Do not reduce system design to one generic architecture score. Assess the relevant areas independently:
|
|
54
|
+
|
|
55
|
+
```text
|
|
56
|
+
requirements + scope framing
|
|
57
|
+
capacity estimation + workload modeling
|
|
58
|
+
API + contract design
|
|
59
|
+
service/module decomposition
|
|
60
|
+
data/storage selection
|
|
61
|
+
caching
|
|
62
|
+
messaging + asynchronous workflows
|
|
63
|
+
consistency + distributed coordination
|
|
64
|
+
scaling + partitioning
|
|
65
|
+
availability + fault tolerance
|
|
66
|
+
latency + performance
|
|
67
|
+
runtime/deployment topology
|
|
68
|
+
observability + SLO reasoning
|
|
69
|
+
security + abuse resistance
|
|
70
|
+
cost/complexity awareness
|
|
71
|
+
architecture evolution
|
|
72
|
+
incident/debug reasoning
|
|
73
|
+
testing/verification strategy
|
|
74
|
+
tradeoff defense
|
|
75
|
+
interview communication
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Use `/system-lab` for evidence-backed exploration of the current project's architecture, runtime/data/event flows, dependencies, failure behavior, capacity/performance, observability, security, messaging, deployment, testing, work-item architecture impact, evolution, and interview practice. Generated interactive diagrams are disposable projections of current evidence; they are not a second architecture authority and should be regenerated from current evidence when the lab is invoked.
|
|
79
|
+
|
|
80
|
+
Use `/coach system design` for conceptual teaching, adaptive questions, and transfer practice. Prefer prediction-before-reveal for plans, failures, scale changes, consistency situations, and design perturbations when that improves learning.
|
|
50
81
|
|
|
51
82
|
## How real-code learning maps to the levels
|
|
52
83
|
|
|
@@ -68,6 +99,10 @@ L6 Interview Ready — explain the implementation clearly under follow-up questi
|
|
|
68
99
|
|
|
69
100
|
For database work, L4-L6 should include evidence-based reasoning about schema choices, constraints, access patterns, indexes/plans, transactions, ORM behavior, migration safety, and credible alternatives where relevant.
|
|
70
101
|
|
|
71
|
-
|
|
102
|
+
For system-design work, L4-L6 should include evidence-based reasoning about workload assumptions, boundaries, APIs/data flows, failure propagation, consistency, latency, scaling, reliability, observability, security, deployment, testing, cost/complexity, architecture evolution, and credible simpler alternatives.
|
|
103
|
+
|
|
104
|
+
A learner can be L5 in API design and L2 in distributed consistency, or strong in SQL construction and weak in indexing. Preserve that shape instead of averaging it away.
|
|
105
|
+
|
|
106
|
+
Use `/learning-review` to assess understanding after a walkthrough. Use `/coach` for targeted reinforcement, practice, or deeper exploration. Use `/db-lab` and `/system-lab` when concrete project evidence is the learning material. These activities are optional and do not affect engineering delivery state.
|
|
72
107
|
|
|
73
108
|
Coach should recommend only a small number of next topics based on the actual repository/work item.
|
|
@@ -18,14 +18,22 @@ This file is optional and never an engineering gate.
|
|
|
18
18
|
|
|
19
19
|
Record evidence only when the human explicitly chooses to update learning progress. Useful evidence can include:
|
|
20
20
|
|
|
21
|
-
- completed `/code-walkthrough` of a real implementation change set
|
|
22
|
-
- explained the functional and technical purpose of important changed files
|
|
23
|
-
- traced a request/data/state/event path across the implementation
|
|
24
|
-
- explained a design choice and a credible alternative
|
|
25
|
-
- reasoned through a failure mode or debugging approach
|
|
26
|
-
-
|
|
21
|
+
- completed `/code-walkthrough` of a real implementation change set;
|
|
22
|
+
- explained the functional and technical purpose of important changed files;
|
|
23
|
+
- traced a request/data/state/event path across the implementation;
|
|
24
|
+
- explained a design choice and a credible alternative;
|
|
25
|
+
- reasoned through a failure mode or debugging approach;
|
|
26
|
+
- predicted then explained query-plan/index behavior using `/db-lab` evidence;
|
|
27
|
+
- explained schema/ORM/migration consequences from `/db-lab changes <work-item>`;
|
|
28
|
+
- traced an evidence-backed runtime/dependency path using `/system-lab`;
|
|
29
|
+
- predicted failure propagation, bottlenecks, consistency behavior, or latency consequences and reconciled the prediction with evidence;
|
|
30
|
+
- defended an architecture choice against a simpler credible alternative;
|
|
31
|
+
- adapted a design after an interview-style scale/reliability/security constraint changed;
|
|
32
|
+
- passed a `/learning-review` question at a demonstrated level;
|
|
27
33
|
- completed a focused `/coach` exercise or drill.
|
|
28
34
|
|
|
29
|
-
|
|
35
|
+
For database and system-design depth, prefer recording the demonstrated competency rather than one broad level. For example, capacity estimation, distributed consistency, API design, relational modeling and query-plan reasoning can legitimately be at different levels.
|
|
36
|
+
|
|
37
|
+
A walkthrough, generated workbench, or completed lab invocation is evidence of learning/review activity, not automatic proof of mastery. Record demonstrated understanding conservatively.
|
|
30
38
|
|
|
31
39
|
Do not update automatically.
|