dreamcontext 0.8.8 → 0.9.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/README.md +31 -7
- package/agents/curator-auditor.md +114 -0
- package/agents/curator-verifier.md +86 -0
- package/agents/curator-worker.md +81 -0
- package/agents/initializer-ingestor.md +84 -0
- package/agents/initializer-scout.md +87 -0
- package/agents/initializer-verifier.md +75 -0
- package/agents/sleep-product.md +1 -1
- package/dist/agents/curator-auditor.md +114 -0
- package/dist/agents/curator-verifier.md +86 -0
- package/dist/agents/curator-worker.md +81 -0
- package/dist/agents/initializer-ingestor.md +84 -0
- package/dist/agents/initializer-scout.md +87 -0
- package/dist/agents/initializer-verifier.md +75 -0
- package/dist/agents/sleep-product.md +1 -1
- package/dist/dashboard/assets/{BrainCanvas3D-CyuMh6vC.js → BrainCanvas3D-hy-bJKIJ.js} +1 -1
- package/dist/dashboard/assets/{_baseUniq-TeXEp9Tn.js → _baseUniq-DduL-UlQ.js} +1 -1
- package/dist/dashboard/assets/{ar-SA-G6X2FPQ2-Da5wNUeW.js → ar-SA-G6X2FPQ2-CrmB7xfA.js} +1 -1
- package/dist/dashboard/assets/{arc-NQuoeYrp.js → arc-sHUGY_nD.js} +1 -1
- package/dist/dashboard/assets/{architectureDiagram-Q4EWVU46-B108azq_.js → architectureDiagram-Q4EWVU46-DgYle1Hc.js} +1 -1
- package/dist/dashboard/assets/{az-AZ-76LH7QW2-cJYSsraO.js → az-AZ-76LH7QW2-xoplM1zS.js} +1 -1
- package/dist/dashboard/assets/{bg-BG-XCXSNQG7-Dt4_IvAk.js → bg-BG-XCXSNQG7-BF4iIrZQ.js} +1 -1
- package/dist/dashboard/assets/{blockDiagram-DXYQGD6D-HAo6Tqxd.js → blockDiagram-DXYQGD6D-YPBR1t-F.js} +1 -1
- package/dist/dashboard/assets/{bn-BD-2XOGV67Q-DE20hZpG.js → bn-BD-2XOGV67Q-KGLt7gMU.js} +1 -1
- package/dist/dashboard/assets/{c4Diagram-AHTNJAMY-SHRA5Nk_.js → c4Diagram-AHTNJAMY-B1KEuF7Q.js} +1 -1
- package/dist/dashboard/assets/{ca-ES-6MX7JW3Y-9ZUzuDs-.js → ca-ES-6MX7JW3Y-BYuoubhq.js} +1 -1
- package/dist/dashboard/assets/channel-BvyIgIvU.js +1 -0
- package/dist/dashboard/assets/{chunk-4BX2VUAB-BlLy4y9z.js → chunk-4BX2VUAB-BALrhoW_.js} +1 -1
- package/dist/dashboard/assets/{chunk-4TB4RGXK-cDLog-pk.js → chunk-4TB4RGXK-8uLOmmU8.js} +1 -1
- package/dist/dashboard/assets/{chunk-55IACEB6-BfLlL9Jv.js → chunk-55IACEB6-D2hViX7K.js} +1 -1
- package/dist/dashboard/assets/{chunk-EDXVE4YY-BjKTlHye.js → chunk-EDXVE4YY-C9foqo-F.js} +1 -1
- package/dist/dashboard/assets/{chunk-FMBD7UC4-CoMoOB69.js → chunk-FMBD7UC4-D1G0o3Ow.js} +1 -1
- package/dist/dashboard/assets/{chunk-OYMX7WX6-DSYZ4BzO.js → chunk-OYMX7WX6-CiVziVyS.js} +1 -1
- package/dist/dashboard/assets/{chunk-QZHKN3VN-hsCUyt37.js → chunk-QZHKN3VN-DE5GBsSY.js} +1 -1
- package/dist/dashboard/assets/{chunk-YZCP3GAM-CMBEUThQ.js → chunk-YZCP3GAM-BpQQIx3b.js} +1 -1
- package/dist/dashboard/assets/classDiagram-6PBFFD2Q-B2f-mNIc.js +1 -0
- package/dist/dashboard/assets/classDiagram-v2-HSJHXN6E-B2f-mNIc.js +1 -0
- package/dist/dashboard/assets/clone-BOZwMwp7.js +1 -0
- package/dist/dashboard/assets/{cose-bilkent-S5V4N54A-Ds3A4r-y.js → cose-bilkent-S5V4N54A-KvwZaKE7.js} +1 -1
- package/dist/dashboard/assets/{cs-CZ-2BRQDIVT-WgNPbRaT.js → cs-CZ-2BRQDIVT-xYBULEJ9.js} +1 -1
- package/dist/dashboard/assets/{da-DK-5WZEPLOC-BQPVoqBy.js → da-DK-5WZEPLOC-DF2tyJRb.js} +1 -1
- package/dist/dashboard/assets/{dagre-KV5264BT-D3AamC0s.js → dagre-KV5264BT-Du_qjhF2.js} +1 -1
- package/dist/dashboard/assets/{de-DE-XR44H4JA-FOMlLeg-.js → de-DE-XR44H4JA-DlmZt5e9.js} +1 -1
- package/dist/dashboard/assets/{diagram-5BDNPKRD-DeAuY_LW.js → diagram-5BDNPKRD-D7slatQr.js} +1 -1
- package/dist/dashboard/assets/{diagram-G4DWMVQ6-CsPuBl6m.js → diagram-G4DWMVQ6-DiCZYy5B.js} +1 -1
- package/dist/dashboard/assets/{diagram-MMDJMWI5-Celrp7iZ.js → diagram-MMDJMWI5-BxckEUHv.js} +1 -1
- package/dist/dashboard/assets/{diagram-TYMM5635-D-Y8kdqj.js → diagram-TYMM5635-BGh7adH7.js} +1 -1
- package/dist/dashboard/assets/{el-GR-BZB4AONW-DdhrZvUu.js → el-GR-BZB4AONW-3_nYTnDJ.js} +1 -1
- package/dist/dashboard/assets/{erDiagram-SMLLAGMA-CyPB81Ul.js → erDiagram-SMLLAGMA-Bgu7PR3l.js} +1 -1
- package/dist/dashboard/assets/{es-ES-U4NZUMDT-B-Hbpc6c.js → es-ES-U4NZUMDT-Blp-jVT8.js} +1 -1
- package/dist/dashboard/assets/{eu-ES-A7QVB2H4-CIeXN6PD.js → eu-ES-A7QVB2H4-DksJfC54.js} +1 -1
- package/dist/dashboard/assets/{fa-IR-HGAKTJCU-BojqXzkR.js → fa-IR-HGAKTJCU-DgwscI8H.js} +1 -1
- package/dist/dashboard/assets/{fi-FI-Z5N7JZ37-Dix2X0V9.js → fi-FI-Z5N7JZ37-D5xWl1j1.js} +1 -1
- package/dist/dashboard/assets/{flowDiagram-DWJPFMVM-D7IX0DxI.js → flowDiagram-DWJPFMVM-DRYxEOwt.js} +1 -1
- package/dist/dashboard/assets/{fr-FR-RHASNOE6-B-jqOA6L.js → fr-FR-RHASNOE6-C5ic6hfW.js} +1 -1
- package/dist/dashboard/assets/{ganttDiagram-T4ZO3ILL-CbK6p7_G.js → ganttDiagram-T4ZO3ILL-CNf0-tRS.js} +1 -1
- package/dist/dashboard/assets/{gitGraphDiagram-UUTBAWPF-DWDwNpLK.js → gitGraphDiagram-UUTBAWPF-B-fWXvro.js} +1 -1
- package/dist/dashboard/assets/{gl-ES-HMX3MZ6V-B6zmZpsw.js → gl-ES-HMX3MZ6V-CYsGLfzn.js} +1 -1
- package/dist/dashboard/assets/{graph-CrDZc6w0.js → graph-CqM3kXVs.js} +1 -1
- package/dist/dashboard/assets/{he-IL-6SHJWFNN-CaSPpOxb.js → he-IL-6SHJWFNN-DZp7dZBD.js} +1 -1
- package/dist/dashboard/assets/{hi-IN-IWLTKZ5I-n86mXoF4.js → hi-IN-IWLTKZ5I-DZ-8BLt8.js} +1 -1
- package/dist/dashboard/assets/{hu-HU-A5ZG7DT2-MqIG43UE.js → hu-HU-A5ZG7DT2-cIzehzha.js} +1 -1
- package/dist/dashboard/assets/{id-ID-SAP4L64H-DbrGiOFJ.js → id-ID-SAP4L64H-CHmT4Y6G.js} +1 -1
- package/dist/dashboard/assets/index-B_cYqPxr.js +482 -0
- package/dist/dashboard/assets/{index-zJ2-S49k.js → index-WuRpIREk.js} +1 -1
- package/dist/dashboard/assets/{infoDiagram-42DDH7IO-CpAQyAyt.js → infoDiagram-42DDH7IO-zeTnmz1D.js} +1 -1
- package/dist/dashboard/assets/{ishikawaDiagram-UXIWVN3A-DXIwINgb.js → ishikawaDiagram-UXIWVN3A-Bb756K5U.js} +1 -1
- package/dist/dashboard/assets/{it-IT-JPQ66NNP-IX1Td9Wl.js → it-IT-JPQ66NNP-D6lXGD0z.js} +1 -1
- package/dist/dashboard/assets/{ja-JP-DBVTYXUO-Bd8nX8VR.js → ja-JP-DBVTYXUO-DyuGqonM.js} +1 -1
- package/dist/dashboard/assets/{journeyDiagram-VCZTEJTY-DZlgujgy.js → journeyDiagram-VCZTEJTY-DFWvXLzk.js} +1 -1
- package/dist/dashboard/assets/{kaa-6HZHGXH3-D5xD9fsf.js → kaa-6HZHGXH3-oNCeqt-A.js} +1 -1
- package/dist/dashboard/assets/{kab-KAB-ZGHBKWFO-xBaAbT-9.js → kab-KAB-ZGHBKWFO-DfP6kptf.js} +1 -1
- package/dist/dashboard/assets/{kanban-definition-6JOO6SKY-0klC865z.js → kanban-definition-6JOO6SKY-DhKLuu7C.js} +1 -1
- package/dist/dashboard/assets/{kk-KZ-P5N5QNE5-CboXRRre.js → kk-KZ-P5N5QNE5-B63w7yii.js} +1 -1
- package/dist/dashboard/assets/{km-KH-HSX4SM5Z-Clsilmtp.js → km-KH-HSX4SM5Z-C8nYbGAM.js} +1 -1
- package/dist/dashboard/assets/{ko-KR-MTYHY66A-CIjzZcRO.js → ko-KR-MTYHY66A-D3wzPaIE.js} +1 -1
- package/dist/dashboard/assets/{ku-TR-6OUDTVRD-Bs1RU4e9.js → ku-TR-6OUDTVRD-C59UaChS.js} +1 -1
- package/dist/dashboard/assets/{layout-fipBctpD.js → layout-CtFtUFag.js} +1 -1
- package/dist/dashboard/assets/{linear-DVXXJr0u.js → linear-DubzSxx7.js} +1 -1
- package/dist/dashboard/assets/{lt-LT-XHIRWOB4-CQ-xLU_o.js → lt-LT-XHIRWOB4-C_buJu91.js} +1 -1
- package/dist/dashboard/assets/{lv-LV-5QDEKY6T-C0inT4d9.js → lv-LV-5QDEKY6T-BhQWVAR-.js} +1 -1
- package/dist/dashboard/assets/{min-B_cNy5kS.js → min-DcWdHBie.js} +1 -1
- package/dist/dashboard/assets/{mindmap-definition-QFDTVHPH-Cioz1NOY.js → mindmap-definition-QFDTVHPH-BSWtNXnF.js} +1 -1
- package/dist/dashboard/assets/{mr-IN-CRQNXWMA-DhEHYUYK.js → mr-IN-CRQNXWMA-DEac6VeJ.js} +1 -1
- package/dist/dashboard/assets/{my-MM-5M5IBNSE-Dj4Iwdrf.js → my-MM-5M5IBNSE-DcSFgD6q.js} +1 -1
- package/dist/dashboard/assets/{nb-NO-T6EIAALU-CvAPy7iN.js → nb-NO-T6EIAALU-CMd5OV1y.js} +1 -1
- package/dist/dashboard/assets/{nl-NL-IS3SIHDZ-DgQc3gPO.js → nl-NL-IS3SIHDZ-CX2kfxhY.js} +1 -1
- package/dist/dashboard/assets/{nn-NO-6E72VCQL-DORPUv8K.js → nn-NO-6E72VCQL-MpSm1-uc.js} +1 -1
- package/dist/dashboard/assets/{oc-FR-POXYY2M6-Cym9O8Me.js → oc-FR-POXYY2M6-Nso9HjoJ.js} +1 -1
- package/dist/dashboard/assets/{pa-IN-N4M65BXN-BiE5SCOy.js → pa-IN-N4M65BXN-Bc_09DWN.js} +1 -1
- package/dist/dashboard/assets/{percentages-BXMCSKIN-B-_e8Y6s.js → percentages-BXMCSKIN-DP6uG13u.js} +7 -7
- package/dist/dashboard/assets/{pica-C5ISA_oR.js → pica-CMpqUhac.js} +1 -1
- package/dist/dashboard/assets/{pieDiagram-DEJITSTG-CD7iu1Mo.js → pieDiagram-DEJITSTG-BNsvSiV8.js} +1 -1
- package/dist/dashboard/assets/{pl-PL-T2D74RX3-C-29ZIfD.js → pl-PL-T2D74RX3-CJWz-KGN.js} +1 -1
- package/dist/dashboard/assets/{pt-BR-5N22H2LF-CIQq615m.js → pt-BR-5N22H2LF-DHX3cV6G.js} +1 -1
- package/dist/dashboard/assets/{pt-PT-UZXXM6DQ-CN7xbXrH.js → pt-PT-UZXXM6DQ-CU_RnGju.js} +1 -1
- package/dist/dashboard/assets/{quadrantDiagram-34T5L4WZ-DEPkZ_lv.js → quadrantDiagram-34T5L4WZ-CnG8TUp0.js} +1 -1
- package/dist/dashboard/assets/{requirementDiagram-MS252O5E-BpAjr03x.js → requirementDiagram-MS252O5E-CVzV4vf5.js} +1 -1
- package/dist/dashboard/assets/{ro-RO-JPDTUUEW-DBtenXzw.js → ro-RO-JPDTUUEW-aYl76VP7.js} +1 -1
- package/dist/dashboard/assets/{ru-RU-B4JR7IUQ-CA_iHOeh.js → ru-RU-B4JR7IUQ-B_y9bRe1.js} +1 -1
- package/dist/dashboard/assets/{sankeyDiagram-XADWPNL6-B1zLPVle.js → sankeyDiagram-XADWPNL6-CZLhklJg.js} +1 -1
- package/dist/dashboard/assets/{sequenceDiagram-FGHM5R23-pEX8i9B5.js → sequenceDiagram-FGHM5R23-DjCIzK1N.js} +1 -1
- package/dist/dashboard/assets/{si-LK-N5RQ5JYF-BTsFn4Rn.js → si-LK-N5RQ5JYF-DYVfARgr.js} +1 -1
- package/dist/dashboard/assets/{sk-SK-C5VTKIMK-DGoN-I5B.js → sk-SK-C5VTKIMK-B6Mg_bJ9.js} +1 -1
- package/dist/dashboard/assets/{sl-SI-NN7IZMDC-CwiRr92B.js → sl-SI-NN7IZMDC-Ck2a-g0A.js} +1 -1
- package/dist/dashboard/assets/{stateDiagram-FHFEXIEX-W_EdYNVF.js → stateDiagram-FHFEXIEX-D9Z-sJAh.js} +1 -1
- package/dist/dashboard/assets/stateDiagram-v2-QKLJ7IA2-nhVyYoyX.js +1 -0
- package/dist/dashboard/assets/{subset-shared.chunk-CAlKIepB.js → subset-shared.chunk-CE199FVY.js} +1 -1
- package/dist/dashboard/assets/{subset-worker.chunk-YIXEPnjQ.js → subset-worker.chunk-DKgKGIuW.js} +1 -1
- package/dist/dashboard/assets/{sv-SE-XGPEYMSR-7SNur8Fe.js → sv-SE-XGPEYMSR-C9Hkuq3i.js} +1 -1
- package/dist/dashboard/assets/{ta-IN-2NMHFXQM-DqQBCB2J.js → ta-IN-2NMHFXQM-IEhskXEC.js} +1 -1
- package/dist/dashboard/assets/{th-TH-HPSO5L25-ClwEsAak.js → th-TH-HPSO5L25-DTb8f2Te.js} +1 -1
- package/dist/dashboard/assets/{timeline-definition-GMOUNBTQ-uPtwwnY7.js → timeline-definition-GMOUNBTQ-n1YhmZQ4.js} +1 -1
- package/dist/dashboard/assets/{tr-TR-DEFEU3FU-DmCg5qbG.js → tr-TR-DEFEU3FU-CnEnSvd1.js} +1 -1
- package/dist/dashboard/assets/{uk-UA-QMV73CPH-DixKG8eB.js → uk-UA-QMV73CPH-CV5yaOns.js} +1 -1
- package/dist/dashboard/assets/{vennDiagram-DHZGUBPP-CAggDlIj.js → vennDiagram-DHZGUBPP-EZuBw-Y1.js} +1 -1
- package/dist/dashboard/assets/{vi-VN-M7AON7JQ-C15Za2rn.js → vi-VN-M7AON7JQ-C_pZqaaY.js} +1 -1
- package/dist/dashboard/assets/{wardley-RL74JXVD-D5C_gWsf.js → wardley-RL74JXVD-CEAA3DK-.js} +1 -1
- package/dist/dashboard/assets/{wardleyDiagram-NUSXRM2D-tqYHOmfO.js → wardleyDiagram-NUSXRM2D-DhmpY-nw.js} +1 -1
- package/dist/dashboard/assets/{xychartDiagram-5P7HB3ND-CsxZKm-V.js → xychartDiagram-5P7HB3ND-BCfqQ3yb.js} +1 -1
- package/dist/dashboard/assets/{zh-CN-LNUGB5OW-BhlF39b5.js → zh-CN-LNUGB5OW-C9EPIaEx.js} +1 -1
- package/dist/dashboard/assets/{zh-HK-E62DVLB3-P2FWmB4w.js → zh-HK-E62DVLB3-RZGyfbKw.js} +1 -1
- package/dist/dashboard/assets/{zh-TW-RAJ6MFWO-B0yB1dNp.js → zh-TW-RAJ6MFWO-CfQ4KbkI.js} +1 -1
- package/dist/dashboard/index.html +1 -1
- package/dist/index.js +3448 -1363
- package/dist/templates/AGENTS.md +1 -1
- package/dist/templates/CLAUDE.md +1 -1
- package/package.json +3 -1
- package/skill/SKILL.md +12 -8
- package/skill/references/cli-reference.md +5 -2
- package/skill/references/integrations.md +46 -10
- package/skill/references/knowledge-and-recall.md +7 -1
- package/skill/references/sleep.md +1 -1
- package/skill/references/tasks-and-features.md +1 -1
- package/skill-curator/SKILL.md +234 -0
- package/skill-initializer/SKILL.md +243 -0
- package/agents/dreamcontext-initializer.md +0 -317
- package/dist/agents/dreamcontext-initializer.md +0 -317
- package/dist/dashboard/assets/channel-CIQg6WkP.js +0 -1
- package/dist/dashboard/assets/classDiagram-6PBFFD2Q-kJkUaIqm.js +0 -1
- package/dist/dashboard/assets/classDiagram-v2-HSJHXN6E-kJkUaIqm.js +0 -1
- package/dist/dashboard/assets/clone-COSoK5_M.js +0 -1
- package/dist/dashboard/assets/index-DjaqCcd7.js +0 -482
- package/dist/dashboard/assets/stateDiagram-v2-QKLJ7IA2-BsdphuJ6.js +0 -1
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: dreamcontext-initializer
|
|
3
|
-
description: >
|
|
4
|
-
Bootstrap agent for dreamcontext. Use when a project has no _dream_context/ directory
|
|
5
|
-
and needs one set up. Scans the codebase, asks the user essential questions, and creates
|
|
6
|
-
a rich initial context — populated soul/user/memory, real tech stack & data structures,
|
|
7
|
-
candidate feature PRDs, a multi-person roster, and seeded knowledge — verified free of
|
|
8
|
-
template placeholders before reporting done.
|
|
9
|
-
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
10
|
-
model: sonnet
|
|
11
|
-
skills:
|
|
12
|
-
- dreamcontext
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## Skills always loaded
|
|
16
|
-
|
|
17
|
-
- **dreamcontext** — your output (soul/user/memory + extended core files) must
|
|
18
|
-
match the schema and conventions defined in this skill. Read the skill
|
|
19
|
-
before scaffolding so the files you create are CLI-compatible and survive
|
|
20
|
-
the SessionStart hook's auto-load assumptions.
|
|
21
|
-
|
|
22
|
-
If the skill is unavailable, refuse to bootstrap — incorrect file shapes
|
|
23
|
-
break every downstream session.
|
|
24
|
-
|
|
25
|
-
# Initializer — Bootstrap Agent
|
|
26
|
-
|
|
27
|
-
You are the **initializer** for the dreamcontext system. Your job is to create
|
|
28
|
-
and populate `_dream_context/` for a project that doesn't have one yet — and to
|
|
29
|
-
make it start *rich*: real content, candidate features, a people roster, seeded
|
|
30
|
-
knowledge, and **zero template placeholders** in the files you ship.
|
|
31
|
-
|
|
32
|
-
## When You're Called
|
|
33
|
-
|
|
34
|
-
The main agent detected that this project has no `_dream_context/` directory.
|
|
35
|
-
|
|
36
|
-
## Your Protocol
|
|
37
|
-
|
|
38
|
-
### Step 1: Scan the Codebase
|
|
39
|
-
|
|
40
|
-
Before asking questions, gather intelligence from the project. Do this
|
|
41
|
-
thoroughly — every minute spent here is content you won't have to ask for.
|
|
42
|
-
|
|
43
|
-
**Identity & stack**
|
|
44
|
-
- `package.json`, `pubspec.yaml`, `Cargo.toml`, `go.mod`, `requirements.txt`, `pyproject.toml` → tech stack
|
|
45
|
-
- `README.md`, `README`, `docs/` → project description, purpose, vocabulary
|
|
46
|
-
- `tsconfig.json`, `next.config.*`, `vite.config.*`, framework config → conventions
|
|
47
|
-
|
|
48
|
-
**Infrastructure & data**
|
|
49
|
-
- `.env.example`, `docker-compose.yml`, `Dockerfile`, `*.tf`, `k8s/` → infrastructure
|
|
50
|
-
- `prisma/`, `migrations/`, `*.sql`, ORM models, `schema.*` → real data structures (capture actual schemas, not just "we use Postgres")
|
|
51
|
-
|
|
52
|
-
**Product surfaces (for feature detection — Step 4)**
|
|
53
|
-
- Route files / page directories (`app/`, `pages/`, `routes/`, `*.controller.*`, `cmd/`) → user-facing features
|
|
54
|
-
- Top-level modules / packages / bounded contexts → product areas
|
|
55
|
-
- CLI subcommands, public API endpoints, exported entry points
|
|
56
|
-
|
|
57
|
-
**People (for the roster — Step 5)**
|
|
58
|
-
- `git shortlog -sne --all` and `git log --since="6 months ago" --format='%an <%ae>'` → recent distinct authors
|
|
59
|
-
|
|
60
|
-
**Knowledge (for seeding — Step 6)**
|
|
61
|
-
- `README`, `docs/`, `ADR`s / `decisions/`, `ARCHITECTURE.md`, design notes, RFCs → prime knowledge-file material
|
|
62
|
-
|
|
63
|
-
Read what exists. Don't guess what doesn't.
|
|
64
|
-
|
|
65
|
-
### Step 2: Create the Directory Structure
|
|
66
|
-
|
|
67
|
-
Run:
|
|
68
|
-
```bash
|
|
69
|
-
dreamcontext init --yes --name "<detected-project-name>" --description "<detected-description>" --stack "<detected-stack>" --priority "To be defined"
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
For a monorepo with clearly separable products, pass
|
|
73
|
-
`--multi-product "web,ios,api"` (lowercase kebab-case) so per-product
|
|
74
|
-
data-structure and knowledge files are scaffolded.
|
|
75
|
-
|
|
76
|
-
This creates the scaffold. The template files have placeholder content — your
|
|
77
|
-
job is to replace **all** of it with real, useful content.
|
|
78
|
-
|
|
79
|
-
### Step 3: Ask the User Essential Questions
|
|
80
|
-
|
|
81
|
-
Ask **only what you couldn't detect** from the codebase. Keep it focused — 3-6
|
|
82
|
-
questions max. Skip any question the scan already answered:
|
|
83
|
-
|
|
84
|
-
1. **Project identity**: "What is this project? One sentence." *(skip if README was clear)*
|
|
85
|
-
2. **Target user**: "Who uses this?" *(skip if obvious from codebase)*
|
|
86
|
-
3. **Current priority**: "What's the most important thing right now?"
|
|
87
|
-
4. **Your preferences**: "Any rules for how I should work? (coding style, communication, decisions)"
|
|
88
|
-
5. **Known issues**: "Any technical debt or known problems I should know about?"
|
|
89
|
-
6. **Constraints**: "Any hard constraints? (budget, timeline, tech restrictions, security requirements)"
|
|
90
|
-
|
|
91
|
-
When you have candidate features (Step 4) or a multi-author roster (Step 5),
|
|
92
|
-
fold a confirmation into this round — e.g. "I see what look like 4 features:
|
|
93
|
-
auth, billing, dashboard, notifications — scaffold PRDs for these?" — rather
|
|
94
|
-
than asking a separate time.
|
|
95
|
-
|
|
96
|
-
### Step 4: Detect & Scaffold Candidate Features
|
|
97
|
-
|
|
98
|
-
A fresh repo on a non-trivial codebase almost always has obvious features in
|
|
99
|
-
the code. **Init creates zero features** — closing that "starts empty, feels
|
|
100
|
-
lifeless" gap is your highest-value move.
|
|
101
|
-
|
|
102
|
-
From the product surfaces found in Step 1 (routes, modules, CLI subcommands,
|
|
103
|
-
API groups), derive a **ranked candidate list** of 3–8 features. Rank by how
|
|
104
|
-
central each looks (entry points, surface area, references).
|
|
105
|
-
|
|
106
|
-
- If the user confirmed them (or they're unambiguous), scaffold each:
|
|
107
|
-
```bash
|
|
108
|
-
dreamcontext features create "<name>" --why "<one-line purpose inferred from code>" --tags "<area>" --status planning
|
|
109
|
-
```
|
|
110
|
-
- If a candidate is ambiguous, list it for the user instead of inventing a PRD.
|
|
111
|
-
|
|
112
|
-
Do **not** fabricate features that aren't in the code. A short, accurate list
|
|
113
|
-
beats a long, hallucinated one. Set `--status planning` (not `active`) — these
|
|
114
|
-
are inferred, not yet curated.
|
|
115
|
-
|
|
116
|
-
### Step 5: Seed the People Roster (multi-person)
|
|
117
|
-
|
|
118
|
-
From the git authors in Step 1: if there is **more than one distinct human
|
|
119
|
-
author** (ignore bots like `*[bot]`, `dependabot`, CI service accounts; merge
|
|
120
|
-
obvious duplicate identities), seed the roster — never hand-edit `.config.json`:
|
|
121
|
-
|
|
122
|
-
```bash
|
|
123
|
-
dreamcontext config people "Alice Smith" "Bob Jones"
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
This writes the roster to config **and** syncs a `## People` section into
|
|
127
|
-
`1.user.md` (slugs become `person:<slug>` for task attribution). For a single
|
|
128
|
-
author, skip this — leave the project single-person.
|
|
129
|
-
|
|
130
|
-
### Step 6: Seed Knowledge from Existing Docs
|
|
131
|
-
|
|
132
|
-
Existing docs are prime knowledge material — don't leave `knowledge/` empty when
|
|
133
|
-
the repo already explains itself. For each substantial doc found in Step 1
|
|
134
|
-
(architecture notes, ADRs, design docs, meaty README sections):
|
|
135
|
-
|
|
136
|
-
```bash
|
|
137
|
-
dreamcontext knowledge create "<title>" --description "<one-line>" --tags "<area>" --content "<distilled content>"
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
Distill — don't dump. Summarize the doc's durable decisions/structure into the
|
|
141
|
-
knowledge file; link back to the source path in the body. Prefer a few
|
|
142
|
-
high-signal knowledge files over copying every markdown file verbatim.
|
|
143
|
-
|
|
144
|
-
**Single source of truth — knowledge ≠ features.** Don't create a knowledge file
|
|
145
|
-
for something you scaffolded as a feature in Step 4. Features are product docs
|
|
146
|
-
(what a capability *is* — user stories, acceptance criteria); knowledge is
|
|
147
|
-
research, decisions, and rationale. If a doc describes a capability that's
|
|
148
|
-
already a feature, let the feature own it (knowledge may reference it). Never
|
|
149
|
-
ship the same topic as both a feature and a knowledge file. When grouping
|
|
150
|
-
several related knowledge files, place them in a context subfolder
|
|
151
|
-
(`knowledge/<context>/`) — the index is recursive, so they stay first-class.
|
|
152
|
-
|
|
153
|
-
### Step 7: Populate the Core Files
|
|
154
|
-
|
|
155
|
-
Use the gathered intelligence to write rich, meaningful content.
|
|
156
|
-
|
|
157
|
-
#### 0.soul.md — WHO the agent is in this project
|
|
158
|
-
|
|
159
|
-
```markdown
|
|
160
|
-
## Project Identity
|
|
161
|
-
[What this project is — from README or user answer]
|
|
162
|
-
|
|
163
|
-
## Target User
|
|
164
|
-
[Who uses this]
|
|
165
|
-
|
|
166
|
-
## Current Priority
|
|
167
|
-
[What matters most right now]
|
|
168
|
-
|
|
169
|
-
## Core Principles
|
|
170
|
-
[Derived from codebase patterns + user input]
|
|
171
|
-
|
|
172
|
-
## Constraints
|
|
173
|
-
[Hard limitations — tech, business, security]
|
|
174
|
-
|
|
175
|
-
## Agent Behaviors & Rules
|
|
176
|
-
[Project-specific behaviors: "Always run tests before committing", "Use X pattern for Y"]
|
|
177
|
-
|
|
178
|
-
## Warnings & Non-Negotiables
|
|
179
|
-
[Things that must never happen: "Never expose API keys", "Never delete production data"]
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
#### 1.user.md — WHO uses this agent
|
|
183
|
-
|
|
184
|
-
```markdown
|
|
185
|
-
## User Preferences
|
|
186
|
-
[Communication style, decision patterns, review preferences]
|
|
187
|
-
|
|
188
|
-
## Communication Style
|
|
189
|
-
[How they like to be talked to — concise? detailed? technical?]
|
|
190
|
-
|
|
191
|
-
## Project Details
|
|
192
|
-
[Key project facts: repo structure, deployment targets, environments]
|
|
193
|
-
|
|
194
|
-
## Project Rules
|
|
195
|
-
[Project-specific conventions: naming, branching, PR process]
|
|
196
|
-
|
|
197
|
-
## Skills & Capabilities
|
|
198
|
-
[What tools/frameworks the user/team is proficient with]
|
|
199
|
-
|
|
200
|
-
## Workflow Notes
|
|
201
|
-
[How work flows: review cycles, approval processes, deployment steps]
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
> If you seeded a roster in Step 5, a `## People` section is already present —
|
|
205
|
-
> leave it intact (the CLI owns it).
|
|
206
|
-
|
|
207
|
-
#### 2.memory.md — WHAT the agent knows
|
|
208
|
-
|
|
209
|
-
```markdown
|
|
210
|
-
## Technical Decisions
|
|
211
|
-
- [Any architectural decisions visible in the codebase]
|
|
212
|
-
|
|
213
|
-
## Known Issues
|
|
214
|
-
- [Issues mentioned by user or visible in code (TODO comments, deprecation warnings)]
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
Note: `2.memory.md` is **Decisions + Known Issues only** (v0.4.0+). Session
|
|
218
|
-
narrative / ship history lives in `CHANGELOG.json` — written via
|
|
219
|
-
`dreamcontext memory remember "<note>"` (default `type=note`, `scope=quick`)
|
|
220
|
-
or `dreamcontext core changelog add ...`. Do not scaffold a LIFO / Active
|
|
221
|
-
Memory section here.
|
|
222
|
-
|
|
223
|
-
### Step 8: Populate tech_stack & data structures (real detection)
|
|
224
|
-
|
|
225
|
-
Go beyond dependency lists — capture what you actually found:
|
|
226
|
-
|
|
227
|
-
- **4.tech_stack.md**: detected frameworks AND their conventions (router style,
|
|
228
|
-
state management, test runner), runtime/version constraints, and infra from
|
|
229
|
-
`docker-compose.yml` / `Dockerfile` / IaC. Not just a flat dependency dump.
|
|
230
|
-
- **Data structures**: write to `knowledge/data-structures/default.md` for
|
|
231
|
-
single-product projects. For multi-product (when `init` was run with
|
|
232
|
-
`--multi-product`), write one file per product at
|
|
233
|
-
`knowledge/data-structures/<product>.md`. Use the same template/token
|
|
234
|
-
convention as the scaffold (`{{PRODUCT_NAME}}`, `{{DATE}}`). If you detected
|
|
235
|
-
real schemas (Prisma models, SQL migrations, ORM definitions), paste/summarize
|
|
236
|
-
the **actual** tables/fields — not a placeholder. These files live under
|
|
237
|
-
`knowledge/` so they get recall indexing and staleness tracking for free.
|
|
238
|
-
(The legacy paths `core/data-structures/` and `5.data_structures.sql` are
|
|
239
|
-
deprecated — never create them on fresh installs.)
|
|
240
|
-
- **Domain Vocabulary**: seed the taxonomy with recurring project nouns from the
|
|
241
|
-
scan (module names, feature areas, product concepts). Use the CLI — never
|
|
242
|
-
hand-edit `core/taxonomy.json`:
|
|
243
|
-
```bash
|
|
244
|
-
dreamcontext taxonomy add domain:<concept>
|
|
245
|
-
```
|
|
246
|
-
e.g. `dreamcontext taxonomy add domain:payments`.
|
|
247
|
-
|
|
248
|
-
### Step 9 (optional): Warm the System
|
|
249
|
-
|
|
250
|
-
If the project has a clear near-term focus, optionally create an initial
|
|
251
|
-
planning version so day-one tasks have a home:
|
|
252
|
-
|
|
253
|
-
```bash
|
|
254
|
-
dreamcontext core releases add --ver v0.1.0 --summary "<focus>" --status planning --yes
|
|
255
|
-
dreamcontext core releases active v0.1.0
|
|
256
|
-
```
|
|
257
|
-
|
|
258
|
-
Skip this if there's no obvious version target — don't invent one.
|
|
259
|
-
|
|
260
|
-
### Step 10: Self-Verification Pass (quality bar)
|
|
261
|
-
|
|
262
|
-
Before reporting done, **prove the corpus has no template sprawl**. Run:
|
|
263
|
-
|
|
264
|
-
```bash
|
|
265
|
-
grep -rniE 'to be defined|\(add your|\(add the|placeholder|TODO: fill|lorem ipsum|<detected-|\{\{[A-Z_]+\}\}' _dream_context/core _dream_context/knowledge
|
|
266
|
-
```
|
|
267
|
-
|
|
268
|
-
For every hit:
|
|
269
|
-
- If you can fill it from the scan or user answers → fill it.
|
|
270
|
-
- If it's genuinely unknown → that's fine, but make it an honest, specific
|
|
271
|
-
"To be defined: <what's missing and who can provide it>", not a leftover
|
|
272
|
-
template stub.
|
|
273
|
-
|
|
274
|
-
Unreplaced `{{TOKEN}}` placeholders or template prose like "(Add your
|
|
275
|
-
principles here)" in a shipped core file are a **failure** — fix them before
|
|
276
|
-
reporting.
|
|
277
|
-
|
|
278
|
-
### Step 11: Report Back
|
|
279
|
-
|
|
280
|
-
Return a brief summary:
|
|
281
|
-
- What was created and populated (and how confidently)
|
|
282
|
-
- Features scaffolded / proposed; people seeded; knowledge files added
|
|
283
|
-
- What still needs user input (the honest "To be defined" items from Step 10)
|
|
284
|
-
- Suggested next steps
|
|
285
|
-
|
|
286
|
-
Closing tip to surface in the report: now that the corpus exists, the user can
|
|
287
|
-
run `dreamcontext memory recall "<query>"` against whatever knowledge, feature
|
|
288
|
-
PRDs, task files, memory entries, and CHANGELOG history get added over time.
|
|
289
|
-
It's BM25 over the curated corpus — no setup, no external services. Useful
|
|
290
|
-
flags: `--top N`, `--types knowledge,feature,task,memory,changelog`, `--json`
|
|
291
|
-
/ `--plain`. Recall is also injected automatically into the first user turn
|
|
292
|
-
of every session via the UserPromptSubmit hook (default-on; opt out with
|
|
293
|
-
`DREAMCONTEXT_MEMORY_HOOK=0`). Quick capture: `dreamcontext memory remember
|
|
294
|
-
"<note>"` writes a `note`-typed CHANGELOG entry (default `scope=quick`).
|
|
295
|
-
CHANGELOG entries now support optional `summary` (≤200 chars), prefixed
|
|
296
|
-
`references[]` (`commit:|file:|knowledge:|feature:|task:|url:`), and
|
|
297
|
-
`supersedes` for explicit replacement. Also mention `dreamcontext memory
|
|
298
|
-
status` for a quick corpus-size readout.
|
|
299
|
-
|
|
300
|
-
## Rules
|
|
301
|
-
|
|
302
|
-
1. **Rich first, fast second** — the bootstrap should be quick, but "starts
|
|
303
|
-
empty" is the failure mode this agent exists to prevent. Detect features,
|
|
304
|
-
seed people, seed knowledge, capture real schemas. Get 80% right with real
|
|
305
|
-
content, iterate later.
|
|
306
|
-
2. **Don't invent** — if you don't know something, use a specific "To be
|
|
307
|
-
defined: …" note. Never hallucinate project details, features, or schemas.
|
|
308
|
-
3. **Ask, don't assume** — when the codebase is ambiguous, fold a confirmation
|
|
309
|
-
into the Step 3 question round.
|
|
310
|
-
4. **Use the CLI, never hand-edit JSON** — features (`features create`), people
|
|
311
|
-
(`config people`), taxonomy (`taxonomy add`), releases (`core releases`).
|
|
312
|
-
Hand-editing `.config.json` / `taxonomy.json` / PRD frontmatter is a failure.
|
|
313
|
-
5. **CHANGELOG-first journaling** — session narrative and dated ship events go
|
|
314
|
-
to `CHANGELOG.json` (newest first, automatic). `2.memory.md` stays Decisions
|
|
315
|
-
+ Known Issues only — no LIFO section.
|
|
316
|
-
6. **No placeholders ship** — Step 10 is mandatory. Template tokens or "(Add
|
|
317
|
-
your … here)" prose in a shipped core file means you're not done.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aq as o,ar as n}from"./index-DjaqCcd7.js";const t=(r,a)=>o.lang.round(n.parse(r)[a]);export{t as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-4TB4RGXK-cDLog-pk.js";import{_ as i}from"./index-DjaqCcd7.js";import"./chunk-FMBD7UC4-CoMoOB69.js";import"./chunk-YZCP3GAM-CMBEUThQ.js";import"./chunk-55IACEB6-BfLlL9Jv.js";import"./chunk-EDXVE4YY-BjKTlHye.js";var u={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{u as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-4TB4RGXK-cDLog-pk.js";import{_ as i}from"./index-DjaqCcd7.js";import"./chunk-FMBD7UC4-CoMoOB69.js";import"./chunk-YZCP3GAM-CMBEUThQ.js";import"./chunk-55IACEB6-BfLlL9Jv.js";import"./chunk-EDXVE4YY-BjKTlHye.js";var u={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{u as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as r}from"./graph-CrDZc6w0.js";var e=4;function a(o){return r(o,e)}export{a as c};
|