@elevasis/sdk 1.44.2 → 1.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.
Files changed (245) hide show
  1. package/dist/cli.cjs +1001 -652
  2. package/dist/index.d.ts +1045 -509
  3. package/dist/index.js +748 -690
  4. package/dist/node/index.d.ts +105 -97
  5. package/dist/test-utils/index.d.ts +42 -28
  6. package/dist/test-utils/index.js +549 -732
  7. package/dist/worker/index.d.ts +12112 -0
  8. package/dist/worker/index.js +211 -186
  9. package/package.json +6 -9
  10. package/reference/_navigation.md +151 -21
  11. package/reference/_reference-manifest.json +186 -4
  12. package/reference/claude-config.md +8 -0
  13. package/reference/core/index.mdx +3 -3
  14. package/reference/examples/organization-model.ts +117 -111
  15. package/reference/index.mdx +4 -4
  16. package/reference/rules/active-change-index.md +40 -54
  17. package/reference/rules/agent-runtime.md +81 -0
  18. package/reference/rules/agent-start-here.md +71 -163
  19. package/reference/rules/deployment.md +33 -10
  20. package/reference/rules/error-handling.md +26 -0
  21. package/reference/rules/execution.md +13 -0
  22. package/reference/rules/frontend.md +10 -3
  23. package/reference/rules/observability.md +9 -1
  24. package/reference/rules/operations.md +26 -17
  25. package/reference/rules/organization-model.md +74 -88
  26. package/reference/rules/organization-os.md +71 -88
  27. package/reference/rules/package-taxonomy.md +11 -2
  28. package/reference/rules/platform.md +13 -7
  29. package/reference/rules/shared-types.md +15 -0
  30. package/reference/rules/task-tracking.md +30 -5
  31. package/reference/rules/ui.md +145 -3
  32. package/reference/rules/vibe-intents.md +271 -0
  33. package/reference/rules/vibe.md +17 -243
  34. package/reference/scaffold/core/organization-graph.mdx +111 -97
  35. package/reference/scaffold/core/organization-model.mdx +234 -214
  36. package/reference/scaffold/operations/propagation-pipeline.md +1 -1
  37. package/reference/scaffold/operations/scaffold-maintenance.md +19 -18
  38. package/reference/scaffold/operations/workflow-recipes.md +71 -19
  39. package/reference/scaffold/recipes/add-a-feature.md +156 -146
  40. package/reference/scaffold/recipes/add-a-resource.md +123 -117
  41. package/reference/scaffold/recipes/customize-crm-actions.md +25 -10
  42. package/reference/scaffold/recipes/customize-knowledge-browser.md +52 -117
  43. package/reference/scaffold/recipes/customize-organization-model.md +161 -149
  44. package/reference/scaffold/recipes/extend-a-base-entity.md +156 -140
  45. package/reference/scaffold/recipes/extend-crm.md +16 -11
  46. package/reference/scaffold/recipes/extend-lead-gen.md +25 -7
  47. package/reference/scaffold/recipes/gate-by-feature-or-admin.md +160 -118
  48. package/reference/scaffold/recipes/index.md +2 -2
  49. package/reference/scaffold/recipes/query-the-knowledge-graph.md +23 -23
  50. package/reference/scaffold/reference/contracts.md +12 -1
  51. package/reference/scaffold/reference/glossary.md +3 -3
  52. package/reference/scaffold/reference/system-interface-capabilities.md +5 -4
  53. package/reference/scaffold/ui/composition-extensibility.mdx +271 -232
  54. package/reference/scaffold/ui/feature-flags-and-gating.md +14 -6
  55. package/reference/scaffold/ui/feature-shell.mdx +279 -62
  56. package/reference/scaffold/ui/recipes.md +229 -197
  57. package/reference/sdk/cli-management.mdx +77 -29
  58. package/reference/sdk/concepts.mdx +2 -0
  59. package/reference/sdk/define-builders.mdx +76 -0
  60. package/reference/sdk/deployment/command-center.mdx +6 -2
  61. package/reference/sdk/deployment/execution-reference.mdx +64 -186
  62. package/reference/sdk/deployment/index.mdx +2 -0
  63. package/reference/sdk/exports.mdx +4 -4
  64. package/reference/sdk/framework/agent.mdx +49 -119
  65. package/reference/sdk/framework/index.mdx +46 -65
  66. package/reference/sdk/framework/project-structure.mdx +150 -205
  67. package/reference/sdk/framework/tutorial-system.mdx +2 -2
  68. package/reference/sdk/human-in-the-loop.mdx +152 -0
  69. package/reference/sdk/index.mdx +6 -7
  70. package/reference/sdk/platform-tools/index.mdx +12 -0
  71. package/reference/sdk/platform-tools/type-safety.mdx +4 -0
  72. package/reference/sdk/project-deployment-spec.mdx +131 -0
  73. package/reference/sdk/resources/index.mdx +23 -7
  74. package/reference/sdk/resources/patterns.mdx +54 -24
  75. package/reference/sdk/resources/types.mdx +7 -4
  76. package/reference/sdk/templates/data-enrichment.mdx +7 -3
  77. package/reference/sdk/templates/email-sender.mdx +139 -135
  78. package/reference/sdk/templates/lead-scorer.mdx +5 -1
  79. package/reference/sdk/templates/pdf-generator.mdx +155 -151
  80. package/reference/sdk/templates/recurring-job.mdx +195 -189
  81. package/reference/sdk/templates/text-classifier.mdx +4 -0
  82. package/reference/sdk/templates/web-scraper.mdx +139 -135
  83. package/reference/spine/spine-primer.md +135 -96
  84. package/reference/ui/index.mdx +14 -7
  85. package/dist/types/worker/adapters/anymailfinder.d.ts +0 -14
  86. package/dist/types/worker/adapters/apify.d.ts +0 -14
  87. package/dist/types/worker/adapters/approval.d.ts +0 -23
  88. package/dist/types/worker/adapters/attio.d.ts +0 -22
  89. package/dist/types/worker/adapters/clickup.d.ts +0 -22
  90. package/dist/types/worker/adapters/create-adapter.d.ts +0 -41
  91. package/dist/types/worker/adapters/crm.d.ts +0 -20
  92. package/dist/types/worker/adapters/dropbox.d.ts +0 -14
  93. package/dist/types/worker/adapters/email.d.ts +0 -25
  94. package/dist/types/worker/adapters/execution.d.ts +0 -22
  95. package/dist/types/worker/adapters/gmail.d.ts +0 -14
  96. package/dist/types/worker/adapters/google-sheets.d.ts +0 -14
  97. package/dist/types/worker/adapters/index.d.ts +0 -33
  98. package/dist/types/worker/adapters/instantly.d.ts +0 -14
  99. package/dist/types/worker/adapters/lead.d.ts +0 -28
  100. package/dist/types/worker/adapters/list.d.ts +0 -9
  101. package/dist/types/worker/adapters/llm.d.ts +0 -45
  102. package/dist/types/worker/adapters/millionverifier.d.ts +0 -14
  103. package/dist/types/worker/adapters/notification.d.ts +0 -28
  104. package/dist/types/worker/adapters/pdf.d.ts +0 -22
  105. package/dist/types/worker/adapters/projects.d.ts +0 -20
  106. package/dist/types/worker/adapters/resend.d.ts +0 -14
  107. package/dist/types/worker/adapters/scheduler.d.ts +0 -25
  108. package/dist/types/worker/adapters/signature-api.d.ts +0 -14
  109. package/dist/types/worker/adapters/storage.d.ts +0 -33
  110. package/dist/types/worker/adapters/stripe.d.ts +0 -14
  111. package/dist/types/worker/adapters/tomba.d.ts +0 -14
  112. package/dist/types/worker/index.d.ts +0 -60
  113. package/dist/types/worker/platform.d.ts +0 -90
  114. package/dist/types/worker/utils.d.ts +0 -9
  115. package/reference/claude-config/Overview.md +0 -230
  116. package/reference/claude-config/hooks/post-edit-validate.mjs +0 -98
  117. package/reference/claude-config/hooks/scaffold-registry-reminder.mjs +0 -187
  118. package/reference/claude-config/hooks/tool-failure-recovery.mjs +0 -73
  119. package/reference/claude-config/registries/graph-skills.json +0 -4
  120. package/reference/claude-config/registries/knowledge-flags.json +0 -154
  121. package/reference/claude-config/registries/skill-coverage.json +0 -20
  122. package/reference/claude-config/rules/active-change-index.md +0 -22
  123. package/reference/claude-config/rules/agent-start-here.md +0 -22
  124. package/reference/claude-config/rules/deployment.md +0 -22
  125. package/reference/claude-config/rules/error-handling.md +0 -22
  126. package/reference/claude-config/rules/execution.md +0 -22
  127. package/reference/claude-config/rules/frontend.md +0 -22
  128. package/reference/claude-config/rules/observability.md +0 -22
  129. package/reference/claude-config/rules/operations.md +0 -22
  130. package/reference/claude-config/rules/organization-model.md +0 -22
  131. package/reference/claude-config/rules/organization-os.md +0 -22
  132. package/reference/claude-config/rules/package-taxonomy.md +0 -22
  133. package/reference/claude-config/rules/platform.md +0 -22
  134. package/reference/claude-config/rules/shared-types.md +0 -22
  135. package/reference/claude-config/rules/task-tracking.md +0 -22
  136. package/reference/claude-config/rules/topbar-actions.md +0 -70
  137. package/reference/claude-config/rules/ui.md +0 -22
  138. package/reference/claude-config/rules/vibe.md +0 -22
  139. package/reference/claude-config/scripts/statusline-command.js +0 -18
  140. package/reference/claude-config/settings.json +0 -30
  141. package/reference/claude-config/skills/client/SKILL.md +0 -201
  142. package/reference/claude-config/skills/deploy/SKILL.md +0 -159
  143. package/reference/claude-config/skills/dsp/SKILL.md +0 -66
  144. package/reference/claude-config/skills/elevasis/SKILL.md +0 -251
  145. package/reference/claude-config/skills/explore/SKILL.md +0 -78
  146. package/reference/claude-config/skills/git-sync/SKILL.md +0 -166
  147. package/reference/claude-config/skills/om/SKILL.md +0 -475
  148. package/reference/claude-config/skills/om/operations/build.md +0 -237
  149. package/reference/claude-config/skills/om/operations/codify-level-a.md +0 -109
  150. package/reference/claude-config/skills/om/operations/codify-level-b.md +0 -159
  151. package/reference/claude-config/skills/om/operations/customers.md +0 -114
  152. package/reference/claude-config/skills/om/operations/features.md +0 -88
  153. package/reference/claude-config/skills/om/operations/goals.md +0 -123
  154. package/reference/claude-config/skills/om/operations/identity.md +0 -97
  155. package/reference/claude-config/skills/om/operations/labels.md +0 -110
  156. package/reference/claude-config/skills/om/operations/offerings.md +0 -114
  157. package/reference/claude-config/skills/om/operations/roles.md +0 -104
  158. package/reference/claude-config/skills/om/operations/scaffold.md +0 -163
  159. package/reference/claude-config/skills/om/operations/techStack.md +0 -38
  160. package/reference/claude-config/skills/project/SKILL.md +0 -1114
  161. package/reference/claude-config/skills/run-ui/SKILL.md +0 -73
  162. package/reference/claude-config/skills/save/SKILL.md +0 -183
  163. package/reference/claude-config/skills/setup/SKILL.md +0 -290
  164. package/reference/claude-config/skills/status/SKILL.md +0 -59
  165. package/reference/claude-config/skills/submit-request/SKILL.md +0 -180
  166. package/reference/claude-config/skills/sync/SKILL.md +0 -47
  167. package/reference/claude-config/skills/tutorial/SKILL.md +0 -259
  168. package/reference/claude-config/skills/tutorial/progress-template.md +0 -74
  169. package/reference/claude-config/skills/tutorial/technical.md +0 -1303
  170. package/reference/claude-config/skills/tutorial/vibe-coder.md +0 -890
  171. package/reference/claude-config/sync-notes/2026-04-22-git-sync-and-sync-notes.md +0 -27
  172. package/reference/claude-config/sync-notes/2026-04-22-lead-gen-deliverability-removal.md +0 -30
  173. package/reference/claude-config/sync-notes/2026-04-24-test-utils-and-template-tests.md +0 -73
  174. package/reference/claude-config/sync-notes/2026-04-24-ui-consolidation-and-sdk-cli-train.md +0 -86
  175. package/reference/claude-config/sync-notes/2026-04-25-auth-role-system-and-settings-roles.md +0 -55
  176. package/reference/claude-config/sync-notes/2026-04-27-crm-hitl-action-layer-cutover.md +0 -97
  177. package/reference/claude-config/sync-notes/2026-04-27-lead-gen-substrate-train.md +0 -112
  178. package/reference/claude-config/sync-notes/2026-04-29-crm-state-and-lead-gen-processing-status.md +0 -93
  179. package/reference/claude-config/sync-notes/2026-05-02-crm-ownership-next-action.md +0 -58
  180. package/reference/claude-config/sync-notes/2026-05-02-template-hardcode-workos-config.md +0 -56
  181. package/reference/claude-config/sync-notes/2026-05-04-elevasis-workspace.md +0 -71
  182. package/reference/claude-config/sync-notes/2026-05-04-knowledge-bundle.md +0 -83
  183. package/reference/claude-config/sync-notes/2026-05-04-template-skills-run-ui-and-tutorial.md +0 -59
  184. package/reference/claude-config/sync-notes/2026-05-05-list-builder.md +0 -42
  185. package/reference/claude-config/sync-notes/2026-05-06-crm-spine.md +0 -60
  186. package/reference/claude-config/sync-notes/2026-05-06-sdk-changes-release-train.md +0 -37
  187. package/reference/claude-config/sync-notes/2026-05-07-sdk-changes-release-train.md +0 -34
  188. package/reference/claude-config/sync-notes/2026-05-08-resource-governance-scaffold-guidance.md +0 -38
  189. package/reference/claude-config/sync-notes/2026-05-09-clients-domain.md +0 -32
  190. package/reference/claude-config/sync-notes/2026-05-09-command-system.md +0 -33
  191. package/reference/claude-config/sync-notes/2026-05-09-resource-governance-and-misc.md +0 -69
  192. package/reference/claude-config/sync-notes/2026-05-12-sdk-ready-release-train.md +0 -30
  193. package/reference/claude-config/sync-notes/2026-05-14-organization-model-ontology-refactor.md +0 -45
  194. package/reference/claude-config/sync-notes/2026-05-15-om-skill-rename-and-write-family.md +0 -52
  195. package/reference/claude-config/sync-notes/2026-05-17-sdk-boundary-consolidation.md +0 -33
  196. package/reference/claude-config/sync-notes/2026-05-20-om-define-helpers.md +0 -32
  197. package/reference/claude-config/sync-notes/2026-05-22-access-model-and-right-panel.md +0 -43
  198. package/reference/claude-config/sync-notes/2026-05-22-lead-gen-tenant-config.md +0 -40
  199. package/reference/claude-config/sync-notes/2026-05-22-org-model-multi-file-split.md +0 -61
  200. package/reference/claude-config/sync-notes/2026-05-23-branding-names-to-identity.md +0 -49
  201. package/reference/claude-config/sync-notes/2026-05-23-lead-gen-manage-access.md +0 -31
  202. package/reference/claude-config/sync-notes/2026-05-23-om-deployment-drift-detection.md +0 -42
  203. package/reference/claude-config/sync-notes/2026-05-23-om-full-model-deploy-contract.md +0 -33
  204. package/reference/claude-config/sync-notes/2026-05-23-ui-sdk-package-fixes.md +0 -37
  205. package/reference/claude-config/sync-notes/2026-05-24-platform-invite-router-core-baseline.md +0 -28
  206. package/reference/claude-config/sync-notes/2026-05-24-system-interface-readiness.md +0 -43
  207. package/reference/claude-config/sync-notes/2026-05-25-invitation-login-loader.md +0 -26
  208. package/reference/claude-config/sync-notes/2026-05-25-om-topbar-requests.md +0 -33
  209. package/reference/claude-config/sync-notes/2026-05-25-system-interface-profile-registry-and-substrate.md +0 -35
  210. package/reference/claude-config/sync-notes/2026-05-25-tenant-om-scaffold-cli.md +0 -49
  211. package/reference/claude-config/sync-notes/2026-05-25-vibe-operate-intent.md +0 -47
  212. package/reference/claude-config/sync-notes/2026-05-28-om-snapshot-sdk-workflow-config.md +0 -33
  213. package/reference/claude-config/sync-notes/2026-05-30-client-source-and-om-profiles.md +0 -39
  214. package/reference/claude-config/sync-notes/2026-06-02-knowledge-nested-group-routing.md +0 -27
  215. package/reference/claude-config/sync-notes/2026-06-02-nest-projects-under-platform.md +0 -45
  216. package/reference/claude-config/sync-notes/2026-06-03-skill-autogen-and-client-skill.md +0 -34
  217. package/reference/claude-config/sync-notes/2026-06-04-scaffold-registry-lane-severity.md +0 -34
  218. package/reference/claude-config/sync-notes/2026-06-05-appearance-app-mode-decouple.md +0 -29
  219. package/reference/claude-config/sync-notes/2026-06-05-ontology-endpoint-rename-and-knowledge-browser-ui.md +0 -86
  220. package/reference/claude-config/sync-notes/2026-06-06-om-build-systems-scaffold.md +0 -47
  221. package/reference/claude-config/sync-notes/2026-06-06-om-item-copy-references.md +0 -50
  222. package/reference/claude-config/sync-notes/2026-06-08-knowledge-base-page-not-found-fix.md +0 -76
  223. package/reference/claude-config/sync-notes/2026-06-09-agent-sessions-public-agent-chat-route.md +0 -75
  224. package/reference/claude-config/sync-notes/2026-06-09-sdk-cli-load-org-model-resolution.md +0 -42
  225. package/reference/claude-config/sync-notes/2026-06-12-agent-grants-visualizer-operations.md +0 -30
  226. package/reference/claude-config/sync-notes/2026-06-14-session-ux-and-project-cli-json.md +0 -33
  227. package/reference/claude-config/sync-notes/2026-06-14-shared-session-conversation-view.md +0 -26
  228. package/reference/claude-config/sync-notes/2026-06-15-session-chat-zero-wiring.md +0 -46
  229. package/reference/claude-config/sync-notes/2026-06-17-agent-session-ux-features.md +0 -34
  230. package/reference/claude-config/sync-notes/2026-06-25-shared-page-scroll-contract-guard.md +0 -52
  231. package/reference/claude-config/sync-notes/2026-06-26-leadgen-overview-om-telemetry.md +0 -47
  232. package/reference/claude-config/sync-notes/2026-07-21-agent-scaffold-hardening.md +0 -75
  233. package/reference/claude-config/sync-notes/2026-07-23-agent-session-memory.md +0 -49
  234. package/reference/claude-config/sync-notes/2026-07-23-workos-org-marker.md +0 -50
  235. package/reference/claude-config/sync-notes/2026-07-24-claude-5-models-and-session-surface-fixes.md +0 -116
  236. package/reference/claude-config/sync-notes/2026-07-27-agent-strict-output-and-turn-drift.md +0 -73
  237. package/reference/claude-config/sync-notes/2026-07-28-agent-reply-is-its-own-field.md +0 -84
  238. package/reference/claude-config/sync-notes/2026-07-30-login-screen-and-member-provisioning-state.md +0 -114
  239. package/reference/claude-config/sync-notes/2026-08-02-auth-guard-defaults-and-truncation-fix.md +0 -122
  240. package/reference/claude-config/sync-notes/2026-08-03-cli-gateway-errors-and-request-timeout.md +0 -120
  241. package/reference/claude-config/sync-notes/README.md +0 -43
  242. package/reference/sdk/framework/interaction-guidance.mdx +0 -182
  243. package/reference/sdk/framework/memory.mdx +0 -326
  244. package/reference/sdk/framework/resource-documentation.mdx +0 -90
  245. package/reference/sdk/roadmap.mdx +0 -164
@@ -46,25 +46,25 @@ Package entries indexed: 61.
46
46
 
47
47
  | Resource | Location | Description | When to Load |
48
48
  | --- | --- | --- | --- |
49
- | SDK | `sdk/index.mdx` | Root SDK types, config, runtime errors, and registry surface. | (not specified) |
49
+ | SDK | `sdk/index.mdx` | Build and deploy workflows, agents, and resources with the Elevasis SDK | (not specified) |
50
50
 
51
51
  ## @elevasis/sdk / Runtime
52
52
 
53
53
  | Resource | Location | Description | When to Load |
54
54
  | --- | --- | --- | --- |
55
- | Worker Runtime | `sdk/runtime.mdx` | Worker runtime entrypoint, adapters, and platform execution surface. | (not specified) |
55
+ | Worker Runtime | `sdk/runtime.mdx` | How your code runs on the Elevasis platform -- execution lifecycle, concurrency, timeouts, cancellation, error handling, observability, resource limits, and v1 limitations | (not specified) |
56
56
 
57
57
  ## @elevasis/sdk / Testing
58
58
 
59
59
  | Resource | Location | Description | When to Load |
60
60
  | --- | --- | --- | --- |
61
- | Test Utils | `sdk/runtime.mdx` | Workflow runner, registry assertion, and typed adapter mocks for SDK consumers. | (not specified) |
61
+ | Test Utils | `sdk/runtime.mdx` | How your code runs on the Elevasis platform -- execution lifecycle, concurrency, timeouts, cancellation, error handling, observability, resource limits, and v1 limitations | (not specified) |
62
62
 
63
63
  ## @elevasis/sdk / Tooling
64
64
 
65
65
  | Resource | Location | Description | When to Load |
66
66
  | --- | --- | --- | --- |
67
- | Node Build Tooling | `sdk/cli.mdx` | Node-only build helpers: knowledge codegen and other fs/path/process utilities. Not browser-safe. | (not specified) |
67
+ | Node Build Tooling | `sdk/cli.mdx` | Core elevasis-sdk CLI commands -- validate, deploy, execute, inspect resources, manage credentials, rename, and enumerate the command catalog | (not specified) |
68
68
 
69
69
  ## @elevasis/ui / Build
70
70
 
@@ -161,23 +161,153 @@ Package entries indexed: 61.
161
161
 
162
162
  ## Scaffold Reference
163
163
 
164
- Universal scaffold documentation for all SDK projects. Source locations are co-located with owning packages; the SDK build copies everything into `reference/scaffold/`.
164
+ Universal scaffold documentation for all SDK projects. Source locations are co-located with owning packages; the SDK build copies everything into `reference/scaffold/`, `reference/examples/`, and `reference/spine/`.
165
165
 
166
166
  | Document | Bundle Path | Description |
167
167
  | --- | --- | --- |
168
- | Scaffold Index | `scaffold/index.mdx` | Discovery entry point and navigation map |
169
- | Add a System | `scaffold/recipes/add-a-feature.md` | End-to-end system addition recipe |
170
- | Add a Resource | `scaffold/recipes/add-a-resource.md` | Workflow/agent authoring recipe |
171
- | Gate by System/Admin | `scaffold/recipes/gate-by-feature-or-admin.md` | Access control patterns |
172
- | UI Recipes | `scaffold/ui/recipes.md` | Copy-paste UI recipes |
173
- | System Flags & Gating | `scaffold/ui/feature-flags-and-gating.md` | Three-concept gating model |
174
- | Customizing Systems | `scaffold/ui/customization.md` | Sidebar composition patterns |
175
- | System Shell | `scaffold/ui/feature-shell.mdx` | SystemModule manifest and provider |
176
- | Composition & Extensibility | `scaffold/ui/composition-extensibility.mdx` | Layout primitives and overrides |
177
- | Organization Model | `scaffold/core/organization-model.mdx` | Semantic contract and schema |
178
- | Organization Graph | `scaffold/core/organization-graph.mdx` | Graph derivation and Cytoscape |
179
- | Workflow Recipes | `scaffold/operations/workflow-recipes.md` | Workflow anatomy and adapters |
180
- | Glossary | `scaffold/reference/glossary.md` | Term definitions |
181
- | Contracts | `scaffold/reference/contracts.md` | Auto-generated type contracts |
182
- | System Registry | `scaffold/reference/feature-registry.md` | Auto-generated system catalog |
183
- | Agent Rules | `rules/` | Bundled external-template agent rule corpus for generated projects |
168
+ | Organization Model | `scaffold/core/organization-model.mdx` | Organization OS Model layer documentation for the System hierarchy, semantic domains, resource descriptors, and curated @elevasis/core public API. |
169
+ | Organization Graph | `scaffold/core/organization-graph.mdx` | Organization OS graph layer documentation for the organization graph derived from Organization Model Systems, resources, actions, entities, ontology catalogs, and typed links. |
170
+ | Glossary | `scaffold/reference/glossary.md` | Terminology disambiguation for Organization OS concepts used in the template scaffold, core package, and published packages. |
171
+ | Reference Contracts | `scaffold/reference/contracts.md` | Auto-generated TypeScript contracts for SDK consumers. Do not edit manually. |
172
+ | System Interface Capabilities | `scaffold/reference/system-interface-capabilities.md` | Auto-generated System Interface profile and derived-readiness catalog |
173
+ | UI Recipes | `scaffold/ui/recipes.md` | Current recipes for adding pages, system-gated routes, system components, theme tokens, Organization Model sidebar entries, and executable resources. |
174
+ | Feature Flags And Gating | `scaffold/ui/feature-flags-and-gating.md` | System access and gating: Organization Model system paths resolved through the Access Model |
175
+ | Customizing Systems | `scaffold/ui/customization.md` | One pattern for customizing system sidebars and pages -- set manifest.sidebar to a component composing the system's published pieces. Decision tree + three worked examples. |
176
+ | System Shell & Provider Runtime | `scaffold/ui/feature-shell.mdx` | Current system shell contract for Organization Model systems, manifests, route matching, sidebars, and breadcrumbs. |
177
+ | Composition & Extensibility | `scaffold/ui/composition-extensibility.mdx` | Organization OS Toolkit layer guidance for customizing shared shell systems without forking, including exported nav arrays, optional sidebar props, composable layout primitives, the manifest.sidebar override pattern, and the render-prop slot + zero-wiring default pattern for the shared session-chat surface. |
178
+ | System Manifest Registry | `scaffold/reference/feature-registry.md` | Auto-generated catalog of registered system manifests. Do not edit manually. |
179
+ | Organization Model | `examples/organization-model.ts` | Worked defineOrganizationModel()/defineResources()/defineTopology() examples to copy from |
180
+ | Scaffold Reference | `scaffold/index.mdx` | Universal scaffold documentation for Elevasis SDK projects -- recipes, patterns, architecture, and reference materials that apply to all workspaces. |
181
+ | Pathway Recipes | `scaffold/recipes/index.md` | Terse end-to-end walkthroughs for the three most common authoring tasks -- adding a system, adding a resource, and gating access. |
182
+ | Add an OM-Backed System | `scaffold/recipes/add-a-feature.md` | Add a system through the Organization Model, runtime resource descriptors, UI wiring, and alignment tests. |
183
+ | Add a Resource | `scaffold/recipes/add-a-resource.md` | Add an OM-owned workflow or agent descriptor, bind executable behavior in operations, and verify descriptor-backed deployment. |
184
+ | Extend a Base Entity | `scaffold/recipes/extend-a-base-entity.md` | Add project-specific metadata to the canonical entity shapes (Project, Deal, Company, etc.) from @elevasis/core/entities using the TMeta extension slot. |
185
+ | Customize organization-model.ts | `scaffold/recipes/customize-organization-model.md` | Annotated walkthrough for customizing the System-backed Organization Model in template-derived projects. |
186
+ | Gate by System or Admin | `scaffold/recipes/gate-by-feature-or-admin.md` | Decision table and recipes for gating routes, sidebar entries, and UI elements with AccessGuard and the unified Access Model. |
187
+ | Build and Extend CRM | `scaffold/recipes/extend-crm.md` | Map the CRM platform primitives available to SDK projects: shared UI pages, sidebar composition, data hooks, action definitions, workflow adapters, System Interfaces, and org-model extension boundaries. |
188
+ | Build and Extend Lead Gen | `scaffold/recipes/extend-lead-gen.md` | Map the lead-gen platform primitives available to SDK projects: shared UI pages, provider-injected Organization Model config, data hooks, list/member state, artifacts, workflow adapters, System Interfaces, and tenant-owned extension boundaries. |
189
+ | Customize CRM Actions | `scaffold/recipes/customize-crm-actions.md` | Add, hide, or replace CRM deal action buttons in a template-derived project, and override default platform action workflows with project-owned implementations. |
190
+ | Customize Knowledge Browser | `scaffold/recipes/customize-knowledge-browser.md` | Author knowledge nodes and customize the Knowledge Browser in a template-derived project -- from zero-config authoring through sidebar composition, custom dispatchers, and direct query access. |
191
+ | Query the Knowledge Graph | `scaffold/recipes/query-the-knowledge-graph.md` | Use the `knowledge:*` CLI subcommands on `elevasis-sdk` (external projects) and `elevasis` (monorepo) to browse, inspect, and traverse the OrganizationModel knowledge graph via six mount axes. |
192
+ | Workflow Recipes | `scaffold/operations/workflow-recipes.md` | Anatomy of a workflow, adapter usage, and trigger patterns -- runnable email-notification example replaces the trivial echo workflow. Resolves eval score 2/5 on workflow authoring. |
193
+ | Propagation Pipeline | `scaffold/operations/propagation-pipeline.md` | Three-layer pipeline that keeps Organization OS artifacts current across the monorepo and all template-derived external projects -- source generation, registry-driven sync planning/apply, and verification. |
194
+ | Scaffold Maintenance | `scaffold/operations/scaffold-maintenance.md` | How scaffold documentation is organized, generated, and bundled into the SDK -- content placement map, auto-generation pipeline, and instructions for adding new scaffold docs. |
195
+ | Spine Primer | `spine/spine-primer.md` | Tenant-facing primer for using an Organization Model ontology catalog as the shared coordination spine between workflow producers, runtime state, API filters, and UI projections. |
196
+ | Agent Rules | `rules/` | Bundled agent rule corpus -- see the Agent Rules section below for the per-file index |
197
+
198
+ ---
199
+
200
+ ## Agent Rules
201
+
202
+ The bundled agent-rule corpus. Locations are relative to this file -- the `reference/` root of the installed `@elevasis/sdk` package -- so every row resolves offline in a cloned project with no monorepo.
203
+
204
+ Agent rules indexed: 18.
205
+
206
+ ### Core Config
207
+
208
+ | Rule | Location | Description | When to Load |
209
+ | --- | --- | --- | --- |
210
+ | Organization Model | `rules/organization-model.md` | Edits to the canonical organization model go through /om | Before touching `core/config/organization-model.ts` or `core/config/organization-model/` -- edits route through `/om`. |
211
+ | Core Types | `rules/shared-types.md` | Core type boundary -- what belongs in core/types, import rules, schema conventions | Editing anything under `core/types/` -- the browser-safe boundary shared by `ui/` and `operations/`. |
212
+
213
+ ### Operations
214
+
215
+ | Rule | Location | Description | When to Load |
216
+ | --- | --- | --- | --- |
217
+ | Operations | `rules/operations.md` | Platform workflows, agents, resource definitions, and deployment for the operations/ surface | Editing anything under `operations/` -- workflows, agents, or resource definitions. |
218
+ | Platform | `rules/platform.md` | Platform conventions -- SDK workflows, agents, deployment, resource registry | Authoring a workflow or agent definition, or registering a resource in the registry. |
219
+ | Deployment | `rules/deployment.md` | Deployment workflow -- check-first, dev vs prod, version bumping, common errors | Before any deploy -- a plain `run deploy` targets production by default. |
220
+ | Execution Model | `rules/execution.md` | Execution model -- timeouts, memory, concurrency, org isolation, runtime constraints | Hitting a timeout, memory ceiling, concurrency limit, or org-isolation question at runtime. |
221
+ | Agent Runtime | `rules/agent-runtime.md` | Agent runtime behavior -- iteration response shape, session memory and replay, prose normalization, and why a redeploy is what makes a platform fix live | Debugging an agent turn -- a missing reply, a corrupted one, a session that forgot, or an unenforced schema. |
222
+ | Error Handling | `rules/error-handling.md` | Error handling -- ExecutionError vs PlatformToolError, retry logic, no auto-retry | Writing or debugging a step handler that throws, catches, or retries. |
223
+ | Observability | `rules/observability.md` | Observability -- context.logger API, execution inspection, step-level context | Adding logging to a step handler, or inspecting a past execution. |
224
+
225
+ ### Orientation
226
+
227
+ | Rule | Location | Description | When to Load |
228
+ | --- | --- | --- | --- |
229
+ | Organization OS | `rules/organization-os.md` | Organization OS orientation -- what the semantic contract layer is, which surface owns what, and where the full reference docs live; concrete edit rules live in organization-model.md | Before an org-model change, to see how Systems, ontology, resources, policies, and knowledge relate. |
230
+ | Package Taxonomy | `rules/package-taxonomy.md` | Package taxonomy (consumer view) -- external projects consume the published @elevasis/* surface only; workspace-internal @repo/elevasis-* packages are not installable here | Adding a dependency, or resolving an `@elevasis/*` import or subpath question. |
231
+ | Active Change Index | `rules/active-change-index.md` | Which bundled references to load for platform areas under active change, and how to resolve drift between the bundled snapshot and live platform behavior | Before trusting a stable scaffold doc in a fast-moving area -- lists what in-progress work overrides. |
232
+
233
+ ### Session
234
+
235
+ | Rule | Location | Description | When to Load |
236
+ | --- | --- | --- | --- |
237
+ | Vibe Layer | `rules/vibe.md` | Ambient intent classifier -- routes natural-language input to intent buckets without a slash command; Codify and Toggle delegate to /om, Operate delegates to /elevasis | Always -- governs every natural-language message before the agent acts. |
238
+ | Vibe Intents (Detail) | `rules/vibe-intents.md` | Vibe intent detail -- per-intent recognition signals, fixture examples, agent actions, ambiguity handling, classifier threshold, and phase scope | Only when a message resists classification, or a routed intent needs its exact ceremony -- not resident. |
239
+ | Agent Start Here | `rules/agent-start-here.md` | Canonical first-read for agents entering the template scaffold -- project continuity, task-class routing, and boundary resolution | First read on entering a project, or when resuming with no prior context. |
240
+ | Task Tracking | `rules/task-tracking.md` | In-progress task conventions -- doc format, status values, resume_context ownership, auto-save behavior | Creating, updating, or closing an in-progress task doc. |
241
+
242
+ ### UI
243
+
244
+ | Rule | Location | Description | When to Load |
245
+ | --- | --- | --- | --- |
246
+ | UI Features | `rules/ui.md` | UI shell, route structure, auth flow, API access, and template customization points for the ui/ surface | Editing anything under `ui/` -- app shell, routes, auth flow, or template customization points. |
247
+ | Frontend | `rules/frontend.md` | Frontend conventions -- React, routing, state, styling, testing, pages | Editing anything under `ui/src/` -- components, routing, state, styling, or frontend tests. |
248
+
249
+ ---
250
+
251
+ ## Docs Site Pages
252
+
253
+ Every page under `apps/docs/content/docs/sdk/` copied verbatim into the root of this bundle by `copy-reference-docs.mjs`, indexed directly from the source tree. Several of these pages are also linked individually above as a package export’s primary doc; this section exists so every bundled page -- not only the ones an export happens to link to -- is reachable from a navigation row.
254
+
255
+ Docs-site pages indexed: 38.
256
+
257
+ ### (root)
258
+
259
+ | Page | Location | Description |
260
+ | --- | --- | --- |
261
+ | Elevasis SDK | `index.mdx` | The three published Elevasis packages — @elevasis/sdk, @elevasis/core, and @elevasis/ui — that tenant projects install and compose to build AI workflows and feature-rich applications on the platform. |
262
+
263
+ ### core
264
+
265
+ | Page | Location | Description |
266
+ | --- | --- | --- |
267
+ | @elevasis/core Export Catalog | `core/exports.mdx` | Auto-generated catalog of all published @elevasis/core subpath exports, derived from packages/core/reference-manifest.ts. |
268
+ | @elevasis/core | `core/index.mdx` | The shared Zod contract layer for the Elevasis platform — organization model, entity schemas, knowledge graph, auth types, and test utilities. Used by both @elevasis/sdk and @elevasis/ui. |
269
+
270
+ ### sdk
271
+
272
+ | Page | Location | Description |
273
+ | --- | --- | --- |
274
+ | CLI Management Commands | `sdk/cli-management.mdx` | elevasis-sdk management commands -- project, note, acquisition, client, agent, session, queue, schedule, om, ui, and skill subcommand families |
275
+ | CLI Reference | `sdk/cli.mdx` | Core elevasis-sdk CLI commands -- validate, deploy, execute, inspect resources, manage credentials, rename, and enumerate the command catalog |
276
+ | Concepts Reference | `sdk/concepts.mdx` | Plain-English explanations of Elevasis SDK concepts -- glossary, workflow analogies, Zod schemas, execution model, platform tools, and design decisions |
277
+ | When to Reach for the define* Builders | `sdk/define-builders.mdx` | defineWorkflow, defineStep, defineContract, defineResource, and defineTopology exist for two different reasons -- this page teaches which reason applies before you pick a builder over a plain object literal. |
278
+ | Command Center | `sdk/deployment/command-center.mdx` | Post-deployment UI reference -- what each page does, the resource graph model, relationships, validation, and how SDK concepts map to Command Center actions |
279
+ | Execution Reference | `sdk/deployment/execution-reference.mdx` | REST endpoints for executing resources, querying execution history, and managing deployments; plus React UI components and hooks for triggering executions from custom pages via @elevasis/ui |
280
+ | Deploying Resources | `sdk/deployment/index.mdx` | How to deploy your Elevasis SDK resources to the platform using elevasis-sdk deploy, including configuration, validation, and environment setup |
281
+ | @elevasis/sdk Export Catalog | `sdk/exports.mdx` | Auto-generated catalog of all published @elevasis/sdk subpath exports, derived from packages/sdk/reference-manifest.ts. |
282
+ | Agent System | `sdk/framework/agent.mdx` | The template's skill layer, the always-on ambient vibe classifier, the rules layer, and how project continuity is tracked through the elevasis-sdk project CLI, not files |
283
+ | Development Framework | `sdk/framework/index.mdx` | The template ships an agent operating environment alongside your code -- always-loaded rules, slash-command skills, a two-track tutorial, and a small gitignored memory surface |
284
+ | Project Structure | `sdk/framework/project-structure.mdx` | Each directory and file in an Elevasis SDK project and its purpose, verified against the current external/_template scaffold |
285
+ | Tutorial System | `sdk/framework/tutorial-system.mdx` | The /tutorial skill in the external project scaffold -- two-track onboarding (vibe-coder and technical), gate question, track persistence, and escape hatch |
286
+ | Getting Started | `sdk/getting-started.mdx` | Set up your Elevasis SDK project and run your first deployment |
287
+ | Human-in-the-Loop (HITL) Workflows | `sdk/human-in-the-loop.mdx` | How a workflow step opens an approval task, how it reaches the command queue, and how selecting an action resumes work -- the story that connects the approval adapter, checkpoint metadata, and the queue CLI. |
288
+ | Elevasis SDK | `sdk/index.mdx` | Build and deploy workflows, agents, and resources with the Elevasis SDK |
289
+ | Integration Adapters | `sdk/platform-tools/adapters-integration.mdx` | Auto-generated table of all 13 integration (credential-bound) adapters exported from @elevasis/sdk/worker, derived from static analysis of the adapter source files. |
290
+ | Platform Adapters | `sdk/platform-tools/adapters-platform.mdx` | Auto-generated table of all 12 platform (singleton, no credential) adapters exported from @elevasis/sdk/worker, derived from static analysis of the adapter source files. |
291
+ | Platform Tools | `sdk/platform-tools/index.mdx` | Access 25 adapters (13 integration + 12 platform) from your SDK workflows -- typed adapters, credential security model, and working code examples |
292
+ | Adapter Type Safety | `sdk/platform-tools/type-safety.mdx` | SDK worker adapter type safety patterns - required fields, discriminated unions, and intentionally loose types |
293
+ | The Deployment Spec Pattern | `sdk/project-deployment-spec.mdx` | How projectDeploymentSpec and defineWorkflowConfig assemble the DeploymentSpec a scaffolded project actually ships, using operations/src/index.ts as the reference. |
294
+ | Writing Resources | `sdk/resources/index.mdx` | Guide to creating descriptor-backed workflows and agents with the Elevasis SDK |
295
+ | Common Patterns | `sdk/resources/patterns.mdx` | Common resource patterns for Elevasis SDK developers -- sequential steps, conditional branching, platform tools, error handling, and resource status management |
296
+ | SDK Types | `sdk/resources/types.mdx` | Type reference for @elevasis/sdk package exports, resource metadata, platform types, ElevasConfig, StepHandler context, and runtime values |
297
+ | Execution Runtime | `sdk/runtime.mdx` | How your code runs on the Elevasis platform -- execution lifecycle, concurrency, timeouts, cancellation, error handling, observability, resource limits, and v1 limitations |
298
+ | Template: Data Enrichment | `sdk/templates/data-enrichment.mdx` | LLM-powered enrichment of existing database records -- read rows, enrich each with an LLM, write results back to Supabase |
299
+ | Template: Email Sender | `sdk/templates/email-sender.mdx` | Transactional email via Resend with template support -- send styled emails to one or multiple recipients |
300
+ | Templates | `sdk/templates/index.mdx` | Ready-to-use workflow templates for common automation patterns -- web scraping, data enrichment, email sending, lead scoring, PDF generation, text classification, and recurring jobs |
301
+ | Template: Lead Scorer | `sdk/templates/lead-scorer.mdx` | LLM-based lead scoring with Supabase storage -- receive a lead, score it with an LLM, store the result |
302
+ | Template: PDF Generator | `sdk/templates/pdf-generator.mdx` | PDF generation from structured data with platform storage upload -- render a PDF from a template and upload to platform storage |
303
+ | Template: Recurring Job | `sdk/templates/recurring-job.mdx` | Scheduler-triggered periodic workflow -- run a task on a schedule (daily, weekly, hourly, or custom cron) |
304
+ | Template: Text Classifier | `sdk/templates/text-classifier.mdx` | Multi-label text classification with structured output -- classify text into predefined categories using an LLM with JSON output |
305
+ | Template: Web Scraper | `sdk/templates/web-scraper.mdx` | Apify-based web scraper that stores results in Supabase -- fetch structured data from any website via Apify actors |
306
+ | Common Errors | `sdk/troubleshooting.mdx` | Static SDK-level error catalog -- CLI errors, deployment errors, schema validation, platform tool failures, and runtime errors with diagnostic steps |
307
+
308
+ ### ui
309
+
310
+ | Page | Location | Description |
311
+ | --- | --- | --- |
312
+ | @elevasis/ui Export Catalog | `ui/exports.mdx` | Auto-generated catalog of all published @elevasis/ui subpath exports, derived from packages/ui/reference-manifest.ts. |
313
+ | @elevasis/ui | `ui/index.mdx` | The shared React 19 feature-shell and manifest-backed feature modules for Elevasis — Lead Gen, CRM, Projects, Operations, Monitoring, Settings, SEO, and more. Embeds into any host UI via ElevasisCoreProvider and ElevasisSystemsProvider. |
@@ -91,7 +91,7 @@
91
91
  "subpath": ".",
92
92
  "kind": "root",
93
93
  "title": "SDK",
94
- "description": "Root SDK types, config, runtime errors, and registry surface.",
94
+ "description": "Build and deploy workflows, agents, and resources with the Elevasis SDK",
95
95
  "group": "Getting Started",
96
96
  "order": 1,
97
97
  "sourcePath": "packages/sdk/src/index.ts",
@@ -105,7 +105,7 @@
105
105
  "subpath": "./worker",
106
106
  "kind": "subpath",
107
107
  "title": "Worker Runtime",
108
- "description": "Worker runtime entrypoint, adapters, and platform execution surface.",
108
+ "description": "How your code runs on the Elevasis platform -- execution lifecycle, concurrency, timeouts, cancellation, error handling, observability, resource limits, and v1 limitations",
109
109
  "group": "Runtime",
110
110
  "order": 1,
111
111
  "sourcePath": "packages/sdk/src/worker/index.ts",
@@ -119,7 +119,7 @@
119
119
  "subpath": "./test-utils",
120
120
  "kind": "subpath",
121
121
  "title": "Test Utils",
122
- "description": "Workflow runner, registry assertion, and typed adapter mocks for SDK consumers.",
122
+ "description": "How your code runs on the Elevasis platform -- execution lifecycle, concurrency, timeouts, cancellation, error handling, observability, resource limits, and v1 limitations",
123
123
  "group": "Testing",
124
124
  "order": 1,
125
125
  "sourcePath": "packages/sdk/src/test-utils/index.ts",
@@ -133,7 +133,7 @@
133
133
  "subpath": "./node",
134
134
  "kind": "subpath",
135
135
  "title": "Node Build Tooling",
136
- "description": "Node-only build helpers: knowledge codegen and other fs/path/process utilities. Not browser-safe.",
136
+ "description": "Core elevasis-sdk CLI commands -- validate, deploy, execute, inspect resources, manage credentials, rename, and enumerate the command catalog",
137
137
  "group": "Tooling",
138
138
  "order": 1,
139
139
  "sourcePath": "packages/sdk/src/node/index.ts",
@@ -855,5 +855,187 @@
855
855
  "referencePath": "packages/ui/src/knowledge/README.md",
856
856
  "publishedExportPath": "./dist/knowledge/index.js"
857
857
  }
858
+ ],
859
+ "agentRules": [
860
+ {
861
+ "packageName": "@elevasis/sdk",
862
+ "title": "Organization Model",
863
+ "description": "Edits to the canonical organization model go through /om",
864
+ "group": "Core Config",
865
+ "order": 1,
866
+ "loadWhen": "Before touching `core/config/organization-model.ts` or `core/config/organization-model/` -- edits route through `/om`.",
867
+ "sourcePath": "packages/sdk/docs/agent-rules/organization-model.md",
868
+ "referencePath": "rules/organization-model.md"
869
+ },
870
+ {
871
+ "packageName": "@elevasis/sdk",
872
+ "title": "Core Types",
873
+ "description": "Core type boundary -- what belongs in core/types, import rules, schema conventions",
874
+ "group": "Core Config",
875
+ "order": 2,
876
+ "loadWhen": "Editing anything under `core/types/` -- the browser-safe boundary shared by `ui/` and `operations/`.",
877
+ "sourcePath": "packages/sdk/docs/agent-rules/shared-types.md",
878
+ "referencePath": "rules/shared-types.md"
879
+ },
880
+ {
881
+ "packageName": "@elevasis/sdk",
882
+ "title": "Operations",
883
+ "description": "Platform workflows, agents, resource definitions, and deployment for the operations/ surface",
884
+ "group": "Operations",
885
+ "order": 1,
886
+ "loadWhen": "Editing anything under `operations/` -- workflows, agents, or resource definitions.",
887
+ "sourcePath": "packages/sdk/docs/agent-rules/operations.md",
888
+ "referencePath": "rules/operations.md"
889
+ },
890
+ {
891
+ "packageName": "@elevasis/sdk",
892
+ "title": "Platform",
893
+ "description": "Platform conventions -- SDK workflows, agents, deployment, resource registry",
894
+ "group": "Operations",
895
+ "order": 2,
896
+ "loadWhen": "Authoring a workflow or agent definition, or registering a resource in the registry.",
897
+ "sourcePath": "packages/sdk/docs/agent-rules/platform.md",
898
+ "referencePath": "rules/platform.md"
899
+ },
900
+ {
901
+ "packageName": "@elevasis/sdk",
902
+ "title": "Deployment",
903
+ "description": "Deployment workflow -- check-first, dev vs prod, version bumping, common errors",
904
+ "group": "Operations",
905
+ "order": 3,
906
+ "loadWhen": "Before any deploy -- a plain `run deploy` targets production by default.",
907
+ "sourcePath": "packages/sdk/docs/agent-rules/deployment.md",
908
+ "referencePath": "rules/deployment.md"
909
+ },
910
+ {
911
+ "packageName": "@elevasis/sdk",
912
+ "title": "Execution Model",
913
+ "description": "Execution model -- timeouts, memory, concurrency, org isolation, runtime constraints",
914
+ "group": "Operations",
915
+ "order": 4,
916
+ "loadWhen": "Hitting a timeout, memory ceiling, concurrency limit, or org-isolation question at runtime.",
917
+ "sourcePath": "packages/sdk/docs/agent-rules/execution.md",
918
+ "referencePath": "rules/execution.md"
919
+ },
920
+ {
921
+ "packageName": "@elevasis/sdk",
922
+ "title": "Agent Runtime",
923
+ "description": "Agent runtime behavior -- iteration response shape, session memory and replay, prose normalization, and why a redeploy is what makes a platform fix live",
924
+ "group": "Operations",
925
+ "order": 5,
926
+ "loadWhen": "Debugging an agent turn -- a missing reply, a corrupted one, a session that forgot, or an unenforced schema.",
927
+ "sourcePath": "packages/sdk/docs/agent-rules/agent-runtime.md",
928
+ "referencePath": "rules/agent-runtime.md"
929
+ },
930
+ {
931
+ "packageName": "@elevasis/sdk",
932
+ "title": "Error Handling",
933
+ "description": "Error handling -- ExecutionError vs PlatformToolError, retry logic, no auto-retry",
934
+ "group": "Operations",
935
+ "order": 6,
936
+ "loadWhen": "Writing or debugging a step handler that throws, catches, or retries.",
937
+ "sourcePath": "packages/sdk/docs/agent-rules/error-handling.md",
938
+ "referencePath": "rules/error-handling.md"
939
+ },
940
+ {
941
+ "packageName": "@elevasis/sdk",
942
+ "title": "Observability",
943
+ "description": "Observability -- context.logger API, execution inspection, step-level context",
944
+ "group": "Operations",
945
+ "order": 7,
946
+ "loadWhen": "Adding logging to a step handler, or inspecting a past execution.",
947
+ "sourcePath": "packages/sdk/docs/agent-rules/observability.md",
948
+ "referencePath": "rules/observability.md"
949
+ },
950
+ {
951
+ "packageName": "@elevasis/sdk",
952
+ "title": "Organization OS",
953
+ "description": "Organization OS orientation -- what the semantic contract layer is, which surface owns what, and where the full reference docs live; concrete edit rules live in organization-model.md",
954
+ "group": "Orientation",
955
+ "order": 1,
956
+ "loadWhen": "Before an org-model change, to see how Systems, ontology, resources, policies, and knowledge relate.",
957
+ "sourcePath": "packages/sdk/docs/agent-rules/organization-os.md",
958
+ "referencePath": "rules/organization-os.md"
959
+ },
960
+ {
961
+ "packageName": "@elevasis/sdk",
962
+ "title": "Package Taxonomy",
963
+ "description": "Package taxonomy (consumer view) -- external projects consume the published @elevasis/* surface only; workspace-internal @repo/elevasis-* packages are not installable here",
964
+ "group": "Orientation",
965
+ "order": 2,
966
+ "loadWhen": "Adding a dependency, or resolving an `@elevasis/*` import or subpath question.",
967
+ "sourcePath": "packages/sdk/docs/agent-rules/package-taxonomy.md",
968
+ "referencePath": "rules/package-taxonomy.md"
969
+ },
970
+ {
971
+ "packageName": "@elevasis/sdk",
972
+ "title": "Active Change Index",
973
+ "description": "Which bundled references to load for platform areas under active change, and how to resolve drift between the bundled snapshot and live platform behavior",
974
+ "group": "Orientation",
975
+ "order": 3,
976
+ "loadWhen": "Before trusting a stable scaffold doc in a fast-moving area -- lists what in-progress work overrides.",
977
+ "sourcePath": "packages/sdk/docs/agent-rules/active-change-index.md",
978
+ "referencePath": "rules/active-change-index.md"
979
+ },
980
+ {
981
+ "packageName": "@elevasis/sdk",
982
+ "title": "Vibe Layer",
983
+ "description": "Ambient intent classifier -- routes natural-language input to intent buckets without a slash command; Codify and Toggle delegate to /om, Operate delegates to /elevasis",
984
+ "group": "Session",
985
+ "order": 1,
986
+ "loadWhen": "Always -- governs every natural-language message before the agent acts.",
987
+ "sourcePath": "packages/sdk/docs/agent-rules/vibe.md",
988
+ "referencePath": "rules/vibe.md"
989
+ },
990
+ {
991
+ "packageName": "@elevasis/sdk",
992
+ "title": "Vibe Intents (Detail)",
993
+ "description": "Vibe intent detail -- per-intent recognition signals, fixture examples, agent actions, ambiguity handling, classifier threshold, and phase scope",
994
+ "group": "Session",
995
+ "order": 2,
996
+ "loadWhen": "Only when a message resists classification, or a routed intent needs its exact ceremony -- not resident.",
997
+ "sourcePath": "packages/sdk/docs/agent-rules/vibe-intents.md",
998
+ "referencePath": "rules/vibe-intents.md"
999
+ },
1000
+ {
1001
+ "packageName": "@elevasis/sdk",
1002
+ "title": "Agent Start Here",
1003
+ "description": "Canonical first-read for agents entering the template scaffold -- project continuity, task-class routing, and boundary resolution",
1004
+ "group": "Session",
1005
+ "order": 3,
1006
+ "loadWhen": "First read on entering a project, or when resuming with no prior context.",
1007
+ "sourcePath": "packages/sdk/docs/agent-rules/agent-start-here.md",
1008
+ "referencePath": "rules/agent-start-here.md"
1009
+ },
1010
+ {
1011
+ "packageName": "@elevasis/sdk",
1012
+ "title": "Task Tracking",
1013
+ "description": "In-progress task conventions -- doc format, status values, resume_context ownership, auto-save behavior",
1014
+ "group": "Session",
1015
+ "order": 4,
1016
+ "loadWhen": "Creating, updating, or closing an in-progress task doc.",
1017
+ "sourcePath": "packages/sdk/docs/agent-rules/task-tracking.md",
1018
+ "referencePath": "rules/task-tracking.md"
1019
+ },
1020
+ {
1021
+ "packageName": "@elevasis/sdk",
1022
+ "title": "UI Features",
1023
+ "description": "UI shell, route structure, auth flow, API access, and template customization points for the ui/ surface",
1024
+ "group": "UI",
1025
+ "order": 1,
1026
+ "loadWhen": "Editing anything under `ui/` -- app shell, routes, auth flow, or template customization points.",
1027
+ "sourcePath": "packages/sdk/docs/agent-rules/ui.md",
1028
+ "referencePath": "rules/ui.md"
1029
+ },
1030
+ {
1031
+ "packageName": "@elevasis/sdk",
1032
+ "title": "Frontend",
1033
+ "description": "Frontend conventions -- React, routing, state, styling, testing, pages",
1034
+ "group": "UI",
1035
+ "order": 2,
1036
+ "loadWhen": "Editing anything under `ui/src/` -- components, routing, state, styling, or frontend tests.",
1037
+ "sourcePath": "packages/sdk/docs/agent-rules/frontend.md",
1038
+ "referencePath": "rules/frontend.md"
1039
+ }
858
1040
  ]
859
1041
  }
@@ -0,0 +1,8 @@
1
+ <!-- @generated by packages/sdk/scripts/copy-reference-docs.mjs -- DO NOT EDIT -->
2
+ <!-- Regenerate: pnpm scaffold:sync -->
3
+
4
+ # Agent Configuration
5
+
6
+ Elevasis agent configuration (rules, skills, hooks, and registries under `.claude/`) is not duplicated into this reference bundle.
7
+
8
+ Your project already has a live copy at `.claude/` in its own root -- kept current by `/external sync`, unlike a bundle frozen at publish time. Read your project's own `.claude/` directory for agent configuration; this reference bundle only ships `reference/rules/`, the canonical per-file agent-rule corpus (see the Agent Rules section of `_navigation.md`).
@@ -27,9 +27,9 @@ The default export and most subpaths are browser-safe. No Node.js-specific runti
27
27
  Import a subpath directly:
28
28
 
29
29
  ```ts
30
- import { orgModelSchema } from "@elevasis/core/organization-model";
31
- import { entitySchema } from "@elevasis/core/entities";
32
- import { knowledgeDocSchema } from "@elevasis/core/knowledge";
30
+ import { OrganizationModelSchema } from "@elevasis/core/organization-model";
31
+ import { BaseDealSchema, BaseContactSchema } from "@elevasis/core/entities";
32
+ import { parsePath, bySystem } from "@elevasis/core/knowledge";
33
33
  ```
34
34
 
35
35
  ## Browser / Server Split