@rizom/ops 0.2.0-alpha.318 → 0.2.0-alpha.319

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.
@@ -76,6 +76,7 @@ export interface ResolvedUserIdentity {
76
76
  handle: string;
77
77
  cohort: string;
78
78
  brainVersion: string;
79
+ bundleContract: PilotConfig["bundleContract"];
79
80
  bundles: CanonicalBundleId[];
80
81
  add: string[];
81
82
  remove: string[];
package/dist/schema.d.ts CHANGED
@@ -3,10 +3,16 @@ export declare const exactVersionSchema: z.ZodString;
3
3
  export declare const handleSchema: z.ZodString;
4
4
  export declare const secretNameSchema: z.ZodString;
5
5
  export declare const agePublicKeySchema: z.ZodString;
6
+ export declare const CAPABILITY_BUNDLE_CONTRACT: "capability-bundles-v1";
6
7
  export declare const canonicalBundleIdSchema: z.ZodEnum<{
7
8
  core: "core";
9
+ media: "media";
10
+ automation: "automation";
11
+ web: "web";
12
+ chat: "chat";
8
13
  site: "site";
9
14
  publishing: "publishing";
15
+ federation: "federation";
10
16
  team: "team";
11
17
  }>;
12
18
  export type CanonicalBundleId = z.output<typeof canonicalBundleIdSchema>;
@@ -24,6 +30,7 @@ export declare const profileKindSchema: z.ZodEnum<{
24
30
  }>;
25
31
  export interface PilotConfig {
26
32
  brainVersion: string;
33
+ bundleContract: typeof CAPABILITY_BUNDLE_CONTRACT;
27
34
  bundles: CanonicalBundleId[];
28
35
  add?: string[] | undefined;
29
36
  remove?: string[] | undefined;
@@ -1,3 +1,4 @@
1
+ import { type CapabilityBundleReview } from "./capability-bundle-migration";
1
2
  import { type SiteOverrideConfig } from "./schema";
2
3
  export interface StagedCrossover {
3
4
  outputDir: string;
@@ -9,9 +10,11 @@ interface ReviewedSitePinManifest {
9
10
  export type ReviewedSitePins = ReviewedSitePinManifest["sites"];
10
11
  export interface StageLegacyCrossoverOptions {
11
12
  sitePins?: ReviewedSitePins | undefined;
13
+ bundleReview?: CapabilityBundleReview | undefined;
12
14
  }
13
15
  export declare function parseReviewedSitePins(input: string): ReviewedSitePins;
14
16
  export declare function loadReviewedSitePins(filePath: string): Promise<ReviewedSitePins>;
17
+ export declare function loadCapabilityBundleReview(filePath: string): Promise<CapabilityBundleReview>;
15
18
  /**
16
19
  * Build a complete review copy without mutating the source repository.
17
20
  * This is offline migration tooling; active desired-state loading is canonical-only.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rizom/ops",
3
- "version": "0.2.0-alpha.318",
3
+ "version": "0.2.0-alpha.319",
4
4
  "description": "Operator CLI for managing private brain fleet registry repos",
5
5
  "keywords": [
6
6
  "brains",
@@ -21,6 +21,7 @@ Do not include secret values, private keys, access tokens, or decrypted user con
21
21
  - Canonical review commit:
22
22
  - Secret-free review diff SHA-256:
23
23
  - Identity-review evidence SHA-256:
24
+ - Reviewed source-to-target bundle manifest SHA-256:
24
25
  - Reviewed hosted-site pin manifest SHA-256:
25
26
  - Source and review worktrees clean:
26
27
 
@@ -64,6 +65,8 @@ Record every image. Tags alone are not immutable evidence.
64
65
  - Secret selector names and encrypted secret artifacts unchanged:
65
66
  - Per-user runtime-version and site-package tag inputs reviewed:
66
67
  - No plaintext source secrets copied into the review artifact:
68
+ - Every generated config declares `bundleContract: capability-bundles-v1`:
69
+ - Pilot and explicit cohort source selections exactly matched the reviewed manifest:
67
70
  - No removed model, preset, or old-format schema discriminator remains:
68
71
  - Every external hosted site and theme package has an exact reviewed pin:
69
72
 
@@ -1,9 +1,13 @@
1
1
  brainVersion: 0.1.1-alpha.14
2
+ bundleContract: capability-bundles-v1
2
3
  githubOrg: <github-org>
3
4
  contentRepoPrefix: rover-
4
5
  domainSuffix: .rizom.ai
5
6
  bundles:
6
7
  - core
8
+ - media
9
+ - web
10
+ - chat
7
11
  aiApiKey: AI_API_KEY
8
12
  gitSyncToken: GIT_SYNC_TOKEN
9
13
  contentRepoAdminToken: CONTENT_REPO_ADMIN_TOKEN