@synap-core/workspace-templates 0.43.0 → 0.45.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.
@@ -567,6 +567,35 @@ profiles:
567
567
  label: Tags
568
568
  valueType: array
569
569
 
570
+ # CAPTURES (founder, 12 Nov 2026: validated Content Studio designs). What
571
+ # the person records on Relay or elsewhere is a `note` (the pod-wide kind
572
+ # Relay's capture door already writes), never a new kind. Content OS adds
573
+ # where it came from and, for a voice capture, its transcript. Sorting it
574
+ # into a piece is the edge note `used_in` piece (entityLinks); no status
575
+ # field is added here: `note` declares no lifecycle on the pod, and a
576
+ # lifecycle on a pod-wide kind would bind every note in every space.
577
+ - slug: note
578
+ displayName: Note
579
+ icon: file-text
580
+ color: violet
581
+ description: A note, or a capture recorded on the phone, by voice, from a link or an email.
582
+ properties:
583
+ - slug: capture-source
584
+ label: Captured from
585
+ description: Where it was captured (relay, voice, link, email, studio). Empty for a note written in place.
586
+ valueType: string
587
+ inputType: select
588
+ enumValues: [relay, voice, link, email, studio]
589
+ - slug: transcript
590
+ label: Transcript
591
+ description: The words of a voice capture, as transcribed.
592
+ valueType: string
593
+ inputType: textarea
594
+ - slug: source-url
595
+ label: Source URL
596
+ valueType: string
597
+ inputType: url
598
+
570
599
  - slug: pillar
571
600
  displayName: Pillar
572
601
  icon: columns
@@ -873,6 +902,19 @@ profiles:
873
902
  label: LinkedIn page ID
874
903
  valueType: string
875
904
  inputType: text
905
+ # The project this account speaks for by default (founder, 12 Nov 2026,
906
+ # plan 78c60908 G10): the company page → The Architech, the personal
907
+ # profile → Personal brand. A project is a row of the pod's projects
908
+ # table, never an entity (`project` is a reserved slug), so this holds
909
+ # its id (synap_list_projects), not an entity reference. It is a default
910
+ # only: a project lens proposes this account, a piece filed into that
911
+ # project offers it first. It never limits what an account posts: ANY
912
+ # number of posts, on any piece, go out on any account.
913
+ - slug: default-project-id
914
+ label: Default project
915
+ description: Id of the project this account posts for by default (a project of the pod, not an entity).
916
+ valueType: string
917
+ inputType: text
876
918
 
877
919
  - slug: newsletter
878
920
  displayName: Newsletter
@@ -1243,16 +1285,59 @@ profiles:
1243
1285
  # carry them, and `composition-ref` is what the Content app joins renders on.
1244
1286
  # `recipe-ref` was `pipeline-ref` until 2026-10-11 ("pipeline" is now only the
1245
1287
  # view); live rows move via conversions `w12.content.pipeline-ref-to-recipe-ref`.
1288
+ # THE PIECE (founder D4, 12 Nov 2026; plan 78c60908 §3): the composition is
1289
+ # the work, a post is one of its outputs. A piece is written first (its body
1290
+ # is the entity's own pod document: an essay, a post, a chapter), may go
1291
+ # through the media steps (board → render, the 5 Nov content-flow model
1292
+ # 06d0a17b), then its outputs are derived: any number of posts per account,
1293
+ # a newsletter issue, a site essay, each its own thing `derived_from` it.
1294
+ # Sources are relations, never copied text: an inspiration `inspired_by`, an
1295
+ # idea `used_in`, an earlier piece `references`. A book or a series is a
1296
+ # piece whose chapters are pieces `part_of` it.
1246
1297
  - slug: content-composition
1247
1298
  displayName: Composition
1248
1299
  icon: clapperboard
1249
1300
  color: blue
1250
- description: "A HyperFrames project: brief + storyboard, the project zip, the rendered MP4, its key-frame stills, and the brand kit it used."
1301
+ description: "A piece of work: its body is a document (an essay, a post, a chapter), its sources are linked (inspirations, ideas, earlier pieces), and its outputs (posts, a newsletter issue, a site essay) are derived from it. A video or carousel piece also carries its brief, storyboard, project zip, render and key-frame stills."
1251
1302
  semanticSlug: content.composition
1252
1303
  # How it renders (entity rendering, decision 8): @synap-core/types/presentation.
1253
1304
  presentation:
1254
1305
  family: document
1306
+ # The ONE lifecycle (work model L1). Writing first (founder, 12 Nov 2026:
1307
+ # Idea → Drafting → Ready → Deriving → Published), with the media steps of
1308
+ # the founder's 6 Nov declaration (proposal 305683a8) kept VERBATIM between
1309
+ # them: a live pod holds rows at `board`, `generating` and `in_review`, and
1310
+ # its playbooks (Shape a piece, Make the stills, Make an animated video,
1311
+ # Make a presenter explainer, Enhance a recorded video, Post the stills)
1312
+ # move pieces through `intent`, `board`, `generating`, `in_review` and
1313
+ # `approved`. So no key is renamed: `intent` reads "Idea" and `approved`
1314
+ # reads "Ready" (the person signs the piece off, writing or media alike).
1315
+ # `approved` is active, not done: a ready piece still has its outputs to
1316
+ # derive and publish; `published` is the done step.
1317
+ # A pod that already declares this lifecycle KEEPS its own on re-apply
1318
+ # (reconcile-lifecycle: "a reused profile that already declares a
1319
+ # lifecycle keeps it"); moving such a pod to this one is a pod-side
1320
+ # lifecycle declaration, not this file.
1321
+ lifecycle:
1322
+ property: status
1323
+ options:
1324
+ - { key: intent, label: Idea, category: open }
1325
+ - { key: drafting, label: Drafting, category: active, stuckAfterDays: 14 }
1326
+ - { key: board, label: Board, category: active, stuckAfterDays: 14 }
1327
+ - { key: assets_chosen, label: Assets chosen, category: active, stuckAfterDays: 7 }
1328
+ - { key: generating, label: Generating, category: active, stuckAfterDays: 3 }
1329
+ - { key: in_review, label: In review, category: active, stuckAfterDays: 5 }
1330
+ - { key: approved, label: Ready, category: active, humanOnly: true }
1331
+ - { key: deriving, label: Deriving, category: active, stuckAfterDays: 7 }
1332
+ - { key: published, label: Published, category: done }
1333
+ - { key: retired, label: Retired, category: lost }
1255
1334
  properties:
1335
+ - slug: status
1336
+ label: Status
1337
+ valueType: string
1338
+ inputType: select
1339
+ enumValues: [intent, drafting, board, assets_chosen, generating, in_review, approved, deriving, published, retired]
1340
+ constraints: { defaultValue: intent }
1256
1341
  - slug: composition-id
1257
1342
  label: Composition ID
1258
1343
  valueType: string
@@ -1328,6 +1413,19 @@ profiles:
1328
1413
  label: Recipe
1329
1414
  valueType: string
1330
1415
  inputType: text
1416
+ # The piece's board (founder, 12 Nov 2026: validated Content Studio
1417
+ # designs): ONE free board per piece, beside its document. A board is a
1418
+ # pod view of type whiteboard (tldraw, decision D2); a view has no
1419
+ # entity column and a relation cannot point at a view (relations join
1420
+ # entities and cells), so the piece names its board by the view's id,
1421
+ # the same way it names its brief and storyboard documents. Made on
1422
+ # first open, never before. Distinct from the per-frame storyboard
1423
+ # sketches the composition's document holds.
1424
+ - slug: board-view-id
1425
+ label: Board
1426
+ description: Id of this piece's whiteboard (a pod view of type whiteboard).
1427
+ valueType: string
1428
+ inputType: text
1331
1429
 
1332
1430
  - slug: content-asset
1333
1431
  displayName: Asset
@@ -1811,6 +1909,60 @@ entityLinks:
1811
1909
  targetProfileSlug: content-composition
1812
1910
  type: used_in
1813
1911
  label: Composition
1912
+ # The piece's graph (founder D4 + D6, 12 Nov 2026; plan 78c60908 §3). An
1913
+ # output is its own thing `derived_from` the piece it came from: any number
1914
+ # of posts, on any accounts. A chapter is a piece `part_of` its book or
1915
+ # series. An idea feeds a piece through `used_in` (the desk's "Use").
1916
+ # `inspired_by` (inspiration → piece) is declared in relationDefs below with
1917
+ # no entityLink here: `inspiration` is the Market template's kind, which
1918
+ # this template does not declare, and the relation only needs its def in
1919
+ # this space's lens to be written.
1920
+ - sourceProfileSlug: post
1921
+ targetProfileSlug: content-composition
1922
+ type: derived_from
1923
+ label: From piece
1924
+ - sourceProfileSlug: content-composition
1925
+ targetProfileSlug: content-composition
1926
+ type: part_of
1927
+ label: Part of
1928
+ - sourceProfileSlug: idea
1929
+ targetProfileSlug: content-composition
1930
+ type: used_in
1931
+ label: Used in
1932
+ - sourceProfileSlug: note
1933
+ targetProfileSlug: content-composition
1934
+ type: used_in
1935
+ label: Used in
1936
+ - sourceProfileSlug: newsletter
1937
+ targetProfileSlug: content-composition
1938
+ type: derived_from
1939
+ label: From piece
1940
+
1941
+ # Relation types this space defines, with their meaning. A slug an entityLink
1942
+ # above names is reused when the lens already resolves it; these carry the
1943
+ # description and inverse label for the ones that are new here (reconcile
1944
+ # creates a declared def no entityLink names, so `inspired_by` exists too).
1945
+ relationDefs:
1946
+ - slug: inspired_by
1947
+ displayName: Inspired by
1948
+ description: "The source (an inspiration: a post, a page, a video someone else made) inspired the target piece, either for what it says or for how it says it (the inspiration's `kept-for`). A source, never copied text."
1949
+ isDirectional: true
1950
+ uiHints:
1951
+ category: reference
1952
+ inverseLabel: Inspired
1953
+ - slug: part_of
1954
+ displayName: Part of
1955
+ # Chapter order lives on the edge, as `metadata.order` (a number, the
1956
+ # chapters read ascending): a chapter is placed in ITS book, so the order
1957
+ # is the relation's, not the chapter's. The pod writes relation metadata
1958
+ # through Hub POST /relations and tRPC relations.create / relations.update;
1959
+ # Hub has no update door for a relation (a reorder from an SDK app is
1960
+ # delete + create) and MCP synap_link_entities carries no metadata.
1961
+ description: "The source is a part of the target: a chapter of a book, an essay of a series. Both are pieces. The edge's metadata.order (a number) places the part: parts read in ascending order."
1962
+ isDirectional: true
1963
+ uiHints:
1964
+ category: hierarchy
1965
+ inverseLabel: Parts
1814
1966
 
1815
1967
  # Playbooks — session templates seeded with the workspace.
1816
1968
  # `subjectProfile` binds a playbook to a kind so the Capture → Session matcher
@@ -2412,16 +2564,19 @@ playbooks:
2412
2564
  # Caption box runs it for that post. ONE-SHOT (executor generate, plan
2413
2565
  # 08e4fba7, backend#988): the pod reads the post's fields and its script
2414
2566
  # document, makes ONE model call with no tools, and files the answer as a
2415
- # PROPOSAL of the script's AI-owned "Caption draft" section (`lands`), never
2416
- # the "Caption" the person saved. No session, no room, no agent turn: the
2417
- # person approves the draft inline in the app or in Needs you. So the goal is
2567
+ # PROPOSAL of the script's own "## Caption" (`lands` owner person,
2568
+ # backend#1010; decision of 10 Nov 2026 "An approved one-shot draft lands in
2569
+ # the person's own target"): approving it IS the write of the caption, with
2570
+ # no AI draft section and no copy by the app. No session, no room, no agent
2571
+ # turn: the person approves (or edits, then approves) inline in the app or in
2572
+ # Needs you. So the goal is
2418
2573
  # a WRITING instruction only: what a good caption is, never a tool or a write
2419
2574
  # (schema/run-tools.guard.test.ts holds a one-shot run to no tools). The
2420
2575
  # brand voice reaches the call as guidance: the approved general and social
2421
2576
  # voice guides (Brand Library, a dependency), since the call cannot look
2422
2577
  # anything up. It binds no stage and never moves the status.
2423
2578
  - name: Write the caption
2424
- description: Draft the caption of one post from its brief and its script, filed as a draft section of its script document for the person to approve.
2579
+ description: Draft the caption of one post from its brief and its script, filed as a proposal of its script's Caption that the person approves.
2425
2580
  goalTemplate: >-
2426
2581
  Write the caption of this post ({post}) from its fields and its script
2427
2582
  below: its hook (post-hook), its call to action (post-cta), its pillar,
@@ -2439,16 +2594,16 @@ playbooks:
2439
2594
  guidance:
2440
2595
  - { ref: "kind:brand-voice-guide", label: Voice, where: { voice-context: [general, social] } }
2441
2596
  # Typed output: the draft lands in the post's own script document, as its
2442
- # "Caption draft" section (a proposal), so nothing new is created and there
2443
- # is no edge to add. `examples` (backend#1005, founder decision 8 of plan
2597
+ # "## Caption" once approved (a proposal of the person's own block until
2598
+ # then), so nothing new is created and there is no edge to add. `examples` (backend#1005, founder decision 8 of plan
2444
2599
  # 08e4fba7): the call also sees the person's last 3 approved captions (as
2445
2600
  # they kept them) and last 3 rejected ones (with their reason when given)
2446
2601
  # from this space, so a draft starts closer to what they keep.
2447
2602
  expectedOutputs:
2448
2603
  - kind: document
2449
- label: Caption draft
2604
+ label: Caption
2450
2605
  relationToSubject: none
2451
- lands: { target: subject_document_section, section: Caption draft, examples: { approved: 3, rejected: 3 } }
2606
+ lands: { target: subject_document_section, section: Caption, owner: person, examples: { approved: 3, rejected: 3 } }
2452
2607
  params:
2453
2608
  - { name: post, type: entity, label: Post, required: true }
2454
2609
  executor: generate
@@ -2570,6 +2725,162 @@ playbooks:
2570
2725
  statement: Subscriber count at send is recorded.
2571
2726
  check: { kind: judge }
2572
2727
 
2728
+ # A THINKING SESSION on one piece (founder, 12 Nov 2026: validated Content
2729
+ # Studio designs; plan 78c60908 §4 "give me one hour of thinking"). The AI
2730
+ # prepares and asks; the person thinks and answers; the draft is the
2731
+ # person's own answers stitched in the order they chose. The AI never
2732
+ # writes the piece. The timebox is a param (`minutes`, 60 by default): a
2733
+ # focus session carries no timebox of its own (focus_sessions has no
2734
+ # duration or end-by column), so the run keeps time from its start.
2735
+ # It FOLLOWS content-composition's lifecycle: only the draft stage moves the
2736
+ # piece, to Drafting, and only once the person approves the draft.
2737
+ - name: Thinking session
2738
+ description: A timeboxed session of thinking on one piece. The AI gathers what you already have, asks you questions, and stitches your own answers, in your order, into a thesis and a first draft. It never writes the piece for you.
2739
+ goalTemplate: >-
2740
+ Run a thinking session of {minutes} minutes on this piece ({piece}),
2741
+ counted from the session's start. The person thinks; you prepare, ask
2742
+ and stitch. You never write the piece: every sentence of the thesis and
2743
+ the draft is the person's, from their answers, in the order they chose.
2744
+ GATHER: read the piece (its document, its board) and what it already
2745
+ links: inspirations (inspired_by), ideas and captures (used_in, notes
2746
+ with a capture-source), earlier pieces (references), its chapters
2747
+ (part_of). Search the pod for what the person already thought about this
2748
+ subject (synap_ask) and post a short list of those sources in the
2749
+ session room, each a link, with one line on why it matters. Link a
2750
+ source the person keeps to the piece (inspired_by for an inspiration,
2751
+ used_in for an idea or a note, references for an earlier piece).
2752
+ QUESTIONS: ask one question at a time in the session room, each short
2753
+ and open, built on the sources and the person's last answer; never
2754
+ suggest the answer. Keep every answer verbatim. Stop asking when the
2755
+ person says so or when the timebox is near its end, leaving time to
2756
+ stitch. THESIS: ask the person to say, in one or two sentences, what the
2757
+ piece claims; offer their own strongest lines to choose from, never a
2758
+ line of yours. DRAFT: lay the person's answers out in the order they
2759
+ pick (ask for it), with the thesis first, as a proposal of the piece's
2760
+ document; only joining words may be added, marked as yours. The person
2761
+ approves the draft; then the piece reads Drafting.
2762
+ subjectProfile:
2763
+ profileSlug: content-composition
2764
+ activators:
2765
+ - { on: manual, mode: propose }
2766
+ params:
2767
+ - { name: piece, type: entity, label: Piece, required: true }
2768
+ - { name: minutes, type: number, label: Minutes, default: 60 }
2769
+ executor: is-agent
2770
+ status: active
2771
+ tools: [update_entity, create_relation]
2772
+ stages:
2773
+ - key: gather
2774
+ name: Gather context
2775
+ category: planned
2776
+ goal: >-
2777
+ Read the piece and what it links, search the pod for what the person
2778
+ already thought about its subject, and post the sources in the room,
2779
+ each a link with one line on why it matters. Nothing is written into
2780
+ the piece. A run starts here without moving the piece.
2781
+ criteria:
2782
+ - key: gather-sources-posted
2783
+ statement: The room lists the piece's linked sources and what the pod already holds on its subject, each as a link.
2784
+ check: { kind: judge }
2785
+ - key: questions
2786
+ name: Questions
2787
+ category: started
2788
+ goal: >-
2789
+ Ask one open question at a time in the session room, built on the
2790
+ sources and the last answer, and keep each answer verbatim. Never
2791
+ suggest an answer and never write a sentence of the piece. Stop when
2792
+ the person says so or the timebox nears its end.
2793
+ criteria:
2794
+ - key: questions-one-at-a-time
2795
+ statement: Each question was asked alone and none contains its answer.
2796
+ check: { kind: judge }
2797
+ - key: questions-answers-kept
2798
+ statement: Every answer is kept verbatim in the session room.
2799
+ check: { kind: judge }
2800
+ - key: thesis
2801
+ name: Thesis
2802
+ category: started
2803
+ goal: >-
2804
+ Ask the person for the piece's claim in one or two sentences,
2805
+ offering only their own strongest lines to choose from.
2806
+ criteria:
2807
+ - key: thesis-own-words
2808
+ statement: The thesis is in the person's own words, from their answers.
2809
+ check: { kind: judge }
2810
+ - key: draft
2811
+ name: Draft
2812
+ category: started
2813
+ subjectStatus: drafting
2814
+ goal: >-
2815
+ Ask the person the order of their answers, then lay them out with
2816
+ the thesis first as a proposal of the piece's document. Only joining
2817
+ words may be added, marked as yours. The person approves the draft;
2818
+ a rejected draft goes back to the questions.
2819
+ gate: { kind: human }
2820
+ onFail: { toStage: questions }
2821
+ expectedOutputs:
2822
+ # The piece's own document (its body): nothing new is created, so
2823
+ # there is no edge to the subject.
2824
+ - kind: document
2825
+ label: Draft (the person's answers, in their order)
2826
+ relationToSubject: none
2827
+ criteria:
2828
+ - key: draft-is-answers
2829
+ statement: Every sentence of the draft comes from the person's answers, apart from marked joining words.
2830
+ check: { kind: judge }
2831
+ - key: draft-approved
2832
+ statement: The person approved the draft.
2833
+ check: { kind: human }
2834
+
2835
+ # DERIVE OUTPUTS from a piece (founder D4, 12 Nov 2026: posts are the
2836
+ # piece's outputs, ANY number per account; spec by the Content Studio lane
2837
+ # for its Derive screen). It makes posts at Idea, spread over two weeks, each
2838
+ # linked `derived_from` the piece, and optionally one newsletter issue. The
2839
+ # posts then follow their own lifecycle and publish flow, unchanged. Params
2840
+ # are typed by the pod's param contract (text | number | entity | choice |
2841
+ # boolean): no list and no date type, so `accounts` is text (each account's
2842
+ # id and name) and `from` is text (YYYY-MM-DD; absent = today). Text comes
2843
+ # from the piece: a post's words are the piece's, cut and shaped for the
2844
+ # platform, never a new claim.
2845
+ - name: Derive outputs
2846
+ 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.
2847
+ goalTemplate: >-
2848
+ Derive outputs from this piece ({piece}). Read the piece's body (its
2849
+ document) first. Then create {posts} posts (six when that is empty),
2850
+ each a `post` at Idea (post-status Idea), linked derived_from the
2851
+ piece. Accounts: {accounts} (each a platform entity's id and name; when
2852
+ empty, ask the person which accounts, offering first those whose
2853
+ default-project-id is a project the piece is filed in). Give each post its account
2854
+ (post-account, the platform's id) and a publish-date, spread over the
2855
+ two weeks starting {from} (today when it is empty): several posts per
2856
+ account, never two posts on one account the same day, and skip any day
2857
+ an account already has a post (read that account's posts first). Each
2858
+ post gets its own post-hook and its own text (in `content`), taken from
2859
+ the piece's own words, cut and shaped for the account's platform; never
2860
+ a claim the piece does not make, and no two posts with the same angle.
2861
+ Set post-platform from the account's platform-type. Optionally, when
2862
+ the piece reads as one, add ONE newsletter issue at Idea
2863
+ (newsletter-status Idea) linked derived_from the piece. Create each
2864
+ post and the issue (create_entity), then link each one derived_from
2865
+ the piece (create_relation); each write is a proposal the person
2866
+ approves. The piece's own status is not moved by this run. Nothing is
2867
+ scheduled or published.
2868
+ subjectProfile:
2869
+ profileSlug: content-composition
2870
+ activators:
2871
+ - { on: manual, mode: propose }
2872
+ params:
2873
+ - { name: piece, type: entity, label: Piece, required: true }
2874
+ - { name: accounts, type: text, label: Accounts (ids and names) }
2875
+ - { name: posts, type: number, label: How many posts }
2876
+ - { name: from, type: text, label: From (YYYY-MM-DD) }
2877
+ executor: is-agent
2878
+ status: active
2879
+ tools: [create_entity, create_relation]
2880
+ expectedOutputs:
2881
+ - { kind: post, label: Derived post, relationToSubject: derived_from }
2882
+ - { kind: newsletter, label: Newsletter issue, relationToSubject: derived_from, optional: true }
2883
+
2573
2884
  automations:
2574
2885
  - key: content-os-weekly-produce
2575
2886
  name: Weekly content production
@@ -161,13 +161,13 @@ profiles:
161
161
  displayName: Inspiration
162
162
  icon: sparkles
163
163
  color: amber
164
- description: A brand, founder, product, or campaign worth learning from.
164
+ description: A brand, founder, product, campaign or post worth learning from, kept for what it says, how it says it, or both.
165
165
  properties:
166
166
  - slug: kind
167
167
  label: Kind
168
168
  valueType: string
169
169
  inputType: select
170
- enumValues: [brand, founder, product, campaign]
170
+ enumValues: [brand, founder, product, campaign, post]
171
171
  - slug: why
172
172
  label: Why
173
173
  valueType: string
@@ -176,6 +176,87 @@ profiles:
176
176
  label: URL
177
177
  valueType: string
178
178
  inputType: url
179
+ # ── A kept post (founder, 12 Nov 2026; plan 78c60908 G2) ─────────────
180
+ # An inspiration is also a post or page kept for a piece of work. It is
181
+ # kept for WHAT it says (content), for HOW it says it (form: hook,
182
+ # cuts, layout), or both; a piece links it `inspired_by` (Content OS).
183
+ # Say nothing rather than guess: no default.
184
+ - slug: kept-for
185
+ label: Kept for
186
+ description: "What it is kept for: content (what it says), form (how it says it), or both."
187
+ valueType: string
188
+ inputType: select
189
+ enumValues: [content, form, both]
190
+ # The fields a live pod already writes on inspirations (the studio's
191
+ # video teardowns), declared here so a new pod gets the same body.
192
+ # Free text, as stored: a select here would refuse live values.
193
+ - slug: source-platform
194
+ label: Platform
195
+ description: Where it was published (instagram, tiktok, linkedin, a site…).
196
+ valueType: string
197
+ inputType: text
198
+ - slug: author-handle
199
+ label: Author
200
+ description: Who made it (handle or name).
201
+ valueType: string
202
+ inputType: text
203
+ - slug: media-format
204
+ label: Format
205
+ valueType: string
206
+ inputType: text
207
+ - slug: production-layer
208
+ label: Production layer
209
+ valueType: string
210
+ inputType: text
211
+ - slug: priority
212
+ label: Priority
213
+ valueType: string
214
+ inputType: text
215
+ - slug: style-read
216
+ label: Style read
217
+ description: How it is made, read by a person or an agent (set, cuts, type, pacing).
218
+ valueType: string
219
+ inputType: textarea
220
+ - slug: analysis
221
+ label: Analysis
222
+ description: Measured facts of a video teardown (duration, hard cuts, average shot, hook line).
223
+ valueType: object
224
+ inputType: json
225
+ # A captured post, as the reader `capture_social_post` returns it
226
+ # (apify capability: author, authorUrl, text, publishedAt, media,
227
+ # fields.platform / likes / comments / views, sourceUrl). platform →
228
+ # source-platform, author → author-handle, sourceUrl → url above; the
229
+ # rest lands here, read once, never refreshed.
230
+ - slug: author-url
231
+ label: Author page
232
+ valueType: string
233
+ inputType: url
234
+ - slug: post-text
235
+ label: Text
236
+ description: The post's own text (its caption or body), verbatim.
237
+ valueType: string
238
+ inputType: textarea
239
+ - slug: published-at
240
+ label: Published
241
+ valueType: date
242
+ inputType: date
243
+ - slug: media
244
+ label: Media
245
+ description: "The post's pictures and video as read: a list of { url, kind: image | video, role?: cover | slide, width?, height?, durationSec? }."
246
+ valueType: array
247
+ inputType: json
248
+ - slug: likes
249
+ label: Likes
250
+ valueType: number
251
+ inputType: number
252
+ - slug: comments
253
+ label: Comments
254
+ valueType: number
255
+ inputType: number
256
+ - slug: views
257
+ label: Views
258
+ valueType: number
259
+ inputType: number
179
260
 
180
261
  # ── Market event (NEW) ──────────────────────────────────────────────────────
181
262
  - slug: ecosystem-event
@@ -272,7 +272,9 @@ describe("lifecycle declarations — coverage (derived from the playbooks)", ()
272
272
  * P6, 2026-10-12), outreach-touch.sent (a person sends, 2026-10-20),
273
273
  * devplane_feature.cancelled / devplane_story.dropped (homes, 2026-10-13),
274
274
  * brand-voice-guide.approved and outreach-angle.current / retired (rules a
275
- * playbook renders into the AI's instructions, design b199a3a4, 8 Nov 2026).
275
+ * playbook renders into the AI's instructions, design b199a3a4, 8 Nov 2026),
276
+ * content-composition.approved ("Ready": the person signs a piece off,
277
+ * founder 6 Nov declaration 305683a8, kept by the piece model of 12 Nov 2026).
276
278
  */
277
279
  const HUMAN_ONLY = [
278
280
  "brand-library:brand-asset.deprecated",
@@ -288,6 +290,7 @@ describe("lifecycle declarations — coverage (derived from the playbooks)", ()
288
290
  "builder-workspace:ui-design.archived",
289
291
  "content-os:campaign.cancelled",
290
292
  "content-os:campaign.paused",
293
+ "content-os:content-composition.approved",
291
294
  "content-os:newsletter.Archived",
292
295
  "content-os:post.Archived",
293
296
  "crm:campaign.cancelled",