dreamcontext 0.5.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 +21 -0
- package/README.md +523 -0
- package/agents/dreamcontext-explore.md +137 -0
- package/agents/dreamcontext-initializer.md +169 -0
- package/agents/sleep-product.md +268 -0
- package/agents/sleep-state.md +270 -0
- package/agents/sleep-tasks.md +134 -0
- package/dist/agents/dreamcontext-explore.md +137 -0
- package/dist/agents/dreamcontext-initializer.md +169 -0
- package/dist/agents/sleep-product.md +268 -0
- package/dist/agents/sleep-state.md +270 -0
- package/dist/agents/sleep-tasks.md +134 -0
- package/dist/dashboard/assets/BrainCanvas3D-BLJ4_SqE.js +5126 -0
- package/dist/dashboard/assets/_baseUniq-DpaDAx_H.js +1 -0
- package/dist/dashboard/assets/arc-JvK3Ik1p.js +1 -0
- package/dist/dashboard/assets/architectureDiagram-Q4EWVU46-CCvw4XFg.js +36 -0
- package/dist/dashboard/assets/blockDiagram-DXYQGD6D-DMobz1n7.js +132 -0
- package/dist/dashboard/assets/c4Diagram-AHTNJAMY-FwcHT5er.js +10 -0
- package/dist/dashboard/assets/channel-D6954IHZ.js +1 -0
- package/dist/dashboard/assets/chunk-4BX2VUAB-B5kYwmBa.js +1 -0
- package/dist/dashboard/assets/chunk-4TB4RGXK-0ot1eS0J.js +206 -0
- package/dist/dashboard/assets/chunk-55IACEB6-24ngcLgH.js +1 -0
- package/dist/dashboard/assets/chunk-EDXVE4YY-DATt1OUl.js +1 -0
- package/dist/dashboard/assets/chunk-FMBD7UC4-BprbGSJw.js +15 -0
- package/dist/dashboard/assets/chunk-OYMX7WX6-CJJhpKWP.js +231 -0
- package/dist/dashboard/assets/chunk-QZHKN3VN-Cisp65Vq.js +1 -0
- package/dist/dashboard/assets/chunk-YZCP3GAM-DtMk33tU.js +1 -0
- package/dist/dashboard/assets/classDiagram-6PBFFD2Q-Bk4KDqBj.js +1 -0
- package/dist/dashboard/assets/classDiagram-v2-HSJHXN6E-Bk4KDqBj.js +1 -0
- package/dist/dashboard/assets/clone-C9Yhti5q.js +1 -0
- package/dist/dashboard/assets/cose-bilkent-S5V4N54A-BxYomDLe.js +1 -0
- package/dist/dashboard/assets/cytoscape.esm-D_LviqZs.js +331 -0
- package/dist/dashboard/assets/dagre-KV5264BT-CsX1ZayG.js +4 -0
- package/dist/dashboard/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/dist/dashboard/assets/diagram-5BDNPKRD-B2G4mPPw.js +10 -0
- package/dist/dashboard/assets/diagram-G4DWMVQ6-C8nxN9ZB.js +24 -0
- package/dist/dashboard/assets/diagram-MMDJMWI5-DaYymOrR.js +43 -0
- package/dist/dashboard/assets/diagram-TYMM5635-BpiYFv-I.js +24 -0
- package/dist/dashboard/assets/erDiagram-SMLLAGMA-C6pE7F61.js +85 -0
- package/dist/dashboard/assets/flowDiagram-DWJPFMVM-jdNEPVFq.js +162 -0
- package/dist/dashboard/assets/ganttDiagram-T4ZO3ILL-C8GoRj1C.js +292 -0
- package/dist/dashboard/assets/gitGraphDiagram-UUTBAWPF-SiRn7RJ8.js +106 -0
- package/dist/dashboard/assets/graph-9wbTW7ld.js +1 -0
- package/dist/dashboard/assets/index-BHp63EMw.js +475 -0
- package/dist/dashboard/assets/index-CdnDt_7U.css +1 -0
- package/dist/dashboard/assets/infoDiagram-42DDH7IO-DcDC8M1a.js +2 -0
- package/dist/dashboard/assets/ishikawaDiagram-UXIWVN3A-UjyrPeaS.js +70 -0
- package/dist/dashboard/assets/journeyDiagram-VCZTEJTY-CXJPYMxN.js +139 -0
- package/dist/dashboard/assets/kanban-definition-6JOO6SKY-Cm1n9eat.js +89 -0
- package/dist/dashboard/assets/katex-DkKDou_j.js +257 -0
- package/dist/dashboard/assets/layout-w8zmQGXp.js +1 -0
- package/dist/dashboard/assets/linear-CMNvIisH.js +1 -0
- package/dist/dashboard/assets/min-BqXwiqEr.js +1 -0
- package/dist/dashboard/assets/mindmap-definition-QFDTVHPH-tksxnjhx.js +96 -0
- package/dist/dashboard/assets/pieDiagram-DEJITSTG-lIVvnPyq.js +30 -0
- package/dist/dashboard/assets/quadrantDiagram-34T5L4WZ-DSMB57t5.js +7 -0
- package/dist/dashboard/assets/requirementDiagram-MS252O5E-NG99tgmc.js +84 -0
- package/dist/dashboard/assets/sankeyDiagram-XADWPNL6-C6EkbQKo.js +10 -0
- package/dist/dashboard/assets/sequenceDiagram-FGHM5R23-ASU7Zp6_.js +157 -0
- package/dist/dashboard/assets/stateDiagram-FHFEXIEX-DHklUzce.js +1 -0
- package/dist/dashboard/assets/stateDiagram-v2-QKLJ7IA2-BZXFb2Fh.js +1 -0
- package/dist/dashboard/assets/timeline-definition-GMOUNBTQ-B37xNhjS.js +120 -0
- package/dist/dashboard/assets/vennDiagram-DHZGUBPP-D28OvWbm.js +34 -0
- package/dist/dashboard/assets/wardley-RL74JXVD-BQdaLyVb.js +162 -0
- package/dist/dashboard/assets/wardleyDiagram-NUSXRM2D-D0vChrnT.js +20 -0
- package/dist/dashboard/assets/xychartDiagram-5P7HB3ND-BzSx7EpJ.js +7 -0
- package/dist/dashboard/favicon.svg +14 -0
- package/dist/dashboard/index.html +18 -0
- package/dist/hooks/marketing-binary-guard.sh +18 -0
- package/dist/index.js +15881 -0
- package/dist/skill-packs/agents/biv-customer-analyst.md +140 -0
- package/dist/skill-packs/agents/biv-decision-gate.md +147 -0
- package/dist/skill-packs/agents/biv-financial-analyst.md +128 -0
- package/dist/skill-packs/agents/biv-market-analyst.md +103 -0
- package/dist/skill-packs/agents/biv-researcher.md +140 -0
- package/dist/skill-packs/agents/biv-strategist.md +164 -0
- package/dist/skill-packs/agents/council-persona.md +142 -0
- package/dist/skill-packs/agents/council-synthesizer.md +208 -0
- package/dist/skill-packs/agents/discover-brand.md +216 -0
- package/dist/skill-packs/agents/goal-implementer.md +70 -0
- package/dist/skill-packs/agents/goal-plan-reviewer.md +68 -0
- package/dist/skill-packs/agents/goal-planner.md +75 -0
- package/dist/skill-packs/agents/goal-validator.md +68 -0
- package/dist/skill-packs/agents/marketing-creative.md +85 -0
- package/dist/skill-packs/agents/marketing-monitor.md +143 -0
- package/dist/skill-packs/agents/marketing-strategy.md +139 -0
- package/dist/skill-packs/agents/review-cloud-functions.md +158 -0
- package/dist/skill-packs/agents/review-edge-cases.md +147 -0
- package/dist/skill-packs/agents/review-frontend.md +134 -0
- package/dist/skill-packs/agents/review-router.md +165 -0
- package/dist/skill-packs/agents/review-security.md +139 -0
- package/dist/skill-packs/agents/reviewer.md +152 -0
- package/dist/skill-packs/brand-voice/SKILL.md +115 -0
- package/dist/skill-packs/brand-voice/discover-brand.md +126 -0
- package/dist/skill-packs/brand-voice/guideline-generation.md +154 -0
- package/dist/skill-packs/brand-voice/references/before-after-examples.md +194 -0
- package/dist/skill-packs/brand-voice/references/confidence-scoring.md +128 -0
- package/dist/skill-packs/brand-voice/references/guideline-template.md +241 -0
- package/dist/skill-packs/brand-voice/references/search-strategies.md +271 -0
- package/dist/skill-packs/brand-voice/references/source-ranking.md +248 -0
- package/dist/skill-packs/brand-voice/references/voice-constant-tone-flexes.md +115 -0
- package/dist/skill-packs/business-idea-discovery/SKILL.md +452 -0
- package/dist/skill-packs/business-idea-validation/SKILL.md +209 -0
- package/dist/skill-packs/business-idea-validation/stage-definitions.md +658 -0
- package/dist/skill-packs/catalog.json +657 -0
- package/dist/skill-packs/council/SKILL.md +134 -0
- package/dist/skill-packs/council/debate-protocol.md +90 -0
- package/dist/skill-packs/design/SKILL.md +301 -0
- package/dist/skill-packs/design/design-mobile.md +207 -0
- package/dist/skill-packs/design/design-web.md +148 -0
- package/dist/skill-packs/design/frontend-principles.md +157 -0
- package/dist/skill-packs/design/onboarding-design.md +230 -0
- package/dist/skill-packs/engineering/SKILL.md +155 -0
- package/dist/skill-packs/engineering/backend-principles.md +233 -0
- package/dist/skill-packs/engineering/firebase-cloud-functions/SKILL.md +44 -0
- package/dist/skill-packs/engineering/firebase-cloud-functions/references/gen_comparison.md +45 -0
- package/dist/skill-packs/engineering/firebase-cloud-functions/references/idempotency.md +145 -0
- package/dist/skill-packs/engineering/firebase-cloud-functions/references/local_testing.md +218 -0
- package/dist/skill-packs/engineering/firebase-cloud-functions/references/scaling.md +128 -0
- package/dist/skill-packs/engineering/firebase-cloud-functions/references/secrets.md +70 -0
- package/dist/skill-packs/engineering/firebase-cloud-functions/references/triggers_and_deployment.md +139 -0
- package/dist/skill-packs/engineering/firebase-firestore/SKILL.md +50 -0
- package/dist/skill-packs/engineering/firebase-firestore/references/indexes.md +96 -0
- package/dist/skill-packs/engineering/firebase-firestore/references/provisioning.md +101 -0
- package/dist/skill-packs/engineering/firebase-firestore/references/query_mechanics.md +182 -0
- package/dist/skill-packs/engineering/firebase-firestore/references/security_rules.md +299 -0
- package/dist/skill-packs/engineering/firebase-firestore/references/web_sdk_usage.md +265 -0
- package/dist/skill-packs/engineering/web-app-frontend.md +187 -0
- package/dist/skill-packs/goal-skill/SKILL.md +203 -0
- package/dist/skill-packs/growth/SKILL.md +480 -0
- package/dist/skill-packs/growth/lean-analytics-experiments.md +341 -0
- package/dist/skill-packs/growth/lean-analytics-metrics.md +295 -0
- package/dist/skill-packs/growth/performance-marketing.md +337 -0
- package/dist/skill-packs/meta-marketing/SKILL.md +423 -0
- package/dist/skill-packs/meta-marketing/account-ops.md +190 -0
- package/dist/skill-packs/meta-marketing/api-reference.md +535 -0
- package/dist/skill-packs/meta-marketing/copy-formulas.md +123 -0
- package/dist/skill-packs/meta-marketing/council-personas/creative-director.md +76 -0
- package/dist/skill-packs/meta-marketing/council-personas/performance-monitor.md +71 -0
- package/dist/skill-packs/meta-marketing/council-personas/risk-officer.md +79 -0
- package/dist/skill-packs/meta-marketing/council-personas/strategy-optimizer.md +76 -0
- package/dist/skill-packs/meta-marketing/creative-frameworks.md +176 -0
- package/dist/skill-packs/meta-marketing/mistakes.md +154 -0
- package/dist/skill-packs/meta-marketing/platform-state.md +63 -0
- package/dist/skill-packs/multi-review/REVIEWER_SHARED.md +143 -0
- package/dist/skill-packs/multi-review/SKILL.md +182 -0
- package/dist/skill-packs/system-prompts/SKILL.md +472 -0
- package/dist/templates/AGENTS.md +84 -0
- package/dist/templates/CLAUDE.md +84 -0
- package/dist/templates/council-debate.md +20 -0
- package/dist/templates/council-final-report.md +34 -0
- package/dist/templates/council-persona.md +10 -0
- package/dist/templates/council-report.md +6 -0
- package/dist/templates/feature.md +38 -0
- package/dist/templates/init/0.soul.md +33 -0
- package/dist/templates/init/1.user.md +29 -0
- package/dist/templates/init/2.memory.md +21 -0
- package/dist/templates/init/3.style_guide_and_branding.md +18 -0
- package/dist/templates/init/4.tech_stack.md +22 -0
- package/dist/templates/init/CHANGELOG.json +1 -0
- package/dist/templates/init/RELEASES.json +1 -0
- package/dist/templates/init/data-structures/default.md +35 -0
- package/dist/templates/knowledge.md +10 -0
- package/dist/templates/obsidian/app.json +15 -0
- package/dist/templates/obsidian/appearance.json +4 -0
- package/dist/templates/obsidian/graph.json +58 -0
- package/dist/templates/task.md +70 -0
- package/install.sh +73 -0
- package/package.json +58 -0
- package/skill/SKILL.md +529 -0
- package/skill-packs/agents/biv-customer-analyst.md +140 -0
- package/skill-packs/agents/biv-decision-gate.md +147 -0
- package/skill-packs/agents/biv-financial-analyst.md +128 -0
- package/skill-packs/agents/biv-market-analyst.md +103 -0
- package/skill-packs/agents/biv-researcher.md +140 -0
- package/skill-packs/agents/biv-strategist.md +164 -0
- package/skill-packs/agents/council-persona.md +142 -0
- package/skill-packs/agents/council-synthesizer.md +208 -0
- package/skill-packs/agents/discover-brand.md +216 -0
- package/skill-packs/agents/goal-implementer.md +70 -0
- package/skill-packs/agents/goal-plan-reviewer.md +68 -0
- package/skill-packs/agents/goal-planner.md +75 -0
- package/skill-packs/agents/goal-validator.md +68 -0
- package/skill-packs/agents/marketing-creative.md +85 -0
- package/skill-packs/agents/marketing-monitor.md +143 -0
- package/skill-packs/agents/marketing-strategy.md +139 -0
- package/skill-packs/agents/review-cloud-functions.md +158 -0
- package/skill-packs/agents/review-edge-cases.md +147 -0
- package/skill-packs/agents/review-frontend.md +134 -0
- package/skill-packs/agents/review-router.md +165 -0
- package/skill-packs/agents/review-security.md +139 -0
- package/skill-packs/agents/reviewer.md +152 -0
- package/skill-packs/brand-voice/SKILL.md +115 -0
- package/skill-packs/brand-voice/discover-brand.md +126 -0
- package/skill-packs/brand-voice/guideline-generation.md +154 -0
- package/skill-packs/brand-voice/references/before-after-examples.md +194 -0
- package/skill-packs/brand-voice/references/confidence-scoring.md +128 -0
- package/skill-packs/brand-voice/references/guideline-template.md +241 -0
- package/skill-packs/brand-voice/references/search-strategies.md +271 -0
- package/skill-packs/brand-voice/references/source-ranking.md +248 -0
- package/skill-packs/brand-voice/references/voice-constant-tone-flexes.md +115 -0
- package/skill-packs/business-idea-discovery/SKILL.md +452 -0
- package/skill-packs/business-idea-validation/SKILL.md +209 -0
- package/skill-packs/business-idea-validation/stage-definitions.md +658 -0
- package/skill-packs/catalog.json +657 -0
- package/skill-packs/council/SKILL.md +134 -0
- package/skill-packs/council/debate-protocol.md +90 -0
- package/skill-packs/design/SKILL.md +301 -0
- package/skill-packs/design/design-mobile.md +207 -0
- package/skill-packs/design/design-web.md +148 -0
- package/skill-packs/design/frontend-principles.md +157 -0
- package/skill-packs/design/onboarding-design.md +230 -0
- package/skill-packs/engineering/SKILL.md +155 -0
- package/skill-packs/engineering/backend-principles.md +233 -0
- package/skill-packs/engineering/firebase-cloud-functions/SKILL.md +44 -0
- package/skill-packs/engineering/firebase-cloud-functions/references/gen_comparison.md +45 -0
- package/skill-packs/engineering/firebase-cloud-functions/references/idempotency.md +145 -0
- package/skill-packs/engineering/firebase-cloud-functions/references/local_testing.md +218 -0
- package/skill-packs/engineering/firebase-cloud-functions/references/scaling.md +128 -0
- package/skill-packs/engineering/firebase-cloud-functions/references/secrets.md +70 -0
- package/skill-packs/engineering/firebase-cloud-functions/references/triggers_and_deployment.md +139 -0
- package/skill-packs/engineering/firebase-firestore/SKILL.md +50 -0
- package/skill-packs/engineering/firebase-firestore/references/indexes.md +96 -0
- package/skill-packs/engineering/firebase-firestore/references/provisioning.md +101 -0
- package/skill-packs/engineering/firebase-firestore/references/query_mechanics.md +182 -0
- package/skill-packs/engineering/firebase-firestore/references/security_rules.md +299 -0
- package/skill-packs/engineering/firebase-firestore/references/web_sdk_usage.md +265 -0
- package/skill-packs/engineering/web-app-frontend.md +187 -0
- package/skill-packs/goal-skill/SKILL.md +203 -0
- package/skill-packs/growth/SKILL.md +480 -0
- package/skill-packs/growth/lean-analytics-experiments.md +341 -0
- package/skill-packs/growth/lean-analytics-metrics.md +295 -0
- package/skill-packs/growth/performance-marketing.md +337 -0
- package/skill-packs/meta-marketing/SKILL.md +423 -0
- package/skill-packs/meta-marketing/account-ops.md +190 -0
- package/skill-packs/meta-marketing/api-reference.md +535 -0
- package/skill-packs/meta-marketing/copy-formulas.md +123 -0
- package/skill-packs/meta-marketing/council-personas/creative-director.md +76 -0
- package/skill-packs/meta-marketing/council-personas/performance-monitor.md +71 -0
- package/skill-packs/meta-marketing/council-personas/risk-officer.md +79 -0
- package/skill-packs/meta-marketing/council-personas/strategy-optimizer.md +76 -0
- package/skill-packs/meta-marketing/creative-frameworks.md +176 -0
- package/skill-packs/meta-marketing/mistakes.md +154 -0
- package/skill-packs/meta-marketing/platform-state.md +63 -0
- package/skill-packs/multi-review/REVIEWER_SHARED.md +143 -0
- package/skill-packs/multi-review/SKILL.md +182 -0
- package/skill-packs/system-prompts/SKILL.md +472 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
debate_id: "{{ID}}"
|
|
3
|
+
topic: "{{TOPIC}}"
|
|
4
|
+
synthesized_at: "{{DATE}}"
|
|
5
|
+
personas: {{PERSONAS}}
|
|
6
|
+
rounds: {{ROUNDS}}
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Verdict
|
|
10
|
+
|
|
11
|
+
(The decision in one or two sentences.)
|
|
12
|
+
|
|
13
|
+
## Why
|
|
14
|
+
|
|
15
|
+
(Every WHY traced. One bullet per reason, 1–2 sentences human prose. Source tag
|
|
16
|
+
as a trailing italic line — never mid-sentence parentheticals. If a whole section
|
|
17
|
+
shares the same source mix, write `*Consensus: slug R1, slug R2*` once at the
|
|
18
|
+
section top instead of repeating per bullet.)
|
|
19
|
+
|
|
20
|
+
## What was debated
|
|
21
|
+
|
|
22
|
+
(Ideas, pushback, position shifts across rounds. Name personas; cite round numbers.)
|
|
23
|
+
|
|
24
|
+
## Minority views
|
|
25
|
+
|
|
26
|
+
(Positions that did not win but deserve recording — especially risks the majority dismissed.)
|
|
27
|
+
|
|
28
|
+
## Open risks
|
|
29
|
+
|
|
30
|
+
(What could still go wrong if the verdict is acted on. Flag concrete monitoring or mitigations.)
|
|
31
|
+
|
|
32
|
+
## Appendix: per-agent per-round summaries
|
|
33
|
+
|
|
34
|
+
(Executive summaries only — one per persona per round.)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "{{ID}}"
|
|
3
|
+
status: "planning"
|
|
4
|
+
created: "{{DATE}}"
|
|
5
|
+
updated: "{{DATE}}"
|
|
6
|
+
released_version: null
|
|
7
|
+
tags: []
|
|
8
|
+
related_tasks: []
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Why
|
|
12
|
+
|
|
13
|
+
{{WHY}}
|
|
14
|
+
|
|
15
|
+
## User Stories
|
|
16
|
+
|
|
17
|
+
- [ ] As a [user], I want [action] so that [outcome]
|
|
18
|
+
|
|
19
|
+
## Acceptance Criteria
|
|
20
|
+
|
|
21
|
+
- (Specific, testable conditions for this feature to be complete)
|
|
22
|
+
|
|
23
|
+
## Constraints & Decisions
|
|
24
|
+
<!-- LIFO: newest decision at top -->
|
|
25
|
+
|
|
26
|
+
## Technical Details
|
|
27
|
+
|
|
28
|
+
(How this feature is wired. Key files, services, dependencies, flows.)
|
|
29
|
+
|
|
30
|
+
## Notes
|
|
31
|
+
|
|
32
|
+
(Edge cases, open questions, future considerations.)
|
|
33
|
+
|
|
34
|
+
## Changelog
|
|
35
|
+
<!-- LIFO: newest entry at top -->
|
|
36
|
+
|
|
37
|
+
### {{DATE}} - Created
|
|
38
|
+
- Feature PRD created.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "{{PROJECT_NAME}}"
|
|
3
|
+
type: soul
|
|
4
|
+
updated: "{{DATE}}"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Project Identity
|
|
8
|
+
|
|
9
|
+
{{PROJECT_DESCRIPTION}}
|
|
10
|
+
|
|
11
|
+
## Target User
|
|
12
|
+
|
|
13
|
+
{{TARGET_USER}}
|
|
14
|
+
|
|
15
|
+
## Current Priority
|
|
16
|
+
|
|
17
|
+
{{PRIORITY}}
|
|
18
|
+
|
|
19
|
+
## Core Principles
|
|
20
|
+
|
|
21
|
+
- (Add your project's guiding principles here)
|
|
22
|
+
|
|
23
|
+
## Constraints
|
|
24
|
+
|
|
25
|
+
- (Add known constraints, limitations, or non-negotiables)
|
|
26
|
+
|
|
27
|
+
## Agent Behaviors & Rules
|
|
28
|
+
|
|
29
|
+
- (Project-specific behaviors: "Always run tests before committing", "Use X pattern for Y")
|
|
30
|
+
|
|
31
|
+
## Warnings & Non-Negotiables
|
|
32
|
+
|
|
33
|
+
- (Things that must never happen: "Never expose API keys", "Never delete production data")
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: user-preferences
|
|
3
|
+
type: user
|
|
4
|
+
updated: "{{DATE}}"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## User Preferences
|
|
8
|
+
|
|
9
|
+
- (Decision-making patterns, priorities, review preferences)
|
|
10
|
+
|
|
11
|
+
## Communication Style
|
|
12
|
+
|
|
13
|
+
- (How the user prefers to interact: concise? detailed? technical?)
|
|
14
|
+
|
|
15
|
+
## Project Details
|
|
16
|
+
|
|
17
|
+
- (Key project facts: repo structure, deployment targets, environments)
|
|
18
|
+
|
|
19
|
+
## Project Rules
|
|
20
|
+
|
|
21
|
+
- (Naming conventions, branching strategy, PR process, code style)
|
|
22
|
+
|
|
23
|
+
## Skills & Capabilities
|
|
24
|
+
|
|
25
|
+
- (Tools, frameworks, and technologies the user/team is proficient with)
|
|
26
|
+
|
|
27
|
+
## Workflow Notes
|
|
28
|
+
|
|
29
|
+
- (How work flows: review cycles, approval processes, deployment steps)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: active-decisions
|
|
3
|
+
type: memory
|
|
4
|
+
updated: "{{DATE}}"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Active Memory
|
|
8
|
+
|
|
9
|
+
> Ship events live in `core/CHANGELOG.json`. Use `dreamcontext memory recall "<query>"` to find prior decisions, sessions, or shipped changes.
|
|
10
|
+
|
|
11
|
+
## Technical Decisions
|
|
12
|
+
|
|
13
|
+
<!-- Long-lived architectural decisions referenced repeatedly. Granular implementation decisions belong in `knowledge/`. -->
|
|
14
|
+
|
|
15
|
+
- (Key technical choices and their rationale)
|
|
16
|
+
|
|
17
|
+
## Known Issues
|
|
18
|
+
|
|
19
|
+
<!-- Current bugs, tech debt, workarounds. Resolve or move to knowledge/ once stale. -->
|
|
20
|
+
|
|
21
|
+
- (Open issues and their status)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: style-guide
|
|
3
|
+
type: style
|
|
4
|
+
summary: ""
|
|
5
|
+
updated: "{{DATE}}"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Branding
|
|
9
|
+
|
|
10
|
+
- (Colors, fonts, logo guidelines)
|
|
11
|
+
|
|
12
|
+
## UI/UX Conventions
|
|
13
|
+
|
|
14
|
+
- (Component patterns, spacing, responsive behavior)
|
|
15
|
+
|
|
16
|
+
## Voice & Tone
|
|
17
|
+
|
|
18
|
+
- (Writing style for user-facing content)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tech-stack
|
|
3
|
+
type: tech
|
|
4
|
+
summary: ""
|
|
5
|
+
updated: "{{DATE}}"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Tech Stack
|
|
9
|
+
|
|
10
|
+
{{TECH_STACK}}
|
|
11
|
+
|
|
12
|
+
## Architecture Overview
|
|
13
|
+
|
|
14
|
+
- (High-level architecture: monolith, microservices, serverless, etc.)
|
|
15
|
+
|
|
16
|
+
## Key Dependencies
|
|
17
|
+
|
|
18
|
+
- (Critical libraries, frameworks, and their versions)
|
|
19
|
+
|
|
20
|
+
## Infrastructure
|
|
21
|
+
|
|
22
|
+
- (Hosting, CI/CD, databases, external services)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: {{PRODUCT_NAME}}
|
|
3
|
+
description: Data structures for {{PRODUCT_NAME}}
|
|
4
|
+
type: data-structures
|
|
5
|
+
product: {{PRODUCT_NAME}}
|
|
6
|
+
updated: {{DATE}}
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Data Structures — {{PRODUCT_NAME}}
|
|
10
|
+
|
|
11
|
+
Document this product's database schema, key models, and API contracts here. This file is the source of truth for data shapes.
|
|
12
|
+
|
|
13
|
+
## Conventions
|
|
14
|
+
|
|
15
|
+
- One `data-structures/<product>.md` file per product in a monorepo. `default.md` is the single-product fallback.
|
|
16
|
+
- Sleep-state applies the **single-observation gate** to this file: a single session that adds, removes, or changes a schema MUST be reflected here in the same sleep cycle. No pattern repetition required.
|
|
17
|
+
- Tasks MAY include `product: <name>` in frontmatter to route data-structure observations to the matching product file.
|
|
18
|
+
|
|
19
|
+
## Schema
|
|
20
|
+
|
|
21
|
+
<!-- Example:
|
|
22
|
+
|
|
23
|
+
```sql
|
|
24
|
+
CREATE TABLE users (
|
|
25
|
+
id UUID PRIMARY KEY,
|
|
26
|
+
email VARCHAR(255) NOT NULL UNIQUE,
|
|
27
|
+
created_at TIMESTAMP DEFAULT NOW()
|
|
28
|
+
);
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Or document models in any format that matches the stack — TypeScript interfaces, Prisma schema, Pydantic models, GraphQL SDL. -->
|
|
32
|
+
|
|
33
|
+
## API Contracts
|
|
34
|
+
|
|
35
|
+
<!-- Document request/response shapes, route handlers, and external API integrations relevant to this product. -->
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"newFileLocation": "folder",
|
|
3
|
+
"newFileFolderPath": "inbox",
|
|
4
|
+
"attachmentFolderPath": "./",
|
|
5
|
+
"alwaysUpdateLinks": true,
|
|
6
|
+
"useMarkdownLinks": false,
|
|
7
|
+
"showLineNumber": true,
|
|
8
|
+
"foldHeading": true,
|
|
9
|
+
"foldIndent": true,
|
|
10
|
+
"showFrontmatter": true,
|
|
11
|
+
"tabSize": 2,
|
|
12
|
+
"readableLineLength": true,
|
|
13
|
+
"strictLineBreaks": false,
|
|
14
|
+
"promptDelete": true
|
|
15
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"collapse-filter": false,
|
|
3
|
+
"search": "",
|
|
4
|
+
"showTags": true,
|
|
5
|
+
"showAttachments": false,
|
|
6
|
+
"hideUnresolved": false,
|
|
7
|
+
"showOrphans": true,
|
|
8
|
+
"collapse-color-groups": false,
|
|
9
|
+
"colorGroups": [
|
|
10
|
+
{
|
|
11
|
+
"query": "path:core/features",
|
|
12
|
+
"color": {
|
|
13
|
+
"a": 1,
|
|
14
|
+
"rgb": 1096577
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"query": "path:core",
|
|
19
|
+
"color": {
|
|
20
|
+
"a": 1,
|
|
21
|
+
"rgb": 5223910
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"query": "path:knowledge",
|
|
26
|
+
"color": {
|
|
27
|
+
"a": 1,
|
|
28
|
+
"rgb": 10980858
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"query": "path:state",
|
|
33
|
+
"color": {
|
|
34
|
+
"a": 1,
|
|
35
|
+
"rgb": 16097803
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"query": "path:inbox",
|
|
40
|
+
"color": {
|
|
41
|
+
"a": 1,
|
|
42
|
+
"rgb": 10265007
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"collapse-display": false,
|
|
47
|
+
"showArrow": true,
|
|
48
|
+
"textFadeMultiplier": 0,
|
|
49
|
+
"nodeSizeMultiplier": 1.2,
|
|
50
|
+
"lineSizeMultiplier": 1,
|
|
51
|
+
"collapse-forces": false,
|
|
52
|
+
"centerStrength": 0.5,
|
|
53
|
+
"repelStrength": 12,
|
|
54
|
+
"linkStrength": 1,
|
|
55
|
+
"linkDistance": 250,
|
|
56
|
+
"scale": 1,
|
|
57
|
+
"close": false
|
|
58
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "{{ID}}"
|
|
3
|
+
name: "{{NAME}}"
|
|
4
|
+
description: "{{DESCRIPTION}}"
|
|
5
|
+
priority: "{{PRIORITY}}"
|
|
6
|
+
urgency: "{{URGENCY}}"
|
|
7
|
+
status: "{{STATUS}}"
|
|
8
|
+
created_at: "{{DATE}}"
|
|
9
|
+
updated_at: "{{DATE}}"
|
|
10
|
+
tags: {{TAGS}}
|
|
11
|
+
parent_task: null
|
|
12
|
+
related_feature: null
|
|
13
|
+
version: {{VERSION}}
|
|
14
|
+
# RICE prioritization (optional). Uncomment + fill to enable Scatter view + RICE sort.
|
|
15
|
+
# rice:
|
|
16
|
+
# reach: 5 # integer 1–10
|
|
17
|
+
# impact: 3 # integer 1–5
|
|
18
|
+
# confidence: 75 # one of 25, 50, 75, 100
|
|
19
|
+
# effort: 2 # weeks, > 0 and ≤ 52 (0.5 step OK)
|
|
20
|
+
# score: null # derived server-side; leave null
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Workflow
|
|
24
|
+
<!-- The shape of this task at a glance. One node per acceptance criterion, grouped under milestone subgraphs. Update node classes as work progresses: `:::done` (green), `:::active` (amber), `:::todo` (gray), `:::blocked` (red). Run `dreamcontext tasks doctor` to verify sync. -->
|
|
25
|
+
|
|
26
|
+
```mermaid
|
|
27
|
+
flowchart TD
|
|
28
|
+
subgraph M1 ["Milestone 1 — rename me"]
|
|
29
|
+
A1[First criterion]:::todo
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
classDef done fill:#86efac,stroke:#15803d,color:#052e16
|
|
33
|
+
classDef active fill:#fde68a,stroke:#b45309,color:#451a03
|
|
34
|
+
classDef todo fill:#e5e7eb,stroke:#6b7280,color:#111827
|
|
35
|
+
classDef blocked fill:#fecaca,stroke:#b91c1c,color:#450a0a
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Why
|
|
39
|
+
<!-- What problem does this solve? What breaks if we don't do it? Be concrete — name the user, the friction, the cost. One paragraph beats five bullets. -->
|
|
40
|
+
|
|
41
|
+
{{WHY}}
|
|
42
|
+
|
|
43
|
+
## User Stories
|
|
44
|
+
<!-- Who benefits, what they can do, why it matters. Format: As a <role>, I can <action>, so that <outcome>. Tick the box when the story is demonstrably true in the running system. -->
|
|
45
|
+
|
|
46
|
+
- [ ] As a [role], I can [action], so that [outcome]
|
|
47
|
+
|
|
48
|
+
## Acceptance Criteria
|
|
49
|
+
<!-- The contract. Each line is testable, observable, and gets a node in the Workflow flowchart above. Tick `[x]` AND flip the node to `:::done` in the same edit. -->
|
|
50
|
+
|
|
51
|
+
- [ ] First criterion (matches node A1 in Workflow)
|
|
52
|
+
|
|
53
|
+
## Constraints & Decisions
|
|
54
|
+
<!-- LIFO: newest decision at top. Format: **[YYYY-MM-DD]** Decision + one-line rationale. Capture trade-offs, not just outcomes — future you needs the "why". -->
|
|
55
|
+
|
|
56
|
+
## Technical Details
|
|
57
|
+
<!-- Where the work lives. Files to touch, services involved, key functions to reuse. Update this in place when the approach changes — don't append; the body is current truth, the changelog is history. -->
|
|
58
|
+
|
|
59
|
+
(Key files, services, dependencies, implementation approach.)
|
|
60
|
+
|
|
61
|
+
## Notes
|
|
62
|
+
<!-- Loose ends. Edge cases, open questions, things to verify, ideas for later. -->
|
|
63
|
+
|
|
64
|
+
(Working notes, edge cases, open questions.)
|
|
65
|
+
|
|
66
|
+
## Changelog
|
|
67
|
+
<!-- LIFO: newest entry at top. Auto-prepended by `dreamcontext tasks log`. Each entry is a session-shaped breadcrumb — what shipped, what was decided, where you stopped. -->
|
|
68
|
+
|
|
69
|
+
### {{DATE}} - Created
|
|
70
|
+
- Task created.
|
package/install.sh
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# dreamcontext install script
|
|
3
|
+
# Review this script before piping it to sh: https://github.com/meanllbrl/dreamcontext
|
|
4
|
+
set -e
|
|
5
|
+
|
|
6
|
+
say() {
|
|
7
|
+
printf '%s\n' "$*"
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
die() {
|
|
11
|
+
printf 'error: %s\n' "$*" >&2
|
|
12
|
+
exit 1
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
check_node() {
|
|
16
|
+
if ! command -v node > /dev/null 2>&1; then
|
|
17
|
+
die "Node.js is not installed. Install it from https://nodejs.org (v18 or later required), then re-run this script."
|
|
18
|
+
fi
|
|
19
|
+
if ! command -v npm > /dev/null 2>&1; then
|
|
20
|
+
die "npm is not installed. Install Node.js (which includes npm) from https://nodejs.org, then re-run this script."
|
|
21
|
+
fi
|
|
22
|
+
node_major=$(node -e "process.stdout.write(String(process.versions.node.split('.')[0]))")
|
|
23
|
+
if [ "$node_major" -lt 18 ]; then
|
|
24
|
+
die "Node.js v${node_major} is too old. dreamcontext requires Node.js >= 18. Upgrade at https://nodejs.org, then re-run this script."
|
|
25
|
+
fi
|
|
26
|
+
say "Node.js $(node --version) detected."
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
install_cli() {
|
|
30
|
+
say "Installing dreamcontext..."
|
|
31
|
+
# Installs the published dreamcontext CLI from npm. Review this script before piping it to sh.
|
|
32
|
+
npm install -g dreamcontext@latest
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
verify() {
|
|
36
|
+
if ! dreamcontext --version > /dev/null 2>&1; then
|
|
37
|
+
die "Installation verification failed: 'dreamcontext --version' did not succeed. Check the npm install output above for errors."
|
|
38
|
+
fi
|
|
39
|
+
installed_version=$(dreamcontext --version 2>/dev/null || true)
|
|
40
|
+
say "dreamcontext ${installed_version} installed successfully."
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
maybe_setup() {
|
|
44
|
+
if [ -d "_dream_context" ]; then
|
|
45
|
+
say "Existing _dream_context/ detected. Running 'dreamcontext update'..."
|
|
46
|
+
dreamcontext update
|
|
47
|
+
return
|
|
48
|
+
fi
|
|
49
|
+
|
|
50
|
+
if [ -n "${DREAMCONTEXT_INSTALL_NO_SETUP:-}" ]; then
|
|
51
|
+
say "DREAMCONTEXT_INSTALL_NO_SETUP is set. Skipping setup."
|
|
52
|
+
say "Run \`dreamcontext setup\` to finish."
|
|
53
|
+
exit 0
|
|
54
|
+
fi
|
|
55
|
+
|
|
56
|
+
if [ -t 0 ]; then
|
|
57
|
+
say "Running 'dreamcontext setup' to initialize your project..."
|
|
58
|
+
dreamcontext setup
|
|
59
|
+
else
|
|
60
|
+
say "Run \`dreamcontext setup\` to finish."
|
|
61
|
+
exit 0
|
|
62
|
+
fi
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
main() {
|
|
66
|
+
say "==> dreamcontext installer"
|
|
67
|
+
check_node
|
|
68
|
+
install_cli
|
|
69
|
+
verify
|
|
70
|
+
maybe_setup
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
main
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dreamcontext",
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "dreamcontext — the persistent brain for your AI agents. Remembers what you built, knows how your project works.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"dreamcontext": "./dist/index.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"skill",
|
|
12
|
+
"skill-packs",
|
|
13
|
+
"agents",
|
|
14
|
+
"README.md",
|
|
15
|
+
"LICENSE",
|
|
16
|
+
"install.sh"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build:dashboard": "cd dashboard && npm run build",
|
|
20
|
+
"build:cli": "tsup",
|
|
21
|
+
"build": "npm run build:dashboard && npm run build:cli",
|
|
22
|
+
"dev": "tsup --watch",
|
|
23
|
+
"dev:dashboard": "cd dashboard && npm run dev",
|
|
24
|
+
"test": "vitest",
|
|
25
|
+
"prepublishOnly": "npm run build"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"ai",
|
|
29
|
+
"agent",
|
|
30
|
+
"context",
|
|
31
|
+
"memory",
|
|
32
|
+
"brain",
|
|
33
|
+
"cli",
|
|
34
|
+
"claude",
|
|
35
|
+
"gemini",
|
|
36
|
+
"llm"
|
|
37
|
+
],
|
|
38
|
+
"license": "MIT",
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=18"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@inquirer/prompts": "^7.10.1",
|
|
44
|
+
"boxen": "^8.0.1",
|
|
45
|
+
"chalk": "^5.4.1",
|
|
46
|
+
"commander": "^13.1.0",
|
|
47
|
+
"fast-glob": "^3.3.3",
|
|
48
|
+
"gray-matter": "^4.0.3",
|
|
49
|
+
"nanoid": "^5.1.2"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@types/node": "^22.13.4",
|
|
53
|
+
"sharp": "^0.34.5",
|
|
54
|
+
"tsup": "^8.4.0",
|
|
55
|
+
"typescript": "^5.7.3",
|
|
56
|
+
"vitest": "^3.0.6"
|
|
57
|
+
}
|
|
58
|
+
}
|