@elevasis/sdk 1.22.1 → 1.23.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 +681 -29
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -3
- package/dist/test-utils/index.d.ts +1 -0
- package/dist/test-utils/index.js +4 -3
- package/dist/worker/index.js +4 -3
- package/package.json +2 -2
- package/reference/claude-config/rules/organization-model.md +77 -80
- package/reference/claude-config/rules/organization-os.md +104 -104
- package/reference/claude-config/rules/vibe.md +235 -235
- package/reference/claude-config/skills/om/SKILL.md +324 -0
- package/reference/claude-config/skills/{knowledge → om}/operations/customers.md +110 -109
- package/reference/claude-config/skills/{knowledge → om}/operations/features.md +77 -76
- package/reference/claude-config/skills/{knowledge → om}/operations/goals.md +119 -118
- package/reference/claude-config/skills/{knowledge → om}/operations/identity.md +94 -93
- package/reference/claude-config/skills/{knowledge → om}/operations/labels.md +94 -94
- package/reference/claude-config/skills/{knowledge → om}/operations/offerings.md +110 -109
- package/reference/claude-config/skills/{knowledge → om}/operations/roles.md +100 -99
- package/reference/claude-config/skills/{knowledge → om}/operations/techStack.md +30 -30
- package/reference/claude-config/skills/project/SKILL.md +1088 -1088
- package/reference/claude-config/skills/setup/SKILL.md +275 -275
- 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-05-15-om-skill-rename-and-write-family.md +52 -0
- package/reference/scaffold/recipes/query-the-knowledge-graph.md +189 -185
- package/reference/scaffold/reference/contracts.md +94 -94
- package/reference/scaffold/reference/glossary.md +71 -69
- package/reference/claude-config/skills/knowledge/SKILL.md +0 -345
- /package/reference/claude-config/skills/{knowledge → om}/operations/codify-level-a.md +0 -0
- /package/reference/claude-config/skills/{knowledge → om}/operations/codify-level-b.md +0 -0
|
@@ -637,8 +637,8 @@ export type DeepPartial<T> =
|
|
|
637
637
|
### `ElevasisOrganizationModel`
|
|
638
638
|
|
|
639
639
|
```typescript
|
|
640
|
-
export type ElevasisOrganizationModel = Omit<OrganizationModel, 'knowledge'> & {
|
|
641
|
-
knowledge?: OrganizationModel['knowledge']
|
|
640
|
+
export type ElevasisOrganizationModel = Omit<OrganizationModel, 'knowledge'> & {
|
|
641
|
+
knowledge?: OrganizationModel['knowledge']
|
|
642
642
|
}
|
|
643
643
|
```
|
|
644
644
|
|
|
@@ -663,107 +663,107 @@ export type SystemSidebarWidthResolver = number | ((context: { currentPath: stri
|
|
|
663
663
|
### `SystemModule`
|
|
664
664
|
|
|
665
665
|
```typescript
|
|
666
|
-
export interface SystemModule {
|
|
667
|
-
/** Unique stable identifier for this UI system module. */
|
|
668
|
-
key: string
|
|
669
|
-
/** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
|
|
670
|
-
systemId?: string
|
|
671
|
-
/** Route prefixes owned by navigation-only app surfaces. */
|
|
672
|
-
routePrefixes?: string[]
|
|
673
|
-
/** Capability identifiers contributed by this system module. */
|
|
674
|
-
capabilityIds?: string[]
|
|
675
|
-
/** Icon used when this system node appears in shell navigation. */
|
|
676
|
-
icon?: SystemIconComponent
|
|
677
|
-
/** Sidebar component rendered when this system's subtree route is active. */
|
|
678
|
-
sidebar?: SystemSidebarComponent
|
|
679
|
-
/** Optional shell sidebar width override. Defaults to 250px. */
|
|
680
|
-
sidebarWidth?: SystemSidebarWidthResolver
|
|
681
|
-
/** Operations-only bridge connecting this system to the organization graph node. */
|
|
682
|
-
organizationGraph?: OrganizationGraphSystemBridge
|
|
666
|
+
export interface SystemModule {
|
|
667
|
+
/** Unique stable identifier for this UI system module. */
|
|
668
|
+
key: string
|
|
669
|
+
/** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
|
|
670
|
+
systemId?: string
|
|
671
|
+
/** Route prefixes owned by navigation-only app surfaces. */
|
|
672
|
+
routePrefixes?: string[]
|
|
673
|
+
/** Capability identifiers contributed by this system module. */
|
|
674
|
+
capabilityIds?: string[]
|
|
675
|
+
/** Icon used when this system node appears in shell navigation. */
|
|
676
|
+
icon?: SystemIconComponent
|
|
677
|
+
/** Sidebar component rendered when this system's subtree route is active. */
|
|
678
|
+
sidebar?: SystemSidebarComponent
|
|
679
|
+
/** Optional shell sidebar width override. Defaults to 250px. */
|
|
680
|
+
sidebarWidth?: SystemSidebarWidthResolver
|
|
681
|
+
/** Operations-only bridge connecting this system to the organization graph node. */
|
|
682
|
+
organizationGraph?: OrganizationGraphSystemBridge
|
|
683
683
|
}
|
|
684
684
|
```
|
|
685
685
|
|
|
686
686
|
### `ResolvedSystemAccess`
|
|
687
687
|
|
|
688
688
|
```typescript
|
|
689
|
-
export interface ResolvedSystemAccess {
|
|
690
|
-
|
|
691
|
-
systemId?: string
|
|
692
|
-
enabled: boolean
|
|
689
|
+
export interface ResolvedSystemAccess {
|
|
690
|
+
systemKey: string
|
|
691
|
+
systemId?: string
|
|
692
|
+
enabled: boolean
|
|
693
693
|
}
|
|
694
694
|
```
|
|
695
695
|
|
|
696
696
|
### `ResolvedSystemSemantics`
|
|
697
697
|
|
|
698
698
|
```typescript
|
|
699
|
-
export interface ResolvedSystemSemantics {
|
|
700
|
-
capabilityIds: string[]
|
|
699
|
+
export interface ResolvedSystemSemantics {
|
|
700
|
+
capabilityIds: string[]
|
|
701
701
|
}
|
|
702
702
|
```
|
|
703
703
|
|
|
704
704
|
### `ResolvedSystemModule`
|
|
705
705
|
|
|
706
706
|
```typescript
|
|
707
|
-
export interface ResolvedSystemModule extends SystemModule {
|
|
708
|
-
access: ResolvedSystemAccess
|
|
709
|
-
semantics: ResolvedSystemSemantics
|
|
707
|
+
export interface ResolvedSystemModule extends SystemModule {
|
|
708
|
+
access: ResolvedSystemAccess
|
|
709
|
+
semantics: ResolvedSystemSemantics
|
|
710
710
|
}
|
|
711
711
|
```
|
|
712
712
|
|
|
713
713
|
### `ResolvedShellSystem`
|
|
714
714
|
|
|
715
715
|
```typescript
|
|
716
|
-
export type ResolvedShellSystem = OrganizationModelSystemEntry & {
|
|
717
|
-
label: string
|
|
718
|
-
iconComponent?: SystemIconComponent
|
|
716
|
+
export type ResolvedShellSystem = OrganizationModelSystemEntry & {
|
|
717
|
+
label: string
|
|
718
|
+
iconComponent?: SystemIconComponent
|
|
719
719
|
}
|
|
720
720
|
```
|
|
721
721
|
|
|
722
722
|
### `ResolvedShellModel`
|
|
723
723
|
|
|
724
724
|
```typescript
|
|
725
|
-
export interface ResolvedShellModel {
|
|
726
|
-
systems: readonly ResolvedShellSystem[]
|
|
727
|
-
findByPath: (path: string) => ResolvedShellSystem | undefined
|
|
728
|
-
findById: (id: string) => ResolvedShellSystem | undefined
|
|
729
|
-
childrenOf: (id: string) => ResolvedShellSystem[]
|
|
730
|
-
ancestorsOf: (id: string) => ResolvedShellSystem[]
|
|
731
|
-
parentOf: (id: string) => ResolvedShellSystem | undefined
|
|
732
|
-
topLevel: () => ResolvedShellSystem[]
|
|
733
|
-
requiresAdminFor: (id: string) => boolean
|
|
734
|
-
devOnlyFor: (id: string) => boolean
|
|
725
|
+
export interface ResolvedShellModel {
|
|
726
|
+
systems: readonly ResolvedShellSystem[]
|
|
727
|
+
findByPath: (path: string) => ResolvedShellSystem | undefined
|
|
728
|
+
findById: (id: string) => ResolvedShellSystem | undefined
|
|
729
|
+
childrenOf: (id: string) => ResolvedShellSystem[]
|
|
730
|
+
ancestorsOf: (id: string) => ResolvedShellSystem[]
|
|
731
|
+
parentOf: (id: string) => ResolvedShellSystem | undefined
|
|
732
|
+
topLevel: () => ResolvedShellSystem[]
|
|
733
|
+
requiresAdminFor: (id: string) => boolean
|
|
734
|
+
devOnlyFor: (id: string) => boolean
|
|
735
735
|
}
|
|
736
736
|
```
|
|
737
737
|
|
|
738
738
|
### `ShellSidebarLinkItem`
|
|
739
739
|
|
|
740
740
|
```typescript
|
|
741
|
-
export interface ShellSidebarLinkItem {
|
|
742
|
-
label: string
|
|
743
|
-
link: string
|
|
744
|
-
exact?: boolean
|
|
745
|
-
activeMatchPaths?: string[]
|
|
741
|
+
export interface ShellSidebarLinkItem {
|
|
742
|
+
label: string
|
|
743
|
+
link: string
|
|
744
|
+
exact?: boolean
|
|
745
|
+
activeMatchPaths?: string[]
|
|
746
746
|
}
|
|
747
747
|
```
|
|
748
748
|
|
|
749
749
|
### `ShellSidebarLinkGroup`
|
|
750
750
|
|
|
751
751
|
```typescript
|
|
752
|
-
export interface ShellSidebarLinkGroup {
|
|
753
|
-
icon: SystemIconComponent
|
|
754
|
-
label: string
|
|
755
|
-
links?: ShellSidebarLinkItem[]
|
|
756
|
-
link?: string
|
|
752
|
+
export interface ShellSidebarLinkGroup {
|
|
753
|
+
icon: SystemIconComponent
|
|
754
|
+
label: string
|
|
755
|
+
links?: ShellSidebarLinkItem[]
|
|
756
|
+
link?: string
|
|
757
757
|
}
|
|
758
758
|
```
|
|
759
759
|
|
|
760
760
|
### `ShellSidebarProjectionOptions`
|
|
761
761
|
|
|
762
762
|
```typescript
|
|
763
|
-
export interface ShellSidebarProjectionOptions {
|
|
764
|
-
isPlatformAdmin?: boolean
|
|
765
|
-
isDev?: boolean
|
|
766
|
-
section?: 'primary' | 'bottom'
|
|
763
|
+
export interface ShellSidebarProjectionOptions {
|
|
764
|
+
isPlatformAdmin?: boolean
|
|
765
|
+
isDev?: boolean
|
|
766
|
+
section?: 'primary' | 'bottom'
|
|
767
767
|
}
|
|
768
768
|
```
|
|
769
769
|
|
|
@@ -776,75 +776,75 @@ export type ShellRouteMatchStatus = 'matched' | 'hidden' | 'unmatched'
|
|
|
776
776
|
### `ResolvedShellRouteMatch`
|
|
777
777
|
|
|
778
778
|
```typescript
|
|
779
|
-
export interface ResolvedShellRouteMatch {
|
|
780
|
-
status: ShellRouteMatchStatus
|
|
781
|
-
path: string
|
|
782
|
-
system?: ResolvedSystemModule
|
|
783
|
-
node?: ResolvedShellSystem
|
|
779
|
+
export interface ResolvedShellRouteMatch {
|
|
780
|
+
status: ShellRouteMatchStatus
|
|
781
|
+
path: string
|
|
782
|
+
system?: ResolvedSystemModule
|
|
783
|
+
node?: ResolvedShellSystem
|
|
784
784
|
}
|
|
785
785
|
```
|
|
786
786
|
|
|
787
787
|
### `ShellRuntime`
|
|
788
788
|
|
|
789
789
|
```typescript
|
|
790
|
-
export interface ShellRuntime {
|
|
791
|
-
resolveRoute: (path: string) => ResolvedShellRouteMatch
|
|
790
|
+
export interface ShellRuntime {
|
|
791
|
+
resolveRoute: (path: string) => ResolvedShellRouteMatch
|
|
792
792
|
}
|
|
793
793
|
```
|
|
794
794
|
|
|
795
795
|
### `OrganizationGraphSystemBridge`
|
|
796
796
|
|
|
797
797
|
```typescript
|
|
798
|
-
export interface OrganizationGraphSystemBridge {
|
|
799
|
-
systemId?: string
|
|
798
|
+
export interface OrganizationGraphSystemBridge {
|
|
799
|
+
systemId?: string
|
|
800
800
|
}
|
|
801
801
|
```
|
|
802
802
|
|
|
803
803
|
### `OrganizationGraphContextValue`
|
|
804
804
|
|
|
805
805
|
```typescript
|
|
806
|
-
export interface OrganizationGraphContextValue {
|
|
807
|
-
available: boolean
|
|
808
|
-
systemId?: string
|
|
809
|
-
systemPath?: string
|
|
806
|
+
export interface OrganizationGraphContextValue {
|
|
807
|
+
available: boolean
|
|
808
|
+
systemId?: string
|
|
809
|
+
systemPath?: string
|
|
810
810
|
}
|
|
811
811
|
```
|
|
812
812
|
|
|
813
813
|
### `ElevasisSystemsProviderProps`
|
|
814
814
|
|
|
815
815
|
```typescript
|
|
816
|
-
export interface ElevasisSystemsProviderProps {
|
|
817
|
-
systems?: SystemModule[]
|
|
818
|
-
organizationModel?: ElevasisOrganizationModel
|
|
819
|
-
timeRange?: TimeRange
|
|
820
|
-
operationsApiUrl?: string
|
|
821
|
-
operationsSSEManager?: SSEConnectionManagerLike
|
|
822
|
-
deliveryApiUrl?: string
|
|
823
|
-
deliverySSEManager?: SSEConnectionManagerLike
|
|
824
|
-
disabledSubsectionPaths?: string[]
|
|
825
|
-
children: ReactNode
|
|
816
|
+
export interface ElevasisSystemsProviderProps {
|
|
817
|
+
systems?: SystemModule[]
|
|
818
|
+
organizationModel?: ElevasisOrganizationModel
|
|
819
|
+
timeRange?: TimeRange
|
|
820
|
+
operationsApiUrl?: string
|
|
821
|
+
operationsSSEManager?: SSEConnectionManagerLike
|
|
822
|
+
deliveryApiUrl?: string
|
|
823
|
+
deliverySSEManager?: SSEConnectionManagerLike
|
|
824
|
+
disabledSubsectionPaths?: string[]
|
|
825
|
+
children: ReactNode
|
|
826
826
|
}
|
|
827
827
|
```
|
|
828
828
|
|
|
829
829
|
### `ElevasisSystemsContextValue`
|
|
830
830
|
|
|
831
831
|
```typescript
|
|
832
|
-
export interface ElevasisSystemsContextValue {
|
|
833
|
-
shellModel: ResolvedShellModel
|
|
834
|
-
shellRuntime: ShellRuntime
|
|
835
|
-
getSidebarLinks: (options?: ShellSidebarProjectionOptions) => ShellSidebarLinkGroup[]
|
|
836
|
-
enabledResolvedSystems: ResolvedSystemModule[]
|
|
837
|
-
resolvedSystems: ResolvedSystemModule[]
|
|
838
|
-
organizationGraph: OrganizationGraphContextValue
|
|
839
|
-
organizationModel?: OrganizationModel
|
|
840
|
-
timeRange?: TimeRange
|
|
841
|
-
operationsApiUrl?: string
|
|
842
|
-
operationsSSEManager?: SSEConnectionManagerLike
|
|
843
|
-
deliveryApiUrl?: string
|
|
844
|
-
deliverySSEManager?: SSEConnectionManagerLike
|
|
845
|
-
disabledSubsectionPaths: string[]
|
|
846
|
-
isSystemEnabled: (key: string) => boolean
|
|
847
|
-
getResolvedSystem: (key: string) => ResolvedSystemModule | undefined
|
|
832
|
+
export interface ElevasisSystemsContextValue {
|
|
833
|
+
shellModel: ResolvedShellModel
|
|
834
|
+
shellRuntime: ShellRuntime
|
|
835
|
+
getSidebarLinks: (options?: ShellSidebarProjectionOptions) => ShellSidebarLinkGroup[]
|
|
836
|
+
enabledResolvedSystems: ResolvedSystemModule[]
|
|
837
|
+
resolvedSystems: ResolvedSystemModule[]
|
|
838
|
+
organizationGraph: OrganizationGraphContextValue
|
|
839
|
+
organizationModel?: OrganizationModel
|
|
840
|
+
timeRange?: TimeRange
|
|
841
|
+
operationsApiUrl?: string
|
|
842
|
+
operationsSSEManager?: SSEConnectionManagerLike
|
|
843
|
+
deliveryApiUrl?: string
|
|
844
|
+
deliverySSEManager?: SSEConnectionManagerLike
|
|
845
|
+
disabledSubsectionPaths: string[]
|
|
846
|
+
isSystemEnabled: (key: string) => boolean
|
|
847
|
+
getResolvedSystem: (key: string) => ResolvedSystemModule | undefined
|
|
848
848
|
}
|
|
849
849
|
```
|
|
850
850
|
|
|
@@ -1,79 +1,81 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Glossary
|
|
3
|
-
description: Terminology disambiguation for Organization OS concepts used in the template scaffold, core package, and published packages.
|
|
4
|
-
---
|
|
1
|
+
---
|
|
2
|
+
title: Glossary
|
|
3
|
+
description: Terminology disambiguation for Organization OS concepts used in the template scaffold, core package, and published packages.
|
|
4
|
+
---
|
|
5
5
|
<!-- @generated by packages/sdk/scripts/copy-reference-docs.mjs -- DO NOT EDIT -->
|
|
6
6
|
<!-- Regenerate: pnpm scaffold:sync -->
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
# Glossary
|
|
10
|
-
|
|
11
|
-
## Terms
|
|
12
|
-
|
|
13
|
-
**AdminGuard** -- route-level admin wrapper from `@elevasis/ui/features/auth`. Must nest inside `ProtectedRoute`.
|
|
14
|
-
|
|
15
|
-
**Contract** -- the publishable boundary a consumer depends on: Zod schemas, TypeScript types, provider props, resource definitions, or workflow I/O schemas.
|
|
16
|
-
|
|
17
|
-
**DeploymentSpec** -- runtime/deploy assembly for one organization: workflows, agents, triggers, integrations, relationships, external resources, and human checkpoints. It assembles executable behavior around Organization Model resource descriptors; it is not the source of resource identity.
|
|
18
|
-
|
|
19
|
-
**Feature** -- legacy or UI-package wording for a platform capability area. In the current Organization Model, use **System** for semantic ownership and **navigation surface** for shell placement. Keep "feature" only when referring to existing UI package folders, exported manifest names, or legacy compatibility recipes.
|
|
20
|
-
|
|
21
|
-
**SystemGuard** -- route-level System gate from `@elevasis/ui/features/auth`.
|
|
22
|
-
|
|
8
|
+
|
|
9
|
+
# Glossary
|
|
10
|
+
|
|
11
|
+
## Terms
|
|
12
|
+
|
|
13
|
+
**AdminGuard** -- route-level admin wrapper from `@elevasis/ui/features/auth`. Must nest inside `ProtectedRoute`.
|
|
14
|
+
|
|
15
|
+
**Contract** -- the publishable boundary a consumer depends on: Zod schemas, TypeScript types, provider props, resource definitions, or workflow I/O schemas.
|
|
16
|
+
|
|
17
|
+
**DeploymentSpec** -- runtime/deploy assembly for one organization: workflows, agents, triggers, integrations, relationships, external resources, and human checkpoints. It assembles executable behavior around Organization Model resource descriptors; it is not the source of resource identity.
|
|
18
|
+
|
|
19
|
+
**Feature** -- legacy or UI-package wording for a platform capability area. In the current Organization Model, use **System** for semantic ownership and **navigation surface** for shell placement. Keep "feature" only when referring to existing UI package folders, exported manifest names, or legacy compatibility recipes.
|
|
20
|
+
|
|
21
|
+
**SystemGuard** -- route-level System gate from `@elevasis/ui/features/auth`.
|
|
22
|
+
|
|
23
23
|
**SystemModule** -- manifest contract a shell module provides to `ElevasisSystemsProvider`. Key fields are `key`, optional `systemId`, optional `routePrefixes`, optional `capabilityIds`, optional `icon`, optional `sidebar`, and optional `sidebarWidth`. Graph bridge metadata is compatibility-only; new semantic bindings belong in the Organization Model System, ontology, navigation, and Resource descriptors.
|
|
24
|
-
|
|
25
|
-
**systemId** -- the `SystemModule` field that points to an `OrganizationModel.systems` entry. Navigation-only app modules may omit it and use route prefixes/surface metadata instead.
|
|
26
|
-
|
|
27
|
-
**
|
|
28
|
-
|
|
29
|
-
**
|
|
30
|
-
|
|
31
|
-
**
|
|
32
|
-
|
|
24
|
+
|
|
25
|
+
**systemId** -- the `SystemModule` field that points to an `OrganizationModel.systems` entry. Navigation-only app modules may omit it and use route prefixes/surface metadata instead.
|
|
26
|
+
|
|
27
|
+
**systemId (resource — deprecated)** -- the legacy `resource.systemId` field on Organization Model resource descriptors. Removed from the target contract; the canonical attachment is **`resource.systemPath`** (dot-separated path resolved against the system tree). Some external templates still ship a `systemId` compatibility mirror while published `@elevasis/core` releases catch up; treat that field as legacy adapter data only and author new resource relationships against `systemPath`. Query with `getResourcesForSystem(model, path)`.
|
|
28
|
+
|
|
29
|
+
**Foundations** -- local adapter layer in external projects that exports `canonicalOrganizationModel`, `organizationModel`, and workflow I/O schemas.
|
|
30
|
+
|
|
31
|
+
**Graph node ID** -- kind-prefixed cross-collection identifier such as `system:sales.crm`, `integration:instantly`, or `resource:lead-import`.
|
|
32
|
+
|
|
33
|
+
**Manifest** -- a runtime declaration for a feature or resource collection.
|
|
34
|
+
|
|
33
35
|
**MembershipFeatureConfig** -- legacy per-member feature override config. Current System visibility should be authored through Organization Model System lifecycle/access metadata and resolved through provider compatibility layers for older consumers.
|
|
34
|
-
|
|
36
|
+
|
|
35
37
|
**OrganizationModel** -- top-level semantic contract for an organization. Current primary fields include `version`, `domainMetadata`, `branding`, `navigation`, `ontology`, `systems`, `resources`, `topology`, `identity`, `customers`, `offerings`, `roles`, `goals`, `policies`, `statuses`, and `knowledge`. Legacy domain keys such as `sales`, `prospecting`, `projects`, `actions`, and `entities` remain compatibility inputs while projects migrate to System-owned ontology/config/resource contracts.
|
|
36
|
-
|
|
38
|
+
|
|
37
39
|
**OrganizationModelSystemEntry** -- System node in `OrganizationModel.systems`. Primary authoring fields include `id`, `label`, `description`, `parentSystemId`, `systems`, `lifecycle`, `ui`, `requiresAdmin`, `devOnly`, `responsibleRoleId`, `governedByKnowledge`, `drivesGoals`, `actions`, `policies`, `ontology`, `config`, and `order`. `subsystems` and `content` are retained compatibility inputs for older projects and should not be used for new recursive Systems, schemas, catalogs, or config.
|
|
38
|
-
|
|
39
|
-
**Provider / ElevasisSystemsProvider** -- runtime that registers System modules, resolves System access against the org model, projects sidebar navigation, and exposes shell helpers through `useElevasisSystems()`.
|
|
40
|
-
|
|
41
|
-
**Resource** -- governance-only descriptor in `OrganizationModel.resources` for a workflow, agent, integration, or script. Runtime code derives `resourceId` and kind from the descriptor, then attaches executable behavior in operations.
|
|
42
|
-
|
|
40
|
+
|
|
41
|
+
**Provider / ElevasisSystemsProvider** -- runtime that registers System modules, resolves System access against the org model, projects sidebar navigation, and exposes shell helpers through `useElevasisSystems()`.
|
|
42
|
+
|
|
43
|
+
**Resource** -- governance-only descriptor in `OrganizationModel.resources` for a workflow, agent, integration, or script. Runtime code derives `resourceId` and kind from the descriptor, then attaches executable behavior in operations.
|
|
44
|
+
|
|
43
45
|
**Resource descriptor** -- OM entry with canonical `id`, required `systemPath`, descriptor `title` / `description`, governance `status`, optional role ownership, `codeRefs`, and nested `ontology` bindings for `actions`, optional `primaryAction`, read/write objects, used catalogs, and emitted events. Top-level `emits` remains a compatibility mirror for older descriptors.
|
|
44
|
-
|
|
46
|
+
|
|
45
47
|
**System** -- tenant-defined bounded context in `OrganizationModel.systems` that groups operational resources and carries governance metadata such as responsible role, governing knowledge, driven goals, kind, lifecycle, System-local ontology, and System-local config.
|
|
46
|
-
|
|
47
|
-
**ResourceCategory** -- resource metadata category: `production`, `diagnostic`, `internal`, or `testing`.
|
|
48
|
-
|
|
49
|
-
**ResourceLink** -- graph binding on resource metadata: `{ nodeId, kind }`.
|
|
50
|
-
|
|
51
|
-
**Settings asymmetry** -- Settings is a navigation/app surface whose individual pages are normally governed by admin checks rather than user-facing System toggles.
|
|
52
|
-
|
|
53
|
-
**Shell model** -- provider output used by sidebars and breadcrumbs. Includes `systems`, `childrenOf`, `ancestorsOf`, `parentOf`, `topLevel`, `findByPath`, `requiresAdminFor`, and `devOnlyFor`.
|
|
54
|
-
|
|
55
|
-
**Subshell / Sidebar** -- System- or route-prefix-scoped UI region rendered when the current route matches a module whose manifest supplies a sidebar.
|
|
56
|
-
|
|
48
|
+
|
|
49
|
+
**ResourceCategory** -- resource metadata category: `production`, `diagnostic`, `internal`, or `testing`.
|
|
50
|
+
|
|
51
|
+
**ResourceLink** -- graph binding on resource metadata: `{ nodeId, kind }`.
|
|
52
|
+
|
|
53
|
+
**Settings asymmetry** -- Settings is a navigation/app surface whose individual pages are normally governed by admin checks rather than user-facing System toggles.
|
|
54
|
+
|
|
55
|
+
**Shell model** -- provider output used by sidebars and breadcrumbs. Includes `systems`, `childrenOf`, `ancestorsOf`, `parentOf`, `topLevel`, `findByPath`, `requiresAdminFor`, and `devOnlyFor`.
|
|
56
|
+
|
|
57
|
+
**Subshell / Sidebar** -- System- or route-prefix-scoped UI region rendered when the current route matches a module whose manifest supplies a sidebar.
|
|
58
|
+
|
|
57
59
|
**Topology** -- durable OM operational wiring declared in `OrganizationModel.topology.relationships`. Initial relationship kinds are `triggers`, `uses`, and `approval`; relationships use typed refs such as `{ kind: 'resource', id: 'lead-import' }`.
|
|
58
|
-
|
|
59
|
-
## Package Boundary
|
|
60
|
-
|
|
61
|
-
**`@elevasis/core`**
|
|
62
|
-
|
|
63
|
-
- `OrganizationModel`, `OrganizationModelSystemEntry`
|
|
64
|
-
- `SystemEntry`, `ResourceEntry`
|
|
65
|
-
- `resolveOrganizationModel`, `defineOrganizationModel`, `DEFAULT_ORGANIZATION_MODEL`
|
|
66
|
-
- `MembershipFeatureConfig`
|
|
67
|
-
- `DeploymentSpec`, `ResourceLink`, `ResourceCategory`
|
|
68
|
-
|
|
69
|
-
**`@elevasis/ui`**
|
|
70
|
-
|
|
71
|
-
- `SystemModule`
|
|
72
|
-
- `SystemGuard`, `AdminGuard`, `ProtectedRoute`
|
|
73
|
-
- `ElevasisSystemsProvider`, `ElevasisCoreProvider`, `useElevasisSystems`
|
|
74
|
-
|
|
75
|
-
**External project source**
|
|
76
|
-
|
|
77
|
-
- `canonicalOrganizationModel`
|
|
78
|
-
- `organizationModel`
|
|
79
|
-
- workflow I/O schemas
|
|
60
|
+
|
|
61
|
+
## Package Boundary
|
|
62
|
+
|
|
63
|
+
**`@elevasis/core`**
|
|
64
|
+
|
|
65
|
+
- `OrganizationModel`, `OrganizationModelSystemEntry`
|
|
66
|
+
- `SystemEntry`, `ResourceEntry`
|
|
67
|
+
- `resolveOrganizationModel`, `defineOrganizationModel`, `DEFAULT_ORGANIZATION_MODEL`
|
|
68
|
+
- `MembershipFeatureConfig`
|
|
69
|
+
- `DeploymentSpec`, `ResourceLink`, `ResourceCategory`
|
|
70
|
+
|
|
71
|
+
**`@elevasis/ui`**
|
|
72
|
+
|
|
73
|
+
- `SystemModule`
|
|
74
|
+
- `SystemGuard`, `AdminGuard`, `ProtectedRoute`
|
|
75
|
+
- `ElevasisSystemsProvider`, `ElevasisCoreProvider`, `useElevasisSystems`
|
|
76
|
+
|
|
77
|
+
**External project source**
|
|
78
|
+
|
|
79
|
+
- `canonicalOrganizationModel`
|
|
80
|
+
- `organizationModel`
|
|
81
|
+
- workflow I/O schemas
|