@synap-core/workspace-templates 0.63.0 → 0.65.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/capabilities/design.capability.json +2 -1
- package/dist/index.js +92 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/builder.yaml +3 -2
- package/src/content-os.campaigns.template.test.ts +127 -0
- package/src/content-os.template.test.ts +6 -7
- package/src/content-os.yaml +157 -45
- package/src/templates.ts +92 -11
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"metadata": {
|
|
119
119
|
"designCatalog": {
|
|
120
120
|
"kitId": "synap",
|
|
121
|
-
"hash": "
|
|
121
|
+
"hash": "dd094fbf3c2fa1c0",
|
|
122
122
|
"components": {
|
|
123
123
|
"SpatialAiIcon": {},
|
|
124
124
|
"SpatialAiMark": {
|
|
@@ -2387,6 +2387,7 @@
|
|
|
2387
2387
|
"level": {
|
|
2388
2388
|
"kind": "select",
|
|
2389
2389
|
"options": [
|
|
2390
|
+
"display",
|
|
2390
2391
|
"title",
|
|
2391
2392
|
"heading"
|
|
2392
2393
|
]
|
package/dist/index.js
CHANGED
|
@@ -5909,6 +5909,7 @@ var DATA = {
|
|
|
5909
5909
|
"description": "A canvas of screens (one frame each; a single screen is one frame), designed from the real component library \u2014 Puck JSON a person reviews on the canvas and a coding agent implements.",
|
|
5910
5910
|
"lifecycle": {
|
|
5911
5911
|
"property": "design-status",
|
|
5912
|
+
"initialStatus": "draft",
|
|
5912
5913
|
"options": [
|
|
5913
5914
|
{
|
|
5914
5915
|
"key": "draft",
|
|
@@ -5960,10 +5961,7 @@ var DATA = {
|
|
|
5960
5961
|
"implementing",
|
|
5961
5962
|
"implemented",
|
|
5962
5963
|
"archived"
|
|
5963
|
-
]
|
|
5964
|
-
"constraints": {
|
|
5965
|
-
"defaultValue": "draft"
|
|
5966
|
-
}
|
|
5964
|
+
]
|
|
5967
5965
|
},
|
|
5968
5966
|
{
|
|
5969
5967
|
"slug": "target-surface",
|
|
@@ -10720,6 +10718,13 @@ var DATA = {
|
|
|
10720
10718
|
"targetProfileSlug": "pillar",
|
|
10721
10719
|
"inputType": "entity_select"
|
|
10722
10720
|
},
|
|
10721
|
+
{
|
|
10722
|
+
"slug": "idea-campaign",
|
|
10723
|
+
"label": "Campaign",
|
|
10724
|
+
"valueType": "entity_id",
|
|
10725
|
+
"targetProfileSlug": "campaign",
|
|
10726
|
+
"inputType": "entity_select"
|
|
10727
|
+
},
|
|
10723
10728
|
{
|
|
10724
10729
|
"slug": "idea-stage",
|
|
10725
10730
|
"label": "Journey Stage",
|
|
@@ -11866,6 +11871,13 @@ var DATA = {
|
|
|
11866
11871
|
"video-capture",
|
|
11867
11872
|
"carousel"
|
|
11868
11873
|
]
|
|
11874
|
+
},
|
|
11875
|
+
{
|
|
11876
|
+
"slug": "composition-campaign",
|
|
11877
|
+
"label": "Campaign",
|
|
11878
|
+
"valueType": "entity_id",
|
|
11879
|
+
"targetProfileSlug": "campaign",
|
|
11880
|
+
"inputType": "entity_select"
|
|
11869
11881
|
}
|
|
11870
11882
|
]
|
|
11871
11883
|
},
|
|
@@ -12538,6 +12550,18 @@ var DATA = {
|
|
|
12538
12550
|
"type": "belongs_to_pillar",
|
|
12539
12551
|
"label": "Pillar"
|
|
12540
12552
|
},
|
|
12553
|
+
{
|
|
12554
|
+
"sourceProfileSlug": "idea",
|
|
12555
|
+
"targetProfileSlug": "campaign",
|
|
12556
|
+
"type": "part_of_campaign",
|
|
12557
|
+
"label": "Campaign"
|
|
12558
|
+
},
|
|
12559
|
+
{
|
|
12560
|
+
"sourceProfileSlug": "content-composition",
|
|
12561
|
+
"targetProfileSlug": "campaign",
|
|
12562
|
+
"type": "part_of_campaign",
|
|
12563
|
+
"label": "Campaign"
|
|
12564
|
+
},
|
|
12541
12565
|
{
|
|
12542
12566
|
"sourceProfileSlug": "content-composition",
|
|
12543
12567
|
"targetProfileSlug": "post",
|
|
@@ -12998,9 +13022,9 @@ var DATA = {
|
|
|
12998
13022
|
{
|
|
12999
13023
|
"name": "Plan Next Content",
|
|
13000
13024
|
"description": "Audit the whole corpus against the journey, find the gap, propose what to make next, and propose dates for the posts that have none or whose date has passed.",
|
|
13001
|
-
"goalTemplate":
|
|
13025
|
+
"goalTemplate": `Plan the next content. THREE RULES FIRST (founder, 9 Nov 2026): (A) Only POSTS are planned. A recording, a free take, a composition or a board is raw material that posts are made FROM; never give one a slot or a date, and never treat a post that is only a take (tag source:take, no finished cut) as publishable. (B) The rhythm is the campaign's: which days it publishes and what each day carries (for example one produced video plus one companion carousel on the same idea) are written on the campaign (its notes or its plan document), never in this text. When the rhythm pairs formats, a companion never goes out alone: if a day has no finished lead piece, propose the piece to make (its idea, hook and format), not a lone companion. (C) You change nothing yourself: every new date, swap or move is filed as a proposal for the person (a capture or a proposed update), never applied directly, so never apply a date yourself; your final message must say exactly what is applied and what is proposed, read back from the records. WHICH CAMPAIGN: when this run has a subject, it is the campaign to plan, and you plan THAT campaign only: its dates (campaign-start-date, campaign-end-date), its goal, its audience, its notes and its plan document, its ideas (idea-campaign), its pieces (composition-campaign) and its posts (post-campaign). With no subject, plan every active campaign whose dates cover the coming weeks, each on its own rhythm; when none is active, plan without one and say so. Read the campaign's plan document first: its BACKBONE is the fixed series of slots and its BANK is every post at Idea or Briefed that has no slot yet, with the campaign's ideas and pieces (ideas from interviews, notes, news). Audit the corpus: map every post onto its pillar and its journey stage, list the pillar \xD7 stage cells that are empty or thin, and check the running series for the missing chapter. Then place the flow: for each bank idea, decide where it goes and say why: (1) TIMELY (news, a release, something people talk about this week): the next free day, or replace the backbone slot whose topic it covers better; (2) FITS THIS WEEK'S STAGE (the journey's stages in their order): swap it with the backbone slot of the same stage; (3) otherwise it waits in the bank. A displaced slot moves later, never silently dropped. Propose the coming week's days on the campaign's rhythm, with the reason for each (new pieces as post entities at Idea with their post-campaign set, existing ones as proposed date changes); the person decides every swap. When the campaign states no rhythm, follow each publishing account's cadence (platform-posting-freq on its platform) and each pillar's target (posting-frequency on the pillar). Keep a campaign's posts inside its dates, never put two posts of one account on the same day, never move a Published or Archived post, and never change a post's status. If the pod has offers, note which ones no content teaches toward; if it has none, plan purely for audience-building and do not invent commerce. When an input is missing (no rhythm, no cadence, no plan document), say which one in the run's summary and plan without it. Say "agent", never "AI".`,
|
|
13002
13026
|
"subjectProfile": {
|
|
13003
|
-
"profileSlug": "
|
|
13027
|
+
"profileSlug": "campaign"
|
|
13004
13028
|
},
|
|
13005
13029
|
"activators": [
|
|
13006
13030
|
{
|
|
@@ -13014,6 +13038,63 @@ var DATA = {
|
|
|
13014
13038
|
"mode": "propose"
|
|
13015
13039
|
}
|
|
13016
13040
|
],
|
|
13041
|
+
"stages": [
|
|
13042
|
+
{
|
|
13043
|
+
"key": "read",
|
|
13044
|
+
"name": "Read the calendar and the corpus",
|
|
13045
|
+
"category": "started",
|
|
13046
|
+
"tier": "quick",
|
|
13047
|
+
"goal": "Read the campaign (the run's subject, else every active campaign): its plan document (backbone and bank), its rhythm, its ideas and its pieces, and list the posts with their status, pillar, stage, campaign and date. Read by id; write a short summary in the room and do not re-read it later."
|
|
13048
|
+
},
|
|
13049
|
+
{
|
|
13050
|
+
"key": "audit",
|
|
13051
|
+
"name": "Audit pillar x stage",
|
|
13052
|
+
"category": "started",
|
|
13053
|
+
"tier": "deep",
|
|
13054
|
+
"goal": "Map every post onto its pillar and journey stage, list empty or thin cells, name the missing chapter of the running series, and note offers no content teaches toward (or say there are none). Write the result in the room."
|
|
13055
|
+
},
|
|
13056
|
+
{
|
|
13057
|
+
"key": "place",
|
|
13058
|
+
"name": "Place the bank and the week",
|
|
13059
|
+
"category": "started",
|
|
13060
|
+
"tier": "deep",
|
|
13061
|
+
"goal": "For each bank idea decide timely / fits this week's stage / waits, with the reason. Propose the coming week's days on the campaign's rhythm. Every date change or swap is filed as a proposal; never apply it."
|
|
13062
|
+
},
|
|
13063
|
+
{
|
|
13064
|
+
"key": "file",
|
|
13065
|
+
"name": "File the plan and the next post idea",
|
|
13066
|
+
"category": "completed",
|
|
13067
|
+
"tier": "quick",
|
|
13068
|
+
"goal": "Create the plan document and the Next post idea (status Idea, no date), record both on the session, and post one message that says what is applied and what is proposed, read back from the records."
|
|
13069
|
+
}
|
|
13070
|
+
],
|
|
13071
|
+
"criteria": [
|
|
13072
|
+
{
|
|
13073
|
+
"key": "nothing-applied-directly",
|
|
13074
|
+
"statement": "No post date or status was changed directly: every date change is a pending proposal, and the final message says applied = none.",
|
|
13075
|
+
"required": true,
|
|
13076
|
+
"check": {
|
|
13077
|
+
"kind": "judge",
|
|
13078
|
+
"hint": "Compare the final message with the records' updatedAt."
|
|
13079
|
+
}
|
|
13080
|
+
},
|
|
13081
|
+
{
|
|
13082
|
+
"key": "rhythm-kept",
|
|
13083
|
+
"statement": "Each proposed publishing day follows the campaign's rhythm; when the rhythm pairs formats, no companion goes out alone, and no take, composition or board is given a date.",
|
|
13084
|
+
"required": true,
|
|
13085
|
+
"check": {
|
|
13086
|
+
"kind": "judge"
|
|
13087
|
+
}
|
|
13088
|
+
},
|
|
13089
|
+
{
|
|
13090
|
+
"key": "outputs-filed",
|
|
13091
|
+
"statement": "The Next post idea and the plan document are recorded on the session before it ends, within one run's turns and without a 'Keep the run going' ask.",
|
|
13092
|
+
"required": true,
|
|
13093
|
+
"check": {
|
|
13094
|
+
"kind": "judge"
|
|
13095
|
+
}
|
|
13096
|
+
}
|
|
13097
|
+
],
|
|
13017
13098
|
"expectedOutputs": [
|
|
13018
13099
|
{
|
|
13019
13100
|
"kind": "post",
|
|
@@ -13416,7 +13497,7 @@ var DATA = {
|
|
|
13416
13497
|
{
|
|
13417
13498
|
"name": "Derive outputs",
|
|
13418
13499
|
"description": "Make posts from a piece, spread over two weeks on the accounts you pick (several per account, never two on one account the same day), each linked to the piece, and optionally a newsletter issue.",
|
|
13419
|
-
"goalTemplate": "Derive outputs from this piece ({piece}). Read the piece's body (its document) first. Then create {posts} posts (six when that is empty), each a `post` at Idea (post-status Idea), linked derived_from the piece. Accounts: {accounts} (each a platform entity's id and name; when empty, ask the person which accounts, offering first those whose default-project-id is a project the piece is filed in). Give each post its account (post-account, the platform's id) and a publish-date, spread over the two weeks starting {from} (today when it is empty): several posts per account, never two posts on one account the same day, and skip any day an account already has a post (read that account's posts first). Each post gets its own post-hook and its own text (in `content`), taken from the piece's own words, cut and shaped for the account's platform; never a claim the piece does not make, and no two posts with the same angle. Set post-platform from the account's platform-type. Optionally, when the piece reads as one, add ONE newsletter issue at Idea (newsletter-status Idea) linked derived_from the piece. Create each post and the issue (create_entity), then link each one derived_from the piece (create_relation); each write is a proposal the person approves. The piece's own status is not moved by this run. Nothing is scheduled or published.",
|
|
13500
|
+
"goalTemplate": "Derive outputs from this piece ({piece}). Read the piece's body (its document) first. Then create {posts} posts (six when that is empty), each a `post` at Idea (post-status Idea), linked derived_from the piece. Accounts: {accounts} (each a platform entity's id and name; when empty, ask the person which accounts, offering first those whose default-project-id is a project the piece is filed in). Give each post its account (post-account, the platform's id) and a publish-date, spread over the two weeks starting {from} (today when it is empty): several posts per account, never two posts on one account the same day, and skip any day an account already has a post (read that account's posts first). Each post gets its own post-hook and its own text (in `content`), taken from the piece's own words, cut and shaped for the account's platform; never a claim the piece does not make, and no two posts with the same angle. Set post-platform from the account's platform-type. When the piece has a campaign (composition-campaign), give each post that campaign (post-campaign). Optionally, when the piece reads as one, add ONE newsletter issue at Idea (newsletter-status Idea, and its newsletter-campaign when the piece has one) linked derived_from the piece. Create each post and the issue (create_entity), then link each one derived_from the piece (create_relation); each write is a proposal the person approves. The piece's own status is not moved by this run. Nothing is scheduled or published.",
|
|
13420
13501
|
"subjectProfile": {
|
|
13421
13502
|
"profileSlug": "content-composition"
|
|
13422
13503
|
},
|
|
@@ -13474,10 +13555,10 @@ var DATA = {
|
|
|
13474
13555
|
{
|
|
13475
13556
|
"key": "content-os-weekly-produce",
|
|
13476
13557
|
"name": "Weekly content production",
|
|
13477
|
-
"description": "
|
|
13558
|
+
"description": "Tuesday 09:00. Runs Produce Content once, with no subject. The playbook takes the first eligible pinned post, or the oldest post still in Idea when the pin list has nobody eligible. Shipped paused because Content OS is public: an active cron would spend a run for every installer. Turn it on to start the cycle. Produce Content's own schedule stays off.\n",
|
|
13478
13559
|
"triggerType": "cron",
|
|
13479
13560
|
"triggerConfig": {
|
|
13480
|
-
"expression": "0 9 * *
|
|
13561
|
+
"expression": "0 9 * * 2"
|
|
13481
13562
|
},
|
|
13482
13563
|
"status": "paused",
|
|
13483
13564
|
"flow": {
|
|
@@ -13490,10 +13571,10 @@ var DATA = {
|
|
|
13490
13571
|
"y": 0
|
|
13491
13572
|
},
|
|
13492
13573
|
"data": {
|
|
13493
|
-
"label": "
|
|
13574
|
+
"label": "Tuesday at 09:00",
|
|
13494
13575
|
"triggerType": "cron",
|
|
13495
13576
|
"config": {
|
|
13496
|
-
"expression": "0 9 * *
|
|
13577
|
+
"expression": "0 9 * * 2"
|
|
13497
13578
|
}
|
|
13498
13579
|
}
|
|
13499
13580
|
},
|