@synap-core/workspace-templates 0.68.0 → 0.69.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/dist/index.js CHANGED
@@ -18060,6 +18060,185 @@ var DATA = {
18060
18060
  "manage_file"
18061
18061
  ]
18062
18062
  },
18063
+ "design-system": {
18064
+ "meta": {
18065
+ "slug": "design-system",
18066
+ "domain": "build",
18067
+ "name": "Design system on Synap",
18068
+ "description": "Mirror an app's Storybook into your pod \u2014 every component, page and user flow as a record with its screenshot, status and what it is made of \u2014 review the ones that change with the design-critique rubric, and tie it to your brand identity. Setup asks three things, one at a time.",
18069
+ "icon": "layout-template",
18070
+ "color": "#7C3AED",
18071
+ "tags": [
18072
+ "suite",
18073
+ "design",
18074
+ "storybook",
18075
+ "ui",
18076
+ "builder",
18077
+ "brand"
18078
+ ],
18079
+ "isPublic": true
18080
+ },
18081
+ "dependencies": [
18082
+ {
18083
+ "slug": "builder-workspace",
18084
+ "kind": "workspace",
18085
+ "relation": "require",
18086
+ "reason": "The kinds the Storybook becomes (ui-component, ui-page, user-flow, the app), the review and design playbooks, and the design-critique rubric. Must resolve first: the setup process lands here."
18087
+ },
18088
+ {
18089
+ "slug": "brand-library",
18090
+ "kind": "workspace",
18091
+ "relation": "require",
18092
+ "reason": "The brand identity the Storybook expresses; the sync source names it."
18093
+ },
18094
+ {
18095
+ "slug": "storybook",
18096
+ "kind": "capability",
18097
+ "relation": "require",
18098
+ "reason": "storybook.sync mirrors the Storybook into the records; storybook.changed lists the components changed since their last review."
18099
+ }
18100
+ ],
18101
+ "workspace": {
18102
+ "name": "Design system on Synap",
18103
+ "description": "Setting up an app's Storybook as pod records, layered onto the Dev space."
18104
+ },
18105
+ "profiles": [],
18106
+ "playbooks": [
18107
+ {
18108
+ "name": "Set up a design system",
18109
+ "description": "Connect one app's Storybook to the pod in three questions asked one at a time: where the Storybook is (a public URL, or a computer that builds and uploads it), which app or project it belongs to, and which brand identity it expresses. Ends with the first sync's import proposal filed for the person and the sync kept current.",
18110
+ "goalTemplate": "Set up the design system of one app on this pod. Load the designing-with-real-components skill first. The pod asks the person three things, one per stage, when your turn ends that stage: never ask them yourself and never ask two at once. WHERE: read what the pod already has (the apps, the brand identities, any ui-component records and the app they belong to) and list the apps and brand identities by name, so the next answers can name one. APP: resolve the app the person named (an existing devplane_app first; never a second record for one that exists; a new one is created through a proposal, filed into the person's project). BRAND: resolve the brand identity they named (brand-identity, Brand space); none named: the source carries none. CONNECT: a public https URL \u2192 run storybook.sync with url, appId and brandIdentityId; a computer \u2192 hand the build-and-upload step to the person's computer (hand-off skill): it builds Storybook, writes a synap.storybook-bundle/v1 file, uploads it to the pod and runs storybook.sync with bundleFileId, appId and brandIdentityId. The first run of a source is ONE import proposal the person approves; never write the records yourself. KEEP CURRENT: the pod does not re-sync a Storybook on its own; for a URL, file a daily automation that runs storybook.sync with the same three values; for a computer, the same build, upload and sync runs after each push to the app's main. The brand identity goes only to storybook.sync (the source's config), never onto the records.",
18111
+ "executor": "is-agent",
18112
+ "status": "active",
18113
+ "stages": [
18114
+ {
18115
+ "key": "where",
18116
+ "name": "Where the Storybook is",
18117
+ "category": "planned",
18118
+ "goal": "Read the pod's apps (devplane_app), brand identities (brand-identity) and any ui-component records with the app they belong to, and list the apps and brand identities by name in your message. Ask nothing yourself; when your turn ends the pod asks where the Storybook is.",
18119
+ "endAsk": {
18120
+ "label": "Where the Storybook is",
18121
+ "why": "The pod reads a public Storybook over https, or a bundle a computer of yours builds and uploads after each push.",
18122
+ "unblocks": "The run asks which app the Storybook belongs to",
18123
+ "ask": {
18124
+ "mode": "form",
18125
+ "form": {
18126
+ "title": "Where is the Storybook?",
18127
+ "fields": [
18128
+ {
18129
+ "key": "storybookUrl",
18130
+ "label": "Public Storybook URL (https)",
18131
+ "type": "url",
18132
+ "required": false,
18133
+ "help": "Leave it empty when the Storybook is private; a computer of yours then builds it and uploads it to the pod after each push."
18134
+ }
18135
+ ]
18136
+ }
18137
+ }
18138
+ }
18139
+ },
18140
+ {
18141
+ "key": "app",
18142
+ "name": "Which app",
18143
+ "category": "started",
18144
+ "goal": "Read the Storybook answer (a URL must be https; an empty answer means a computer uploads). Ask nothing yourself; when your turn ends the pod asks which app or project the Storybook belongs to.",
18145
+ "endAsk": {
18146
+ "label": "Which app the Storybook belongs to",
18147
+ "why": "Every component, page and flow is recorded as part of one app.",
18148
+ "unblocks": "The run asks which brand identity the Storybook expresses",
18149
+ "ask": {
18150
+ "mode": "form",
18151
+ "form": {
18152
+ "title": "Which app or project is it?",
18153
+ "fields": [
18154
+ {
18155
+ "key": "app",
18156
+ "label": "The app (or project) this Storybook belongs to, by name",
18157
+ "type": "text",
18158
+ "required": true,
18159
+ "help": "One of the apps listed above. A new name becomes a new app once you approve it."
18160
+ }
18161
+ ]
18162
+ }
18163
+ }
18164
+ }
18165
+ },
18166
+ {
18167
+ "key": "brand",
18168
+ "name": "Which brand identity",
18169
+ "category": "started",
18170
+ "goal": "Resolve the app the person named (an existing devplane_app first, never a twin; a new one through a proposal filed into their project). Ask nothing yourself; when your turn ends the pod asks which brand identity the Storybook expresses.",
18171
+ "criteria": [
18172
+ {
18173
+ "key": "app-resolved-once",
18174
+ "statement": "The named app resolves to exactly one devplane_app, an existing one or one proposed in this run; no second record of an existing app was created.",
18175
+ "check": {
18176
+ "kind": "judge"
18177
+ }
18178
+ }
18179
+ ],
18180
+ "endAsk": {
18181
+ "label": "Which brand identity it expresses",
18182
+ "why": "The sync source names the brand identity, so reviews and designs read the right brand.",
18183
+ "unblocks": "The run connects the Storybook and starts its first sync",
18184
+ "ask": {
18185
+ "mode": "form",
18186
+ "form": {
18187
+ "title": "Which brand identity?",
18188
+ "fields": [
18189
+ {
18190
+ "key": "brand",
18191
+ "label": "The brand identity this Storybook expresses, by name",
18192
+ "type": "text",
18193
+ "required": false,
18194
+ "help": "From the Brand space. Leave it empty to connect the Storybook without a brand."
18195
+ }
18196
+ ]
18197
+ }
18198
+ }
18199
+ }
18200
+ },
18201
+ {
18202
+ "key": "connect",
18203
+ "name": "Connect and first sync",
18204
+ "category": "started",
18205
+ "goal": "Resolve the brand identity the person named (brand-identity in the Brand space; empty: none). A URL: run storybook.sync with url, appId and brandIdentityId. A computer: hand the step to the person's computer (hand-off skill): build Storybook, write a synap.storybook-bundle/v1 file, upload it to the pod, run storybook.sync with bundleFileId, appId and brandIdentityId. The first run is one import proposal for the person; a refused or failed sync is reported with its reason, never retried blindly.",
18206
+ "criteria": [
18207
+ {
18208
+ "key": "sync-ran-with-answers",
18209
+ "statement": "storybook.sync ran once with the person's source (url, or a bundle file a computer uploaded), the resolved appId and, when one was named, the brandIdentityId, and its import proposal is filed or its refusal is reported with the reason.",
18210
+ "check": {
18211
+ "kind": "judge"
18212
+ }
18213
+ },
18214
+ {
18215
+ "key": "brand-only-on-source",
18216
+ "statement": "The brand identity was passed to storybook.sync only; no mirrored record was written by hand.",
18217
+ "check": {
18218
+ "kind": "judge"
18219
+ }
18220
+ }
18221
+ ]
18222
+ },
18223
+ {
18224
+ "key": "keep-current",
18225
+ "name": "Keep it current",
18226
+ "category": "completed",
18227
+ "goal": "A URL: file a daily automation (create_automation, cron) whose one capability step runs storybook.sync with the same url, appId and brandIdentityId. A computer: record on the session that the build, upload and sync run after each push to the app's main, and on which computer. Then say how the weekly review of changed components is turned on (the schedule of Review a UI component is installed paused).",
18228
+ "criteria": [
18229
+ {
18230
+ "key": "sync-kept-current",
18231
+ "statement": "For a URL a daily storybook.sync automation is filed with the same three values; for a computer the session names the computer and the push that triggers the upload.",
18232
+ "check": {
18233
+ "kind": "judge"
18234
+ }
18235
+ }
18236
+ ]
18237
+ }
18238
+ ]
18239
+ }
18240
+ ]
18241
+ },
18063
18242
  "ecosystem": {
18064
18243
  "meta": {
18065
18244
  "slug": "ecosystem",
@@ -36143,10 +36322,8 @@ var vocabularyFr = {
36143
36322
  "kind.entity.other": "\xC9l\xE9ments",
36144
36323
  "kind.view.one": "Vue",
36145
36324
  "kind.view.other": "Vues",
36146
- "kind.widget.one": "Widget",
36147
- "kind.widget.other": "Widgets",
36148
- "kind.cell.one": "Carte",
36149
- "kind.cell.other": "Cartes",
36325
+ "kind.cell.one": "Cellule",
36326
+ "kind.cell.other": "Cellules",
36150
36327
  "kind.document.one": "Document",
36151
36328
  "kind.document.other": "Documents",
36152
36329
  "kind.channel.one": "Canal",
@@ -36648,6 +36825,9 @@ var vocabularyFr = {
36648
36825
  "status.wont_fix": "Ne sera pas corrig\xE9",
36649
36826
  "status.muted": "En sourdine",
36650
36827
  "status.no_effect": "Aucun changement",
36828
+ "status.not_done": "Non abouti",
36829
+ "status.stopped_on_error": "Arr\xEAt\xE9e sur une erreur",
36830
+ "status.stopped_at_limit": "Arr\xEAt\xE9 \xE0 sa limite",
36651
36831
  "status.blocked_by_policy": "Bloqu\xE9 par une r\xE8gle",
36652
36832
  "status.no_active_goal": "Aucun objectif actif",
36653
36833
  "status.stalled": "\xC0 l\u2019arr\xEAt",
@@ -37012,29 +37192,22 @@ var OBJECT_KIND_ROWS = {
37012
37192
  labelPlural: "Views",
37013
37193
  glyph: "\u25F0"
37014
37194
  },
37015
- widget: {
37016
- kind: "widget",
37017
- category: "widget",
37018
- icon: "LayoutGrid",
37019
- color: ID(5),
37020
- label: "Widget",
37021
- labelPlural: "Widgets",
37022
- glyph: "\u229E"
37023
- },
37024
- /* The kind stays `cell` — that is the engine's word and the DB's. The LABEL is
37025
- "Card" because that is the only word a user may see: NORTH-STAR (team pod) §5 —
37026
- "User-facing word is Card. 'Cell' is the internal engine term — never shown
37027
- to users." This row said "Cell", so every surface resolving through the
37028
- vocabulary printed "Install cell" / "Cell installed" at users. Fixing it
37029
- here, at the one door, fixes all of them at once — which is exactly why a
37030
- local label map at a call site is forbidden. */
37195
+ /* The made UI block is a Cell, for users and agents alike (founder decision,
37196
+ 23 Nov 2026: "Cell everywhere"; "card" is only a renderer slot). It
37197
+ replaced "Card" (D3, 31 Oct 2026) and the retired `widget` kind, which now
37198
+ resolves here through `OBJECT_KIND_ALIASES` (`widget` → `cell`). Fixing
37199
+ the word at this one door fixes every surface at once — which is exactly
37200
+ why a local label map at a call site is forbidden. */
37031
37201
  cell: {
37032
37202
  kind: "cell",
37033
37203
  category: "cell",
37034
37204
  icon: "SquareDashedBottomCode",
37035
37205
  color: ID(5),
37036
- label: "Card",
37037
- labelPlural: "Cards"
37206
+ label: "Cell",
37207
+ labelPlural: "Cells",
37208
+ // Stored text filed before the rename says "Card" or "Widget".
37209
+ formerLabels: ["Card", "Cards", "Widget", "Widgets"],
37210
+ glyph: "\u229E"
37038
37211
  },
37039
37212
  document: {
37040
37213
  kind: "document",
@@ -38234,6 +38407,13 @@ var STATUS_LABEL_ROWS = {
38234
38407
  // operation COMPLETED and deliberately changed nothing (an acknowledged
38235
38408
  // no-op door, an idempotent re-apply that matched 0 rows). Not a failure.
38236
38409
  no_effect: "No change",
38410
+ // A session closed with required work still open (`sessionClosedAs`
38411
+ // not_done): it ended, it did not deliver.
38412
+ not_done: "Not done",
38413
+ // An automation the pod stopped on a fault (`automations.status` error).
38414
+ stopped_on_error: "Stopped on error",
38415
+ // A run that reached its budget or step limit: nothing broke.
38416
+ stopped_at_limit: "Stopped at its limit",
38237
38417
  // A run or step whose effect a GOVERNANCE verdict refused
38238
38418
  // (`automation_runs.status`, `automation_step_runs.status`): a calm outcome,
38239
38419
  // not a failure; its unit state is `blocked` on a rule (`units/state.ts`).