@synap-core/workspace-templates 0.63.0 → 0.64.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
@@ -10720,6 +10720,13 @@ var DATA = {
10720
10720
  "targetProfileSlug": "pillar",
10721
10721
  "inputType": "entity_select"
10722
10722
  },
10723
+ {
10724
+ "slug": "idea-campaign",
10725
+ "label": "Campaign",
10726
+ "valueType": "entity_id",
10727
+ "targetProfileSlug": "campaign",
10728
+ "inputType": "entity_select"
10729
+ },
10723
10730
  {
10724
10731
  "slug": "idea-stage",
10725
10732
  "label": "Journey Stage",
@@ -11866,6 +11873,13 @@ var DATA = {
11866
11873
  "video-capture",
11867
11874
  "carousel"
11868
11875
  ]
11876
+ },
11877
+ {
11878
+ "slug": "composition-campaign",
11879
+ "label": "Campaign",
11880
+ "valueType": "entity_id",
11881
+ "targetProfileSlug": "campaign",
11882
+ "inputType": "entity_select"
11869
11883
  }
11870
11884
  ]
11871
11885
  },
@@ -12538,6 +12552,18 @@ var DATA = {
12538
12552
  "type": "belongs_to_pillar",
12539
12553
  "label": "Pillar"
12540
12554
  },
12555
+ {
12556
+ "sourceProfileSlug": "idea",
12557
+ "targetProfileSlug": "campaign",
12558
+ "type": "part_of_campaign",
12559
+ "label": "Campaign"
12560
+ },
12561
+ {
12562
+ "sourceProfileSlug": "content-composition",
12563
+ "targetProfileSlug": "campaign",
12564
+ "type": "part_of_campaign",
12565
+ "label": "Campaign"
12566
+ },
12541
12567
  {
12542
12568
  "sourceProfileSlug": "content-composition",
12543
12569
  "targetProfileSlug": "post",
@@ -12998,9 +13024,9 @@ var DATA = {
12998
13024
  {
12999
13025
  "name": "Plan Next Content",
13000
13026
  "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": "Audit the content corpus. Map every post onto its pillar and its journey stage, and list which pillar \xD7 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 \u2014 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.",
13027
+ "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
13028
  "subjectProfile": {
13003
- "profileSlug": "post"
13029
+ "profileSlug": "campaign"
13004
13030
  },
13005
13031
  "activators": [
13006
13032
  {
@@ -13014,6 +13040,63 @@ var DATA = {
13014
13040
  "mode": "propose"
13015
13041
  }
13016
13042
  ],
13043
+ "stages": [
13044
+ {
13045
+ "key": "read",
13046
+ "name": "Read the calendar and the corpus",
13047
+ "category": "started",
13048
+ "tier": "quick",
13049
+ "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."
13050
+ },
13051
+ {
13052
+ "key": "audit",
13053
+ "name": "Audit pillar x stage",
13054
+ "category": "started",
13055
+ "tier": "deep",
13056
+ "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."
13057
+ },
13058
+ {
13059
+ "key": "place",
13060
+ "name": "Place the bank and the week",
13061
+ "category": "started",
13062
+ "tier": "deep",
13063
+ "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."
13064
+ },
13065
+ {
13066
+ "key": "file",
13067
+ "name": "File the plan and the next post idea",
13068
+ "category": "completed",
13069
+ "tier": "quick",
13070
+ "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."
13071
+ }
13072
+ ],
13073
+ "criteria": [
13074
+ {
13075
+ "key": "nothing-applied-directly",
13076
+ "statement": "No post date or status was changed directly: every date change is a pending proposal, and the final message says applied = none.",
13077
+ "required": true,
13078
+ "check": {
13079
+ "kind": "judge",
13080
+ "hint": "Compare the final message with the records' updatedAt."
13081
+ }
13082
+ },
13083
+ {
13084
+ "key": "rhythm-kept",
13085
+ "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.",
13086
+ "required": true,
13087
+ "check": {
13088
+ "kind": "judge"
13089
+ }
13090
+ },
13091
+ {
13092
+ "key": "outputs-filed",
13093
+ "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.",
13094
+ "required": true,
13095
+ "check": {
13096
+ "kind": "judge"
13097
+ }
13098
+ }
13099
+ ],
13017
13100
  "expectedOutputs": [
13018
13101
  {
13019
13102
  "kind": "post",
@@ -13416,7 +13499,7 @@ var DATA = {
13416
13499
  {
13417
13500
  "name": "Derive outputs",
13418
13501
  "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.",
13502
+ "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
13503
  "subjectProfile": {
13421
13504
  "profileSlug": "content-composition"
13422
13505
  },
@@ -13474,10 +13557,10 @@ var DATA = {
13474
13557
  {
13475
13558
  "key": "content-os-weekly-produce",
13476
13559
  "name": "Weekly content production",
13477
- "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",
13560
+ "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
13561
  "triggerType": "cron",
13479
13562
  "triggerConfig": {
13480
- "expression": "0 9 * * 1"
13563
+ "expression": "0 9 * * 2"
13481
13564
  },
13482
13565
  "status": "paused",
13483
13566
  "flow": {
@@ -13490,10 +13573,10 @@ var DATA = {
13490
13573
  "y": 0
13491
13574
  },
13492
13575
  "data": {
13493
- "label": "Monday at 09:00",
13576
+ "label": "Tuesday at 09:00",
13494
13577
  "triggerType": "cron",
13495
13578
  "config": {
13496
- "expression": "0 9 * * 1"
13579
+ "expression": "0 9 * * 2"
13497
13580
  }
13498
13581
  }
13499
13582
  },