@synap-core/workspace-templates 0.69.0 → 0.70.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 +9 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/design-system.template.test.ts +15 -2
- package/src/design-system.yaml +36 -25
- package/src/templates.ts +9 -6
package/dist/index.js
CHANGED
|
@@ -18107,8 +18107,11 @@ var DATA = {
|
|
|
18107
18107
|
{
|
|
18108
18108
|
"name": "Set up a design system",
|
|
18109
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
|
|
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 proposed with create_entity, 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 the build and upload run on the person's computer, not in this run: when they uploaded a synap.storybook-bundle/v1 file, run storybook.sync with its bundleFileId, appId and brandIdentityId; until then, write the three values that computer's agent passes and stop. 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, name the daily automation the person turns on (one storybook.sync step with the same three values); for a computer, the same build, upload and sync run 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
18111
|
"executor": "is-agent",
|
|
18112
|
+
"tools": [
|
|
18113
|
+
"storybook"
|
|
18114
|
+
],
|
|
18112
18115
|
"status": "active",
|
|
18113
18116
|
"stages": [
|
|
18114
18117
|
{
|
|
@@ -18167,7 +18170,7 @@ var DATA = {
|
|
|
18167
18170
|
"key": "brand",
|
|
18168
18171
|
"name": "Which brand identity",
|
|
18169
18172
|
"category": "started",
|
|
18170
|
-
"goal": "Resolve the app the person named (an existing devplane_app first, never a twin; a new one
|
|
18173
|
+
"goal": "Resolve the app the person named (an existing devplane_app first, never a twin; a new one proposed with create_entity, filed into their project). Ask nothing yourself; when your turn ends the pod asks which brand identity the Storybook expresses.",
|
|
18171
18174
|
"criteria": [
|
|
18172
18175
|
{
|
|
18173
18176
|
"key": "app-resolved-once",
|
|
@@ -18202,11 +18205,11 @@ var DATA = {
|
|
|
18202
18205
|
"key": "connect",
|
|
18203
18206
|
"name": "Connect and first sync",
|
|
18204
18207
|
"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:
|
|
18208
|
+
"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: the build and upload run on the person's computer, not in this run; with an uploaded synap.storybook-bundle/v1 file, run storybook.sync with its bundleFileId, appId and brandIdentityId; without one yet, write the values the computer's agent passes and stop. The first run is one import proposal for the person; a refused or failed sync is reported with its reason, never retried blindly.",
|
|
18206
18209
|
"criteria": [
|
|
18207
18210
|
{
|
|
18208
18211
|
"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.",
|
|
18212
|
+
"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; or, for a computer with no bundle uploaded yet, the run wrote the values its agent passes.",
|
|
18210
18213
|
"check": {
|
|
18211
18214
|
"kind": "judge"
|
|
18212
18215
|
}
|
|
@@ -18224,11 +18227,11 @@ var DATA = {
|
|
|
18224
18227
|
"key": "keep-current",
|
|
18225
18228
|
"name": "Keep it current",
|
|
18226
18229
|
"category": "completed",
|
|
18227
|
-
"goal": "A URL:
|
|
18230
|
+
"goal": "A URL: name the daily automation the person turns on to keep it current (one storybook.sync step with the same url, appId and brandIdentityId): the pod does not re-sync a Storybook on its own. A computer: say that its build, upload and sync run after each push to the app's main. Then say how the weekly review of changed components is turned on (the schedule of Review a UI component is installed paused).",
|
|
18228
18231
|
"criteria": [
|
|
18229
18232
|
{
|
|
18230
18233
|
"key": "sync-kept-current",
|
|
18231
|
-
"statement": "For a URL
|
|
18234
|
+
"statement": "For a URL the answer names the daily storybook.sync automation with the same three values; for a computer it names the push that triggers the build, upload and sync.",
|
|
18232
18235
|
"check": {
|
|
18233
18236
|
"kind": "judge"
|
|
18234
18237
|
}
|