@elevasis/sdk 1.21.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +951 -171
- package/dist/index.d.ts +632 -341
- package/dist/index.js +3102 -142
- package/dist/node/index.d.ts +1 -0
- package/dist/node/index.js +19 -1
- package/dist/test-utils/index.d.ts +313 -4
- package/dist/test-utils/index.js +3246 -281
- package/dist/worker/index.js +3041 -80
- package/package.json +3 -3
- package/reference/claude-config/hooks/post-edit-validate.mjs +98 -98
- package/reference/claude-config/hooks/scaffold-registry-reminder.mjs +188 -188
- package/reference/claude-config/hooks/tool-failure-recovery.mjs +73 -73
- package/reference/claude-config/registries/graph-skills.json +4 -4
- package/reference/claude-config/registries/knowledge-flags.json +0 -2
- package/reference/claude-config/rules/active-change-index.md +80 -80
- package/reference/claude-config/rules/agent-start-here.md +277 -277
- package/reference/claude-config/rules/deployment.md +57 -57
- package/reference/claude-config/rules/error-handling.md +56 -56
- package/reference/claude-config/rules/execution.md +40 -40
- package/reference/claude-config/rules/frontend.md +4 -4
- package/reference/claude-config/rules/observability.md +31 -31
- package/reference/claude-config/rules/operations.md +29 -17
- package/reference/claude-config/rules/organization-model.md +110 -84
- package/reference/claude-config/rules/organization-os.md +115 -113
- package/reference/claude-config/rules/package-taxonomy.md +33 -33
- package/reference/claude-config/rules/platform.md +42 -42
- package/reference/claude-config/rules/shared-types.md +49 -46
- package/reference/claude-config/rules/task-tracking.md +47 -47
- package/reference/claude-config/rules/ui.md +200 -200
- package/reference/claude-config/rules/vibe.md +235 -235
- package/reference/claude-config/scripts/statusline-command.js +18 -18
- package/reference/claude-config/settings.json +34 -34
- package/reference/claude-config/skills/deploy/{SKILL.md → skill.md} +156 -156
- package/reference/claude-config/skills/dsp/SKILL.md +66 -66
- package/reference/claude-config/skills/elevasis/SKILL.md +235 -235
- package/reference/claude-config/skills/explore/SKILL.md +6 -6
- package/reference/claude-config/skills/git-sync/SKILL.md +126 -126
- package/reference/claude-config/skills/knowledge/SKILL.md +314 -299
- package/reference/claude-config/skills/knowledge/operations/codify-level-a.md +100 -100
- package/reference/claude-config/skills/knowledge/operations/codify-level-b.md +159 -159
- package/reference/claude-config/skills/knowledge/operations/customers.md +109 -109
- package/reference/claude-config/skills/knowledge/operations/features.md +76 -76
- package/reference/claude-config/skills/knowledge/operations/goals.md +118 -118
- package/reference/claude-config/skills/knowledge/operations/identity.md +93 -93
- package/reference/claude-config/skills/knowledge/operations/labels.md +94 -94
- package/reference/claude-config/skills/knowledge/operations/offerings.md +109 -109
- package/reference/claude-config/skills/knowledge/operations/roles.md +99 -99
- package/reference/claude-config/skills/knowledge/operations/techStack.md +30 -30
- package/reference/claude-config/skills/project/SKILL.md +1088 -1088
- package/reference/claude-config/skills/run-ui/SKILL.md +73 -73
- package/reference/claude-config/skills/save/SKILL.md +3 -3
- package/reference/claude-config/skills/setup/SKILL.md +275 -275
- package/reference/claude-config/skills/status/SKILL.md +59 -59
- package/reference/claude-config/skills/submit-request/SKILL.md +180 -180
- package/reference/claude-config/skills/sync/SKILL.md +47 -47
- package/reference/claude-config/skills/tutorial/SKILL.md +259 -259
- package/reference/claude-config/skills/tutorial/progress-template.md +74 -74
- package/reference/claude-config/skills/tutorial/technical.md +1303 -1303
- package/reference/claude-config/skills/tutorial/vibe-coder.md +890 -890
- package/reference/claude-config/sync-notes/2026-04-22-git-sync-and-sync-notes.md +27 -27
- package/reference/claude-config/sync-notes/2026-04-22-lead-gen-deliverability-removal.md +30 -30
- package/reference/claude-config/sync-notes/2026-04-24-test-utils-and-template-tests.md +73 -73
- package/reference/claude-config/sync-notes/2026-04-24-ui-consolidation-and-sdk-cli-train.md +86 -86
- package/reference/claude-config/sync-notes/2026-04-25-auth-role-system-and-settings-roles.md +55 -55
- package/reference/claude-config/sync-notes/2026-04-27-crm-hitl-action-layer-cutover.md +97 -97
- package/reference/claude-config/sync-notes/2026-04-27-lead-gen-substrate-train.md +112 -112
- package/reference/claude-config/sync-notes/2026-04-29-crm-state-and-lead-gen-processing-status.md +93 -93
- package/reference/claude-config/sync-notes/2026-05-02-crm-ownership-next-action.md +58 -58
- package/reference/claude-config/sync-notes/2026-05-02-template-hardcode-workos-config.md +56 -56
- package/reference/claude-config/sync-notes/2026-05-04-elevasis-workspace.md +71 -71
- package/reference/claude-config/sync-notes/2026-05-04-knowledge-bundle.md +83 -83
- package/reference/claude-config/sync-notes/2026-05-04-template-skills-run-ui-and-tutorial.md +59 -59
- package/reference/claude-config/sync-notes/2026-05-05-list-builder.md +42 -42
- package/reference/claude-config/sync-notes/2026-05-06-crm-spine.md +60 -60
- package/reference/claude-config/sync-notes/2026-05-06-sdk-changes-release-train.md +37 -37
- package/reference/claude-config/sync-notes/2026-05-07-sdk-changes-release-train.md +34 -34
- package/reference/claude-config/sync-notes/2026-05-08-resource-governance-scaffold-guidance.md +38 -38
- package/reference/claude-config/sync-notes/2026-05-09-clients-domain.md +32 -32
- package/reference/claude-config/sync-notes/2026-05-09-command-system.md +33 -33
- package/reference/claude-config/sync-notes/2026-05-09-resource-governance-and-misc.md +69 -69
- package/reference/claude-config/sync-notes/2026-05-12-sdk-ready-release-train.md +30 -30
- package/reference/claude-config/sync-notes/2026-05-14-organization-model-ontology-refactor.md +42 -0
- package/reference/claude-config/sync-notes/README.md +43 -43
- package/reference/cli.mdx +808 -808
- package/reference/concepts.mdx +146 -146
- package/reference/deployment/api.mdx +297 -297
- package/reference/deployment/command-center.mdx +209 -209
- package/reference/deployment/index.mdx +195 -195
- package/reference/deployment/provided-features.mdx +107 -107
- package/reference/deployment/ui-execution.mdx +250 -250
- package/reference/examples/organization-model.ts +146 -83
- package/reference/framework/agent.mdx +156 -156
- package/reference/framework/index.mdx +195 -195
- package/reference/framework/interaction-guidance.mdx +182 -182
- package/reference/framework/memory.mdx +326 -326
- package/reference/framework/project-structure.mdx +282 -282
- package/reference/framework/tutorial-system.mdx +135 -135
- package/reference/getting-started.mdx +142 -142
- package/reference/index.mdx +106 -106
- package/reference/packages/core/src/README.md +14 -14
- package/reference/packages/core/src/business/README.md +2 -2
- package/reference/packages/core/src/knowledge/README.md +32 -32
- package/reference/packages/core/src/organization-model/README.md +149 -149
- package/reference/packages/core/src/test-utils/README.md +37 -37
- package/reference/packages/ui/src/api/README.md +18 -18
- package/reference/packages/ui/src/app/README.md +24 -24
- package/reference/packages/ui/src/auth/README.md +18 -18
- package/reference/packages/ui/src/components/README.md +24 -24
- package/reference/packages/ui/src/execution/README.md +16 -16
- package/reference/packages/ui/src/features/README.md +28 -28
- package/reference/packages/ui/src/graph/README.md +16 -16
- package/reference/packages/ui/src/hooks/README.md +23 -23
- package/reference/packages/ui/src/initialization/README.md +19 -19
- package/reference/packages/ui/src/knowledge/README.md +31 -31
- package/reference/packages/ui/src/organization/README.md +18 -18
- package/reference/packages/ui/src/profile/README.md +19 -19
- package/reference/packages/ui/src/provider/README.md +32 -32
- package/reference/packages/ui/src/router/README.md +18 -18
- package/reference/packages/ui/src/sse/README.md +13 -13
- package/reference/packages/ui/src/test-utils/README.md +7 -7
- package/reference/packages/ui/src/theme/README.md +23 -23
- package/reference/packages/ui/src/theme/presets/README.md +19 -19
- package/reference/packages/ui/src/types/README.md +16 -16
- package/reference/packages/ui/src/utils/README.md +18 -18
- package/reference/packages/ui/src/zustand/README.md +18 -18
- package/reference/platform-tools/adapters-integration.mdx +301 -301
- package/reference/platform-tools/adapters-platform.mdx +553 -553
- package/reference/platform-tools/index.mdx +217 -217
- package/reference/platform-tools/type-safety.mdx +82 -82
- package/reference/resources/index.mdx +349 -349
- package/reference/resources/patterns.mdx +449 -449
- package/reference/resources/types.mdx +116 -116
- package/reference/roadmap.mdx +165 -165
- package/reference/runtime.mdx +173 -173
- package/reference/scaffold/core/organization-graph.mdx +110 -90
- package/reference/scaffold/core/organization-model.mdx +226 -219
- package/reference/scaffold/index.mdx +67 -67
- package/reference/scaffold/operations/propagation-pipeline.md +77 -77
- package/reference/scaffold/operations/scaffold-maintenance.md +12 -12
- package/reference/scaffold/operations/workflow-recipes.md +138 -138
- package/reference/scaffold/recipes/add-a-feature.md +308 -88
- package/reference/scaffold/recipes/add-a-resource.md +134 -110
- package/reference/scaffold/recipes/customize-knowledge-browser.md +5 -5
- package/reference/scaffold/recipes/customize-organization-model.md +273 -138
- package/reference/scaffold/recipes/extend-a-base-entity.md +8 -8
- package/reference/scaffold/recipes/extend-crm.md +3 -3
- package/reference/scaffold/recipes/extend-lead-gen.md +400 -400
- package/reference/scaffold/recipes/gate-by-feature-or-admin.md +118 -118
- package/reference/scaffold/recipes/index.md +46 -46
- package/reference/scaffold/recipes/query-the-knowledge-graph.md +197 -170
- package/reference/scaffold/reference/contracts.md +2101 -2096
- package/reference/scaffold/reference/glossary.md +76 -76
- package/reference/scaffold/ui/composition-extensibility.mdx +233 -233
- package/reference/scaffold/ui/customization.md +243 -243
- package/reference/scaffold/ui/feature-flags-and-gating.md +46 -46
- package/reference/scaffold/ui/feature-shell.mdx +72 -72
- package/reference/scaffold/ui/recipes.md +221 -214
- package/reference/spine/spine-primer.md +96 -96
- package/reference/templates/index.mdx +47 -47
- package/reference/troubleshooting.mdx +223 -223
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
# 2026-05-07 -- SDK Changes Release Train
|
|
2
|
-
|
|
3
|
-
## Why this note exists
|
|
4
|
-
|
|
5
|
-
This train coordinates the DTC list-builder overhaul (Apollo/Apify/ClickUp credential plumbing, live build-status panel, useInFlightExecutions hook) and the right-panel reusability refactor (theme tokens, compact chart sizing, plain chat message variant) into one published `@elevasis/core` + `@elevasis/ui` release plus a coordinated SDK resource deploy and external sync.
|
|
6
|
-
|
|
7
|
-
## Applies to
|
|
8
|
-
|
|
9
|
-
- Template-derived projects consuming `@elevasis/core` or `@elevasis/ui`.
|
|
10
|
-
- Projects using the lead-gen list-builder UI (selectors, records views, live status panel) or the shared chat/chart primitives.
|
|
11
|
-
- Projects that mount Command Center-style right-panel composition (only the shared `@elevasis/ui` surfaces moved; the panel host itself stays app-local to Command Center).
|
|
12
|
-
|
|
13
|
-
## Required actions
|
|
14
|
-
|
|
15
|
-
1. Pull the synced template changes through `/git-sync`.
|
|
16
|
-
2. Accept the package baseline bumps published by this train:
|
|
17
|
-
- `core/package.json`: `@elevasis/core` patch bump (Apify/Apollo/ClickUp adapter updates + Apollo `credentialRequirements` on prospecting Steps 1 and 5).
|
|
18
|
-
- `ui/package.json`: `@elevasis/ui` minor bump (additive: `useInFlightExecutions` hook, `useListProgress` accepts `{ enabled, refetchInterval }`, `--right-panel-background` theme token, compact `CombinedTrendChart` sizing, plain `ChatInterface` message variant, card-based `MessageBubble` styling).
|
|
19
|
-
3. If a project pins integration credentials by provider name, verify generic API-key credentials named like `apify`, `apollo`, or `clickup` continue to verify after the adapter alias normalization.
|
|
20
|
-
4. If a project consumed the shared chat/chart primitives, review compact-variant render output against existing layouts.
|
|
21
|
-
|
|
22
|
-
## Verification
|
|
23
|
-
|
|
24
|
-
- `pnpm -C ui check-types`
|
|
25
|
-
- `pnpm -C ui build`
|
|
26
|
-
- `pnpm -C ui test`
|
|
27
|
-
- `pnpm -C operations check`
|
|
28
|
-
- `pnpm -C operations check-types`
|
|
29
|
-
|
|
30
|
-
## Not handled by /git-sync
|
|
31
|
-
|
|
32
|
-
- Project-authored right-panel registries remain project-owned code; the host generalization is app-local to Command Center and does not propagate to template projects.
|
|
33
|
-
- ClickUp List ID destination configuration is per-project and is not synced.
|
|
34
|
-
- The Apollo plan-gated `403 API_INACCESSIBLE` for `mixed_companies/search` is tracked separately in the Elevasis monorepo and is not a tenant migration concern.
|
|
1
|
+
# 2026-05-07 -- SDK Changes Release Train
|
|
2
|
+
|
|
3
|
+
## Why this note exists
|
|
4
|
+
|
|
5
|
+
This train coordinates the DTC list-builder overhaul (Apollo/Apify/ClickUp credential plumbing, live build-status panel, useInFlightExecutions hook) and the right-panel reusability refactor (theme tokens, compact chart sizing, plain chat message variant) into one published `@elevasis/core` + `@elevasis/ui` release plus a coordinated SDK resource deploy and external sync.
|
|
6
|
+
|
|
7
|
+
## Applies to
|
|
8
|
+
|
|
9
|
+
- Template-derived projects consuming `@elevasis/core` or `@elevasis/ui`.
|
|
10
|
+
- Projects using the lead-gen list-builder UI (selectors, records views, live status panel) or the shared chat/chart primitives.
|
|
11
|
+
- Projects that mount Command Center-style right-panel composition (only the shared `@elevasis/ui` surfaces moved; the panel host itself stays app-local to Command Center).
|
|
12
|
+
|
|
13
|
+
## Required actions
|
|
14
|
+
|
|
15
|
+
1. Pull the synced template changes through `/git-sync`.
|
|
16
|
+
2. Accept the package baseline bumps published by this train:
|
|
17
|
+
- `core/package.json`: `@elevasis/core` patch bump (Apify/Apollo/ClickUp adapter updates + Apollo `credentialRequirements` on prospecting Steps 1 and 5).
|
|
18
|
+
- `ui/package.json`: `@elevasis/ui` minor bump (additive: `useInFlightExecutions` hook, `useListProgress` accepts `{ enabled, refetchInterval }`, `--right-panel-background` theme token, compact `CombinedTrendChart` sizing, plain `ChatInterface` message variant, card-based `MessageBubble` styling).
|
|
19
|
+
3. If a project pins integration credentials by provider name, verify generic API-key credentials named like `apify`, `apollo`, or `clickup` continue to verify after the adapter alias normalization.
|
|
20
|
+
4. If a project consumed the shared chat/chart primitives, review compact-variant render output against existing layouts.
|
|
21
|
+
|
|
22
|
+
## Verification
|
|
23
|
+
|
|
24
|
+
- `pnpm -C ui check-types`
|
|
25
|
+
- `pnpm -C ui build`
|
|
26
|
+
- `pnpm -C ui test`
|
|
27
|
+
- `pnpm -C operations check`
|
|
28
|
+
- `pnpm -C operations check-types`
|
|
29
|
+
|
|
30
|
+
## Not handled by /git-sync
|
|
31
|
+
|
|
32
|
+
- Project-authored right-panel registries remain project-owned code; the host generalization is app-local to Command Center and does not propagate to template projects.
|
|
33
|
+
- ClickUp List ID destination configuration is per-project and is not synced.
|
|
34
|
+
- The Apollo plan-gated `403 API_INACCESSIBLE` for `mixed_companies/search` is tracked separately in the Elevasis monorepo and is not a tenant migration concern.
|
package/reference/claude-config/sync-notes/2026-05-08-resource-governance-scaffold-guidance.md
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
# Resource Governance Scaffold Guidance
|
|
2
|
-
|
|
3
|
-
## Why this note exists
|
|
4
|
-
|
|
5
|
-
The template guidance now treats OM Resources descriptors as the source of truth for resource identity and governance metadata. Operations code should import descriptors from `core/config/organization-model.ts`, derive runtime `resourceId` / `type` from them, and use `DeploymentSpec` only as the deployment assembly artifact.
|
|
6
|
-
|
|
7
|
-
This also removes stale references to legacy `resourceMappings`, `organization-model.examples.ts`, `foundations/`, and `operations/resources/**` paths in the template agent guidance.
|
|
8
|
-
|
|
9
|
-
## Applies to
|
|
10
|
-
|
|
11
|
-
Template-derived projects that author workflows, agents, integrations, or project-local agent guidance from the SDK scaffold reference.
|
|
12
|
-
|
|
13
|
-
## Required actions
|
|
14
|
-
|
|
15
|
-
- When adding a workflow, agent, or integration, author the descriptor first in `core/config/organization-model.ts` under `resources.
|
|
16
|
-
- Update operations code to derive deployed runtime IDs from descriptors rather than duplicating raw string IDs.
|
|
17
|
-
- Treat existing `resourceMappings` mentions in project-local notes as stale migration history.
|
|
18
|
-
- Keep runtime invocation calls honest: `/execute`, scheduler targets, and nested execution still call deployed resource IDs.
|
|
19
|
-
|
|
20
|
-
## Verification
|
|
21
|
-
|
|
22
|
-
Run these after reconciling local project guidance or resource authoring:
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
pnpm -C core test
|
|
26
|
-
pnpm -C operations check
|
|
27
|
-
pnpm -C operations check-types
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
For UI surfaces that execute resources, also run:
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
pnpm -C ui check-types
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Not handled by /git-sync
|
|
37
|
-
|
|
38
|
-
`/git-sync` pulls the updated guidance and template-owned files, but it does not rewrite project-owned workflow definitions or decide System ownership for real tenant resources. Maintainers must review existing project resources and migrate any duplicated raw IDs to descriptor-backed authoring intentionally.
|
|
1
|
+
# Resource Governance Scaffold Guidance
|
|
2
|
+
|
|
3
|
+
## Why this note exists
|
|
4
|
+
|
|
5
|
+
The template guidance now treats OM Resources descriptors as the source of truth for resource identity and governance metadata. Operations code should import descriptors from `core/config/organization-model.ts`, derive runtime `resourceId` / `type` from them, and use `DeploymentSpec` only as the deployment assembly artifact.
|
|
6
|
+
|
|
7
|
+
This also removes stale references to legacy `resourceMappings`, `organization-model.examples.ts`, `foundations/`, and `operations/resources/**` paths in the template agent guidance.
|
|
8
|
+
|
|
9
|
+
## Applies to
|
|
10
|
+
|
|
11
|
+
Template-derived projects that author workflows, agents, integrations, or project-local agent guidance from the SDK scaffold reference.
|
|
12
|
+
|
|
13
|
+
## Required actions
|
|
14
|
+
|
|
15
|
+
- When adding a workflow, agent, or integration, author the descriptor first in `core/config/organization-model.ts` under the id-keyed `resources` map.
|
|
16
|
+
- Update operations code to derive deployed runtime IDs from descriptors rather than duplicating raw string IDs.
|
|
17
|
+
- Treat existing `resourceMappings` mentions in project-local notes as stale migration history.
|
|
18
|
+
- Keep runtime invocation calls honest: `/execute`, scheduler targets, and nested execution still call deployed resource IDs.
|
|
19
|
+
|
|
20
|
+
## Verification
|
|
21
|
+
|
|
22
|
+
Run these after reconciling local project guidance or resource authoring:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
pnpm -C core test
|
|
26
|
+
pnpm -C operations check
|
|
27
|
+
pnpm -C operations check-types
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
For UI surfaces that execute resources, also run:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pnpm -C ui check-types
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Not handled by /git-sync
|
|
37
|
+
|
|
38
|
+
`/git-sync` pulls the updated guidance and template-owned files, but it does not rewrite project-owned workflow definitions or decide System ownership for real tenant resources. Maintainers must review existing project resources and migrate any duplicated raw IDs to descriptor-backed authoring intentionally.
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
# Clients Domain Release Train
|
|
2
|
-
|
|
3
|
-
## Why this note exists
|
|
4
|
-
|
|
5
|
-
The clients domain release train adds client-management surfaces across the shared platform packages and updates template-facing project guidance. Template-derived projects need the new package baselines and guidance before they rely on the clients CLI, published clients UI feature exports, or project skill client-linkage instructions.
|
|
6
|
-
|
|
7
|
-
## Applies to
|
|
8
|
-
|
|
9
|
-
Template-derived projects that consume `@elevasis/core`, `@elevasis/ui`, or `@elevasis/sdk`, especially projects that expose client management in UI shells or use the SDK CLI for project/client linkage.
|
|
10
|
-
|
|
11
|
-
## Required actions
|
|
12
|
-
|
|
13
|
-
- Pull the updated template dependency baselines for `core/package.json`, `ui/package.json`, and `operations/package.json` after the release stages publish new package versions.
|
|
14
|
-
- Review project-local usage of project/client CLI flags and prefer `--client` / `--clear-client` for client linkage; keep `--client-company-id` only for the legacy company field.
|
|
15
|
-
- If the project maintains local Claude skill guidance, reconcile the project skill client-linkage wording with the updated template baseline.
|
|
16
|
-
- Smoke the clients UI route only after the project has the updated `@elevasis/ui` baseline.
|
|
17
|
-
|
|
18
|
-
## Verification
|
|
19
|
-
|
|
20
|
-
Run the package-specific checks after sync:
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
pnpm -C core check-types
|
|
24
|
-
pnpm -C operations check-types
|
|
25
|
-
pnpm -C ui check-types
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
For projects adopting the clients UI immediately, also open the clients list and detail routes and verify the route renders with the current organization selected.
|
|
29
|
-
|
|
30
|
-
## Not handled by /git-sync
|
|
31
|
-
|
|
32
|
-
`/git-sync` can propagate template baselines and guidance, but it does not publish packages, deploy the SDK resources bundle, decide project-specific client data migration policy, or validate tenant-specific WorkOS/Supabase data availability.
|
|
1
|
+
# Clients Domain Release Train
|
|
2
|
+
|
|
3
|
+
## Why this note exists
|
|
4
|
+
|
|
5
|
+
The clients domain release train adds client-management surfaces across the shared platform packages and updates template-facing project guidance. Template-derived projects need the new package baselines and guidance before they rely on the clients CLI, published clients UI feature exports, or project skill client-linkage instructions.
|
|
6
|
+
|
|
7
|
+
## Applies to
|
|
8
|
+
|
|
9
|
+
Template-derived projects that consume `@elevasis/core`, `@elevasis/ui`, or `@elevasis/sdk`, especially projects that expose client management in UI shells or use the SDK CLI for project/client linkage.
|
|
10
|
+
|
|
11
|
+
## Required actions
|
|
12
|
+
|
|
13
|
+
- Pull the updated template dependency baselines for `core/package.json`, `ui/package.json`, and `operations/package.json` after the release stages publish new package versions.
|
|
14
|
+
- Review project-local usage of project/client CLI flags and prefer `--client` / `--clear-client` for client linkage; keep `--client-company-id` only for the legacy company field.
|
|
15
|
+
- If the project maintains local Claude skill guidance, reconcile the project skill client-linkage wording with the updated template baseline.
|
|
16
|
+
- Smoke the clients UI route only after the project has the updated `@elevasis/ui` baseline.
|
|
17
|
+
|
|
18
|
+
## Verification
|
|
19
|
+
|
|
20
|
+
Run the package-specific checks after sync:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
pnpm -C core check-types
|
|
24
|
+
pnpm -C operations check-types
|
|
25
|
+
pnpm -C ui check-types
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
For projects adopting the clients UI immediately, also open the clients list and detail routes and verify the route renders with the current organization selected.
|
|
29
|
+
|
|
30
|
+
## Not handled by /git-sync
|
|
31
|
+
|
|
32
|
+
`/git-sync` can propagate template baselines and guidance, but it does not publish packages, deploy the SDK resources bundle, decide project-specific client data migration policy, or validate tenant-specific WorkOS/Supabase data availability.
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
# 2026-05-09 -- Command System SDK Release Train
|
|
2
|
-
|
|
3
|
-
## Why this note exists
|
|
4
|
-
|
|
5
|
-
This train adds SDK CLI catalog, acquisition CLI read, API-key external route, and deterministic knowledge-routing changes to the existing SDK release queue. It publishes updated `@elevasis/core` and `@elevasis/sdk` baselines, then syncs the template dependency pins to derived projects.
|
|
6
|
-
|
|
7
|
-
## Applies to
|
|
8
|
-
|
|
9
|
-
- Template-derived projects consuming `@elevasis/core` or `@elevasis/sdk`.
|
|
10
|
-
- Operators using `elevasis-sdk cli`, `acquisition:list:*`, `acquisition:deal:*`, `client:*`, or generated `/knowledge` routing guidance.
|
|
11
|
-
- Projects that rely on API-key-gated SDK CLI access to platform external routes.
|
|
12
|
-
|
|
13
|
-
## Required actions
|
|
14
|
-
|
|
15
|
-
1. Pull the synced template changes through `/git-sync`.
|
|
16
|
-
2. Accept the package baseline bumps published by this train:
|
|
17
|
-
- `core/package.json`: `@elevasis/core`
|
|
18
|
-
- `operations/package.json`: `@elevasis/core` and `@elevasis/sdk`
|
|
19
|
-
3. Verify local `operations` commands still have the expected platform key environment variables before using SDK CLI API calls.
|
|
20
|
-
4. Review local operator guidance if the project documents SDK CLI command discovery or acquisition/client/deal command usage.
|
|
21
|
-
|
|
22
|
-
## Verification
|
|
23
|
-
|
|
24
|
-
- `pnpm -C operations check`
|
|
25
|
-
- `pnpm -C operations check-types`
|
|
26
|
-
- `pnpm -C operations test`
|
|
27
|
-
- `pnpm -C core test`
|
|
28
|
-
|
|
29
|
-
## Not handled by /git-sync
|
|
30
|
-
|
|
31
|
-
- Platform API route deployment remains an Elevasis monorepo/API deployment concern.
|
|
32
|
-
- Tenant-specific platform keys and API base URLs remain project-owned secrets and environment configuration.
|
|
33
|
-
- Project-authored knowledge nodes and routing guidance remain project-owned content.
|
|
1
|
+
# 2026-05-09 -- Command System SDK Release Train
|
|
2
|
+
|
|
3
|
+
## Why this note exists
|
|
4
|
+
|
|
5
|
+
This train adds SDK CLI catalog, acquisition CLI read, API-key external route, and deterministic knowledge-routing changes to the existing SDK release queue. It publishes updated `@elevasis/core` and `@elevasis/sdk` baselines, then syncs the template dependency pins to derived projects.
|
|
6
|
+
|
|
7
|
+
## Applies to
|
|
8
|
+
|
|
9
|
+
- Template-derived projects consuming `@elevasis/core` or `@elevasis/sdk`.
|
|
10
|
+
- Operators using `elevasis-sdk cli`, `acquisition:list:*`, `acquisition:deal:*`, `client:*`, or generated `/knowledge` routing guidance.
|
|
11
|
+
- Projects that rely on API-key-gated SDK CLI access to platform external routes.
|
|
12
|
+
|
|
13
|
+
## Required actions
|
|
14
|
+
|
|
15
|
+
1. Pull the synced template changes through `/git-sync`.
|
|
16
|
+
2. Accept the package baseline bumps published by this train:
|
|
17
|
+
- `core/package.json`: `@elevasis/core`
|
|
18
|
+
- `operations/package.json`: `@elevasis/core` and `@elevasis/sdk`
|
|
19
|
+
3. Verify local `operations` commands still have the expected platform key environment variables before using SDK CLI API calls.
|
|
20
|
+
4. Review local operator guidance if the project documents SDK CLI command discovery or acquisition/client/deal command usage.
|
|
21
|
+
|
|
22
|
+
## Verification
|
|
23
|
+
|
|
24
|
+
- `pnpm -C operations check`
|
|
25
|
+
- `pnpm -C operations check-types`
|
|
26
|
+
- `pnpm -C operations test`
|
|
27
|
+
- `pnpm -C core test`
|
|
28
|
+
|
|
29
|
+
## Not handled by /git-sync
|
|
30
|
+
|
|
31
|
+
- Platform API route deployment remains an Elevasis monorepo/API deployment concern.
|
|
32
|
+
- Tenant-specific platform keys and API base URLs remain project-owned secrets and environment configuration.
|
|
33
|
+
- Project-authored knowledge nodes and routing guidance remain project-owned content.
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
# Resource Governance Runtime + CRM Detail Pages + Service-Context Rename
|
|
2
|
-
|
|
3
|
-
## Why this note exists
|
|
4
|
-
|
|
5
|
-
The 2026-05-09 release train extends the clients-domain ship with three additional bodies of work that affect template-derived projects:
|
|
6
|
-
|
|
7
|
-
1. **Resource Governance runtime cutover.** The shared resource-governance validator now defaults to **strict** mode. The OM Resources/Systems descriptor catalog is the source of truth for resource identity. Operations bundles must bind workflows, agents, and integrations to descriptors via `defineResource(s)` + descriptor binding helpers; raw `resourceId` literals in `DeploymentSpec` no longer pass strict validation.
|
|
8
|
-
2. **CRM detail-page surface expansion.** `@elevasis/ui` now publishes `ContactDetailPage` (new) and `CompanyDetailPage` (now exported from `sdk-barrel`) under `@elevasis/ui/features/crm`. The lead-gen flow no longer renders detail modals on row click — both pages are reached via TanStack Router routes (`/crm/contacts/$contactId`, `/crm/companies/$companyId`). The legacy `CompanyDetailModal` and `ContactDetailModal` exports were removed from `@elevasis/ui/features/lead-gen/shared`.
|
|
9
|
-
3. **`ElevasisServiceContext` field rename.** `useElevasisServices().organizationId` is renamed to `useElevasisServices().workOSOrganizationId` to make the WorkOS-vs-Supabase distinction loud at call sites. The old `organizationId` field is preserved as a back-compat alias on both `ElevasisServiceContextValue` and `ElevasisServiceProviderProps` for one release cycle, so existing template consumers continue to work without immediate migration.
|
|
10
|
-
|
|
11
|
-
Companion items already covered elsewhere:
|
|
12
|
-
|
|
13
|
-
- Scaffold/agent guidance for descriptor-first authoring → see `2026-05-08-resource-governance-scaffold-guidance.md`.
|
|
14
|
-
- Clients domain (new sidebar pillar, write operations, project/client linkage) → see `2026-05-09-clients-domain.md`.
|
|
15
|
-
|
|
16
|
-
## Applies to
|
|
17
|
-
|
|
18
|
-
Any template-derived project (e.g. `nirvana-marketing`, `ZentaraHQ`) that:
|
|
19
|
-
|
|
20
|
-
- Deploys workflows, agents, or integrations through `operations/src/index.ts` (resource-governance validator).
|
|
21
|
-
- Renders contacts/companies in any feature surface, including custom CRM views (CRM detail pages + modal removal).
|
|
22
|
-
- Uses `useElevasisServices()` from `@elevasis/ui` in custom hooks, components, or test fixtures (service-context rename).
|
|
23
|
-
|
|
24
|
-
## Required actions
|
|
25
|
-
|
|
26
|
-
### 1. Resource Governance — descriptor-backed deployment
|
|
27
|
-
|
|
28
|
-
- Confirm `core/config/organization-model.ts` declares your tenant's resources
|
|
29
|
-
- In `operations/src/index.ts`, bind your workflow/agent/integration definitions to those descriptors via the helpers exported from `@elevasis/sdk` instead of authoring raw `resourceId` strings inline in `DeploymentSpec`.
|
|
30
|
-
- Run `pnpm -C operations check`. The default validator mode is now strict; missing descriptors, raw-ID authoring, runtime/OM type mismatches, and missing Systems will fail the build. Set `ELEVASIS_RESOURCE_VALIDATOR=warn-only` only as a temporary emergency escape hatch — do not let normal CI silently depend on it.
|
|
31
|
-
- New SDK CLI commands are available: `elevasis-sdk agent:list`, `elevasis-sdk agent:get \<id>`, `elevasis-sdk session:list`, `elevasis-sdk session:get \<id>`, `elevasis-sdk session:end \<id>`. Existing `resources` / `describe` / `exec` / `executions` / `execution` are unchanged.
|
|
32
|
-
|
|
33
|
-
### 2. CRM detail pages
|
|
34
|
-
|
|
35
|
-
- If your project imports `CompanyDetailModal` or `ContactDetailModal` from `@elevasis/ui/features/lead-gen/shared`, those exports were removed. Replace modal-on-row-click patterns with `useNavigate` to `/crm/contacts/$contactId` or `/crm/companies/$companyId`.
|
|
36
|
-
- If you need detail-page UI in custom routes, import `ContactDetailPage` and `CompanyDetailPage` from `@elevasis/ui/features/crm`. Both are part of the published `sdk-barrel` and accept `contactId` / `companyId` props.
|
|
37
|
-
- The `extend-lead-gen.md` recipe in `node_modules/@elevasis/sdk/reference/scaffold/recipes/` was updated — it no longer documents the modal helpers.
|
|
38
|
-
|
|
39
|
-
### 3. `workOSOrganizationId` field rename
|
|
40
|
-
|
|
41
|
-
- New idiomatic destructure: `const { apiRequest, workOSOrganizationId, isReady } = useElevasisServices()`.
|
|
42
|
-
- The old `organizationId` field still resolves correctly through the back-compat alias, so existing template code compiles and runs without changes. New code in this project should use `workOSOrganizationId`.
|
|
43
|
-
- If your project uses `<ElevasisServiceProvider organizationId={...}>`, that prop also accepts both names. Provider's resolver is `workOSOrganizationId ?? organizationId ?? null` — passing both names is supported but unnecessary.
|
|
44
|
-
- For test fixtures that mock `useElevasisServices` via `vi.mock`, return `workOSOrganizationId` rather than `organizationId` when authoring NEW mocks; existing mocks will continue to work via the alias but should be migrated opportunistically. The runtime trap is: `vi.mock(...)` is untyped — TypeScript will not catch a mock that returns the deprecated key, but the resolver bypass means downstream `services.workOSOrganizationId` reads `undefined`.
|
|
45
|
-
|
|
46
|
-
## Verification
|
|
47
|
-
|
|
48
|
-
After reconciling local project guidance and writing any descriptor / service-context updates:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
pnpm -C operations check
|
|
52
|
-
pnpm -C operations check-types
|
|
53
|
-
pnpm -C ui check-types
|
|
54
|
-
pnpm -C ui test
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
If your project deploys to production and you author runtime resources directly:
|
|
58
|
-
|
|
59
|
-
```bash
|
|
60
|
-
pnpm -C operations exec elevasis-sdk deploy
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
Expect strict-mode validator output. Investigate any "OM resource missing for code resource" or "raw resourceId authoring detected" errors as descriptor-binding work, not as test bypass.
|
|
64
|
-
|
|
65
|
-
## Not handled by /git-sync
|
|
66
|
-
|
|
67
|
-
- `/git-sync` pulls the new `@elevasis/sdk`, `@elevasis/ui`, and `@elevasis/core` versions and template-owned files, but it does **not** rewrite existing project-owned `operations/src/**` workflow/agent/integration files to use descriptor-backed binding. Maintainers must migrate raw `resourceId` literals to descriptor lookups intentionally.
|
|
68
|
-
- `/git-sync` does **not** rewrite custom UI routes that import `CompanyDetailModal` / `ContactDetailModal` from `@elevasis/ui/features/lead-gen/shared`. Replace those imports with `useNavigate` to detail-page routes manually.
|
|
69
|
-
- `/git-sync` does **not** rename `useElevasisServices().organizationId` reads in project-owned code. The back-compat alias keeps existing code working; proactive renaming is a manual cleanup.
|
|
1
|
+
# Resource Governance Runtime + CRM Detail Pages + Service-Context Rename
|
|
2
|
+
|
|
3
|
+
## Why this note exists
|
|
4
|
+
|
|
5
|
+
The 2026-05-09 release train extends the clients-domain ship with three additional bodies of work that affect template-derived projects:
|
|
6
|
+
|
|
7
|
+
1. **Resource Governance runtime cutover.** The shared resource-governance validator now defaults to **strict** mode. The OM Resources/Systems descriptor catalog is the source of truth for resource identity. Operations bundles must bind workflows, agents, and integrations to descriptors via `defineResource(s)` + descriptor binding helpers; raw `resourceId` literals in `DeploymentSpec` no longer pass strict validation.
|
|
8
|
+
2. **CRM detail-page surface expansion.** `@elevasis/ui` now publishes `ContactDetailPage` (new) and `CompanyDetailPage` (now exported from `sdk-barrel`) under `@elevasis/ui/features/crm`. The lead-gen flow no longer renders detail modals on row click — both pages are reached via TanStack Router routes (`/crm/contacts/$contactId`, `/crm/companies/$companyId`). The legacy `CompanyDetailModal` and `ContactDetailModal` exports were removed from `@elevasis/ui/features/lead-gen/shared`.
|
|
9
|
+
3. **`ElevasisServiceContext` field rename.** `useElevasisServices().organizationId` is renamed to `useElevasisServices().workOSOrganizationId` to make the WorkOS-vs-Supabase distinction loud at call sites. The old `organizationId` field is preserved as a back-compat alias on both `ElevasisServiceContextValue` and `ElevasisServiceProviderProps` for one release cycle, so existing template consumers continue to work without immediate migration.
|
|
10
|
+
|
|
11
|
+
Companion items already covered elsewhere:
|
|
12
|
+
|
|
13
|
+
- Scaffold/agent guidance for descriptor-first authoring → see `2026-05-08-resource-governance-scaffold-guidance.md`.
|
|
14
|
+
- Clients domain (new sidebar pillar, write operations, project/client linkage) → see `2026-05-09-clients-domain.md`.
|
|
15
|
+
|
|
16
|
+
## Applies to
|
|
17
|
+
|
|
18
|
+
Any template-derived project (e.g. `nirvana-marketing`, `ZentaraHQ`) that:
|
|
19
|
+
|
|
20
|
+
- Deploys workflows, agents, or integrations through `operations/src/index.ts` (resource-governance validator).
|
|
21
|
+
- Renders contacts/companies in any feature surface, including custom CRM views (CRM detail pages + modal removal).
|
|
22
|
+
- Uses `useElevasisServices()` from `@elevasis/ui` in custom hooks, components, or test fixtures (service-context rename).
|
|
23
|
+
|
|
24
|
+
## Required actions
|
|
25
|
+
|
|
26
|
+
### 1. Resource Governance — descriptor-backed deployment
|
|
27
|
+
|
|
28
|
+
- Confirm `core/config/organization-model.ts` declares your tenant's resources in the id-keyed `organizationModel.resources` map (single-author resource IDs).
|
|
29
|
+
- In `operations/src/index.ts`, bind your workflow/agent/integration definitions to those descriptors via the helpers exported from `@elevasis/sdk` instead of authoring raw `resourceId` strings inline in `DeploymentSpec`.
|
|
30
|
+
- Run `pnpm -C operations check`. The default validator mode is now strict; missing descriptors, raw-ID authoring, runtime/OM type mismatches, and missing Systems will fail the build. Set `ELEVASIS_RESOURCE_VALIDATOR=warn-only` only as a temporary emergency escape hatch — do not let normal CI silently depend on it.
|
|
31
|
+
- New SDK CLI commands are available: `elevasis-sdk agent:list`, `elevasis-sdk agent:get \<id>`, `elevasis-sdk session:list`, `elevasis-sdk session:get \<id>`, `elevasis-sdk session:end \<id>`. Existing `resources` / `describe` / `exec` / `executions` / `execution` are unchanged.
|
|
32
|
+
|
|
33
|
+
### 2. CRM detail pages
|
|
34
|
+
|
|
35
|
+
- If your project imports `CompanyDetailModal` or `ContactDetailModal` from `@elevasis/ui/features/lead-gen/shared`, those exports were removed. Replace modal-on-row-click patterns with `useNavigate` to `/crm/contacts/$contactId` or `/crm/companies/$companyId`.
|
|
36
|
+
- If you need detail-page UI in custom routes, import `ContactDetailPage` and `CompanyDetailPage` from `@elevasis/ui/features/crm`. Both are part of the published `sdk-barrel` and accept `contactId` / `companyId` props.
|
|
37
|
+
- The `extend-lead-gen.md` recipe in `node_modules/@elevasis/sdk/reference/scaffold/recipes/` was updated — it no longer documents the modal helpers.
|
|
38
|
+
|
|
39
|
+
### 3. `workOSOrganizationId` field rename
|
|
40
|
+
|
|
41
|
+
- New idiomatic destructure: `const { apiRequest, workOSOrganizationId, isReady } = useElevasisServices()`.
|
|
42
|
+
- The old `organizationId` field still resolves correctly through the back-compat alias, so existing template code compiles and runs without changes. New code in this project should use `workOSOrganizationId`.
|
|
43
|
+
- If your project uses `<ElevasisServiceProvider organizationId={...}>`, that prop also accepts both names. Provider's resolver is `workOSOrganizationId ?? organizationId ?? null` — passing both names is supported but unnecessary.
|
|
44
|
+
- For test fixtures that mock `useElevasisServices` via `vi.mock`, return `workOSOrganizationId` rather than `organizationId` when authoring NEW mocks; existing mocks will continue to work via the alias but should be migrated opportunistically. The runtime trap is: `vi.mock(...)` is untyped — TypeScript will not catch a mock that returns the deprecated key, but the resolver bypass means downstream `services.workOSOrganizationId` reads `undefined`.
|
|
45
|
+
|
|
46
|
+
## Verification
|
|
47
|
+
|
|
48
|
+
After reconciling local project guidance and writing any descriptor / service-context updates:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
pnpm -C operations check
|
|
52
|
+
pnpm -C operations check-types
|
|
53
|
+
pnpm -C ui check-types
|
|
54
|
+
pnpm -C ui test
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
If your project deploys to production and you author runtime resources directly:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
pnpm -C operations exec elevasis-sdk deploy
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Expect strict-mode validator output. Investigate any "OM resource missing for code resource" or "raw resourceId authoring detected" errors as descriptor-binding work, not as test bypass.
|
|
64
|
+
|
|
65
|
+
## Not handled by /git-sync
|
|
66
|
+
|
|
67
|
+
- `/git-sync` pulls the new `@elevasis/sdk`, `@elevasis/ui`, and `@elevasis/core` versions and template-owned files, but it does **not** rewrite existing project-owned `operations/src/**` workflow/agent/integration files to use descriptor-backed binding. Maintainers must migrate raw `resourceId` literals to descriptor lookups intentionally.
|
|
68
|
+
- `/git-sync` does **not** rewrite custom UI routes that import `CompanyDetailModal` / `ContactDetailModal` from `@elevasis/ui/features/lead-gen/shared`. Replace those imports with `useNavigate` to detail-page routes manually.
|
|
69
|
+
- `/git-sync` does **not** rename `useElevasisServices().organizationId` reads in project-owned code. The back-compat alias keeps existing code working; proactive renaming is a manual cleanup.
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
# SDK Ready Release Train
|
|
2
|
-
|
|
3
|
-
## Why this note exists
|
|
4
|
-
|
|
5
|
-
This release train carries SDK CLI, Organization OS/Knowledge scaffold, shared UI, and external template guidance changes from the monorepo into template-derived projects. Downstream projects need an operative sync note because the train includes `external/_template/.claude/**`, package baseline cascades, and generated/reference surfaces that are not handled by ordinary git merge alone.
|
|
6
|
-
|
|
7
|
-
## Applies to
|
|
8
|
-
|
|
9
|
-
- Template-derived external projects, including `external/ZentaraHQ` when its local worktree is ready for reconciliation.
|
|
10
|
-
- Managed Claude skill/rule/registry surfaces under `.claude/**`.
|
|
11
|
-
- Package dependency baselines for `@elevasis/core`, `@elevasis/ui`, and `@elevasis/sdk` after the publish stages complete.
|
|
12
|
-
|
|
13
|
-
## Required actions
|
|
14
|
-
|
|
15
|
-
- Run the prepared `/external sync --all` scope from `_external-sync-prep.json` after `/sdk ship` completes publish and deploy stages.
|
|
16
|
-
- Preserve project-owned files such as tenant `CLAUDE.md`, operations runtime code, and knowledge nodes unless the sync manifest marks a path as managed.
|
|
17
|
-
- Reconcile dirty tenant worktrees before applying managed `.claude` skill/rule writes.
|
|
18
|
-
|
|
19
|
-
## Verification
|
|
20
|
-
|
|
21
|
-
- Run the external sync planner/verify flow for each target project before applying writes.
|
|
22
|
-
- Confirm queue, schedule, note, Knowledge, and Organization OS guidance renders in the downstream `.claude` command/skill surfaces.
|
|
23
|
-
- Regenerate downstream knowledge/scaffold artifacts where the sync report requires generated freshness.
|
|
24
|
-
|
|
25
|
-
## Not handled by /git-sync
|
|
26
|
-
|
|
27
|
-
- Publishing `@elevasis/core`, `@elevasis/ui`, or `@elevasis/sdk`.
|
|
28
|
-
- Deploying the SDK resources bundle.
|
|
29
|
-
- Tenant-specific conflict resolution in dirty external project repositories.
|
|
30
|
-
- Manual review of project-owned `CLAUDE.md`, operations source, and knowledge content.
|
|
1
|
+
# SDK Ready Release Train
|
|
2
|
+
|
|
3
|
+
## Why this note exists
|
|
4
|
+
|
|
5
|
+
This release train carries SDK CLI, Organization OS/Knowledge scaffold, shared UI, and external template guidance changes from the monorepo into template-derived projects. Downstream projects need an operative sync note because the train includes `external/_template/.claude/**`, package baseline cascades, and generated/reference surfaces that are not handled by ordinary git merge alone.
|
|
6
|
+
|
|
7
|
+
## Applies to
|
|
8
|
+
|
|
9
|
+
- Template-derived external projects, including `external/ZentaraHQ` when its local worktree is ready for reconciliation.
|
|
10
|
+
- Managed Claude skill/rule/registry surfaces under `.claude/**`.
|
|
11
|
+
- Package dependency baselines for `@elevasis/core`, `@elevasis/ui`, and `@elevasis/sdk` after the publish stages complete.
|
|
12
|
+
|
|
13
|
+
## Required actions
|
|
14
|
+
|
|
15
|
+
- Run the prepared `/external sync --all` scope from `_external-sync-prep.json` after `/sdk ship` completes publish and deploy stages.
|
|
16
|
+
- Preserve project-owned files such as tenant `CLAUDE.md`, operations runtime code, and knowledge nodes unless the sync manifest marks a path as managed.
|
|
17
|
+
- Reconcile dirty tenant worktrees before applying managed `.claude` skill/rule writes.
|
|
18
|
+
|
|
19
|
+
## Verification
|
|
20
|
+
|
|
21
|
+
- Run the external sync planner/verify flow for each target project before applying writes.
|
|
22
|
+
- Confirm queue, schedule, note, Knowledge, and Organization OS guidance renders in the downstream `.claude` command/skill surfaces.
|
|
23
|
+
- Regenerate downstream knowledge/scaffold artifacts where the sync report requires generated freshness.
|
|
24
|
+
|
|
25
|
+
## Not handled by /git-sync
|
|
26
|
+
|
|
27
|
+
- Publishing `@elevasis/core`, `@elevasis/ui`, or `@elevasis/sdk`.
|
|
28
|
+
- Deploying the SDK resources bundle.
|
|
29
|
+
- Tenant-specific conflict resolution in dirty external project repositories.
|
|
30
|
+
- Manual review of project-owned `CLAUDE.md`, operations source, and knowledge content.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Organization Model Ontology Refactor
|
|
2
|
+
|
|
3
|
+
## Why this note exists
|
|
4
|
+
|
|
5
|
+
The template now demonstrates the Organization Model ontology bridge. New semantic contracts should be authored in `System.ontology`, while legacy `entities`, `actions`, and `System.content` remain compatibility mirrors for current consumers.
|
|
6
|
+
|
|
7
|
+
## Applies to
|
|
8
|
+
|
|
9
|
+
- `core/config/organization-model.ts`
|
|
10
|
+
- `core/config/organization-model.test.ts`
|
|
11
|
+
- `core/config/organization-model.contract.test.ts`
|
|
12
|
+
- `core/config/README.md`
|
|
13
|
+
- `operations/src/index.ts`
|
|
14
|
+
- `operations/src/resource-registry.test.ts`
|
|
15
|
+
- `operations/src/README.md`
|
|
16
|
+
- `.claude/rules/organization-model.md`
|
|
17
|
+
|
|
18
|
+
## Required actions
|
|
19
|
+
|
|
20
|
+
1. Preserve system-colocated ontology scopes when syncing template organization-model changes.
|
|
21
|
+
2. Preserve Resource descriptor `ontologyBinding`, `actionKey`, and `codeRefs` together.
|
|
22
|
+
3. Keep `entities`, `actions`, and `System.content` aligned as compatibility mirrors until downstream consumers move fully to compiled ontology indexes.
|
|
23
|
+
4. Do not overwrite project-owned `core/config/extensions/**` files.
|
|
24
|
+
|
|
25
|
+
## Verification
|
|
26
|
+
|
|
27
|
+
Run the template verification lane after applying this sync:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pnpm -C external/_template/core test
|
|
31
|
+
pnpm -C external/_template/core exec tsc --noEmit
|
|
32
|
+
pnpm -C external/_template/operations check
|
|
33
|
+
pnpm -C external/_template/operations check-types
|
|
34
|
+
pnpm -C external/_template/operations test
|
|
35
|
+
pnpm sync:verify --pre
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Not handled by /git-sync
|
|
39
|
+
|
|
40
|
+
- Choosing project-specific ontology IDs for tenant-owned systems.
|
|
41
|
+
- Migrating project-owned extension files under `core/config/extensions/**`.
|
|
42
|
+
- Retiring compatibility mirrors before the full internal, SDK, scaffold, and external template-family green cycle.
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
# Sync Notes
|
|
2
|
-
|
|
3
|
-
Template-owned downstream migration guidance lives in this directory.
|
|
4
|
-
|
|
5
|
-
## File Contract
|
|
6
|
-
|
|
7
|
-
- Operative note files must be named `YYYY-MM-DD-<slug>.md`
|
|
8
|
-
- `README.md` explains the contract and is ignored by `/git-sync`
|
|
9
|
-
- Notes are append-only. Add a new dated file for each downstream-affecting release train instead of rewriting an older note
|
|
10
|
-
|
|
11
|
-
## When A Note Is Mandatory
|
|
12
|
-
|
|
13
|
-
Add a new operative note whenever a train affects derived projects beyond a normal pull, install, and baseline verify. Common triggers:
|
|
14
|
-
|
|
15
|
-
- template dependency-baseline changes
|
|
16
|
-
- scaffold or sync-contract changes
|
|
17
|
-
- rename or migration work
|
|
18
|
-
- verifier or behavior changes that downstream maintainers need to understand
|
|
19
|
-
- any release train that will ask maintainers to do manual follow-up after pulling
|
|
20
|
-
|
|
21
|
-
## Required Sections
|
|
22
|
-
|
|
23
|
-
Every operative note must include these exact headings:
|
|
24
|
-
|
|
25
|
-
## Why this note exists
|
|
26
|
-
|
|
27
|
-
Explain what changed and why downstream maintainers are seeing this note.
|
|
28
|
-
|
|
29
|
-
## Applies to
|
|
30
|
-
|
|
31
|
-
State which projects, app modes, or versions need the follow-up.
|
|
32
|
-
|
|
33
|
-
## Required actions
|
|
34
|
-
|
|
35
|
-
List the manual work maintainers need to do after `/git-sync`.
|
|
36
|
-
|
|
37
|
-
## Verification
|
|
38
|
-
|
|
39
|
-
List the commands or flows that confirm the migration landed correctly.
|
|
40
|
-
|
|
41
|
-
## Not handled by /git-sync
|
|
42
|
-
|
|
43
|
-
Call out what remains manual so maintainers do not assume the pull/install/verify flow reconciled everything.
|
|
1
|
+
# Sync Notes
|
|
2
|
+
|
|
3
|
+
Template-owned downstream migration guidance lives in this directory.
|
|
4
|
+
|
|
5
|
+
## File Contract
|
|
6
|
+
|
|
7
|
+
- Operative note files must be named `YYYY-MM-DD-<slug>.md`
|
|
8
|
+
- `README.md` explains the contract and is ignored by `/git-sync`
|
|
9
|
+
- Notes are append-only. Add a new dated file for each downstream-affecting release train instead of rewriting an older note
|
|
10
|
+
|
|
11
|
+
## When A Note Is Mandatory
|
|
12
|
+
|
|
13
|
+
Add a new operative note whenever a train affects derived projects beyond a normal pull, install, and baseline verify. Common triggers:
|
|
14
|
+
|
|
15
|
+
- template dependency-baseline changes
|
|
16
|
+
- scaffold or sync-contract changes
|
|
17
|
+
- rename or migration work
|
|
18
|
+
- verifier or behavior changes that downstream maintainers need to understand
|
|
19
|
+
- any release train that will ask maintainers to do manual follow-up after pulling
|
|
20
|
+
|
|
21
|
+
## Required Sections
|
|
22
|
+
|
|
23
|
+
Every operative note must include these exact headings:
|
|
24
|
+
|
|
25
|
+
## Why this note exists
|
|
26
|
+
|
|
27
|
+
Explain what changed and why downstream maintainers are seeing this note.
|
|
28
|
+
|
|
29
|
+
## Applies to
|
|
30
|
+
|
|
31
|
+
State which projects, app modes, or versions need the follow-up.
|
|
32
|
+
|
|
33
|
+
## Required actions
|
|
34
|
+
|
|
35
|
+
List the manual work maintainers need to do after `/git-sync`.
|
|
36
|
+
|
|
37
|
+
## Verification
|
|
38
|
+
|
|
39
|
+
List the commands or flows that confirm the migration landed correctly.
|
|
40
|
+
|
|
41
|
+
## Not handled by /git-sync
|
|
42
|
+
|
|
43
|
+
Call out what remains manual so maintainers do not assume the pull/install/verify flow reconciled everything.
|