@synap-core/workspace-templates 0.7.1 → 0.7.3

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.
Files changed (50) hide show
  1. package/dist/index.d.ts +266 -8
  2. package/dist/index.js +2314 -1440
  3. package/dist/index.js.map +1 -1
  4. package/package.json +4 -3
  5. package/src/agent-fleet.yaml +666 -108
  6. package/src/blockchain-ecosystem.yaml +1 -0
  7. package/src/brand-library.yaml +127 -12
  8. package/src/builder.yaml +116 -12
  9. package/src/business-developer.yaml +110 -18
  10. package/src/catalog.test.ts +2 -2
  11. package/src/catalog.ts +13 -3
  12. package/src/communication.yaml +23 -453
  13. package/src/composition-graph.test.ts +28 -2
  14. package/src/concept-guard.test.ts +176 -0
  15. package/src/concept-guard.ts +219 -0
  16. package/src/content-os.yaml +103 -10
  17. package/src/content-studio.yaml +1 -0
  18. package/src/crm.yaml +1 -0
  19. package/src/define.ts +8 -8
  20. package/src/dev-dashboard.yaml +43 -9
  21. package/src/domains.test.ts +117 -0
  22. package/src/domains.ts +102 -0
  23. package/src/ecosystem.yaml +25 -5
  24. package/src/enterprise-os.yaml +1 -0
  25. package/src/finance.yaml +46 -5
  26. package/src/foundation.yaml +13 -1
  27. package/src/generate.d.mts +15 -0
  28. package/src/generate.mjs +86 -0
  29. package/src/grants.yaml +1 -0
  30. package/src/hr.yaml +61 -8
  31. package/src/index.ts +40 -0
  32. package/src/internal-runbook.yaml +36 -5
  33. package/src/legal.yaml +97 -12
  34. package/src/life-os.yaml +188 -27
  35. package/src/marketing.yaml +15 -2
  36. package/src/meetings-knowledge.yaml +143 -23
  37. package/src/operations.yaml +347 -0
  38. package/src/outreach-comms.yaml +11 -3
  39. package/src/project-management.yaml +840 -111
  40. package/src/research-base.yaml +516 -0
  41. package/src/research-decision.yaml +158 -0
  42. package/src/shared-role-ssot.test.ts +268 -0
  43. package/src/social.yaml +105 -37
  44. package/src/templates-freshness.test.ts +55 -0
  45. package/src/templates.ts +4620 -4278
  46. package/src/the-arch.yaml +1 -0
  47. package/src/types.ts +9 -0
  48. package/src/validate.test.ts +81 -0
  49. package/src/validate.ts +561 -0
  50. package/src/personal.yaml +0 -177
package/src/personal.yaml DELETED
@@ -1,177 +0,0 @@
1
- # Personal Knowledge workspace template
2
- # The "normal" default workspace — capture notes, bookmarks, articles; AI organizes.
3
- # Uses base pod-scoped profiles (note, bookmark, article, project) — no custom app.
4
-
5
- meta:
6
- slug: personal
7
- name: Personal Knowledge
8
- description: Capture notes, bookmarks, and articles — your AI-organized second brain.
9
- icon: brain
10
- color: "#0891B2"
11
- tags: [personal, knowledge, notes, second-brain]
12
- isPublic: true
13
-
14
- workspace:
15
- name: Personal
16
- description: Your personal knowledge base — capture anything, let AI organize it.
17
- proposalId: personal-v1
18
- subtype: personal
19
- visibility: pod_visible
20
- capabilities:
21
- - knowledge.capture
22
- - knowledge.organize
23
-
24
- # Base pod-scoped profiles. Declared so the workspace's views resolve; the
25
- # profiles themselves already exist pod-wide (no new schema created).
26
- profiles:
27
- - slug: note
28
- displayName: Note
29
- icon: file-text
30
- color: amber
31
- description: A quick note or idea.
32
- properties:
33
- - slug: tags
34
- label: Tags
35
- valueType: array
36
- inputType: text
37
- - slug: bookmark
38
- displayName: Bookmark
39
- icon: bookmark
40
- color: blue
41
- description: A saved URL or web reference.
42
- properties:
43
- - slug: url
44
- label: URL
45
- valueType: string
46
- inputType: url
47
- - slug: article
48
- displayName: Article
49
- icon: book-open
50
- color: violet
51
- description: A long-form article or reading-list item.
52
- properties:
53
- - slug: readStatus
54
- label: Status
55
- valueType: string
56
- inputType: select
57
- enumValues: [to-read, reading, read, archived]
58
- - slug: url
59
- label: Source URL
60
- valueType: string
61
- inputType: url
62
- - slug: project
63
- displayName: Project
64
- icon: folder
65
- color: green
66
- description: A project grouping related notes and references.
67
- properties:
68
- - slug: status
69
- label: Status
70
- valueType: string
71
- inputType: select
72
- enumValues: [active, paused, done, archived]
73
-
74
- views:
75
- - name: Feed
76
- type: masonry
77
- scopeProfileSlugs: [note, bookmark, article, project]
78
- description: Everything you captured, newest first.
79
- - name: Reading List
80
- type: table
81
- scopeProfileSlug: article
82
- description: Articles to read, in progress, and read.
83
- - name: Bookmarks
84
- type: grid
85
- scopeProfileSlug: bookmark
86
- description: Saved web references.
87
-
88
- onboarding:
89
- goal: Capture the shape of the user's world — what they're working on, what they're reading and saving, and how they think — so the workspace starts grounded in who they actually are.
90
- framing: >
91
- THE KNOWLEDGE COACH: Act as a gentle, thoughtful personal-knowledge coach.
92
- You're here to understand their world, not audit it — curious, warm, never
93
- pushy. Meet them where they are: a couple of honest notes beat a perfect
94
- system. Reflect back what you hear so it feels captured, not interrogated.
95
- expertise:
96
- starters:
97
- - >
98
- Start from ONE real recurring need, not a structure. Ask "what do you keep losing
99
- track of?" — the tab you meant to read, the idea you forgot, the link you can't
100
- find again — and seed that single thing. A personal space earns trust by solving
101
- one nagging friction, then grows; it dies if it opens as an empty filing cabinet.
102
- - >
103
- Propose the 2-3 things they ACTUALLY want to track, then stop. Most people need
104
- exactly: a place for stray notes, a reading list, and a bookmark pile. Name those,
105
- seed one item in each, and resist adding projects/tags/statuses they didn't ask
106
- for. The default here is deliberately lean — under-structure on purpose.
107
- - >
108
- Mirror their own capture habit instead of imposing one. Ask what a jotted thought
109
- usually looks like for them — a link, a one-liner, a voice-note-to-self — and map
110
- the workspace to that shape. If they dump links, lead with bookmarks; if they
111
- write, lead with notes. Match reality; don't teach them a new ritual.
112
- blindSpots:
113
- - >
114
- The productivity-system graveyard: elaborate setups — nested tags, six statuses,
115
- color-coded areas — built with enthusiasm on day one and abandoned by day seven.
116
- The failure mode is over-structuring, not under-structuring. Every field you add
117
- is a field they must maintain; keep it embarrassingly simple and let it grow later.
118
- - >
119
- People try to design the "perfect system" before they have any content, and stall.
120
- Structure should emerge FROM real notes, not precede them. If they're deliberating
121
- over categories with an empty workspace, cut it short — capture three real things
122
- first, and let the shape reveal itself.
123
- - >
124
- A reading list nobody triages just becomes guilt. People pile "to-read" articles
125
- and never mark anything read or dropped, so the list rots into a backlog they
126
- avoid. Give it a lightweight status (to-read / reading / read / archived) and
127
- normalize archiving unread — a shrinking list is a healthy one.
128
- bar: >
129
- A GREAT result is TWO OR THREE things they genuinely care about, each with a real
130
- item already in it — not an empty scaffold. It should feel like a lean personal
131
- shelf they'll actually open tomorrow, with nothing to maintain that they didn't ask
132
- for. If it looks like a "productivity system", it's already too much.
133
- collect:
134
- - profileSlug: project
135
- what: The handful of things they're actively working on or care about right now.
136
- cardinality: few
137
- keyFields: [name, status]
138
- - profileSlug: note
139
- what: A few ideas, thoughts, or things on their mind — however rough.
140
- cardinality: several
141
- keyFields: [name, tags]
142
- - profileSlug: article
143
- what: What they're reading or mean to read — their reading list.
144
- cardinality: several
145
- keyFields: [name, readStatus]
146
- - profileSlug: bookmark
147
- what: Web references and links worth keeping.
148
- cardinality: several
149
- keyFields: [name, url]
150
- openingQuestions:
151
- - "What are you working on or thinking about most these days?"
152
- - "What have you been reading, saving, or meaning to get to?"
153
- - "When you jot something down, what does it usually look like — a link, a note, a task?"
154
- doneWhen: at least one project or note captured, plus one thing they're reading or saving.
155
-
156
- # No dedicated app — lands on the dashboard/feed (the universal data surface).
157
- app:
158
- kind: stored
159
- cellKey: entity-detail
160
-
161
- layout:
162
- pinnedApps: [dashboard, data, chat]
163
- defaultView: Feed
164
- defaultApp: null
165
- sidebarItems:
166
- - kind: view
167
- viewName: Feed
168
- label: Feed
169
- icon: layout-dashboard
170
- - kind: view
171
- viewName: Reading List
172
- label: Reading List
173
- icon: book-open
174
- - kind: view
175
- viewName: Bookmarks
176
- label: Bookmarks
177
- icon: bookmark