@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/src/templates.ts CHANGED
@@ -5841,6 +5841,7 @@ const DATA = {
5841
5841
  "description": "A canvas of screens (one frame each; a single screen is one frame), designed from the real component library — Puck JSON a person reviews on the canvas and a coding agent implements.",
5842
5842
  "lifecycle": {
5843
5843
  "property": "design-status",
5844
+ "initialStatus": "draft",
5844
5845
  "options": [
5845
5846
  {
5846
5847
  "key": "draft",
@@ -5892,10 +5893,7 @@ const DATA = {
5892
5893
  "implementing",
5893
5894
  "implemented",
5894
5895
  "archived"
5895
- ],
5896
- "constraints": {
5897
- "defaultValue": "draft"
5898
- }
5896
+ ]
5899
5897
  },
5900
5898
  {
5901
5899
  "slug": "target-surface",
@@ -10643,6 +10641,13 @@ const DATA = {
10643
10641
  "targetProfileSlug": "pillar",
10644
10642
  "inputType": "entity_select"
10645
10643
  },
10644
+ {
10645
+ "slug": "idea-campaign",
10646
+ "label": "Campaign",
10647
+ "valueType": "entity_id",
10648
+ "targetProfileSlug": "campaign",
10649
+ "inputType": "entity_select"
10650
+ },
10646
10651
  {
10647
10652
  "slug": "idea-stage",
10648
10653
  "label": "Journey Stage",
@@ -11789,6 +11794,13 @@ const DATA = {
11789
11794
  "video-capture",
11790
11795
  "carousel"
11791
11796
  ]
11797
+ },
11798
+ {
11799
+ "slug": "composition-campaign",
11800
+ "label": "Campaign",
11801
+ "valueType": "entity_id",
11802
+ "targetProfileSlug": "campaign",
11803
+ "inputType": "entity_select"
11792
11804
  }
11793
11805
  ]
11794
11806
  },
@@ -12461,6 +12473,18 @@ const DATA = {
12461
12473
  "type": "belongs_to_pillar",
12462
12474
  "label": "Pillar"
12463
12475
  },
12476
+ {
12477
+ "sourceProfileSlug": "idea",
12478
+ "targetProfileSlug": "campaign",
12479
+ "type": "part_of_campaign",
12480
+ "label": "Campaign"
12481
+ },
12482
+ {
12483
+ "sourceProfileSlug": "content-composition",
12484
+ "targetProfileSlug": "campaign",
12485
+ "type": "part_of_campaign",
12486
+ "label": "Campaign"
12487
+ },
12464
12488
  {
12465
12489
  "sourceProfileSlug": "content-composition",
12466
12490
  "targetProfileSlug": "post",
@@ -12921,9 +12945,9 @@ const DATA = {
12921
12945
  {
12922
12946
  "name": "Plan Next Content",
12923
12947
  "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.",
12924
- "goalTemplate": "Audit the content corpus. Map every post onto its pillar and its journey stage, and list which pillar × stage cells are empty or thin. Check the running series for the chapter that is missing. 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. Then propose the next one or two pieces — each created as a post entity at the Idea status, placed on a pillar, a stage and a platform, with the hook and the reason it is next. Then re-plan the calendar. Read the plan's inputs from the pod, never from a number in this text: the active campaign whose dates cover the coming weeks (campaign-start-date, campaign-end-date, its notes), each publishing account's cadence (platform-posting-freq on its platform), each pillar's target (posting-frequency on the pillar) and the goal mix the person set in this space's brief. Propose a publish-date for every post past Idea that has none, and a new publish-date for every post whose date has passed while it is not Published, the longest-waiting first: follow the cadence, balance the pillars and the goals, keep a campaign's posts inside its dates, and 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. File every date as a proposal, all of them in this one run so the person approves them as one batch, each with a one-line reason (the cadence, the gap or the campaign it serves); never apply a date yourself. When an input is missing (no cadence, no goal mix), say which one in the run's summary and plan without it.",
12948
+ "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 × 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\".",
12925
12949
  "subjectProfile": {
12926
- "profileSlug": "post"
12950
+ "profileSlug": "campaign"
12927
12951
  },
12928
12952
  "activators": [
12929
12953
  {
@@ -12937,6 +12961,63 @@ const DATA = {
12937
12961
  "mode": "propose"
12938
12962
  }
12939
12963
  ],
12964
+ "stages": [
12965
+ {
12966
+ "key": "read",
12967
+ "name": "Read the calendar and the corpus",
12968
+ "category": "started",
12969
+ "tier": "quick",
12970
+ "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."
12971
+ },
12972
+ {
12973
+ "key": "audit",
12974
+ "name": "Audit pillar x stage",
12975
+ "category": "started",
12976
+ "tier": "deep",
12977
+ "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."
12978
+ },
12979
+ {
12980
+ "key": "place",
12981
+ "name": "Place the bank and the week",
12982
+ "category": "started",
12983
+ "tier": "deep",
12984
+ "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."
12985
+ },
12986
+ {
12987
+ "key": "file",
12988
+ "name": "File the plan and the next post idea",
12989
+ "category": "completed",
12990
+ "tier": "quick",
12991
+ "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."
12992
+ }
12993
+ ],
12994
+ "criteria": [
12995
+ {
12996
+ "key": "nothing-applied-directly",
12997
+ "statement": "No post date or status was changed directly: every date change is a pending proposal, and the final message says applied = none.",
12998
+ "required": true,
12999
+ "check": {
13000
+ "kind": "judge",
13001
+ "hint": "Compare the final message with the records' updatedAt."
13002
+ }
13003
+ },
13004
+ {
13005
+ "key": "rhythm-kept",
13006
+ "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.",
13007
+ "required": true,
13008
+ "check": {
13009
+ "kind": "judge"
13010
+ }
13011
+ },
13012
+ {
13013
+ "key": "outputs-filed",
13014
+ "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.",
13015
+ "required": true,
13016
+ "check": {
13017
+ "kind": "judge"
13018
+ }
13019
+ }
13020
+ ],
12940
13021
  "expectedOutputs": [
12941
13022
  {
12942
13023
  "kind": "post",
@@ -13339,7 +13420,7 @@ const DATA = {
13339
13420
  {
13340
13421
  "name": "Derive outputs",
13341
13422
  "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.",
13342
- "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.",
13423
+ "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.",
13343
13424
  "subjectProfile": {
13344
13425
  "profileSlug": "content-composition"
13345
13426
  },
@@ -13397,10 +13478,10 @@ const DATA = {
13397
13478
  {
13398
13479
  "key": "content-os-weekly-produce",
13399
13480
  "name": "Weekly content production",
13400
- "description": "Monday 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",
13481
+ "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",
13401
13482
  "triggerType": "cron",
13402
13483
  "triggerConfig": {
13403
- "expression": "0 9 * * 1"
13484
+ "expression": "0 9 * * 2"
13404
13485
  },
13405
13486
  "status": "paused",
13406
13487
  "flow": {
@@ -13413,10 +13494,10 @@ const DATA = {
13413
13494
  "y": 0
13414
13495
  },
13415
13496
  "data": {
13416
- "label": "Monday at 09:00",
13497
+ "label": "Tuesday at 09:00",
13417
13498
  "triggerType": "cron",
13418
13499
  "config": {
13419
- "expression": "0 9 * * 1"
13500
+ "expression": "0 9 * * 2"
13420
13501
  }
13421
13502
  }
13422
13503
  },