@jarel/myskills 0.1.0-beta.5 → 0.1.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +45 -5
  2. package/dist/index.js +9761 -4009
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -27,12 +27,13 @@ Responsibilities:
27
27
  - support maintainer/admin workflows through role-gated API calls
28
28
  - enroll a personal Codex workspace and execute approved updates with an explicit companion command
29
29
  - inspect an explicitly selected local Codex profile with a read-only metadata observation or health report
30
+ - create a dry-run-only work/team bootstrap plan from explicit approved roots and skill selectors
30
31
 
31
32
  CLI tokens should be stored in the platform secret store where possible.
32
33
 
33
34
  ## Current Slice
34
35
 
35
- This document describes the beta.5 candidate. Use a CLI built from the same
36
+ This document describes the beta.6 CLI candidate. Use a CLI built from the same
36
37
  release as the registry for managed updates and Codex workspace commands. The
37
38
  beta.2 visibility compatibility shims remain available for existing clients.
38
39
  Source versions and npm publication are separate from hosted deployment; the
@@ -82,6 +83,7 @@ myskills config get api-url
82
83
  myskills config set api-url <url>
83
84
  myskills config reset api-url
84
85
  myskills config list
86
+ myskills bootstrap codex --dry-run --profile work --context <file> [--work-source-root <dir>] [--shared-source-root <dir>] --live-root <dir> --include-slug <slug> [--include-slug <slug>] --output <report.json>
85
87
  myskills submit --path <file-directory-or-zip> [--api-url <url>] [--token <token>]
86
88
  myskills review submissions [--api-url <url>] [--token <token>]
87
89
  myskills review bundle <submission-id> [--platform <name>] [--output <file>] [--api-url <url>] [--token <token>]
@@ -165,7 +167,7 @@ Those operations require the server's current-revision, organization-policy,
165
167
  membership, exact-release, limit, idempotency, and MFA checks. This CLI does
166
168
  not expose a second policy implementation or write command for them.
167
169
 
168
- ## Published And Candidate Channels
170
+ ## Published CLI And Local Builds
169
171
 
170
172
  The published beta channel is installed with:
171
173
 
@@ -175,9 +177,10 @@ myskills --version
175
177
  myskills login
176
178
  ```
177
179
 
178
- At the start of beta.5 delivery, npm's beta tag points to beta.4. Do not assume
179
- it includes these candidate commands. From this repository, build and run the
180
- candidate without publishing:
180
+ The expected candidate version is `0.1.0-beta.6`. It includes the beta.5 managed
181
+ update and personal Codex workspace commands plus the dry-run-only work/team
182
+ bootstrap planner. To test repository changes before release, build and run them
183
+ locally:
181
184
 
182
185
  ```bash
183
186
  npm ci
@@ -214,6 +217,43 @@ discarded.
214
217
 
215
218
  `config get api-url`, `config set api-url <url>`, `config reset api-url`, and `config list` manage the saved API URL. `doctor` checks the CLI version, Node version, resolved API URL, `/health`, auth status, token-store backend, install-directory writability, and `/v1/capabilities`. If the CLI is pointed at the web app instead of the API, or a newer command is sent to an older server, command errors include concrete next steps and `--json` returns structured error codes.
216
219
 
220
+ `bootstrap codex --dry-run` is a work/team-only local planner. It requires an
221
+ explicit `work` context, a normalized HTTPS target origin, stable target
222
+ instance/workspace/actor identifiers, explicit source and target trust
223
+ compartments (`work`, `shared`, or `work+shared` for sources, and `work-team`
224
+ for the target), typed `work` and/or `shared` source roots, a target root, and
225
+ a positive `--include-slug` allowlist. The context must approve the computed
226
+ source-root type/digests and target-root digest. Personal, consumer, public,
227
+ and unclassified sources are rejected, and candidates are never selected by
228
+ implicit inventory discovery. A plan accepts at most eight selected candidates;
229
+ each candidate snapshot accepts at most 1,000 entries and 32 nested directory
230
+ levels. A one-skill work-owned canary is supported.
231
+
232
+ The context JSON must include `profile: "work"`, `targetOrigin`,
233
+ `instanceId`, one `tenantId` or `workspaceId`, `actorId`, the canonical trust
234
+ compartments, `approvedSourceRoots` entries of `{type, identityDigest}`, and
235
+ `approvedTargetRootIdentityDigest`.
236
+
237
+ The planner reads selected source and target content without network or
238
+ registry access. It opens each selected tree through a bootstrap-owned secure
239
+ snapshot reader, then hashes, parses, scans, and reports only those held bytes.
240
+ It writes only the explicitly requested new private report (`0600`) under a
241
+ user-controlled private parent. Reserved package manifests remain strict:
242
+ invalid or multiple manifests fail closed, and no metadata is relocated. The
243
+ full report contains the work binding, approved root digests, owning package
244
+ contract identifiers, candidate content identities, execution identities, the
245
+ exact target precondition (`absent` or `present-identical` with its expected
246
+ artifact identity), and private snapshots. Terminal output is a redacted DTO
247
+ with counts and digests; it does not contain paths, candidate names, inventory,
248
+ or private identifiers.
249
+ There is no apply, publishing, adoption, or target-write mode in this command.
250
+ `ready` means that the held snapshot passed deterministic checks only. It is
251
+ not approval to apply. Sensitive configuration and credential paths are
252
+ excluded before content enters the report, and heuristic scan-clean never
253
+ replaces explicit human content review. Any future executor must repeat the
254
+ retained source/target identity check immediately before its first write
255
+ (compare-and-swap) and require that review at that boundary.
256
+
217
257
  `validate`, `scan`, and `submit` read one bounded snapshot of the local package.
218
258
  `submit` sends those same validated and scanned text entries for directory and
219
259
  ZIP inputs. Authors can inspect and withdraw submissions; maintainers fetch the