dreamcontext 0.5.4 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -21
- package/NOTICE +7 -0
- package/README.md +79 -13
- package/agents/sleep-product.md +48 -10
- package/agents/sleep-state.md +43 -22
- package/agents/sleep-tasks.md +62 -9
- package/dist/agents/sleep-product.md +48 -10
- package/dist/agents/sleep-state.md +43 -22
- package/dist/agents/sleep-tasks.md +62 -9
- package/dist/dashboard/assets/{BrainCanvas3D-1HMiA14F.js → BrainCanvas3D-lFgJbbhZ.js} +1 -1
- package/dist/dashboard/assets/{_baseUniq-C7pfRmXz.js → _baseUniq-BpANgc_i.js} +1 -1
- package/dist/dashboard/assets/{arc-B5x_GF9Q.js → arc-CX32Jm7E.js} +1 -1
- package/dist/dashboard/assets/{architectureDiagram-Q4EWVU46-CWmjaqno.js → architectureDiagram-Q4EWVU46-ARASlGxO.js} +1 -1
- package/dist/dashboard/assets/{blockDiagram-DXYQGD6D-B7SyUIdV.js → blockDiagram-DXYQGD6D-BBvsYm9E.js} +1 -1
- package/dist/dashboard/assets/{c4Diagram-AHTNJAMY-OeJBWXHU.js → c4Diagram-AHTNJAMY-ChSUfXR9.js} +1 -1
- package/dist/dashboard/assets/channel-w_Bp182N.js +1 -0
- package/dist/dashboard/assets/{chunk-4BX2VUAB-2Oop1B0M.js → chunk-4BX2VUAB-COHoVEpt.js} +1 -1
- package/dist/dashboard/assets/{chunk-4TB4RGXK-Bh7qSu_X.js → chunk-4TB4RGXK-DKJFLaTC.js} +1 -1
- package/dist/dashboard/assets/{chunk-55IACEB6-gNeHRO_i.js → chunk-55IACEB6-CKZPWZRu.js} +1 -1
- package/dist/dashboard/assets/{chunk-EDXVE4YY-BRniAH53.js → chunk-EDXVE4YY-k1y4mGUJ.js} +1 -1
- package/dist/dashboard/assets/{chunk-FMBD7UC4-B5r8U2gJ.js → chunk-FMBD7UC4-ixXe5R10.js} +1 -1
- package/dist/dashboard/assets/{chunk-OYMX7WX6-Dd1c17fm.js → chunk-OYMX7WX6-NDFap7xg.js} +1 -1
- package/dist/dashboard/assets/{chunk-QZHKN3VN-BIw-OdTn.js → chunk-QZHKN3VN-vY0UpHjB.js} +1 -1
- package/dist/dashboard/assets/{chunk-YZCP3GAM-Dl9MlwCW.js → chunk-YZCP3GAM-yztvsKR-.js} +1 -1
- package/dist/dashboard/assets/classDiagram-6PBFFD2Q-CcQxcqy9.js +1 -0
- package/dist/dashboard/assets/classDiagram-v2-HSJHXN6E-CcQxcqy9.js +1 -0
- package/dist/dashboard/assets/clone-_znoR_ci.js +1 -0
- package/dist/dashboard/assets/{cose-bilkent-S5V4N54A-DlrROH5K.js → cose-bilkent-S5V4N54A-DKXM5Fh5.js} +1 -1
- package/dist/dashboard/assets/{dagre-KV5264BT-B0GpPXKL.js → dagre-KV5264BT-DN1Nlsmy.js} +1 -1
- package/dist/dashboard/assets/{diagram-5BDNPKRD-BBYcDW2Z.js → diagram-5BDNPKRD-DnoJFRqR.js} +1 -1
- package/dist/dashboard/assets/{diagram-G4DWMVQ6-BxHxugdp.js → diagram-G4DWMVQ6-CF1_jTNI.js} +1 -1
- package/dist/dashboard/assets/{diagram-MMDJMWI5-C9Jc19Wo.js → diagram-MMDJMWI5-D4-bZZEt.js} +1 -1
- package/dist/dashboard/assets/{diagram-TYMM5635-Vmo5GAAU.js → diagram-TYMM5635-al8RqVgf.js} +1 -1
- package/dist/dashboard/assets/{erDiagram-SMLLAGMA-pskr9x-V.js → erDiagram-SMLLAGMA-MEcC0rwO.js} +1 -1
- package/dist/dashboard/assets/{flowDiagram-DWJPFMVM-B1D7Ky0W.js → flowDiagram-DWJPFMVM-DCLyNpW8.js} +1 -1
- package/dist/dashboard/assets/{ganttDiagram-T4ZO3ILL-BVJZZV1M.js → ganttDiagram-T4ZO3ILL-DfEvbbJK.js} +1 -1
- package/dist/dashboard/assets/{gitGraphDiagram-UUTBAWPF-BiOGN6We.js → gitGraphDiagram-UUTBAWPF-C_YozdVL.js} +1 -1
- package/dist/dashboard/assets/{graph-D58deEXr.js → graph-DpIXS1G1.js} +1 -1
- package/dist/dashboard/assets/index-Bo5CUa_M.js +480 -0
- package/dist/dashboard/assets/index-DrqurW1c.css +1 -0
- package/dist/dashboard/assets/{infoDiagram-42DDH7IO-DgJYg1X1.js → infoDiagram-42DDH7IO-AdT6kjzj.js} +1 -1
- package/dist/dashboard/assets/{ishikawaDiagram-UXIWVN3A-arJgr-8P.js → ishikawaDiagram-UXIWVN3A-B0_9IZVO.js} +1 -1
- package/dist/dashboard/assets/{journeyDiagram-VCZTEJTY-B3DCvb8p.js → journeyDiagram-VCZTEJTY-BveNBswQ.js} +1 -1
- package/dist/dashboard/assets/{kanban-definition-6JOO6SKY-B--dN6Ma.js → kanban-definition-6JOO6SKY-CFI8j4jR.js} +1 -1
- package/dist/dashboard/assets/{layout-z2qEbZWC.js → layout-DI7XjZy1.js} +1 -1
- package/dist/dashboard/assets/{linear-BQu1dwrM.js → linear-CSjp56iw.js} +1 -1
- package/dist/dashboard/assets/{min-DkF5b2sh.js → min-pAGUJmEC.js} +1 -1
- package/dist/dashboard/assets/{mindmap-definition-QFDTVHPH-Bw04koyq.js → mindmap-definition-QFDTVHPH-C2mBnknr.js} +1 -1
- package/dist/dashboard/assets/{pieDiagram-DEJITSTG-vNqz64o8.js → pieDiagram-DEJITSTG-i_phWDqD.js} +1 -1
- package/dist/dashboard/assets/{quadrantDiagram-34T5L4WZ-TuVP5Gi6.js → quadrantDiagram-34T5L4WZ-Dv7TGJjw.js} +1 -1
- package/dist/dashboard/assets/{requirementDiagram-MS252O5E-D3mS8_ke.js → requirementDiagram-MS252O5E-CB2Jl-O5.js} +1 -1
- package/dist/dashboard/assets/{sankeyDiagram-XADWPNL6-BmVRers6.js → sankeyDiagram-XADWPNL6-DxCoN-EI.js} +1 -1
- package/dist/dashboard/assets/{sequenceDiagram-FGHM5R23-CTYCgk5P.js → sequenceDiagram-FGHM5R23-BeZyaehJ.js} +1 -1
- package/dist/dashboard/assets/{stateDiagram-FHFEXIEX-DNbP2aCg.js → stateDiagram-FHFEXIEX-D3AjQzD1.js} +1 -1
- package/dist/dashboard/assets/stateDiagram-v2-QKLJ7IA2-Ci9v--xK.js +1 -0
- package/dist/dashboard/assets/{timeline-definition-GMOUNBTQ-DKHJd4z8.js → timeline-definition-GMOUNBTQ-3l_8RFUg.js} +1 -1
- package/dist/dashboard/assets/{vennDiagram-DHZGUBPP-ChotNMNq.js → vennDiagram-DHZGUBPP-2QiY25JD.js} +1 -1
- package/dist/dashboard/assets/{wardley-RL74JXVD-Dmo2_ksP.js → wardley-RL74JXVD-DNLmFofz.js} +1 -1
- package/dist/dashboard/assets/{wardleyDiagram-NUSXRM2D-Z6Wbiv2H.js → wardleyDiagram-NUSXRM2D-BI0tupiS.js} +1 -1
- package/dist/dashboard/assets/{xychartDiagram-5P7HB3ND-BJa0AHtN.js → xychartDiagram-5P7HB3ND-CghXPE7_.js} +1 -1
- package/dist/dashboard/index.html +2 -2
- package/dist/dashboard/media/README.md +29 -0
- package/dist/dashboard/media/brain-hero.png +0 -0
- package/dist/dashboard/media/brain.mp4 +0 -0
- package/dist/dashboard/media/brain.webm +0 -0
- package/dist/dashboard/media/shot-disabled.png +0 -0
- package/dist/dashboard/media/shot-enabled.png +0 -0
- package/dist/index.js +3352 -2035
- package/dist/skill-packs/catalog.json +44 -0
- package/dist/skill-packs/excalidraw/SKILL.md +202 -0
- package/dist/skill-packs/excalidraw/examples/hello.spec.json +14 -0
- package/dist/skill-packs/excalidraw/examples/sample.png +0 -0
- package/dist/skill-packs/excalidraw/examples/style_board.js +31 -0
- package/dist/skill-packs/excalidraw/package.json +5 -0
- package/dist/skill-packs/excalidraw/reference/format.md +93 -0
- package/dist/skill-packs/excalidraw/scripts/build_excalidraw.js +357 -0
- package/dist/skill-packs/excalidraw/scripts/lib/fractional-indexing.LICENSE +121 -0
- package/dist/skill-packs/excalidraw/scripts/lib/fractional-indexing.js +311 -0
- package/dist/skill-packs/excalidraw/scripts/lib/imagesize.js +65 -0
- package/dist/skill-packs/excalidraw/scripts/lib/style.js +130 -0
- package/dist/skill-packs/video-watching/SKILL.md +192 -0
- package/dist/skill-packs/video-watching/scripts/build_frame_index.py +146 -0
- package/dist/skill-packs/video-watching/scripts/transcribe.sh +229 -0
- package/dist/templates/init/data-structures/default.md +26 -24
- package/package.json +4 -2
- package/skill/SKILL.md +31 -12
- package/skill-packs/catalog.json +44 -0
- package/skill-packs/excalidraw/SKILL.md +202 -0
- package/skill-packs/excalidraw/examples/hello.spec.json +14 -0
- package/skill-packs/excalidraw/examples/sample.png +0 -0
- package/skill-packs/excalidraw/examples/style_board.js +31 -0
- package/skill-packs/excalidraw/package.json +5 -0
- package/skill-packs/excalidraw/reference/format.md +93 -0
- package/skill-packs/excalidraw/scripts/build_excalidraw.js +357 -0
- package/skill-packs/excalidraw/scripts/lib/fractional-indexing.LICENSE +121 -0
- package/skill-packs/excalidraw/scripts/lib/fractional-indexing.js +311 -0
- package/skill-packs/excalidraw/scripts/lib/imagesize.js +65 -0
- package/skill-packs/excalidraw/scripts/lib/style.js +130 -0
- package/skill-packs/video-watching/SKILL.md +192 -0
- package/skill-packs/video-watching/scripts/build_frame_index.py +146 -0
- package/skill-packs/video-watching/scripts/transcribe.sh +229 -0
- package/dist/dashboard/assets/channel-CbuTKKsM.js +0 -1
- package/dist/dashboard/assets/classDiagram-6PBFFD2Q-HXl3A_sM.js +0 -1
- package/dist/dashboard/assets/classDiagram-v2-HSJHXN6E-HXl3A_sM.js +0 -1
- package/dist/dashboard/assets/clone-NKHOtdi8.js +0 -1
- package/dist/dashboard/assets/index-DK_2-eWY.css +0 -1
- package/dist/dashboard/assets/index-Ds-JXWtr.js +0 -476
- package/dist/dashboard/assets/stateDiagram-v2-QKLJ7IA2-CfN6kjo8.js +0 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,201 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or Derivative
|
|
95
|
+
Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work, excluding
|
|
103
|
+
those notices that do not pertain to any part of the Derivative
|
|
104
|
+
Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and do
|
|
117
|
+
not modify the License. You may add Your own attribution notices
|
|
118
|
+
within Derivative Works that You distribute, alongside or as an
|
|
119
|
+
addendum to the NOTICE text from the Work, provided that such
|
|
120
|
+
additional attribution notices cannot be construed as modifying
|
|
121
|
+
the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Mehmet Nuraydin
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
dreamcontext
|
|
2
|
+
Copyright 2026 Mehmet Nuraydin
|
|
3
|
+
|
|
4
|
+
This product is licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
|
|
6
|
+
"dreamcontext" — the name, logo, and brand — is a trademark of Mehmet Nuraydin.
|
|
7
|
+
The Apache License does not grant rights to use these marks; see TRADEMARK.md.
|
package/README.md
CHANGED
|
@@ -25,6 +25,14 @@
|
|
|
25
25
|
<a href="DEEP-DIVE.md">Deep Dive</a>
|
|
26
26
|
</p>
|
|
27
27
|
|
|
28
|
+
<p align="center">
|
|
29
|
+
<img src="public/image/landing-hero.png" alt="dreamcontext — the persistent brain for your AI agents" width="860" />
|
|
30
|
+
</p>
|
|
31
|
+
|
|
32
|
+
<p align="center">
|
|
33
|
+
<sub>The built-in <strong>“What is this?”</strong> page, served live by <code>dreamcontext dashboard</code>.</sub>
|
|
34
|
+
</p>
|
|
35
|
+
|
|
28
36
|
> **Under active development.** APIs and commands may change before v1.0.
|
|
29
37
|
|
|
30
38
|
---
|
|
@@ -56,13 +64,22 @@ And every session starts from scratch. Your agent greps for a decision it alread
|
|
|
56
64
|
|
|
57
65
|
## How It Works
|
|
58
66
|
|
|
67
|
+
Every session, a hook pre-loads your project's whole brain — identity, decisions, active work, the knowledge index — into the agent with **zero tool calls**. It works with the full picture instead of re-discovering it; a multi-agent **RemSleep** cycle then consolidates what changed and feeds it back. (This is the same diagram the built-in **“What is this?”** page animates live.)
|
|
68
|
+
|
|
69
|
+
<p align="center">
|
|
70
|
+
<img src="public/image/diagram-howitworks.png" alt="A SessionStart hook fans out into eight context categories — soul, user, memory, knowledge, state, data-structures, skills, sub-agents — that converge into the agent; RemSleep parallel specialists consolidate and feed back" width="820" />
|
|
71
|
+
</p>
|
|
72
|
+
|
|
73
|
+
<details>
|
|
74
|
+
<summary><strong>Full data-flow diagram</strong> — capture → store → inject</summary>
|
|
75
|
+
|
|
59
76
|
```mermaid
|
|
60
77
|
flowchart LR
|
|
61
78
|
subgraph capture ["Capture"]
|
|
62
79
|
STOP["Stop Hook\n(session ends)"]
|
|
63
80
|
POSTTOOL["PostToolUse Hook\n(auto-format + tsc)"]
|
|
64
81
|
BOOKMARK["Bookmarks\n(awake ripples)"]
|
|
65
|
-
SLEEP["RemSleep
|
|
82
|
+
SLEEP["RemSleep cycle\n(3 specialists)"]
|
|
66
83
|
HUMAN["You\n(edit files or dashboard)"]
|
|
67
84
|
end
|
|
68
85
|
|
|
@@ -101,12 +118,21 @@ flowchart LR
|
|
|
101
118
|
SNAPSHOT --> AGENT
|
|
102
119
|
```
|
|
103
120
|
|
|
121
|
+
</details>
|
|
122
|
+
|
|
104
123
|
- **Seven hooks capture context automatically.** Stop hook records what happened. SessionStart injects everything before the first message. SubagentStart briefs sub-agents. PreToolUse blocks blind exploration when curated context exists. UserPromptSubmit reminds about sleep debt on every user message. PostToolUse auto-formats and type-checks edited files. PreCompact saves state before context compaction.
|
|
105
124
|
- **Bookmarks tag important moments.** During active work, the agent bookmarks decisions, constraints, and discoveries with salience levels. Critical bookmarks trigger immediate consolidation advisories.
|
|
106
125
|
- **Files are structured by purpose.** Identity, preferences, decisions, knowledge, and active work each live in their own file with their own format.
|
|
107
|
-
- **Sleep cycles consolidate knowledge.** A RemSleep agent reads bookmarks first, distills transcripts for high-signal content, extracts recurring patterns, promotes learnings, creates contextual triggers, cleans stale entries, and resets debt.
|
|
126
|
+
- **Sleep cycles consolidate knowledge.** A RemSleep cycle — the agent fanning out to three specialist sub-agents in parallel — reads bookmarks first, distills transcripts for high-signal content, extracts recurring patterns, promotes learnings, creates contextual triggers, cleans stale entries, and resets debt.
|
|
108
127
|
- **Everything is local markdown and JSON.** Readable, editable, git-tracked, owned by you.
|
|
109
128
|
|
|
129
|
+
<p align="center">
|
|
130
|
+
<img src="public/image/diagram-sleep.png" alt="Sleep consolidation: accumulated debt triggers sleep start, which fans out to three parallel specialists — sleep-tasks, sleep-state, sleep-product — whose reports converge into one updated summary, then sleep done resets the debt" width="660" />
|
|
131
|
+
</p>
|
|
132
|
+
<p align="center">
|
|
133
|
+
<sub><strong>Sleep consolidation</strong> — when debt crosses a threshold, three specialists fold what changed back into the brain in parallel, then the meter resets.</sub>
|
|
134
|
+
</p>
|
|
135
|
+
|
|
110
136
|
## Quick Start
|
|
111
137
|
|
|
112
138
|
```bash
|
|
@@ -124,17 +150,33 @@ npm install -g dreamcontext
|
|
|
124
150
|
> Requires **Node.js >= 18**. Currently supports **Claude Code** and **Codex**.
|
|
125
151
|
|
|
126
152
|
```bash
|
|
127
|
-
#
|
|
153
|
+
# One-shot setup — scaffolds _dream_context/, installs the skill, agents,
|
|
154
|
+
# hooks, and root instructions, and prompts for optional skill packs.
|
|
155
|
+
dreamcontext setup
|
|
156
|
+
|
|
157
|
+
# Scriptable / non-interactive (explicit platforms, skip all prompts)
|
|
158
|
+
dreamcontext setup --platforms claude,codex --defaults
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
One command. Next session, the hook fires, context loads, and the agent is ready.
|
|
162
|
+
|
|
163
|
+
> **`setup` is the front door** — it runs init + install-skill + install-instructions in one step and tracks every file it writes in a manifest. The individual commands below still exist for advanced/scripted use, but `setup` is what you want on a new project.
|
|
164
|
+
|
|
165
|
+
<details>
|
|
166
|
+
<summary>Advanced: run the steps individually</summary>
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
# Scaffold the context structure only (does NOT install the agent integration)
|
|
128
170
|
dreamcontext init
|
|
129
171
|
|
|
130
|
-
#
|
|
172
|
+
# Install platform integration (multi-select prompt; defaults to Claude)
|
|
131
173
|
dreamcontext install-skill
|
|
132
|
-
|
|
133
|
-
# Explicit platform selection (comma-separated)
|
|
134
174
|
dreamcontext install-skill --platforms claude,codex
|
|
135
175
|
```
|
|
136
176
|
|
|
137
|
-
|
|
177
|
+
`dreamcontext init` on its own leaves you without `.claude/` skills, agents, and hooks — your agent won't load the context until you also run `install-skill` (or just use `setup`). When run interactively, `init` now offers to finish the install for you.
|
|
178
|
+
|
|
179
|
+
</details>
|
|
138
180
|
|
|
139
181
|
### Interactive mode
|
|
140
182
|
|
|
@@ -151,12 +193,13 @@ your-project/
|
|
|
151
193
|
│ │ ├── 2.memory.md # Decisions & known issues
|
|
152
194
|
│ │ ├── 3.style_guide_and_branding.md
|
|
153
195
|
│ │ ├── 4.tech_stack.md # Tech decisions
|
|
154
|
-
│ │ ├── 5.data_structures.sql
|
|
155
196
|
│ │ ├── 6.system_flow.md # Session lifecycle, data flows
|
|
156
197
|
│ │ ├── CHANGELOG.json
|
|
157
198
|
│ │ ├── RELEASES.json
|
|
158
199
|
│ │ └── features/ # Feature PRDs
|
|
159
200
|
│ ├── knowledge/ # Tagged docs (index in snapshot)
|
|
201
|
+
│ │ ├── data-structures/ # Schema files (SQL-fenced, highlighted)
|
|
202
|
+
│ │ │ └── default.md # single-product; one per product if monorepo
|
|
160
203
|
│ │ └── *.md # pinned: true → auto-loaded in full
|
|
161
204
|
│ └── state/ # Active tasks + working state
|
|
162
205
|
│ ├── *.md # Active task files
|
|
@@ -169,8 +212,10 @@ your-project/
|
|
|
169
212
|
│ ├── agents/
|
|
170
213
|
│ │ ├── dreamcontext-initializer.md
|
|
171
214
|
│ │ ├── dreamcontext-explore.md
|
|
172
|
-
│ │
|
|
173
|
-
│
|
|
215
|
+
│ │ ├── sleep-tasks.md # RemSleep specialists —
|
|
216
|
+
│ │ ├── sleep-state.md # the agent fans out to
|
|
217
|
+
│ │ └── sleep-product.md # these in parallel
|
|
218
|
+
│ └── settings.json # 7 hooks (see Commands → System)
|
|
174
219
|
```
|
|
175
220
|
|
|
176
221
|
### Opening the context directory in Obsidian
|
|
@@ -229,6 +274,8 @@ dreamcontext install-skill --list
|
|
|
229
274
|
| **business-idea-validation** | Demand testing via landing page + waitlist, quick validation loops |
|
|
230
275
|
| **meta-marketing** | Meta / Facebook / Instagram ad campaigns end to end |
|
|
231
276
|
| **system-prompts** | Prompt engineering, cognitive architecture, agent design |
|
|
277
|
+
| **excalidraw** | Lay out images, labels, shapes, arrows, frames, and lanes on an Obsidian Excalidraw board from a small JSON spec — renders deterministically at near-zero token cost |
|
|
278
|
+
| **video-watching** | Turn a video into a time-mapped transcript with on-screen visuals described inline (whisper.cpp + ffmpeg), then reason about it |
|
|
232
279
|
|
|
233
280
|
_Always-on_ packs apply their base principles to every relevant task; the rest load only when the work matches. Packs install to platform-specific paths — Claude: `.claude/skills/{pack}/` (+ agents in `.claude/agents/`); Codex: `.agents/skills/{pack}/` (+ agents in `.codex/agents/`). Cross-pack dependencies are warned at install time.
|
|
234
281
|
|
|
@@ -260,6 +307,15 @@ dreamcontext dashboard --no-open # Start without opening browser
|
|
|
260
307
|
|
|
261
308
|
A local web UI for managing agent context visually. Built with React 19, served by a zero-dependency Node HTTP server. Ships in the npm package.
|
|
262
309
|
|
|
310
|
+
It also ships a built-in **“What is this?”** explainer page — a full landing experience with a spotlight that reveals each faculty's live diagram, and a layered map of how the brain is organized:
|
|
311
|
+
|
|
312
|
+
<p align="center">
|
|
313
|
+
<img src="public/image/landing-spotlight.png" alt="Feature spotlight — pick a faculty to see its live diagram" width="840" />
|
|
314
|
+
</p>
|
|
315
|
+
<p align="center">
|
|
316
|
+
<img src="public/image/landing-architecture.png" alt="Memory, organized like a mind — the layered brain-region map" width="840" />
|
|
317
|
+
</p>
|
|
318
|
+
|
|
263
319
|
<table>
|
|
264
320
|
<tr>
|
|
265
321
|
<td width="50%">
|
|
@@ -342,6 +398,10 @@ Ships with two sub-agents (`council-persona`, `council-synthesizer`) and a dedic
|
|
|
342
398
|
|
|
343
399
|
Recall and remember across your project's curated context. BM25 ranking over knowledge files, feature PRDs, task files, `2.memory.md` sections, and `CHANGELOG.json` entries — deterministic, instant, no setup.
|
|
344
400
|
|
|
401
|
+
<p align="center">
|
|
402
|
+
<img src="public/image/diagram-recall.png" alt="Memory recall pipeline: your prompt → BM25F keyword match (field-weighted, stemming, synonyms) → Haiku recall (smallest cloud agent, 0-3 docs, BM25 fallback) → SessionStart snapshot (warm + cold knowledge, features, index, pinned)" width="860" />
|
|
403
|
+
</p>
|
|
404
|
+
|
|
345
405
|
```bash
|
|
346
406
|
# Ask a question, get top-5 hits with snippets
|
|
347
407
|
dreamcontext memory recall "how did we decide on the sleep fan-out"
|
|
@@ -480,7 +540,7 @@ dreamcontext sleep debt # Raw number (for scripts)
|
|
|
480
540
|
dreamcontext transcript distill <session_id> # Structural filter of session transcript
|
|
481
541
|
```
|
|
482
542
|
|
|
483
|
-
Extracts high-signal content from raw JSONL transcripts: user messages, agent decisions, code changes, errors, bookmarks. Discards noise (Read results, Glob output, tool metadata). Pure Node.js, no AI. Used by the RemSleep
|
|
543
|
+
Extracts high-signal content from raw JSONL transcripts: user messages, agent decisions, code changes, errors, bookmarks. Discards noise (Read results, Glob output, tool metadata). Pure Node.js, no AI. Used by the RemSleep specialists for selective deep analysis of important sessions.
|
|
484
544
|
|
|
485
545
|
### Council
|
|
486
546
|
|
|
@@ -545,7 +605,7 @@ dreamcontext install-claude-md # Legacy alias: CLAUDE.md only
|
|
|
545
605
|
|
|
546
606
|
## Works With
|
|
547
607
|
|
|
548
|
-
- **Claude Code**: full support via skill,
|
|
608
|
+
- **Claude Code**: full support via skill, 5 core sub-agents (initializer, explore, and the three RemSleep specialists — sleep-tasks, sleep-state, sleep-product), 7 hooks, plus optional pack sub-agents (council persona/synthesizer, multi-review specialists, goal-skill orchestrators)
|
|
549
609
|
- **Codex**: project-level skills (`.agents/skills`), managed `AGENTS.md`, native `.codex/agents/*.toml`, and managed `.codex/config.toml` hooks (best-effort parity where event semantics differ)
|
|
550
610
|
- **Web Dashboard**: local UI with Kanban, Core editor, Knowledge, Features, Brain graph, Sleep tracker, and Council Hall (ships in the package)
|
|
551
611
|
- **Obsidian**: `_dream_context/` can be opened as an Obsidian vault; the directory is scaffolded with curated vault settings at `dreamcontext init` time
|
|
@@ -554,7 +614,13 @@ More agents coming soon.
|
|
|
554
614
|
|
|
555
615
|
## License
|
|
556
616
|
|
|
557
|
-
|
|
617
|
+
[Apache License 2.0](./LICENSE) — a permissive open-source license. You may use,
|
|
618
|
+
modify, distribute, and sell the code, and build commercial products on it.
|
|
619
|
+
Apache 2.0 also grants an explicit patent license and protects the project's
|
|
620
|
+
trademarks (the **dreamcontext** name and brand are *not* part of the code grant
|
|
621
|
+
— see [TRADEMARK.md](./TRADEMARK.md): fork freely, but ship it under your own
|
|
622
|
+
name). Contributions are accepted under Apache 2.0 with a DCO sign-off — see
|
|
623
|
+
[CONTRIBUTING.md](./CONTRIBUTING.md).
|
|
558
624
|
|
|
559
625
|
## Acknowledgements
|
|
560
626
|
|
package/agents/sleep-product.md
CHANGED
|
@@ -54,8 +54,9 @@ If none apply when you start, no-op cheaply: read the brief, scan for actual sig
|
|
|
54
54
|
| You touch | You don't touch |
|
|
55
55
|
|---|---|
|
|
56
56
|
| `_dream_context/knowledge/*.md` (create + edit) | core 0-6 files (sleep-state owns) |
|
|
57
|
-
| `_dream_context/
|
|
58
|
-
| `
|
|
57
|
+
| `_dream_context/knowledge/data-structures/<product>.md` (schemas, models, API contracts) | task files (sleep-tasks owns) |
|
|
58
|
+
| `_dream_context/core/features/*.md` (create + edit) | changelog, releases (sleep-state owns) |
|
|
59
|
+
| `dreamcontext knowledge create --tags "..."` | |
|
|
59
60
|
| `dreamcontext features create <name>` | |
|
|
60
61
|
| `dreamcontext features insert <name> <section>` | |
|
|
61
62
|
| Frontmatter: `pinned`, `status`, `updated`, `released_version`, `related_tasks` | |
|
|
@@ -167,7 +168,7 @@ For each knowledge candidate (research finding, sleep-state flag, extracted over
|
|
|
167
168
|
|
|
168
169
|
| Signal | Action |
|
|
169
170
|
|---|---|
|
|
170
|
-
| New research or decision worth long-term retention | `dreamcontext knowledge create <slug> --tags "<tag1>,<tag2>"`
|
|
171
|
+
| New research or decision worth long-term retention | Decide create-vs-extend per **B2's consolidation rubric** first, then `dreamcontext knowledge create <slug> --tags "<tag1>,<tag2>"` and Edit body — *or* extend an existing file |
|
|
171
172
|
| Existing knowledge file gained new findings | Edit the file; update frontmatter `summary:` if drifted |
|
|
172
173
|
| `sleep-state` flagged stale-archival candidate | Read the file; if no longer load-bearing, append to a top-level `archive/` knowledge file or set `archived: true` in frontmatter (per project convention) |
|
|
173
174
|
| `sleep-state` flagged frequent-access-not-pinned | Edit frontmatter: `pinned: true` |
|
|
@@ -175,9 +176,29 @@ For each knowledge candidate (research finding, sleep-state flag, extracted over
|
|
|
175
176
|
| Overflow extracted from core file (one-line reference left there) | `dreamcontext knowledge create <slug>` and paste the extracted content |
|
|
176
177
|
| Cross-cutting finding from your own features pass | Capture inline (no need to flag — you own both domains this cycle) |
|
|
177
178
|
|
|
178
|
-
#### B2. Create
|
|
179
|
+
#### B2. Create vs. extend — the consolidation rubric
|
|
179
180
|
|
|
180
|
-
**
|
|
181
|
+
**A knowledge file is a tag-able identity, not a dumping ground.** Aim for the *fewest* files that keep each topic cleanly findable. Fragmenting one topic across many near-duplicate slugs makes tags noisy and recall worse; cramming unrelated topics into one super-file makes tags meaningless. Pick the boundary on purpose.
|
|
182
|
+
|
|
183
|
+
**Dedup first — recall by the topic AND by its family** (vertical / brand / parent domain), not just the exact phrase:
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
dreamcontext memory recall "<topic>" --types knowledge,feature
|
|
187
|
+
dreamcontext memory recall "<vertical / brand / parent domain>" --types knowledge,feature
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
Then decide — **default to extending an existing file**:
|
|
191
|
+
|
|
192
|
+
| The finding is… | Action |
|
|
193
|
+
|---|---|
|
|
194
|
+
| The **same vertical / brand / topic family** as an existing file, or a sub-aspect / increment / follow-up of a topic already covered (a *soft* distinction) | **Extend that file** — add a section, update `summary:` if it drifted. Don't fork a near-duplicate slug. Similar brands, similar verticals, similar topics belong together in the fewest files. |
|
|
195
|
+
| A **genuinely separate topic / domain / concern** a future session would expect to find standing alone, where its own tag set sharpens discovery (a *sharp* distinction) | **Create a new file** (below). A clean topical boundary earns its own slug so tagging stays valuable. |
|
|
196
|
+
|
|
197
|
+
The test for sharp-vs-soft: *Would a future recall expect this bundled with the existing file, or standing on its own? Would a separate file make the tag set more discriminating — or just split one topic across two slugs?* If splitting wouldn't sharpen the tags, extend.
|
|
198
|
+
|
|
199
|
+
This is **not** "always make super-files." Distinct topics MUST get distinct files — that's exactly what makes tags worth having. It's the *soft* distinctions (same family, narrower slice, incremental finding) that fold into an existing file.
|
|
200
|
+
|
|
201
|
+
**When the rubric says create:**
|
|
181
202
|
|
|
182
203
|
```bash
|
|
183
204
|
dreamcontext knowledge create "<descriptive-slug>" \
|
|
@@ -230,6 +251,22 @@ Product-scoped knowledge. Cross-cutting findings still go to top-level `knowledg
|
|
|
230
251
|
|
|
231
252
|
This is a one-time bootstrap per product; once the file exists, treat it like any other knowledge file (edit on demand, don't recreate).
|
|
232
253
|
|
|
254
|
+
#### B6. Data structures (schemas / models / API contracts)
|
|
255
|
+
|
|
256
|
+
Data structures live at `knowledge/data-structures/<product>.md` (`default.md` for single-product). They moved here from `core/` because schemas ARE domain knowledge — this gives them recall indexing, staleness flags, and the knowledge UI for free. **You own these writes now** (sleep-state only flags them for you).
|
|
257
|
+
|
|
258
|
+
**Single-observation gate.** Unlike most knowledge (which waits for repetition), a schema/data-model change is reflected in the *same* cycle — no pattern repetition required. If `sleep-state` flagged a schema/table/model change, or the diff shows one, write it now.
|
|
259
|
+
|
|
260
|
+
**Routing.**
|
|
261
|
+
- Active task has `product: X` → `knowledge/data-structures/X.md` (create if missing).
|
|
262
|
+
- Otherwise (single-product) → `knowledge/data-structures/default.md`.
|
|
263
|
+
- Frontmatter: `type: data-structures`, `product: <name>`, `tags: [data-structures, database, schema]` (add domain tags as relevant).
|
|
264
|
+
|
|
265
|
+
**Migration of the old locations** (idempotent; the dir move runs automatically on `dreamcontext sleep start`, but confirm + handle the legacy file):
|
|
266
|
+
- If `core/data-structures/*.md` still exists and the knowledge copy is absent, it was (or should be) moved to `knowledge/data-structures/` — the `sleep start` migration handles this. Verify it landed.
|
|
267
|
+
- If the even-older `core/5.data_structures.sql` exists and `knowledge/data-structures/default.md` does not, copy it there (add the data-structures frontmatter) — don't delete the legacy file.
|
|
268
|
+
- **Never delete** the old `core/data-structures/` dir or the legacy `.sql` yourself — leave them for the user to remove after confirming (the `doctor` command nags about both). Note any migration in your report.
|
|
269
|
+
|
|
233
270
|
## Return — single combined report
|
|
234
271
|
|
|
235
272
|
```
|
|
@@ -247,8 +284,8 @@ This is a one-time bootstrap per product; once the file exists, treat it like an
|
|
|
247
284
|
- No-op feature signals: 1 (signal "feature_advanced=marketing-dashboard-v0" — but PRD exists and no criteria moved)
|
|
248
285
|
|
|
249
286
|
### Knowledge
|
|
250
|
-
- Created: knowledge/jwt-rotation-policy.md (tags: security, decisions; from sleep-state flag)
|
|
251
|
-
-
|
|
287
|
+
- Created: knowledge/jwt-rotation-policy.md (tags: security, decisions; from sleep-state flag) — sharp boundary, new tag-able topic
|
|
288
|
+
- Extended (no new file): knowledge/competitive-analysis-ecc.md — folded the new ECC pricing finding into the existing file (soft distinction, same topic family) instead of forking a near-duplicate slug; updated `summary:`
|
|
252
289
|
- Pinned: knowledge/project-origin-and-prd.md (frequently accessed)
|
|
253
290
|
- Archived: 0
|
|
254
291
|
- No-op knowledge signals: 1 (`research_present` was a one-line decision already captured by sleep-state in 2.memory.md — not knowledge-worthy)
|
|
@@ -263,6 +300,7 @@ This is a one-time bootstrap per product; once the file exists, treat it like an
|
|
|
263
300
|
5. **Create PRDs for buildable concepts** that don't have one — they will be lost otherwise.
|
|
264
301
|
6. **Don't create knowledge that already fits in memory.** A short technical decision belongs in `2.memory.md` (sleep-state's domain), not its own knowledge file.
|
|
265
302
|
7. **Knowledge file threshold**: ≥3 paragraphs of content, or material that will be re-read in future sessions.
|
|
266
|
-
8. **
|
|
267
|
-
9. **
|
|
268
|
-
10. **
|
|
303
|
+
8. **Fewest files, sharp boundaries (B2 rubric).** Default to extending an existing file. Fold soft distinctions in — same vertical/brand/topic family, a narrower slice, an increment. Create a new file only for a genuinely separate topic whose own tags sharpen discovery. Not super-files, not fragmentation.
|
|
304
|
+
9. **Use standard tags only.** New tags fragment discovery.
|
|
305
|
+
10. **Process all flags from sleep-state** in your report — don't silently drop them.
|
|
306
|
+
11. **No-op cheaply** when signals don't actually warrant work.
|