dreamcontext 0.5.3 → 0.6.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 +77 -12
- package/agents/dreamcontext-explore.md +1 -1
- package/agents/sleep-product.md +29 -8
- package/agents/sleep-tasks.md +44 -9
- package/dist/agents/dreamcontext-explore.md +1 -1
- package/dist/agents/sleep-product.md +29 -8
- package/dist/agents/sleep-tasks.md +44 -9
- package/dist/dashboard/assets/{BrainCanvas3D-1HMiA14F.js → BrainCanvas3D-LLqVeXtb.js} +1 -1
- package/dist/dashboard/assets/{_baseUniq-C7pfRmXz.js → _baseUniq-DW0uA0ty.js} +1 -1
- package/dist/dashboard/assets/{arc-B5x_GF9Q.js → arc-fVUGtlbL.js} +1 -1
- package/dist/dashboard/assets/{architectureDiagram-Q4EWVU46-CWmjaqno.js → architectureDiagram-Q4EWVU46-Dz2PKBsS.js} +1 -1
- package/dist/dashboard/assets/{blockDiagram-DXYQGD6D-B7SyUIdV.js → blockDiagram-DXYQGD6D-ByWKxzhL.js} +1 -1
- package/dist/dashboard/assets/{c4Diagram-AHTNJAMY-OeJBWXHU.js → c4Diagram-AHTNJAMY-dpHsVM3D.js} +1 -1
- package/dist/dashboard/assets/channel-zrLwggBX.js +1 -0
- package/dist/dashboard/assets/{chunk-4BX2VUAB-2Oop1B0M.js → chunk-4BX2VUAB-HEXb6Yg5.js} +1 -1
- package/dist/dashboard/assets/{chunk-4TB4RGXK-Bh7qSu_X.js → chunk-4TB4RGXK-DeVy5g6H.js} +1 -1
- package/dist/dashboard/assets/{chunk-55IACEB6-gNeHRO_i.js → chunk-55IACEB6-DGy3ZgDZ.js} +1 -1
- package/dist/dashboard/assets/{chunk-EDXVE4YY-BRniAH53.js → chunk-EDXVE4YY-CYJehjz4.js} +1 -1
- package/dist/dashboard/assets/{chunk-FMBD7UC4-B5r8U2gJ.js → chunk-FMBD7UC4-DKTOmvgZ.js} +1 -1
- package/dist/dashboard/assets/{chunk-OYMX7WX6-Dd1c17fm.js → chunk-OYMX7WX6-mmtWyiDA.js} +1 -1
- package/dist/dashboard/assets/{chunk-QZHKN3VN-BIw-OdTn.js → chunk-QZHKN3VN-DSdV0iwY.js} +1 -1
- package/dist/dashboard/assets/{chunk-YZCP3GAM-Dl9MlwCW.js → chunk-YZCP3GAM-DbY-KoDn.js} +1 -1
- package/dist/dashboard/assets/classDiagram-6PBFFD2Q-BvejNiwH.js +1 -0
- package/dist/dashboard/assets/classDiagram-v2-HSJHXN6E-BvejNiwH.js +1 -0
- package/dist/dashboard/assets/clone-BFVdml6g.js +1 -0
- package/dist/dashboard/assets/{cose-bilkent-S5V4N54A-DlrROH5K.js → cose-bilkent-S5V4N54A-p0t1DY88.js} +1 -1
- package/dist/dashboard/assets/{dagre-KV5264BT-B0GpPXKL.js → dagre-KV5264BT-DYE0WzHM.js} +1 -1
- package/dist/dashboard/assets/{diagram-5BDNPKRD-BBYcDW2Z.js → diagram-5BDNPKRD-D9EiQCOP.js} +1 -1
- package/dist/dashboard/assets/{diagram-G4DWMVQ6-BxHxugdp.js → diagram-G4DWMVQ6-poDXSAfu.js} +1 -1
- package/dist/dashboard/assets/{diagram-MMDJMWI5-C9Jc19Wo.js → diagram-MMDJMWI5-CHZ7wgN1.js} +1 -1
- package/dist/dashboard/assets/{diagram-TYMM5635-Vmo5GAAU.js → diagram-TYMM5635-DVk6fYG7.js} +1 -1
- package/dist/dashboard/assets/{erDiagram-SMLLAGMA-pskr9x-V.js → erDiagram-SMLLAGMA-D2sqkGin.js} +1 -1
- package/dist/dashboard/assets/{flowDiagram-DWJPFMVM-B1D7Ky0W.js → flowDiagram-DWJPFMVM-DrMlKBYA.js} +1 -1
- package/dist/dashboard/assets/{ganttDiagram-T4ZO3ILL-BVJZZV1M.js → ganttDiagram-T4ZO3ILL-Cf4FbEFp.js} +1 -1
- package/dist/dashboard/assets/{gitGraphDiagram-UUTBAWPF-BiOGN6We.js → gitGraphDiagram-UUTBAWPF-BsbOq1C9.js} +1 -1
- package/dist/dashboard/assets/{graph-D58deEXr.js → graph-CUxxgCtS.js} +1 -1
- package/dist/dashboard/assets/index-CqSkXBSu.css +1 -0
- package/dist/dashboard/assets/index-flRpQtDj.js +476 -0
- package/dist/dashboard/assets/{infoDiagram-42DDH7IO-DgJYg1X1.js → infoDiagram-42DDH7IO-DTkMnZiD.js} +1 -1
- package/dist/dashboard/assets/{ishikawaDiagram-UXIWVN3A-arJgr-8P.js → ishikawaDiagram-UXIWVN3A-CahQ348K.js} +1 -1
- package/dist/dashboard/assets/{journeyDiagram-VCZTEJTY-B3DCvb8p.js → journeyDiagram-VCZTEJTY-BDY2Nslc.js} +1 -1
- package/dist/dashboard/assets/{kanban-definition-6JOO6SKY-B--dN6Ma.js → kanban-definition-6JOO6SKY-CgrwoTjI.js} +1 -1
- package/dist/dashboard/assets/{layout-z2qEbZWC.js → layout-IaUxkFkm.js} +1 -1
- package/dist/dashboard/assets/{linear-BQu1dwrM.js → linear-shc0iNFn.js} +1 -1
- package/dist/dashboard/assets/{min-DkF5b2sh.js → min-BIL7YgTN.js} +1 -1
- package/dist/dashboard/assets/{mindmap-definition-QFDTVHPH-Bw04koyq.js → mindmap-definition-QFDTVHPH-GmO0JRtA.js} +1 -1
- package/dist/dashboard/assets/{pieDiagram-DEJITSTG-vNqz64o8.js → pieDiagram-DEJITSTG-Bfm_toYA.js} +1 -1
- package/dist/dashboard/assets/{quadrantDiagram-34T5L4WZ-TuVP5Gi6.js → quadrantDiagram-34T5L4WZ-DIjTM3lm.js} +1 -1
- package/dist/dashboard/assets/{requirementDiagram-MS252O5E-D3mS8_ke.js → requirementDiagram-MS252O5E-B9AEoGYh.js} +1 -1
- package/dist/dashboard/assets/{sankeyDiagram-XADWPNL6-BmVRers6.js → sankeyDiagram-XADWPNL6-C_O5XLXm.js} +1 -1
- package/dist/dashboard/assets/{sequenceDiagram-FGHM5R23-CTYCgk5P.js → sequenceDiagram-FGHM5R23-CHSxSvmJ.js} +1 -1
- package/dist/dashboard/assets/{stateDiagram-FHFEXIEX-DNbP2aCg.js → stateDiagram-FHFEXIEX-B0URrhHw.js} +1 -1
- package/dist/dashboard/assets/stateDiagram-v2-QKLJ7IA2-FdAb9MBo.js +1 -0
- package/dist/dashboard/assets/{timeline-definition-GMOUNBTQ-DKHJd4z8.js → timeline-definition-GMOUNBTQ-CycU2gVC.js} +1 -1
- package/dist/dashboard/assets/{vennDiagram-DHZGUBPP-ChotNMNq.js → vennDiagram-DHZGUBPP-DcU2536G.js} +1 -1
- package/dist/dashboard/assets/{wardley-RL74JXVD-Dmo2_ksP.js → wardley-RL74JXVD-BWqqaX3S.js} +1 -1
- package/dist/dashboard/assets/{wardleyDiagram-NUSXRM2D-Z6Wbiv2H.js → wardleyDiagram-NUSXRM2D-CUnIHJgd.js} +1 -1
- package/dist/dashboard/assets/{xychartDiagram-5P7HB3ND-BJa0AHtN.js → xychartDiagram-5P7HB3ND-b9fcOYTj.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 +3408 -2051
- package/dist/skill-packs/catalog.json +44 -0
- package/dist/skill-packs/excalidraw/SKILL.md +123 -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 +151 -0
- package/dist/skill-packs/video-watching/scripts/build_frame_index.py +95 -0
- package/dist/skill-packs/video-watching/scripts/gap_fill.py +45 -0
- package/dist/skill-packs/video-watching/scripts/transcribe.sh +136 -0
- package/package.json +4 -2
- package/skill/SKILL.md +5 -0
- package/skill-packs/catalog.json +44 -0
- package/skill-packs/excalidraw/SKILL.md +123 -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 +151 -0
- package/skill-packs/video-watching/scripts/build_frame_index.py +95 -0
- package/skill-packs/video-watching/scripts/gap_fill.py +45 -0
- package/skill-packs/video-watching/scripts/transcribe.sh +136 -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
|
|
|
@@ -169,8 +211,10 @@ your-project/
|
|
|
169
211
|
│ ├── agents/
|
|
170
212
|
│ │ ├── dreamcontext-initializer.md
|
|
171
213
|
│ │ ├── dreamcontext-explore.md
|
|
172
|
-
│ │
|
|
173
|
-
│
|
|
214
|
+
│ │ ├── sleep-tasks.md # RemSleep specialists —
|
|
215
|
+
│ │ ├── sleep-state.md # the agent fans out to
|
|
216
|
+
│ │ └── sleep-product.md # these in parallel
|
|
217
|
+
│ └── settings.json # 7 hooks (see Commands → System)
|
|
174
218
|
```
|
|
175
219
|
|
|
176
220
|
### Opening the context directory in Obsidian
|
|
@@ -229,6 +273,8 @@ dreamcontext install-skill --list
|
|
|
229
273
|
| **business-idea-validation** | Demand testing via landing page + waitlist, quick validation loops |
|
|
230
274
|
| **meta-marketing** | Meta / Facebook / Instagram ad campaigns end to end |
|
|
231
275
|
| **system-prompts** | Prompt engineering, cognitive architecture, agent design |
|
|
276
|
+
| **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 |
|
|
277
|
+
| **video-watching** | Turn a video into a time-mapped transcript with on-screen visuals described inline (whisper.cpp + ffmpeg), then reason about it |
|
|
232
278
|
|
|
233
279
|
_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
280
|
|
|
@@ -260,6 +306,15 @@ dreamcontext dashboard --no-open # Start without opening browser
|
|
|
260
306
|
|
|
261
307
|
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
308
|
|
|
309
|
+
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:
|
|
310
|
+
|
|
311
|
+
<p align="center">
|
|
312
|
+
<img src="public/image/landing-spotlight.png" alt="Feature spotlight — pick a faculty to see its live diagram" width="840" />
|
|
313
|
+
</p>
|
|
314
|
+
<p align="center">
|
|
315
|
+
<img src="public/image/landing-architecture.png" alt="Memory, organized like a mind — the layered brain-region map" width="840" />
|
|
316
|
+
</p>
|
|
317
|
+
|
|
263
318
|
<table>
|
|
264
319
|
<tr>
|
|
265
320
|
<td width="50%">
|
|
@@ -342,6 +397,10 @@ Ships with two sub-agents (`council-persona`, `council-synthesizer`) and a dedic
|
|
|
342
397
|
|
|
343
398
|
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
399
|
|
|
400
|
+
<p align="center">
|
|
401
|
+
<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" />
|
|
402
|
+
</p>
|
|
403
|
+
|
|
345
404
|
```bash
|
|
346
405
|
# Ask a question, get top-5 hits with snippets
|
|
347
406
|
dreamcontext memory recall "how did we decide on the sleep fan-out"
|
|
@@ -480,7 +539,7 @@ dreamcontext sleep debt # Raw number (for scripts)
|
|
|
480
539
|
dreamcontext transcript distill <session_id> # Structural filter of session transcript
|
|
481
540
|
```
|
|
482
541
|
|
|
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
|
|
542
|
+
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
543
|
|
|
485
544
|
### Council
|
|
486
545
|
|
|
@@ -545,7 +604,7 @@ dreamcontext install-claude-md # Legacy alias: CLAUDE.md only
|
|
|
545
604
|
|
|
546
605
|
## Works With
|
|
547
606
|
|
|
548
|
-
- **Claude Code**: full support via skill,
|
|
607
|
+
- **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
608
|
- **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
609
|
- **Web Dashboard**: local UI with Kanban, Core editor, Knowledge, Features, Brain graph, Sleep tracker, and Council Hall (ships in the package)
|
|
551
610
|
- **Obsidian**: `_dream_context/` can be opened as an Obsidian vault; the directory is scaffolded with curated vault settings at `dreamcontext init` time
|
|
@@ -554,7 +613,13 @@ More agents coming soon.
|
|
|
554
613
|
|
|
555
614
|
## License
|
|
556
615
|
|
|
557
|
-
|
|
616
|
+
[Apache License 2.0](./LICENSE) — a permissive open-source license. You may use,
|
|
617
|
+
modify, distribute, and sell the code, and build commercial products on it.
|
|
618
|
+
Apache 2.0 also grants an explicit patent license and protects the project's
|
|
619
|
+
trademarks (the **dreamcontext** name and brand are *not* part of the code grant
|
|
620
|
+
— see [TRADEMARK.md](./TRADEMARK.md): fork freely, but ship it under your own
|
|
621
|
+
name). Contributions are accepted under Apache 2.0 with a DCO sign-off — see
|
|
622
|
+
[CONTRIBUTING.md](./CONTRIBUTING.md).
|
|
558
623
|
|
|
559
624
|
## Acknowledgements
|
|
560
625
|
|
|
@@ -121,7 +121,7 @@ No preamble. No emojis. Absolute paths only.
|
|
|
121
121
|
|
|
122
122
|
## Bash Restrictions
|
|
123
123
|
|
|
124
|
-
Use Bash ONLY for: `ls`, `git log`, `git diff`, `git show`, `git status`, `find`, `cat`, `head`, `tail`, `wc`, `pwd`
|
|
124
|
+
Use Bash ONLY for: `ls`, `git log`, `git diff`, `git show`, `git status`, `find`, `cat`, `head`, `tail`, `wc`, `pwd`, `dreamcontext memory recall`, `dreamcontext transcript distill`
|
|
125
125
|
NEVER use Bash for any command that modifies files or system state.
|
|
126
126
|
|
|
127
127
|
## Rules
|
package/agents/sleep-product.md
CHANGED
|
@@ -167,7 +167,7 @@ For each knowledge candidate (research finding, sleep-state flag, extracted over
|
|
|
167
167
|
|
|
168
168
|
| Signal | Action |
|
|
169
169
|
|---|---|
|
|
170
|
-
| New research or decision worth long-term retention | `dreamcontext knowledge create <slug> --tags "<tag1>,<tag2>"`
|
|
170
|
+
| 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
171
|
| Existing knowledge file gained new findings | Edit the file; update frontmatter `summary:` if drifted |
|
|
172
172
|
| `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
173
|
| `sleep-state` flagged frequent-access-not-pinned | Edit frontmatter: `pinned: true` |
|
|
@@ -175,9 +175,29 @@ For each knowledge candidate (research finding, sleep-state flag, extracted over
|
|
|
175
175
|
| Overflow extracted from core file (one-line reference left there) | `dreamcontext knowledge create <slug>` and paste the extracted content |
|
|
176
176
|
| Cross-cutting finding from your own features pass | Capture inline (no need to flag — you own both domains this cycle) |
|
|
177
177
|
|
|
178
|
-
#### B2. Create
|
|
178
|
+
#### B2. Create vs. extend — the consolidation rubric
|
|
179
179
|
|
|
180
|
-
**
|
|
180
|
+
**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.
|
|
181
|
+
|
|
182
|
+
**Dedup first — recall by the topic AND by its family** (vertical / brand / parent domain), not just the exact phrase:
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
dreamcontext memory recall "<topic>" --types knowledge,feature
|
|
186
|
+
dreamcontext memory recall "<vertical / brand / parent domain>" --types knowledge,feature
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Then decide — **default to extending an existing file**:
|
|
190
|
+
|
|
191
|
+
| The finding is… | Action |
|
|
192
|
+
|---|---|
|
|
193
|
+
| 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. |
|
|
194
|
+
| 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. |
|
|
195
|
+
|
|
196
|
+
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.
|
|
197
|
+
|
|
198
|
+
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.
|
|
199
|
+
|
|
200
|
+
**When the rubric says create:**
|
|
181
201
|
|
|
182
202
|
```bash
|
|
183
203
|
dreamcontext knowledge create "<descriptive-slug>" \
|
|
@@ -247,8 +267,8 @@ This is a one-time bootstrap per product; once the file exists, treat it like an
|
|
|
247
267
|
- No-op feature signals: 1 (signal "feature_advanced=marketing-dashboard-v0" — but PRD exists and no criteria moved)
|
|
248
268
|
|
|
249
269
|
### Knowledge
|
|
250
|
-
- Created: knowledge/jwt-rotation-policy.md (tags: security, decisions; from sleep-state flag)
|
|
251
|
-
-
|
|
270
|
+
- Created: knowledge/jwt-rotation-policy.md (tags: security, decisions; from sleep-state flag) — sharp boundary, new tag-able topic
|
|
271
|
+
- 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
272
|
- Pinned: knowledge/project-origin-and-prd.md (frequently accessed)
|
|
253
273
|
- Archived: 0
|
|
254
274
|
- 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 +283,7 @@ This is a one-time bootstrap per product; once the file exists, treat it like an
|
|
|
263
283
|
5. **Create PRDs for buildable concepts** that don't have one — they will be lost otherwise.
|
|
264
284
|
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
285
|
7. **Knowledge file threshold**: ≥3 paragraphs of content, or material that will be re-read in future sessions.
|
|
266
|
-
8. **
|
|
267
|
-
9. **
|
|
268
|
-
10. **
|
|
286
|
+
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.
|
|
287
|
+
9. **Use standard tags only.** New tags fragment discovery.
|
|
288
|
+
10. **Process all flags from sleep-state** in your report — don't silently drop them.
|
|
289
|
+
11. **No-op cheaply** when signals don't actually warrant work.
|
package/agents/sleep-tasks.md
CHANGED
|
@@ -49,8 +49,41 @@ Also read `_dream_context/state/.sleep.json` directly for `sessions[].last_assis
|
|
|
49
49
|
|
|
50
50
|
For each session:
|
|
51
51
|
|
|
52
|
-
- **Has `task_slugs`** → those are the task(s) to update.
|
|
53
|
-
- **No `task_slugs`** → check `last_assistant_message`, the user hint in the brief, and bookmark messages for
|
|
52
|
+
- **Has `task_slugs`** → those are the task(s) to update. Go to step 3.
|
|
53
|
+
- **No `task_slugs`** → check `last_assistant_message`, the user hint in the brief, and bookmark messages for what the work was about.
|
|
54
|
+
|
|
55
|
+
**Before creating anything, dedup against existing tasks.** Duplicate tasks — and tasks that are really just a smaller slice of one that already exists — are the #1 consolidation failure mode. A "much smaller piece" of an existing task is **never** its own task. Recall by topic and scan the active list first:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
dreamcontext memory recall "<topic / feature / area>" --types task
|
|
59
|
+
dreamcontext tasks list --status in_progress
|
|
60
|
+
dreamcontext tasks list --status in_review
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Then decide with this rubric — **default to folding in, not forking a new task**:
|
|
64
|
+
|
|
65
|
+
| The session's work is… | Action |
|
|
66
|
+
|---|---|
|
|
67
|
+
| A **smaller piece, sub-step, or follow-up** of a task that already exists (same feature/area, narrower scope) | **Do NOT create a task.** Fold it into the existing one (see below). |
|
|
68
|
+
| The **same work** as an existing task, observed again | Update that task (step 3). No new task. |
|
|
69
|
+
| A **genuinely separate concern** — a different feature/area/deliverable, not a slice of an existing task | Create a new task (below). |
|
|
70
|
+
|
|
71
|
+
**Folding a smaller piece into an existing task** (the case the system keeps getting wrong):
|
|
72
|
+
|
|
73
|
+
1. If the existing task's scope grew to include this work, **broaden its title/scope** — Edit the frontmatter `description:` (the one-line scope) and the `## Why` so the header reflects the now-wider scope. Don't leave a stale, too-narrow title with the new work buried only in the changelog. (Renaming the slug/`name:` is usually unnecessary and breaks links — only do it if the scope fundamentally changed identity.)
|
|
74
|
+
2. Add the new work as concrete **sub-items in the body**, not a new file:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
dreamcontext tasks insert <slug> user_stories "<as a … I want …>"
|
|
78
|
+
dreamcontext tasks insert <slug> acceptance_criteria "<testable criterion>"
|
|
79
|
+
dreamcontext tasks insert <slug> notes "<follow-up / smaller piece>"
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
3. Tick/extend the Workflow Mermaid nodes if the task has them.
|
|
83
|
+
|
|
84
|
+
**Sub-tasks (`parent_task`) are for genuinely large decomposition only** — an epic that legitimately splits into separable deliverables. Do not spawn a child task for a slice that fits as a user story or acceptance criterion in the parent. When in doubt, fold in.
|
|
85
|
+
|
|
86
|
+
**Create a new task only when the rubric says "separate concern":**
|
|
54
87
|
|
|
55
88
|
```bash
|
|
56
89
|
# Ensure an active planning version exists (orchestrator should have done this; verify)
|
|
@@ -63,7 +96,7 @@ dreamcontext tasks create "<descriptive-slug>" --status in_progress --priority m
|
|
|
63
96
|
--description "<one-line scope>"
|
|
64
97
|
```
|
|
65
98
|
|
|
66
|
-
Untracked work is invisible to future sessions
|
|
99
|
+
Untracked, genuinely-separate work is invisible to future sessions — always link it. But a smaller slice of existing work belongs *inside* that task, never in a duplicate.
|
|
67
100
|
|
|
68
101
|
### 3. Log progress AND reconcile the body — both required
|
|
69
102
|
|
|
@@ -118,7 +151,8 @@ If every task linked to the active version is `completed` (or only `in_review` r
|
|
|
118
151
|
```
|
|
119
152
|
## sleep-tasks report
|
|
120
153
|
- Updated: <slug> (in_progress → in_review, "<reason>"), <slug> (logged)
|
|
121
|
-
-
|
|
154
|
+
- Folded in (no new task): <existing-slug> — broadened scope + added 2 user stories / 1 criterion for <smaller-piece> instead of forking a duplicate
|
|
155
|
+
- Created: <slug> (status: in_progress, attached to vX.Y.Z) — genuinely separate concern
|
|
122
156
|
- Body reconciled: <slug> (dropped phase 1 from User Stories; replaced Technical Details auth section)
|
|
123
157
|
- Version readiness: vX.Y.Z — 4/5 tasks ready for review
|
|
124
158
|
- Cross-domain mentions: <slug> includes a memory-worthy decision about JWT — flagging for sleep-state
|
|
@@ -127,8 +161,9 @@ If every task linked to the active version is `completed` (or only `in_review` r
|
|
|
127
161
|
|
|
128
162
|
## Rules
|
|
129
163
|
|
|
130
|
-
1. **
|
|
131
|
-
2. **
|
|
132
|
-
3. **
|
|
133
|
-
4. **
|
|
134
|
-
5. **
|
|
164
|
+
1. **Dedup before creating.** Recall first; fold a smaller slice into the task that already covers it — broaden its title + insert sub-items — instead of forking a duplicate or a needless sub-task. A new task is only for a genuinely separate concern.
|
|
165
|
+
2. **Body = current truth, Changelog = history.** Don't let the body lag behind decisions.
|
|
166
|
+
3. **Never auto-complete.** Bump to `in_review`.
|
|
167
|
+
4. **Always attach to a planning version.** No orphan work.
|
|
168
|
+
5. **Stay in your lane.** If you spot non-task work worth preserving, flag it — don't write it.
|
|
169
|
+
6. **CLI first** for status/log/insert; **Edit** for surgical body reconciliation (including broadening `description:` / `## Why` when scope grows).
|
|
@@ -121,7 +121,7 @@ No preamble. No emojis. Absolute paths only.
|
|
|
121
121
|
|
|
122
122
|
## Bash Restrictions
|
|
123
123
|
|
|
124
|
-
Use Bash ONLY for: `ls`, `git log`, `git diff`, `git show`, `git status`, `find`, `cat`, `head`, `tail`, `wc`, `pwd`
|
|
124
|
+
Use Bash ONLY for: `ls`, `git log`, `git diff`, `git show`, `git status`, `find`, `cat`, `head`, `tail`, `wc`, `pwd`, `dreamcontext memory recall`, `dreamcontext transcript distill`
|
|
125
125
|
NEVER use Bash for any command that modifies files or system state.
|
|
126
126
|
|
|
127
127
|
## Rules
|