@synap-core/workspace-templates 0.44.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.
package/src/templates.ts CHANGED
@@ -6465,7 +6465,7 @@ const DATA = {
6465
6465
  {
6466
6466
  "name": "Build an app (App Factory)",
6467
6467
  "description": "Turn \"let's build app X\" into a researched, designed, reviewed and verified app, built from the Website Factory in slices. The person is asked only three times — the decisions, the design approval, and a first look after slice 1.",
6468
- "goalTemplate": "Build the app \"{name}\": {idea}. Path: {path}. Work it as the App Factory, loading each stage's skill with synap_load_skill. INTAKE: find or create the app (resolve first; one devplane_app, never a twin), make it this session's subject, and record the idea in the person's words. RESEARCH (app-factory-research): name-collision check, a data contract per screen with live examples and counts, an identity and permission table (who writes, who approves, can the app's credential do it, with evidence), every platform gap with an id and an owner, and the real sample world; write the plan document. DECISIONS: ask the person 2-4 multiple-choice questions in ONE ask, each with a recommended default; nothing is designed before they answer. DESIGN (app-factory-design-canvas): create the app repo from the Website Factory, draw every page and every state, desktop and phone, with its design-kit in the real components and the person's real data, and publish the canvas. REVIEW (app-factory-design-review): run the three read-only lenses in parallel — UX surface, component fidelity + contrast + responsive, data contract per element. CONSOLIDATE: one writer merges them into a redesign brief, applies it, and re-runs design:check and design:preview. DESIGN APPROVAL: the person approves the canvas; nothing is built from boards they have not approved. INFRA: open the platform, catalog and factory pull requests the slices need, each gap with its owner, or label a bridge in the UI and the code. BUILD (app-factory-build-slice): slice by slice, server-only credentials, no writes until the person can sign in, the Website Factory gates re-run independently on the devbox; after slice 1 STOP for the person's first look. DOGFOOD: walk the app as the person would and collect their verdict. Branches and pull requests only: never push to main, never publish the catalog, never deploy production. Separate VERIFIED (gate output quoted) from NEEDS-DOGFOOD in every report.",
6468
+ "goalTemplate": "Build the app \"{name}\": {idea}. Path: {path}. Work it as the App Factory: FIRST load pod skill reference/sdk-and-app-templates (the current SDK, the Website Factory pod-app template and what it can do), then each stage's skill with synap_load_skill. INTAKE: find or create the app (resolve first; one devplane_app, never a twin), make it this session's subject, and record the idea in the person's words. RESEARCH (app-factory-research): name-collision check, a data contract per screen with live examples and counts, an identity and permission table (who writes, who approves, can the app's credential do it, with evidence), every platform gap with an id and an owner, and the real sample world; write the plan document. DECISIONS: ask the person 2-4 multiple-choice questions in ONE ask, each with a recommended default; nothing is designed before they answer. DESIGN (app-factory-design-canvas): create the app repo from the Website Factory, draw every page and every state, desktop and phone, with its design-kit in the real components and the person's real data, and publish the canvas. REVIEW (app-factory-design-review): run the three read-only lenses in parallel — UX surface, component fidelity + contrast + responsive, data contract per element. CONSOLIDATE: one writer merges them into a redesign brief, applies it, and re-runs design:check and design:preview. DESIGN APPROVAL: the person approves the canvas; nothing is built from boards they have not approved. INFRA: open the platform, catalog and factory pull requests the slices need, each gap with its owner, or label a bridge in the UI and the code. BUILD (app-factory-build-slice): slice by slice, server-only credentials, no writes until the person can sign in, the Website Factory gates re-run independently on the devbox; after slice 1 STOP for the person's first look. DOGFOOD: walk the app as the person would and collect their verdict. Branches and pull requests only: never push to main, never publish the catalog, never deploy production. Separate VERIFIED (gate output quoted) from NEEDS-DOGFOOD in every report.",
6469
6469
  "subjectProfile": {
6470
6470
  "profileSlug": "devplane_app"
6471
6471
  },
@@ -6537,7 +6537,7 @@ const DATA = {
6537
6537
  "key": "intake",
6538
6538
  "name": "Intake",
6539
6539
  "category": "planned",
6540
- "goal": "Find or create the app (resolve first), make it the session's subject, and write the idea, the problem, the goal and the measure of success in the person's words.",
6540
+ "goal": "FIRST: synap_load_skill(\"reference/sdk-and-app-templates\") (current SDK and npm packages, the Website Factory pod-app template at origin/main and what its kit can do, what an app cannot import yet). Find or create the app (resolve first), make it the session's subject, and write the idea, the problem, the goal and the measure of success in the person's words.",
6541
6541
  "criteria": [
6542
6542
  {
6543
6543
  "key": "intake-subject-set",
@@ -7084,7 +7084,8 @@ const DATA = {
7084
7084
  "statement": "The feature's change type is set (feature, refactor or chore) and the repos it touches are named."
7085
7085
  }
7086
7086
  ],
7087
- "description": "Load the plan skill; skip it when size is small (criteria alone are enough). Recall first: synap_ask \"<area> gotchas\". Tools: read only (code, pod). Gate: none. Model tier: deep (advisory until a tier field exists).",
7087
+ "description": "Load the plan skill; skip it when size is small (criteria alone are enough). Recall first: synap_ask \"<area> gotchas\". Tools: read only (code, pod). Gate: none.",
7088
+ "tier": "deep",
7088
7089
  "subjectStatus": "spec",
7089
7090
  "expectedOutputs": [
7090
7091
  {
@@ -7116,7 +7117,8 @@ const DATA = {
7116
7117
  "statement": "Every new test was run with its fix reverted and failed."
7117
7118
  }
7118
7119
  ],
7119
- "description": "Load the verified-wave skill. Commit a checkpoint about every 30 minutes and post it in the room. Never run git checkout --, restore, stash or a working-tree reset in a shared tree (rule shared-tree). Tools: edit, git in your own worktree, devbox gates (rule devbox-gates). Gate: none here; the Checks green stage sends a red back to this stage. Model tier: standard (advisory until a tier field exists).",
7120
+ "description": "Load the verified-wave skill. Commit a checkpoint about every 30 minutes and post it in the room. Never run git checkout --, restore, stash or a working-tree reset in a shared tree (rule shared-tree). Tools: edit, git in your own worktree, devbox gates (rule devbox-gates). Gate: none here; the Checks green stage sends a red back to this stage.",
7121
+ "tier": "standard",
7120
7122
  "subjectStatus": "in_progress",
7121
7123
  "expectedOutputs": [
7122
7124
  {
@@ -7146,7 +7148,8 @@ const DATA = {
7146
7148
  "statement": "A pull request body, when there is one, carries the line naming this Pod session."
7147
7149
  }
7148
7150
  ],
7149
- "description": "Shared land stage. Public repo (backend, synap-cli): open a DRAFT pull request whose body carries the line \"Pod session: <session id>\", then record the outcome pr-<repo>-<number> (kind pull_request, ref url). Private repo (app-bases, browser, relay-app, control-plane-api, control-plane-dashboard, synap-bridge): no PR; rebase on origin/main, push the branch and queue the smallest devbox gate on its full sha with GATE_POD_SESSION set. One session, one PR per repo. Done by the ship flow and the outcome verbs, not by free reasoning. Rules: work-units, github-ci, devbox-gates. Tools: git, gh, devbox queue, synap_update_session. Gate: none. Model tier: quick (advisory until a tier field exists).",
7151
+ "description": "Shared land stage. Public repo (backend, synap-cli): open a DRAFT pull request whose body carries the line \"Pod session: <session id>\", then record the outcome pr-<repo>-<number> (kind pull_request, ref url). Private repo (app-bases, browser, relay-app, control-plane-api, control-plane-dashboard, synap-bridge): no PR; rebase on origin/main, push the branch and queue the smallest devbox gate on its full sha with GATE_POD_SESSION set. One session, one PR per repo. Done by the ship flow and the outcome verbs, not by free reasoning. Rules: work-units, github-ci, devbox-gates. Tools: git, gh, devbox queue, synap_update_session. Gate: none.",
7152
+ "tier": "standard",
7150
7153
  "subjectStatus": "in_review",
7151
7154
  "expectedOutputs": [
7152
7155
  {
@@ -7178,7 +7181,8 @@ const DATA = {
7178
7181
  "statement": "Every required check on the head finished green (the 4 required backend checks, or the devbox gate on the exact sha in a private repo)."
7179
7182
  }
7180
7183
  ],
7181
- "description": "Shared land stage. Backend: mark the draft ready once, when the slice is done and gated; it is done when Release gate, Full suite, API e2e and Reference docs are current are green on its head (github_pr_checks or the ci.finished event). Private repo: the devbox gate on that full sha is green with no INFRA result. A red you did not cause is not yours: read main's latest run or the [vs main] mark first. A red that is yours goes back to the work stage; push the fix once. Done by CI, the devbox and the ci.finished automation, not by free reasoning. Tools: gh read, devbox status. Model tier: quick (advisory until a tier field exists)."
7184
+ "description": "Shared land stage. Backend: mark the draft ready once, when the slice is done and gated; it is done when Release gate, Full suite, API e2e and Reference docs are current are green on its head (github_pr_checks or the ci.finished event). Private repo: the devbox gate on that full sha is green with no INFRA result. A red you did not cause is not yours: read main's latest run or the [vs main] mark first. A red that is yours goes back to the work stage; push the fix once. Done by CI, the devbox and the ci.finished automation, not by free reasoning. Tools: gh read, devbox status.",
7185
+ "tier": "quick"
7182
7186
  },
7183
7187
  {
7184
7188
  "key": "merge",
@@ -7196,7 +7200,8 @@ const DATA = {
7196
7200
  "statement": "The change is on main and its outcome is marked complete."
7197
7201
  }
7198
7202
  ],
7199
- "description": "Shared land stage. Backend: never run gh pr merge (with or without --auto, never --admin) and never enqueue the PR yourself; the merge bot enqueues a ready, green PR whose body names the session. A PR touching CI or test infrastructure waits 2 h after green unless the founder runs prcheck --merge backend <n>: say so. Private repo: git push origin <sha>:main of the exact gated sha, fast-forward only, never --force; if main moved, only a clean rebase touching none of your files may go, otherwise gate again. Then completeOutput on the outcome. An unattended run stops before this stage. Done by the merge bot, the bridge and the outcome verbs. Tools: git push (private repo only), synap_update_session. Gate: none (the bridge and the merge bot hold the evidence). Model tier: quick (advisory until a tier field exists)."
7203
+ "description": "Shared land stage. Backend: never run gh pr merge (with or without --auto, never --admin) and never enqueue the PR yourself; the merge bot enqueues a ready, green PR whose body names the session. A PR touching CI or test infrastructure waits 2 h after green unless the founder runs prcheck --merge backend <n>: say so. Private repo: git push origin <sha>:main of the exact gated sha, fast-forward only, never --force; if main moved, only a clean rebase touching none of your files may go, otherwise gate again. Then completeOutput on the outcome. An unattended run stops before this stage. Done by the merge bot, the bridge and the outcome verbs. Tools: git push (private repo only), synap_update_session. Gate: none (the bridge and the merge bot hold the evidence).",
7204
+ "tier": "standard"
7200
7205
  },
7201
7206
  {
7202
7207
  "key": "deploy",
@@ -7220,7 +7225,8 @@ const DATA = {
7220
7225
  "statement": "The lab runs a build that contains the merge commit."
7221
7226
  }
7222
7227
  ],
7223
- "description": "Shared land stage. Ask with synap_request_deploy_approval; the deploy is the person's call and releases stay the founder's. Skip with a one-line reason in the room when the change never reaches a running pod (CI, tests, docs, tooling). Never in an unattended run. Tools: synap_request_deploy_approval, github_compare. Model tier: quick (advisory until a tier field exists)."
7228
+ "description": "Shared land stage. Ask with synap_request_deploy_approval; the deploy is the person's call and releases stay the founder's. Skip with a one-line reason in the room when the change never reaches a running pod (CI, tests, docs, tooling). Never in an unattended run. Tools: synap_request_deploy_approval, github_compare.",
7229
+ "tier": "standard"
7224
7230
  },
7225
7231
  {
7226
7232
  "key": "dogfood",
@@ -7243,7 +7249,8 @@ const DATA = {
7243
7249
  "statement": "The dogfood walk reports WORKS on every path the change touches."
7244
7250
  }
7245
7251
  ],
7246
- "description": "Shared land stage. Load the dogfood skill, or start Dogfood a change (08a4929c) as a child session for a deployed change. A BROKEN path becomes a finding and the run goes back to the work stage. Skip with a one-line reason when nothing a person sees changed. Tools: browser automation, screenshots, read. Model tier: standard (advisory until a tier field exists).",
7252
+ "description": "Shared land stage. Load the dogfood skill, or start Dogfood a change (08a4929c) as a child session for a deployed change. A BROKEN path becomes a finding and the run goes back to the work stage. Skip with a one-line reason when nothing a person sees changed. Tools: browser automation, screenshots, read.",
7253
+ "tier": "standard",
7247
7254
  "expectedOutputs": [
7248
7255
  {
7249
7256
  "kind": "document",
@@ -7267,14 +7274,15 @@ const DATA = {
7267
7274
  "statement": "Every criterion of the session is graded with its evidence, and nothing unverified is reported as verified."
7268
7275
  }
7269
7276
  ],
7270
- "description": "Shared land stage. Never report unverified work as verified. File the lesson, decision or finding the work produced (engineering-memory skill, rule dogfood-journal). Close what you opened: asks answered or withdrawn, worktree removed once merged, then synap_complete_session. Moving the feature to done is a proposal the person approves. Tools: synap_update_session, synap_capture, synap_complete_session. Gate: none. Model tier: quick (advisory until a tier field exists).",
7277
+ "description": "Shared land stage. Never report unverified work as verified. File the lesson, decision or finding the work produced (engineering-memory skill, rule dogfood-journal). Close what you opened: asks answered or withdrawn, worktree removed once merged, then synap_complete_session. Moving the feature to done is a proposal the person approves. Tools: synap_update_session, synap_capture, synap_complete_session. Gate: none.",
7278
+ "tier": "quick",
7271
7279
  "subjectStatus": "done"
7272
7280
  }
7273
7281
  ]
7274
7282
  },
7275
7283
  {
7276
7284
  "name": "Fix a bug",
7277
- "description": "Dev set (decision d05), key: fix. Works an issue at its root: reproduce it with a failing test, fix the canonical path, a clean-context review, then the shared land stages. Its stages follow the issue's lifecycle (open, investigating, fixed); a cancelled or failed session leaves the issue where it is, as Fix a finding does. Small fixes may be batched (founder default, 2026-11-05): several issues in one session, one as the subject and the rest as session targets; today a stage moves only the subject. No activators until binding is turned on; a batch would be {on: count, status: open, min: 3} or {on: schedule, cron, status: open} (both one session per moment). A night shift run is this playbook with unattended true. Reuses Bugfix (8c335e2e), Night shift: build an issue (c101dd75) and Ship a change (2c5aa553). Draft until the founder activates it.",
7285
+ "description": "Dev set (decision d05), key: fix. Works an issue at its root: reproduce it with a failing test, fix the canonical path, a clean-context review, then the shared land stages. Its stages follow the issue's lifecycle (open, investigating, fixed); a cancelled or failed session leaves the issue where it is, as Fix a finding does. Small fixes may be batched (founder default, 2026-11-05): several issues in one session, one as the subject and the rest as session targets; today a stage moves only the subject. No activators until binding is turned on; a batch would be {on: count, status: open, min: 3} or {on: schedule, cron, status: open} (both one session per moment). A night shift run is this playbook with unattended true. Reuses Bugfix (8c335e2e), Night shift: build an issue (c101dd75) and Ship a change (2c5aa553). Draft until the founder activates it. Run by one of your agents on a computer, never by Synap AI (its work is edit, git and devbox).",
7278
7286
  "goalTemplate": "Fix the issue {issue} at its root and prove it with a test that fails before the fix and passes after. REPRODUCE (recall first, smallest reproduction, root cause file:line), FIX on the canonical path in your own worktree, a clean-context REVIEW, then LAND through the shared land stages (Change proposed, Checks green, Landed on main, Deployed to lab, Dogfooded, Criteria verified). Unattended: {unattended}. When unattended is true, ask no person, stop at a draft PR or a gated branch, never merge, push main or deploy; if no code fix is right, write the root cause as a pod document; end with your answer: one \"Look at first:\" paragraph.",
7279
7287
  "scope": "session",
7280
7288
  "subjectProfile": {
@@ -7294,7 +7302,7 @@ const DATA = {
7294
7302
  "default": false
7295
7303
  }
7296
7304
  ],
7297
- "executor": "is-agent",
7305
+ "executor": "external-agent",
7298
7306
  "status": "draft",
7299
7307
  "stages": [
7300
7308
  {
@@ -7311,7 +7319,8 @@ const DATA = {
7311
7319
  "statement": "A test or exact reproduction shows the bug, and the root cause is named with file:line."
7312
7320
  }
7313
7321
  ],
7314
- "description": "Load the engineering-memory skill and recall first: synap_ask \"<area> gotchas\". Name the root cause, not the symptom. Tools: read, devbox (one test file at the smallest rung). Gate: none. Model tier: standard (advisory until a tier field exists).",
7322
+ "description": "Load the engineering-memory skill and recall first: synap_ask \"<area> gotchas\". Name the root cause, not the symptom. Tools: read, devbox (one test file at the smallest rung). Gate: none.",
7323
+ "tier": "standard",
7315
7324
  "subjectStatus": "investigating",
7316
7325
  "suggestedTasks": [
7317
7326
  "recall known gotchas for the area",
@@ -7345,7 +7354,8 @@ const DATA = {
7345
7354
  "statement": "The reproduction test passes with the fix and fails with the fix reverted; the gate output is quoted in the room."
7346
7355
  }
7347
7356
  ],
7348
- "description": "Load the verified-wave skill. Branch fix/<slug> from origin/main in your own worktree. The entry check judges Reproduce: no reproduction sends the run back. Tools: edit, git in your own worktree, devbox (be-file or *-touched). Model tier: standard (advisory until a tier field exists).",
7357
+ "description": "Load the verified-wave skill. Branch fix/<slug> from origin/main in your own worktree. The entry check judges Reproduce: no reproduction sends the run back. Tools: edit, git in your own worktree, devbox (be-file or *-touched).",
7358
+ "tier": "standard",
7349
7359
  "suggestedTasks": [
7350
7360
  "fix the root cause",
7351
7361
  "negative control: revert the fix, see the test fail",
@@ -7378,7 +7388,8 @@ const DATA = {
7378
7388
  "statement": "The review lists no open must-fix finding."
7379
7389
  }
7380
7390
  ],
7381
- "description": "Load the pr-review skill in a review child session, never the author. The author answers every finding; a must-fix finding sends the run back to Fix before landing. The entry check judges Fix (test green, negative control seen red). Tools: read only. Model tier: deep (advisory until a tier field exists).",
7391
+ "description": "Load the pr-review skill in a review child session, never the author. The author answers every finding; a must-fix finding sends the run back to Fix before landing. The entry check judges Fix (test green, negative control seen red). Tools: read only.",
7392
+ "tier": "deep",
7382
7393
  "suggestedTasks": [
7383
7394
  "start a review child session (not the author)",
7384
7395
  "author answers every finding"
@@ -7412,7 +7423,8 @@ const DATA = {
7412
7423
  "statement": "A pull request body, when there is one, carries the line naming this Pod session."
7413
7424
  }
7414
7425
  ],
7415
- "description": "Shared land stage. Public repo (backend, synap-cli): open a DRAFT pull request whose body carries the line \"Pod session: <session id>\", then record the outcome pr-<repo>-<number> (kind pull_request, ref url). Private repo (app-bases, browser, relay-app, control-plane-api, control-plane-dashboard, synap-bridge): no PR; rebase on origin/main, push the branch and queue the smallest devbox gate on its full sha with GATE_POD_SESSION set. One session, one PR per repo. Done by the ship flow and the outcome verbs, not by free reasoning. Rules: work-units, github-ci, devbox-gates. Tools: git, gh, devbox queue, synap_update_session. Gate: none. Model tier: quick (advisory until a tier field exists).",
7426
+ "description": "Shared land stage. Public repo (backend, synap-cli): open a DRAFT pull request whose body carries the line \"Pod session: <session id>\", then record the outcome pr-<repo>-<number> (kind pull_request, ref url). Private repo (app-bases, browser, relay-app, control-plane-api, control-plane-dashboard, synap-bridge): no PR; rebase on origin/main, push the branch and queue the smallest devbox gate on its full sha with GATE_POD_SESSION set. One session, one PR per repo. Done by the ship flow and the outcome verbs, not by free reasoning. Rules: work-units, github-ci, devbox-gates. Tools: git, gh, devbox queue, synap_update_session. Gate: none.",
7427
+ "tier": "standard",
7416
7428
  "expectedOutputs": [
7417
7429
  {
7418
7430
  "kind": "pull_request",
@@ -7443,7 +7455,8 @@ const DATA = {
7443
7455
  "statement": "Every required check on the head finished green (the 4 required backend checks, or the devbox gate on the exact sha in a private repo)."
7444
7456
  }
7445
7457
  ],
7446
- "description": "Shared land stage. Backend: mark the draft ready once, when the slice is done and gated; it is done when Release gate, Full suite, API e2e and Reference docs are current are green on its head (github_pr_checks or the ci.finished event). Private repo: the devbox gate on that full sha is green with no INFRA result. A red you did not cause is not yours: read main's latest run or the [vs main] mark first. A red that is yours goes back to the work stage; push the fix once. Done by CI, the devbox and the ci.finished automation, not by free reasoning. Tools: gh read, devbox status. Model tier: quick (advisory until a tier field exists)."
7458
+ "description": "Shared land stage. Backend: mark the draft ready once, when the slice is done and gated; it is done when Release gate, Full suite, API e2e and Reference docs are current are green on its head (github_pr_checks or the ci.finished event). Private repo: the devbox gate on that full sha is green with no INFRA result. A red you did not cause is not yours: read main's latest run or the [vs main] mark first. A red that is yours goes back to the work stage; push the fix once. Done by CI, the devbox and the ci.finished automation, not by free reasoning. Tools: gh read, devbox status.",
7459
+ "tier": "quick"
7447
7460
  },
7448
7461
  {
7449
7462
  "key": "merge",
@@ -7461,7 +7474,8 @@ const DATA = {
7461
7474
  "statement": "The change is on main and its outcome is marked complete."
7462
7475
  }
7463
7476
  ],
7464
- "description": "Shared land stage. Backend: never run gh pr merge (with or without --auto, never --admin) and never enqueue the PR yourself; the merge bot enqueues a ready, green PR whose body names the session. A PR touching CI or test infrastructure waits 2 h after green unless the founder runs prcheck --merge backend <n>: say so. Private repo: git push origin <sha>:main of the exact gated sha, fast-forward only, never --force; if main moved, only a clean rebase touching none of your files may go, otherwise gate again. Then completeOutput on the outcome. An unattended run stops before this stage. Done by the merge bot, the bridge and the outcome verbs. Tools: git push (private repo only), synap_update_session. Gate: none (the bridge and the merge bot hold the evidence). Model tier: quick (advisory until a tier field exists)."
7477
+ "description": "Shared land stage. Backend: never run gh pr merge (with or without --auto, never --admin) and never enqueue the PR yourself; the merge bot enqueues a ready, green PR whose body names the session. A PR touching CI or test infrastructure waits 2 h after green unless the founder runs prcheck --merge backend <n>: say so. Private repo: git push origin <sha>:main of the exact gated sha, fast-forward only, never --force; if main moved, only a clean rebase touching none of your files may go, otherwise gate again. Then completeOutput on the outcome. An unattended run stops before this stage. Done by the merge bot, the bridge and the outcome verbs. Tools: git push (private repo only), synap_update_session. Gate: none (the bridge and the merge bot hold the evidence).",
7478
+ "tier": "standard"
7465
7479
  },
7466
7480
  {
7467
7481
  "key": "deploy",
@@ -7485,7 +7499,8 @@ const DATA = {
7485
7499
  "statement": "The lab runs a build that contains the merge commit."
7486
7500
  }
7487
7501
  ],
7488
- "description": "Shared land stage. Ask with synap_request_deploy_approval; the deploy is the person's call and releases stay the founder's. Skip with a one-line reason in the room when the change never reaches a running pod (CI, tests, docs, tooling). Never in an unattended run. Tools: synap_request_deploy_approval, github_compare. Model tier: quick (advisory until a tier field exists)."
7502
+ "description": "Shared land stage. Ask with synap_request_deploy_approval; the deploy is the person's call and releases stay the founder's. Skip with a one-line reason in the room when the change never reaches a running pod (CI, tests, docs, tooling). Never in an unattended run. Tools: synap_request_deploy_approval, github_compare.",
7503
+ "tier": "standard"
7489
7504
  },
7490
7505
  {
7491
7506
  "key": "dogfood",
@@ -7508,7 +7523,8 @@ const DATA = {
7508
7523
  "statement": "The dogfood walk reports WORKS on every path the change touches."
7509
7524
  }
7510
7525
  ],
7511
- "description": "Shared land stage. Load the dogfood skill, or start Dogfood a change (08a4929c) as a child session for a deployed change. Re-run the original reproduction where the issue was reported. A BROKEN path becomes a finding and the run goes back to the work stage. Skip with a one-line reason when nothing a person sees changed. Tools: browser automation, screenshots, read. Model tier: standard (advisory until a tier field exists).",
7526
+ "description": "Shared land stage. Load the dogfood skill, or start Dogfood a change (08a4929c) as a child session for a deployed change. Re-run the original reproduction where the issue was reported. A BROKEN path becomes a finding and the run goes back to the work stage. Skip with a one-line reason when nothing a person sees changed. Tools: browser automation, screenshots, read.",
7527
+ "tier": "standard",
7512
7528
  "expectedOutputs": [
7513
7529
  {
7514
7530
  "kind": "document",
@@ -7532,7 +7548,8 @@ const DATA = {
7532
7548
  "statement": "Every criterion of the session is graded with its evidence, and nothing unverified is reported as verified."
7533
7549
  }
7534
7550
  ],
7535
- "description": "Shared land stage. Never report unverified work as verified. File the lesson, decision or finding the work produced (engineering-memory skill, rule dogfood-journal). Close what you opened: asks answered or withdrawn, worktree removed once merged, then synap_complete_session. Moving the issue to fixed is a proposal the person approves. Tools: synap_update_session, synap_capture, synap_complete_session. Gate: none. Model tier: quick (advisory until a tier field exists).",
7551
+ "description": "Shared land stage. Never report unverified work as verified. File the lesson, decision or finding the work produced (engineering-memory skill, rule dogfood-journal). Close what you opened: asks answered or withdrawn, worktree removed once merged, then synap_complete_session. Moving the issue to fixed is a proposal the person approves. Tools: synap_update_session, synap_capture, synap_complete_session. Gate: none.",
7552
+ "tier": "quick",
7536
7553
  "subjectStatus": "fixed"
7537
7554
  }
7538
7555
  ]
@@ -7575,7 +7592,8 @@ const DATA = {
7575
7592
  "statement": "The question is restated so it can be answered, and the evidence that would answer it is named."
7576
7593
  }
7577
7594
  ],
7578
- "description": "Recall first: synap_ask on the area, and read what the pod already settled. Load research-decision-room when options must be compared, decision-brief when the answer is a founder decision. Tools: read only (code, pod, web). Gate: none. Model tier: deep (advisory until a tier field exists)."
7595
+ "description": "Recall first: synap_ask on the area, and read what the pod already settled. Load research-decision-room when options must be compared, decision-brief when the answer is a founder decision. Tools: read only (code, pod, web). Gate: none.",
7596
+ "tier": "deep"
7579
7597
  },
7580
7598
  {
7581
7599
  "key": "measure",
@@ -7591,7 +7609,8 @@ const DATA = {
7591
7609
  "statement": "Every source or measure used is cited, and rejected ones are kept with their reason."
7592
7610
  }
7593
7611
  ],
7594
- "description": "Label every number MEASURED, READ or ESTIMATED. No code change and no write except pod captures. Tools: read only; a devbox read gate only when a measure needs one (smallest rung). Gate: none. Model tier: deep (advisory until a tier field exists)."
7612
+ "description": "Label every number MEASURED, READ or ESTIMATED. No code change and no write except pod captures. Tools: read only; a devbox read gate only when a measure needs one (smallest rung). Gate: none.",
7613
+ "tier": "deep"
7595
7614
  },
7596
7615
  {
7597
7616
  "key": "conclude",
@@ -7613,7 +7632,8 @@ const DATA = {
7613
7632
  "statement": "Every number in the document is labeled MEASURED, READ or ESTIMATED, and the recommendation follows from the evidence."
7614
7633
  }
7615
7634
  ],
7616
- "description": "The entry check judges Measure: an unlabeled number or an uncited claim sends the run back. Open choices only a person can settle go into a decision brief (decision-brief skill), each with a recommendation. Capture what stays true as knowledge. Tools: synap_create_document, synap_capture. Model tier: deep (advisory until a tier field exists).",
7635
+ "description": "The entry check judges Measure: an unlabeled number or an uncited claim sends the run back. Open choices only a person can settle go into a decision brief (decision-brief skill), each with a recommendation. Capture what stays true as knowledge. Tools: synap_create_document, synap_capture.",
7636
+ "tier": "deep",
7617
7637
  "expectedOutputs": [
7618
7638
  {
7619
7639
  "kind": "document",
@@ -7665,7 +7685,8 @@ const DATA = {
7665
7685
  "statement": "The whole change and the rules it touches were read; nothing was edited."
7666
7686
  }
7667
7687
  ],
7668
- "description": "Load pr-review for one pull request, parallel-review for a substantial build (independent read-only lenses). Never review your own work. Tools: read only (gh read, code, pod). Gate: none. Model tier: deep (advisory until a tier field exists)."
7688
+ "description": "Load pr-review for one pull request, parallel-review for a substantial build (independent read-only lenses). Never review your own work. Tools: read only (gh read, code, pod). Gate: none.",
7689
+ "tier": "deep"
7669
7690
  },
7670
7691
  {
7671
7692
  "key": "verdict",
@@ -7681,7 +7702,8 @@ const DATA = {
7681
7702
  "statement": "Every finding is classed must-fix or justified-keep with its reason and file:line."
7682
7703
  }
7683
7704
  ],
7684
- "description": "Send the document to the author's session (synap_post_message with toSessionId, intent handoff); the author answers every finding and applies the fixes. Gate: none (the author's own playbook gates on an empty must-fix list). Tools: synap_create_document, synap_post_message. Model tier: deep (advisory until a tier field exists).",
7705
+ "description": "Send the document to the author's session (synap_post_message with toSessionId, intent handoff); the author answers every finding and applies the fixes. Gate: none (the author's own playbook gates on an empty must-fix list). Tools: synap_create_document, synap_post_message.",
7706
+ "tier": "deep",
7685
7707
  "expectedOutputs": [
7686
7708
  {
7687
7709
  "kind": "document",
@@ -7736,7 +7758,8 @@ const DATA = {
7736
7758
  "statement": "The chore is done and its smallest gate is green and quoted, or the session says in one line why nothing changed."
7737
7759
  }
7738
7760
  ],
7739
- "description": "Rules: devbox-gates (smallest gate that answers) and shared-tree (never checkout --, restore, stash or a working-tree reset). Remove only what the chore names or what your change made unused. Tools: edit, git in your own worktree, devbox. Gate: none; nothing to change ends the session with a one-line reason and skips the land stages. Model tier: quick (advisory until a tier field exists).",
7761
+ "description": "Rules: devbox-gates (smallest gate that answers) and shared-tree (never checkout --, restore, stash or a working-tree reset). Remove only what the chore names or what your change made unused. Tools: edit, git in your own worktree, devbox. Gate: none; nothing to change ends the session with a one-line reason and skips the land stages.",
7762
+ "tier": "quick",
7740
7763
  "expectedOutputs": [
7741
7764
  {
7742
7765
  "kind": "commit",
@@ -7766,7 +7789,8 @@ const DATA = {
7766
7789
  "statement": "A pull request body, when there is one, carries the line naming this Pod session."
7767
7790
  }
7768
7791
  ],
7769
- "description": "Shared land stage. Public repo (backend, synap-cli): open a DRAFT pull request whose body carries the line \"Pod session: <session id>\", then record the outcome pr-<repo>-<number> (kind pull_request, ref url). Private repo (app-bases, browser, relay-app, control-plane-api, control-plane-dashboard, synap-bridge): no PR; rebase on origin/main, push the branch and queue the smallest devbox gate on its full sha with GATE_POD_SESSION set. One session, one PR per repo. Done by the ship flow and the outcome verbs, not by free reasoning. Rules: work-units, github-ci, devbox-gates. Tools: git, gh, devbox queue, synap_update_session. Gate: none. Model tier: quick (advisory until a tier field exists).",
7792
+ "description": "Shared land stage. Public repo (backend, synap-cli): open a DRAFT pull request whose body carries the line \"Pod session: <session id>\", then record the outcome pr-<repo>-<number> (kind pull_request, ref url). Private repo (app-bases, browser, relay-app, control-plane-api, control-plane-dashboard, synap-bridge): no PR; rebase on origin/main, push the branch and queue the smallest devbox gate on its full sha with GATE_POD_SESSION set. One session, one PR per repo. Done by the ship flow and the outcome verbs, not by free reasoning. Rules: work-units, github-ci, devbox-gates. Tools: git, gh, devbox queue, synap_update_session. Gate: none.",
7793
+ "tier": "standard",
7770
7794
  "expectedOutputs": [
7771
7795
  {
7772
7796
  "kind": "pull_request",
@@ -7797,7 +7821,8 @@ const DATA = {
7797
7821
  "statement": "Every required check on the head finished green (the 4 required backend checks, or the devbox gate on the exact sha in a private repo)."
7798
7822
  }
7799
7823
  ],
7800
- "description": "Shared land stage. Backend: mark the draft ready once, when the slice is done and gated; it is done when Release gate, Full suite, API e2e and Reference docs are current are green on its head (github_pr_checks or the ci.finished event). Private repo: the devbox gate on that full sha is green with no INFRA result. A red you did not cause is not yours: read main's latest run or the [vs main] mark first. A red that is yours goes back to the work stage; push the fix once. Done by CI, the devbox and the ci.finished automation, not by free reasoning. Tools: gh read, devbox status. Model tier: quick (advisory until a tier field exists)."
7824
+ "description": "Shared land stage. Backend: mark the draft ready once, when the slice is done and gated; it is done when Release gate, Full suite, API e2e and Reference docs are current are green on its head (github_pr_checks or the ci.finished event). Private repo: the devbox gate on that full sha is green with no INFRA result. A red you did not cause is not yours: read main's latest run or the [vs main] mark first. A red that is yours goes back to the work stage; push the fix once. Done by CI, the devbox and the ci.finished automation, not by free reasoning. Tools: gh read, devbox status.",
7825
+ "tier": "quick"
7801
7826
  },
7802
7827
  {
7803
7828
  "key": "merge",
@@ -7815,7 +7840,8 @@ const DATA = {
7815
7840
  "statement": "The change is on main and its outcome is marked complete."
7816
7841
  }
7817
7842
  ],
7818
- "description": "Shared land stage. Backend: never run gh pr merge (with or without --auto, never --admin) and never enqueue the PR yourself; the merge bot enqueues a ready, green PR whose body names the session. A PR touching CI or test infrastructure waits 2 h after green unless the founder runs prcheck --merge backend <n>: say so. Private repo: git push origin <sha>:main of the exact gated sha, fast-forward only, never --force; if main moved, only a clean rebase touching none of your files may go, otherwise gate again. Then completeOutput on the outcome. An unattended run stops before this stage. Done by the merge bot, the bridge and the outcome verbs. Tools: git push (private repo only), synap_update_session. Gate: none (the bridge and the merge bot hold the evidence). Model tier: quick (advisory until a tier field exists)."
7843
+ "description": "Shared land stage. Backend: never run gh pr merge (with or without --auto, never --admin) and never enqueue the PR yourself; the merge bot enqueues a ready, green PR whose body names the session. A PR touching CI or test infrastructure waits 2 h after green unless the founder runs prcheck --merge backend <n>: say so. Private repo: git push origin <sha>:main of the exact gated sha, fast-forward only, never --force; if main moved, only a clean rebase touching none of your files may go, otherwise gate again. Then completeOutput on the outcome. An unattended run stops before this stage. Done by the merge bot, the bridge and the outcome verbs. Tools: git push (private repo only), synap_update_session. Gate: none (the bridge and the merge bot hold the evidence).",
7844
+ "tier": "standard"
7819
7845
  },
7820
7846
  {
7821
7847
  "key": "deploy",
@@ -7839,7 +7865,8 @@ const DATA = {
7839
7865
  "statement": "The lab runs a build that contains the merge commit."
7840
7866
  }
7841
7867
  ],
7842
- "description": "Shared land stage. Ask with synap_request_deploy_approval; the deploy is the person's call and releases stay the founder's. Skip with a one-line reason in the room when the change never reaches a running pod (CI, tests, docs, tooling). Never in an unattended run. Tools: synap_request_deploy_approval, github_compare. Model tier: quick (advisory until a tier field exists)."
7868
+ "description": "Shared land stage. Ask with synap_request_deploy_approval; the deploy is the person's call and releases stay the founder's. Skip with a one-line reason in the room when the change never reaches a running pod (CI, tests, docs, tooling). Never in an unattended run. Tools: synap_request_deploy_approval, github_compare.",
7869
+ "tier": "standard"
7843
7870
  },
7844
7871
  {
7845
7872
  "key": "dogfood",
@@ -7862,7 +7889,8 @@ const DATA = {
7862
7889
  "statement": "The dogfood walk reports WORKS on every path the change touches."
7863
7890
  }
7864
7891
  ],
7865
- "description": "Shared land stage. Load the dogfood skill, or start Dogfood a change (08a4929c) as a child session for a deployed change. A BROKEN path becomes a finding and the run goes back to the work stage. Skip with a one-line reason when nothing a person sees changed. Tools: browser automation, screenshots, read. Model tier: standard (advisory until a tier field exists).",
7892
+ "description": "Shared land stage. Load the dogfood skill, or start Dogfood a change (08a4929c) as a child session for a deployed change. A BROKEN path becomes a finding and the run goes back to the work stage. Skip with a one-line reason when nothing a person sees changed. Tools: browser automation, screenshots, read.",
7893
+ "tier": "standard",
7866
7894
  "expectedOutputs": [
7867
7895
  {
7868
7896
  "kind": "document",
@@ -7886,13 +7914,14 @@ const DATA = {
7886
7914
  "statement": "Every criterion of the session is graded with its evidence, and nothing unverified is reported as verified."
7887
7915
  }
7888
7916
  ],
7889
- "description": "Shared land stage. Never report unverified work as verified. File the lesson, decision or finding the work produced (engineering-memory skill, rule dogfood-journal). Close what you opened: asks answered or withdrawn, worktree removed once merged, then synap_complete_session. Tools: synap_update_session, synap_capture, synap_complete_session. Gate: none. Model tier: quick (advisory until a tier field exists)."
7917
+ "description": "Shared land stage. Never report unverified work as verified. File the lesson, decision or finding the work produced (engineering-memory skill, rule dogfood-journal). Close what you opened: asks answered or withdrawn, worktree removed once merged, then synap_complete_session. Tools: synap_update_session, synap_capture, synap_complete_session. Gate: none.",
7918
+ "tier": "quick"
7890
7919
  }
7891
7920
  ]
7892
7921
  },
7893
7922
  {
7894
7923
  "name": "Fix main red",
7895
- "description": "Dev set (decision d05), key: main-red. Own one red on main, once: claim it or join its owner, read the failing step, fix forward on fix/main-red-<sha8>, then the shared land stages. No subject kind: a session titled \"main red: <repo> <check> @<sha8>\" (the title the github-ci rule mandates) is how it is started. Stage text comes from the github-ci rule section \"Never\". Draft until the founder activates it.",
7924
+ "description": "Dev set (decision d05), key: main-red. Own one red on main, once: claim it or join its owner, read the failing step, fix forward on fix/main-red-<sha8>, then the shared land stages. No subject kind: a session titled \"main red: <repo> <check> @<sha8>\" (the title the github-ci rule mandates) is how it is started. Stage text comes from the github-ci rule section \"Never\". Draft until the founder activates it. Run by one of your agents on a computer, never by Synap AI (its work is edit, git and devbox).",
7896
7925
  "goalTemplate": "Fix main red on {repo}: check {check} at {sha8}. CLAIM it once or join its owner. READ the failing step and recall what the pod knows. FIX forward on branch fix/main-red-{sha8} with a PR titled \"fix: main red\", gated at the smallest rung; never revert-war. LAND it through the shared land stages until the fix is on main.",
7897
7926
  "scope": "session",
7898
7927
  "params": [
@@ -7915,7 +7944,7 @@ const DATA = {
7915
7944
  "required": true
7916
7945
  }
7917
7946
  ],
7918
- "executor": "is-agent",
7947
+ "executor": "external-agent",
7919
7948
  "status": "draft",
7920
7949
  "stages": [
7921
7950
  {
@@ -7932,7 +7961,8 @@ const DATA = {
7932
7961
  "statement": "No older owner exists for this red, and the claim is posted in the wave's room."
7933
7962
  }
7934
7963
  ],
7935
- "description": "Look for an owner: an open session titled \"main red: <repo> ...\" (synap_list_sessions), an open PR from fix/main-red-* or titled \"fix: main red\", or a pushed fix/main-red-* branch. An owner exists: send it what you know (synap_post_message, intent fyi) and stop. No owner: this session is titled \"main red: <repo> <check> @<sha8>\"; post \"fixing main red <sha8>: <session id>\" in the wave's room, list sessions again, and cancel yours if an older one shows. Rule: github-ci. Tools: synap_list_sessions, synap_post_message, gh read. Gate: none. Model tier: quick (advisory until a tier field exists)."
7964
+ "description": "Look for an owner: an open session titled \"main red: <repo> ...\" (synap_list_sessions), an open PR from fix/main-red-* or titled \"fix: main red\", or a pushed fix/main-red-* branch. An owner exists: send it what you know (synap_post_message, intent fyi) and stop. No owner: this session is titled \"main red: <repo> <check> @<sha8>\"; post \"fixing main red <sha8>: <session id>\" in the wave's room, list sessions again, and cancel yours if an older one shows. Rule: github-ci. Tools: synap_list_sessions, synap_post_message, gh read. Gate: none.",
7965
+ "tier": "quick"
7936
7966
  },
7937
7967
  {
7938
7968
  "key": "read-step",
@@ -7948,7 +7978,8 @@ const DATA = {
7948
7978
  "statement": "The failing step is quoted and the commit that caused it is named."
7949
7979
  }
7950
7980
  ],
7951
- "description": "Attribute before acting: name the commit that turned main red. A red you did not cause in a lane is not this session's work. Tools: gh read, synap_ask. Gate: none. Model tier: standard (advisory until a tier field exists)."
7981
+ "description": "Attribute before acting: name the commit that turned main red. A red you did not cause in a lane is not this session's work. Tools: gh read, synap_ask. Gate: none.",
7982
+ "tier": "standard"
7952
7983
  },
7953
7984
  {
7954
7985
  "key": "fix",
@@ -7970,7 +8001,8 @@ const DATA = {
7970
8001
  "statement": "The red check passes on the fix branch, with the gate output quoted."
7971
8002
  }
7972
8003
  ],
7973
- "description": "Load the verified-wave skill. If CI's revert PR fix/main-red-revert-<pr>-<sha8> lands first, let it land and redo the change in a new PR. The entry check judges Read: no quoted failing step sends the run back. Tools: edit, git in your own worktree, devbox. Model tier: standard (advisory until a tier field exists).",
8004
+ "description": "Load the verified-wave skill. If CI's revert PR fix/main-red-revert-<pr>-<sha8> lands first, let it land and redo the change in a new PR. The entry check judges Read: no quoted failing step sends the run back. Tools: edit, git in your own worktree, devbox.",
8005
+ "tier": "standard",
7974
8006
  "expectedOutputs": [
7975
8007
  {
7976
8008
  "kind": "commit",
@@ -7999,7 +8031,8 @@ const DATA = {
7999
8031
  "statement": "A pull request body, when there is one, carries the line naming this Pod session."
8000
8032
  }
8001
8033
  ],
8002
- "description": "Shared land stage. Public repo (backend, synap-cli): open a DRAFT pull request whose body carries the line \"Pod session: <session id>\", then record the outcome pr-<repo>-<number> (kind pull_request, ref url). Private repo (app-bases, browser, relay-app, control-plane-api, control-plane-dashboard, synap-bridge): no PR; rebase on origin/main, push the branch and queue the smallest devbox gate on its full sha with GATE_POD_SESSION set. One session, one PR per repo. Done by the ship flow and the outcome verbs, not by free reasoning. Rules: work-units, github-ci, devbox-gates. Tools: git, gh, devbox queue, synap_update_session. Gate: none. Model tier: quick (advisory until a tier field exists).",
8034
+ "description": "Shared land stage. Public repo (backend, synap-cli): open a DRAFT pull request whose body carries the line \"Pod session: <session id>\", then record the outcome pr-<repo>-<number> (kind pull_request, ref url). Private repo (app-bases, browser, relay-app, control-plane-api, control-plane-dashboard, synap-bridge): no PR; rebase on origin/main, push the branch and queue the smallest devbox gate on its full sha with GATE_POD_SESSION set. One session, one PR per repo. Done by the ship flow and the outcome verbs, not by free reasoning. Rules: work-units, github-ci, devbox-gates. Tools: git, gh, devbox queue, synap_update_session. Gate: none.",
8035
+ "tier": "standard",
8003
8036
  "expectedOutputs": [
8004
8037
  {
8005
8038
  "kind": "pull_request",
@@ -8030,7 +8063,8 @@ const DATA = {
8030
8063
  "statement": "Every required check on the head finished green (the 4 required backend checks, or the devbox gate on the exact sha in a private repo)."
8031
8064
  }
8032
8065
  ],
8033
- "description": "Shared land stage. Backend: mark the draft ready once, when the slice is done and gated; it is done when Release gate, Full suite, API e2e and Reference docs are current are green on its head (github_pr_checks or the ci.finished event). Private repo: the devbox gate on that full sha is green with no INFRA result. A red you did not cause is not yours: read main's latest run or the [vs main] mark first. A red that is yours goes back to the work stage; push the fix once. Done by CI, the devbox and the ci.finished automation, not by free reasoning. Tools: gh read, devbox status. Model tier: quick (advisory until a tier field exists)."
8066
+ "description": "Shared land stage. Backend: mark the draft ready once, when the slice is done and gated; it is done when Release gate, Full suite, API e2e and Reference docs are current are green on its head (github_pr_checks or the ci.finished event). Private repo: the devbox gate on that full sha is green with no INFRA result. A red you did not cause is not yours: read main's latest run or the [vs main] mark first. A red that is yours goes back to the work stage; push the fix once. Done by CI, the devbox and the ci.finished automation, not by free reasoning. Tools: gh read, devbox status.",
8067
+ "tier": "quick"
8034
8068
  },
8035
8069
  {
8036
8070
  "key": "merge",
@@ -8048,7 +8082,8 @@ const DATA = {
8048
8082
  "statement": "The change is on main and its outcome is marked complete."
8049
8083
  }
8050
8084
  ],
8051
- "description": "Shared land stage. Backend: never run gh pr merge (with or without --auto, never --admin) and never enqueue the PR yourself; the merge bot enqueues a ready, green PR whose body names the session (while main is red it enqueues only a main-red fix). A PR touching CI or test infrastructure waits 2 h after green unless the founder runs prcheck --merge backend <n>: say so. Private repo: git push origin <sha>:main of the exact gated sha, fast-forward only, never --force; if main moved, only a clean rebase touching none of your files may go, otherwise gate again. Then completeOutput on the outcome. An unattended run stops before this stage. Done by the merge bot, the bridge and the outcome verbs. Tools: git push (private repo only), synap_update_session. Gate: none (the bridge and the merge bot hold the evidence). Model tier: quick (advisory until a tier field exists)."
8085
+ "description": "Shared land stage. Backend: never run gh pr merge (with or without --auto, never --admin) and never enqueue the PR yourself; the merge bot enqueues a ready, green PR whose body names the session (while main is red it enqueues only a main-red fix). A PR touching CI or test infrastructure waits 2 h after green unless the founder runs prcheck --merge backend <n>: say so. Private repo: git push origin <sha>:main of the exact gated sha, fast-forward only, never --force; if main moved, only a clean rebase touching none of your files may go, otherwise gate again. Then completeOutput on the outcome. An unattended run stops before this stage. Done by the merge bot, the bridge and the outcome verbs. Tools: git push (private repo only), synap_update_session. Gate: none (the bridge and the merge bot hold the evidence).",
8086
+ "tier": "standard"
8052
8087
  },
8053
8088
  {
8054
8089
  "key": "deploy",
@@ -8072,7 +8107,8 @@ const DATA = {
8072
8107
  "statement": "The lab runs a build that contains the merge commit."
8073
8108
  }
8074
8109
  ],
8075
- "description": "Shared land stage. Ask with synap_request_deploy_approval; the deploy is the person's call and releases stay the founder's. Skip with a one-line reason in the room when the change never reaches a running pod (CI, tests, docs, tooling). Never in an unattended run. Tools: synap_request_deploy_approval, github_compare. Model tier: quick (advisory until a tier field exists)."
8110
+ "description": "Shared land stage. Ask with synap_request_deploy_approval; the deploy is the person's call and releases stay the founder's. Skip with a one-line reason in the room when the change never reaches a running pod (CI, tests, docs, tooling). Never in an unattended run. Tools: synap_request_deploy_approval, github_compare.",
8111
+ "tier": "standard"
8076
8112
  },
8077
8113
  {
8078
8114
  "key": "dogfood",
@@ -8095,7 +8131,8 @@ const DATA = {
8095
8131
  "statement": "The dogfood walk reports WORKS on every path the change touches."
8096
8132
  }
8097
8133
  ],
8098
- "description": "Shared land stage. Load the dogfood skill, or start Dogfood a change (08a4929c) as a child session for a deployed change. A BROKEN path becomes a finding and the run goes back to the work stage. Skip with a one-line reason when nothing a person sees changed. Tools: browser automation, screenshots, read. Model tier: standard (advisory until a tier field exists).",
8134
+ "description": "Shared land stage. Load the dogfood skill, or start Dogfood a change (08a4929c) as a child session for a deployed change. A BROKEN path becomes a finding and the run goes back to the work stage. Skip with a one-line reason when nothing a person sees changed. Tools: browser automation, screenshots, read.",
8135
+ "tier": "standard",
8099
8136
  "expectedOutputs": [
8100
8137
  {
8101
8138
  "kind": "document",
@@ -8118,20 +8155,21 @@ const DATA = {
8118
8155
  "statement": "Every criterion of the session is graded with its evidence, and nothing unverified is reported as verified."
8119
8156
  }
8120
8157
  ],
8121
- "description": "Shared land stage. Never report unverified work as verified. File the lesson, decision or finding the work produced (engineering-memory skill, rule dogfood-journal). Close what you opened: asks answered or withdrawn, worktree removed once merged, then synap_complete_session. Tools: synap_update_session, synap_capture, synap_complete_session. Gate: none. Model tier: quick (advisory until a tier field exists)."
8158
+ "description": "Shared land stage. Never report unverified work as verified. File the lesson, decision or finding the work produced (engineering-memory skill, rule dogfood-journal). Close what you opened: asks answered or withdrawn, worktree removed once merged, then synap_complete_session. Tools: synap_update_session, synap_capture, synap_complete_session. Gate: none.",
8159
+ "tier": "quick"
8122
8160
  }
8123
8161
  ]
8124
8162
  },
8125
8163
  {
8126
8164
  "name": "Fix a finding",
8127
- "description": "Work one finding (a problem with Synap itself) until its fix is live. The session's stages move the finding: fixing while the work runs, fixed when the fix is merged, verified once it runs on the pod. A cancelled or failed session leaves the finding where it is.",
8165
+ "description": "Work one finding (a problem with Synap itself) until its fix is live. The session's stages move the finding: fixing while the work runs, fixed when the fix is merged, verified once it runs on the pod. A cancelled or failed session leaves the finding where it is. Run by one of your agents on a computer, never by Synap AI (its work is edit, git and devbox).",
8128
8166
  "goalTemplate": "Fix the finding and see the fix live",
8129
8167
  "scope": "session",
8130
8168
  "subjectProfile": {
8131
8169
  "profileSlug": "finding"
8132
8170
  },
8133
8171
  "params": [],
8134
- "executor": "is-agent",
8172
+ "executor": "external-agent",
8135
8173
  "status": "active",
8136
8174
  "stages": [
8137
8175
  {
@@ -10493,6 +10531,42 @@ const DATA = {
10493
10531
  }
10494
10532
  ]
10495
10533
  },
10534
+ {
10535
+ "slug": "note",
10536
+ "displayName": "Note",
10537
+ "icon": "file-text",
10538
+ "color": "violet",
10539
+ "description": "A note, or a capture recorded on the phone, by voice, from a link or an email.",
10540
+ "properties": [
10541
+ {
10542
+ "slug": "capture-source",
10543
+ "label": "Captured from",
10544
+ "description": "Where it was captured (relay, voice, link, email, studio). Empty for a note written in place.",
10545
+ "valueType": "string",
10546
+ "inputType": "select",
10547
+ "enumValues": [
10548
+ "relay",
10549
+ "voice",
10550
+ "link",
10551
+ "email",
10552
+ "studio"
10553
+ ]
10554
+ },
10555
+ {
10556
+ "slug": "transcript",
10557
+ "label": "Transcript",
10558
+ "description": "The words of a voice capture, as transcribed.",
10559
+ "valueType": "string",
10560
+ "inputType": "textarea"
10561
+ },
10562
+ {
10563
+ "slug": "source-url",
10564
+ "label": "Source URL",
10565
+ "valueType": "string",
10566
+ "inputType": "url"
10567
+ }
10568
+ ]
10569
+ },
10496
10570
  {
10497
10571
  "slug": "pillar",
10498
10572
  "displayName": "Pillar",
@@ -10838,6 +10912,13 @@ const DATA = {
10838
10912
  "label": "LinkedIn page ID",
10839
10913
  "valueType": "string",
10840
10914
  "inputType": "text"
10915
+ },
10916
+ {
10917
+ "slug": "default-project-id",
10918
+ "label": "Default project",
10919
+ "description": "Id of the project this account posts for by default (a project of the pod, not an entity).",
10920
+ "valueType": "string",
10921
+ "inputType": "text"
10841
10922
  }
10842
10923
  ]
10843
10924
  },
@@ -11364,12 +11445,95 @@ const DATA = {
11364
11445
  "displayName": "Composition",
11365
11446
  "icon": "clapperboard",
11366
11447
  "color": "blue",
11367
- "description": "A HyperFrames project: brief + storyboard, the project zip, the rendered MP4, its key-frame stills, and the brand kit it used.",
11448
+ "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.",
11368
11449
  "semanticSlug": "content.composition",
11369
11450
  "presentation": {
11370
11451
  "family": "document"
11371
11452
  },
11453
+ "lifecycle": {
11454
+ "property": "status",
11455
+ "options": [
11456
+ {
11457
+ "key": "intent",
11458
+ "label": "Idea",
11459
+ "category": "open"
11460
+ },
11461
+ {
11462
+ "key": "drafting",
11463
+ "label": "Drafting",
11464
+ "category": "active",
11465
+ "stuckAfterDays": 14
11466
+ },
11467
+ {
11468
+ "key": "board",
11469
+ "label": "Board",
11470
+ "category": "active",
11471
+ "stuckAfterDays": 14
11472
+ },
11473
+ {
11474
+ "key": "assets_chosen",
11475
+ "label": "Assets chosen",
11476
+ "category": "active",
11477
+ "stuckAfterDays": 7
11478
+ },
11479
+ {
11480
+ "key": "generating",
11481
+ "label": "Generating",
11482
+ "category": "active",
11483
+ "stuckAfterDays": 3
11484
+ },
11485
+ {
11486
+ "key": "in_review",
11487
+ "label": "In review",
11488
+ "category": "active",
11489
+ "stuckAfterDays": 5
11490
+ },
11491
+ {
11492
+ "key": "approved",
11493
+ "label": "Ready",
11494
+ "category": "active",
11495
+ "humanOnly": true
11496
+ },
11497
+ {
11498
+ "key": "deriving",
11499
+ "label": "Deriving",
11500
+ "category": "active",
11501
+ "stuckAfterDays": 7
11502
+ },
11503
+ {
11504
+ "key": "published",
11505
+ "label": "Published",
11506
+ "category": "done"
11507
+ },
11508
+ {
11509
+ "key": "retired",
11510
+ "label": "Retired",
11511
+ "category": "lost"
11512
+ }
11513
+ ]
11514
+ },
11372
11515
  "properties": [
11516
+ {
11517
+ "slug": "status",
11518
+ "label": "Status",
11519
+ "valueType": "string",
11520
+ "inputType": "select",
11521
+ "enumValues": [
11522
+ "intent",
11523
+ "drafting",
11524
+ "board",
11525
+ "assets_chosen",
11526
+ "generating",
11527
+ "in_review",
11528
+ "approved",
11529
+ "deriving",
11530
+ "published",
11531
+ "retired"
11532
+ ],
11533
+ "constraints": {
11534
+ "defaultValue": "intent"
11535
+ }
11536
+ },
11373
11537
  {
11374
11538
  "slug": "composition-id",
11375
11539
  "label": "Composition ID",
@@ -11474,6 +11638,13 @@ const DATA = {
11474
11638
  "label": "Recipe",
11475
11639
  "valueType": "string",
11476
11640
  "inputType": "text"
11641
+ },
11642
+ {
11643
+ "slug": "board-view-id",
11644
+ "label": "Board",
11645
+ "description": "Id of this piece's whiteboard (a pod view of type whiteboard).",
11646
+ "valueType": "string",
11647
+ "inputType": "text"
11477
11648
  }
11478
11649
  ]
11479
11650
  },
@@ -12169,6 +12340,58 @@ const DATA = {
12169
12340
  "targetProfileSlug": "content-composition",
12170
12341
  "type": "used_in",
12171
12342
  "label": "Composition"
12343
+ },
12344
+ {
12345
+ "sourceProfileSlug": "post",
12346
+ "targetProfileSlug": "content-composition",
12347
+ "type": "derived_from",
12348
+ "label": "From piece"
12349
+ },
12350
+ {
12351
+ "sourceProfileSlug": "content-composition",
12352
+ "targetProfileSlug": "content-composition",
12353
+ "type": "part_of",
12354
+ "label": "Part of"
12355
+ },
12356
+ {
12357
+ "sourceProfileSlug": "idea",
12358
+ "targetProfileSlug": "content-composition",
12359
+ "type": "used_in",
12360
+ "label": "Used in"
12361
+ },
12362
+ {
12363
+ "sourceProfileSlug": "note",
12364
+ "targetProfileSlug": "content-composition",
12365
+ "type": "used_in",
12366
+ "label": "Used in"
12367
+ },
12368
+ {
12369
+ "sourceProfileSlug": "newsletter",
12370
+ "targetProfileSlug": "content-composition",
12371
+ "type": "derived_from",
12372
+ "label": "From piece"
12373
+ }
12374
+ ],
12375
+ "relationDefs": [
12376
+ {
12377
+ "slug": "inspired_by",
12378
+ "displayName": "Inspired by",
12379
+ "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.",
12380
+ "isDirectional": true,
12381
+ "uiHints": {
12382
+ "category": "reference",
12383
+ "inverseLabel": "Inspired"
12384
+ }
12385
+ },
12386
+ {
12387
+ "slug": "part_of",
12388
+ "displayName": "Part of",
12389
+ "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.",
12390
+ "isDirectional": true,
12391
+ "uiHints": {
12392
+ "category": "hierarchy",
12393
+ "inverseLabel": "Parts"
12394
+ }
12172
12395
  }
12173
12396
  ],
12174
12397
  "playbooks": [
@@ -12838,6 +13061,186 @@ const DATA = {
12838
13061
  ]
12839
13062
  }
12840
13063
  ]
13064
+ },
13065
+ {
13066
+ "name": "Thinking session",
13067
+ "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.",
13068
+ "goalTemplate": "Run a thinking session of {minutes} minutes on this piece ({piece}), counted from the session's start. The person thinks; you prepare, ask and stitch. You never write the piece: every sentence of the thesis and the draft is the person's, from their answers, in the order they chose. GATHER: read the piece (its document, its board) and what it already links: inspirations (inspired_by), ideas and captures (used_in, notes with a capture-source), earlier pieces (references), its chapters (part_of). Search the pod for what the person already thought about this subject (synap_ask) and post a short list of those sources in the session room, each a link, with one line on why it matters. Link a source the person keeps to the piece (inspired_by for an inspiration, used_in for an idea or a note, references for an earlier piece). QUESTIONS: ask one question at a time in the session room, each short and open, built on the sources and the person's last answer; never suggest the answer. Keep every answer verbatim. Stop asking when the person says so or when the timebox is near its end, leaving time to stitch. THESIS: ask the person to say, in one or two sentences, what the piece claims; offer their own strongest lines to choose from, never a line of yours. DRAFT: lay the person's answers out in the order they pick (ask for it), with the thesis first, as a proposal of the piece's document; only joining words may be added, marked as yours. The person approves the draft; then the piece reads Drafting.",
13069
+ "subjectProfile": {
13070
+ "profileSlug": "content-composition"
13071
+ },
13072
+ "activators": [
13073
+ {
13074
+ "on": "manual",
13075
+ "mode": "propose"
13076
+ }
13077
+ ],
13078
+ "params": [
13079
+ {
13080
+ "name": "piece",
13081
+ "type": "entity",
13082
+ "label": "Piece",
13083
+ "required": true
13084
+ },
13085
+ {
13086
+ "name": "minutes",
13087
+ "type": "number",
13088
+ "label": "Minutes",
13089
+ "default": 60
13090
+ }
13091
+ ],
13092
+ "executor": "is-agent",
13093
+ "status": "active",
13094
+ "tools": [
13095
+ "update_entity",
13096
+ "create_relation"
13097
+ ],
13098
+ "stages": [
13099
+ {
13100
+ "key": "gather",
13101
+ "name": "Gather context",
13102
+ "category": "planned",
13103
+ "goal": "Read the piece and what it links, search the pod for what the person already thought about its subject, and post the sources in the room, each a link with one line on why it matters. Nothing is written into the piece. A run starts here without moving the piece.",
13104
+ "criteria": [
13105
+ {
13106
+ "key": "gather-sources-posted",
13107
+ "statement": "The room lists the piece's linked sources and what the pod already holds on its subject, each as a link.",
13108
+ "check": {
13109
+ "kind": "judge"
13110
+ }
13111
+ }
13112
+ ]
13113
+ },
13114
+ {
13115
+ "key": "questions",
13116
+ "name": "Questions",
13117
+ "category": "started",
13118
+ "goal": "Ask one open question at a time in the session room, built on the sources and the last answer, and keep each answer verbatim. Never suggest an answer and never write a sentence of the piece. Stop when the person says so or the timebox nears its end.",
13119
+ "criteria": [
13120
+ {
13121
+ "key": "questions-one-at-a-time",
13122
+ "statement": "Each question was asked alone and none contains its answer.",
13123
+ "check": {
13124
+ "kind": "judge"
13125
+ }
13126
+ },
13127
+ {
13128
+ "key": "questions-answers-kept",
13129
+ "statement": "Every answer is kept verbatim in the session room.",
13130
+ "check": {
13131
+ "kind": "judge"
13132
+ }
13133
+ }
13134
+ ]
13135
+ },
13136
+ {
13137
+ "key": "thesis",
13138
+ "name": "Thesis",
13139
+ "category": "started",
13140
+ "goal": "Ask the person for the piece's claim in one or two sentences, offering only their own strongest lines to choose from.",
13141
+ "criteria": [
13142
+ {
13143
+ "key": "thesis-own-words",
13144
+ "statement": "The thesis is in the person's own words, from their answers.",
13145
+ "check": {
13146
+ "kind": "judge"
13147
+ }
13148
+ }
13149
+ ]
13150
+ },
13151
+ {
13152
+ "key": "draft",
13153
+ "name": "Draft",
13154
+ "category": "started",
13155
+ "subjectStatus": "drafting",
13156
+ "goal": "Ask the person the order of their answers, then lay them out with the thesis first as a proposal of the piece's document. Only joining words may be added, marked as yours. The person approves the draft; a rejected draft goes back to the questions.",
13157
+ "gate": {
13158
+ "kind": "human"
13159
+ },
13160
+ "onFail": {
13161
+ "toStage": "questions"
13162
+ },
13163
+ "expectedOutputs": [
13164
+ {
13165
+ "kind": "document",
13166
+ "label": "Draft (the person's answers, in their order)",
13167
+ "relationToSubject": "none"
13168
+ }
13169
+ ],
13170
+ "criteria": [
13171
+ {
13172
+ "key": "draft-is-answers",
13173
+ "statement": "Every sentence of the draft comes from the person's answers, apart from marked joining words.",
13174
+ "check": {
13175
+ "kind": "judge"
13176
+ }
13177
+ },
13178
+ {
13179
+ "key": "draft-approved",
13180
+ "statement": "The person approved the draft.",
13181
+ "check": {
13182
+ "kind": "human"
13183
+ }
13184
+ }
13185
+ ]
13186
+ }
13187
+ ]
13188
+ },
13189
+ {
13190
+ "name": "Derive outputs",
13191
+ "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.",
13192
+ "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.",
13193
+ "subjectProfile": {
13194
+ "profileSlug": "content-composition"
13195
+ },
13196
+ "activators": [
13197
+ {
13198
+ "on": "manual",
13199
+ "mode": "propose"
13200
+ }
13201
+ ],
13202
+ "params": [
13203
+ {
13204
+ "name": "piece",
13205
+ "type": "entity",
13206
+ "label": "Piece",
13207
+ "required": true
13208
+ },
13209
+ {
13210
+ "name": "accounts",
13211
+ "type": "text",
13212
+ "label": "Accounts (ids and names)"
13213
+ },
13214
+ {
13215
+ "name": "posts",
13216
+ "type": "number",
13217
+ "label": "How many posts"
13218
+ },
13219
+ {
13220
+ "name": "from",
13221
+ "type": "text",
13222
+ "label": "From (YYYY-MM-DD)"
13223
+ }
13224
+ ],
13225
+ "executor": "is-agent",
13226
+ "status": "active",
13227
+ "tools": [
13228
+ "create_entity",
13229
+ "create_relation"
13230
+ ],
13231
+ "expectedOutputs": [
13232
+ {
13233
+ "kind": "post",
13234
+ "label": "Derived post",
13235
+ "relationToSubject": "derived_from"
13236
+ },
13237
+ {
13238
+ "kind": "newsletter",
13239
+ "label": "Newsletter issue",
13240
+ "relationToSubject": "derived_from",
13241
+ "optional": true
13242
+ }
13243
+ ]
12841
13244
  }
12842
13245
  ],
12843
13246
  "automations": [
@@ -16370,7 +16773,7 @@ const DATA = {
16370
16773
  "displayName": "Inspiration",
16371
16774
  "icon": "sparkles",
16372
16775
  "color": "amber",
16373
- "description": "A brand, founder, product, or campaign worth learning from.",
16776
+ "description": "A brand, founder, product, campaign or post worth learning from, kept for what it says, how it says it, or both.",
16374
16777
  "properties": [
16375
16778
  {
16376
16779
  "slug": "kind",
@@ -16381,7 +16784,8 @@ const DATA = {
16381
16784
  "brand",
16382
16785
  "founder",
16383
16786
  "product",
16384
- "campaign"
16787
+ "campaign",
16788
+ "post"
16385
16789
  ]
16386
16790
  },
16387
16791
  {
@@ -16395,6 +16799,108 @@ const DATA = {
16395
16799
  "label": "URL",
16396
16800
  "valueType": "string",
16397
16801
  "inputType": "url"
16802
+ },
16803
+ {
16804
+ "slug": "kept-for",
16805
+ "label": "Kept for",
16806
+ "description": "What it is kept for: content (what it says), form (how it says it), or both.",
16807
+ "valueType": "string",
16808
+ "inputType": "select",
16809
+ "enumValues": [
16810
+ "content",
16811
+ "form",
16812
+ "both"
16813
+ ]
16814
+ },
16815
+ {
16816
+ "slug": "source-platform",
16817
+ "label": "Platform",
16818
+ "description": "Where it was published (instagram, tiktok, linkedin, a site…).",
16819
+ "valueType": "string",
16820
+ "inputType": "text"
16821
+ },
16822
+ {
16823
+ "slug": "author-handle",
16824
+ "label": "Author",
16825
+ "description": "Who made it (handle or name).",
16826
+ "valueType": "string",
16827
+ "inputType": "text"
16828
+ },
16829
+ {
16830
+ "slug": "media-format",
16831
+ "label": "Format",
16832
+ "valueType": "string",
16833
+ "inputType": "text"
16834
+ },
16835
+ {
16836
+ "slug": "production-layer",
16837
+ "label": "Production layer",
16838
+ "valueType": "string",
16839
+ "inputType": "text"
16840
+ },
16841
+ {
16842
+ "slug": "priority",
16843
+ "label": "Priority",
16844
+ "valueType": "string",
16845
+ "inputType": "text"
16846
+ },
16847
+ {
16848
+ "slug": "style-read",
16849
+ "label": "Style read",
16850
+ "description": "How it is made, read by a person or an agent (set, cuts, type, pacing).",
16851
+ "valueType": "string",
16852
+ "inputType": "textarea"
16853
+ },
16854
+ {
16855
+ "slug": "analysis",
16856
+ "label": "Analysis",
16857
+ "description": "Measured facts of a video teardown (duration, hard cuts, average shot, hook line).",
16858
+ "valueType": "object",
16859
+ "inputType": "json"
16860
+ },
16861
+ {
16862
+ "slug": "author-url",
16863
+ "label": "Author page",
16864
+ "valueType": "string",
16865
+ "inputType": "url"
16866
+ },
16867
+ {
16868
+ "slug": "post-text",
16869
+ "label": "Text",
16870
+ "description": "The post's own text (its caption or body), verbatim.",
16871
+ "valueType": "string",
16872
+ "inputType": "textarea"
16873
+ },
16874
+ {
16875
+ "slug": "published-at",
16876
+ "label": "Published",
16877
+ "valueType": "date",
16878
+ "inputType": "date"
16879
+ },
16880
+ {
16881
+ "slug": "media",
16882
+ "label": "Media",
16883
+ "description": "The post's pictures and video as read: a list of { url, kind: image | video, role?: cover | slide, width?, height?, durationSec? }.",
16884
+ "valueType": "array",
16885
+ "inputType": "json"
16886
+ },
16887
+ {
16888
+ "slug": "likes",
16889
+ "label": "Likes",
16890
+ "valueType": "number",
16891
+ "inputType": "number"
16892
+ },
16893
+ {
16894
+ "slug": "comments",
16895
+ "label": "Comments",
16896
+ "valueType": "number",
16897
+ "inputType": "number"
16898
+ },
16899
+ {
16900
+ "slug": "views",
16901
+ "label": "Views",
16902
+ "valueType": "number",
16903
+ "inputType": "number"
16398
16904
  }
16399
16905
  ]
16400
16906
  },