@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,126 +1,126 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: git-sync
|
|
3
|
-
description: Pull latest changes, surface new sync notes, install when needed, and run baseline verification without auto-reconciling template drift
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Git Sync
|
|
7
|
-
|
|
8
|
-
Pull the latest upstream changes for this project, detect any newly introduced template sync notes, install dependencies when the pull changed package baselines, and run the baseline verification flow.
|
|
9
|
-
|
|
10
|
-
**Usage:** `/git-sync`
|
|
11
|
-
|
|
12
|
-
Use this when:
|
|
13
|
-
|
|
14
|
-
- you just pulled a release-train update from the template repo
|
|
15
|
-
- the branch may include dependency or scaffold baseline changes
|
|
16
|
-
- you want the current sync-note guidance before making any manual reconciliation edits
|
|
17
|
-
|
|
18
|
-
This command is intentionally narrower than template reconciliation. It stops after pull, install, verification, and note surfacing. It never auto-overwrites project-owned files.
|
|
19
|
-
|
|
20
|
-
## Sync Notes Contract
|
|
21
|
-
|
|
22
|
-
Downstream release guidance lives in `.claude/sync-notes/`.
|
|
23
|
-
|
|
24
|
-
- Operative note files are named `YYYY-MM-DD-<slug>.md`
|
|
25
|
-
- `README.md` documents the contract and is ignored by note detection
|
|
26
|
-
- Notes are append-only release guidance; do not rewrite old note filenames after they ship
|
|
27
|
-
- Every operative note uses these exact headings:
|
|
28
|
-
- `## Why this note exists`
|
|
29
|
-
- `## Applies to`
|
|
30
|
-
- `## Required actions`
|
|
31
|
-
- `## Verification`
|
|
32
|
-
- `## Not handled by /git-sync`
|
|
33
|
-
|
|
34
|
-
## Process
|
|
35
|
-
|
|
36
|
-
### Step 1: Check for Uncommitted Changes
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
git status --short
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
If the worktree is dirty, stop and tell the user to commit, stash, or discard changes first. Do not pull on top of local edits.
|
|
43
|
-
|
|
44
|
-
### Step 2: Snapshot Current Sync Notes
|
|
45
|
-
|
|
46
|
-
Capture the current operative note filenames before pulling:
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
git ls-files ".claude/sync-notes/*.md"
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
Ignore `README.md` when building the pre-pull note set.
|
|
53
|
-
|
|
54
|
-
### Step 3: Pull Latest Changes
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
git pull --rebase
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
If the pull conflicts, stop and report the conflict. Do not attempt auto-resolution.
|
|
61
|
-
|
|
62
|
-
### Step 4: Detect Whether Install Is Required
|
|
63
|
-
|
|
64
|
-
If the pull changed any dependency baseline files, run a fresh install:
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
git diff --name-only HEAD@{1} HEAD -- package.json pnpm-lock.yaml pnpm-workspace.yaml ui/package.json operations/package.json shared/package.json
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
If the diff is non-empty:
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
pnpm install
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
If none of those files changed, skip install and report that the dependency baseline was unchanged.
|
|
77
|
-
|
|
78
|
-
### Step 5: Run Baseline Verification
|
|
79
|
-
|
|
80
|
-
Run the standard project verification flow:
|
|
81
|
-
|
|
82
|
-
```bash
|
|
83
|
-
pnpm -C ui check-types
|
|
84
|
-
pnpm -C ui build
|
|
85
|
-
pnpm -C operations check
|
|
86
|
-
pnpm -C operations check-types
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
Stop on the first failure and report it clearly.
|
|
90
|
-
|
|
91
|
-
### Step 6: Surface Newly Introduced Sync Notes
|
|
92
|
-
|
|
93
|
-
Build the post-pull operative note set and compare it to the pre-pull set. Any newly added note filename is considered unread guidance for this pull.
|
|
94
|
-
|
|
95
|
-
When new notes exist:
|
|
96
|
-
|
|
97
|
-
- print each new note filename
|
|
98
|
-
- summarize the `## Required actions`, `## Verification`, and `## Not handled by /git-sync` sections
|
|
99
|
-
- tell the user exactly which manual follow-up remains
|
|
100
|
-
|
|
101
|
-
When no new notes exist, say so explicitly.
|
|
102
|
-
|
|
103
|
-
### Step 7: Stop Before Reconciliation
|
|
104
|
-
|
|
105
|
-
`/git-sync` ends after pull, optional install, verification, and note surfacing.
|
|
106
|
-
|
|
107
|
-
It does **not**:
|
|
108
|
-
|
|
109
|
-
- run registry/template reconciliation
|
|
110
|
-
- overwrite project-owned files
|
|
111
|
-
- resolve downstream migration conflicts
|
|
112
|
-
- treat a passing baseline verify as proof that manual follow-up is complete
|
|
113
|
-
|
|
114
|
-
If a sync note or the pulled diff requires project-specific changes, leave those as an explicit next step.
|
|
115
|
-
|
|
116
|
-
## Report
|
|
117
|
-
|
|
118
|
-
```text
|
|
119
|
-
Git Sync Complete
|
|
120
|
-
=================
|
|
121
|
-
Git: pulled (<branch>)
|
|
122
|
-
Install: ran | skipped (no dependency baseline changes)
|
|
123
|
-
Verify: PASS | FAIL at <step>
|
|
124
|
-
Sync notes: none | 2026-04-22-example-change.md
|
|
125
|
-
Next step: manual reconciliation required | none
|
|
126
|
-
```
|
|
1
|
+
---
|
|
2
|
+
name: git-sync
|
|
3
|
+
description: Pull latest changes, surface new sync notes, install when needed, and run baseline verification without auto-reconciling template drift
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Git Sync
|
|
7
|
+
|
|
8
|
+
Pull the latest upstream changes for this project, detect any newly introduced template sync notes, install dependencies when the pull changed package baselines, and run the baseline verification flow.
|
|
9
|
+
|
|
10
|
+
**Usage:** `/git-sync`
|
|
11
|
+
|
|
12
|
+
Use this when:
|
|
13
|
+
|
|
14
|
+
- you just pulled a release-train update from the template repo
|
|
15
|
+
- the branch may include dependency or scaffold baseline changes
|
|
16
|
+
- you want the current sync-note guidance before making any manual reconciliation edits
|
|
17
|
+
|
|
18
|
+
This command is intentionally narrower than template reconciliation. It stops after pull, install, verification, and note surfacing. It never auto-overwrites project-owned files.
|
|
19
|
+
|
|
20
|
+
## Sync Notes Contract
|
|
21
|
+
|
|
22
|
+
Downstream release guidance lives in `.claude/sync-notes/`.
|
|
23
|
+
|
|
24
|
+
- Operative note files are named `YYYY-MM-DD-<slug>.md`
|
|
25
|
+
- `README.md` documents the contract and is ignored by note detection
|
|
26
|
+
- Notes are append-only release guidance; do not rewrite old note filenames after they ship
|
|
27
|
+
- Every operative note uses these exact headings:
|
|
28
|
+
- `## Why this note exists`
|
|
29
|
+
- `## Applies to`
|
|
30
|
+
- `## Required actions`
|
|
31
|
+
- `## Verification`
|
|
32
|
+
- `## Not handled by /git-sync`
|
|
33
|
+
|
|
34
|
+
## Process
|
|
35
|
+
|
|
36
|
+
### Step 1: Check for Uncommitted Changes
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
git status --short
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
If the worktree is dirty, stop and tell the user to commit, stash, or discard changes first. Do not pull on top of local edits.
|
|
43
|
+
|
|
44
|
+
### Step 2: Snapshot Current Sync Notes
|
|
45
|
+
|
|
46
|
+
Capture the current operative note filenames before pulling:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
git ls-files ".claude/sync-notes/*.md"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Ignore `README.md` when building the pre-pull note set.
|
|
53
|
+
|
|
54
|
+
### Step 3: Pull Latest Changes
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
git pull --rebase
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
If the pull conflicts, stop and report the conflict. Do not attempt auto-resolution.
|
|
61
|
+
|
|
62
|
+
### Step 4: Detect Whether Install Is Required
|
|
63
|
+
|
|
64
|
+
If the pull changed any dependency baseline files, run a fresh install:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
git diff --name-only HEAD@{1} HEAD -- package.json pnpm-lock.yaml pnpm-workspace.yaml ui/package.json operations/package.json shared/package.json
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
If the diff is non-empty:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
pnpm install
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
If none of those files changed, skip install and report that the dependency baseline was unchanged.
|
|
77
|
+
|
|
78
|
+
### Step 5: Run Baseline Verification
|
|
79
|
+
|
|
80
|
+
Run the standard project verification flow:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
pnpm -C ui check-types
|
|
84
|
+
pnpm -C ui build
|
|
85
|
+
pnpm -C operations check
|
|
86
|
+
pnpm -C operations check-types
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Stop on the first failure and report it clearly.
|
|
90
|
+
|
|
91
|
+
### Step 6: Surface Newly Introduced Sync Notes
|
|
92
|
+
|
|
93
|
+
Build the post-pull operative note set and compare it to the pre-pull set. Any newly added note filename is considered unread guidance for this pull.
|
|
94
|
+
|
|
95
|
+
When new notes exist:
|
|
96
|
+
|
|
97
|
+
- print each new note filename
|
|
98
|
+
- summarize the `## Required actions`, `## Verification`, and `## Not handled by /git-sync` sections
|
|
99
|
+
- tell the user exactly which manual follow-up remains
|
|
100
|
+
|
|
101
|
+
When no new notes exist, say so explicitly.
|
|
102
|
+
|
|
103
|
+
### Step 7: Stop Before Reconciliation
|
|
104
|
+
|
|
105
|
+
`/git-sync` ends after pull, optional install, verification, and note surfacing.
|
|
106
|
+
|
|
107
|
+
It does **not**:
|
|
108
|
+
|
|
109
|
+
- run registry/template reconciliation
|
|
110
|
+
- overwrite project-owned files
|
|
111
|
+
- resolve downstream migration conflicts
|
|
112
|
+
- treat a passing baseline verify as proof that manual follow-up is complete
|
|
113
|
+
|
|
114
|
+
If a sync note or the pulled diff requires project-specific changes, leave those as an explicit next step.
|
|
115
|
+
|
|
116
|
+
## Report
|
|
117
|
+
|
|
118
|
+
```text
|
|
119
|
+
Git Sync Complete
|
|
120
|
+
=================
|
|
121
|
+
Git: pulled (<branch>)
|
|
122
|
+
Install: ran | skipped (no dependency baseline changes)
|
|
123
|
+
Verify: PASS | FAIL at <step>
|
|
124
|
+
Sync notes: none | 2026-04-22-example-change.md
|
|
125
|
+
Next step: manual reconciliation required | none
|
|
126
|
+
```
|