@medicine-wheel/developer-repository-mapping 0.27.14 → 0.27.16

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/README.md CHANGED
@@ -51,7 +51,7 @@ fails to parse. Exit codes: 0 done, 1 errors or a failed read, 2 usage error.
51
51
  Any git repository can keep what it provides in `.miadi/capabilities.jsonl`, committed with its code, so whoever clones it knows what it offers. Nothing else is needed: no account, no registry, no server.
52
52
 
53
53
  ```bash
54
- npx @medicine-wheel/developer-repository-mapping capabilities scan --write # in a clone: its packages, CLIs, skills and decisions
54
+ npx @medicine-wheel/developer-repository-mapping capabilities scan --write # in a clone: its packages, CLIs, skills, decisions and the apps its file names
55
55
  git add .miadi/capabilities.jsonl && git commit -m "what this repository provides"
56
56
 
57
57
  mw-repomap capabilities show <clone> # what a clone provides, from its own file first
@@ -66,9 +66,16 @@ A rescan keeps what a person wrote and leaves the file alone when nothing change
66
66
 
67
67
  ```bash
68
68
  mw-repomap capabilities state package/@acme/tool --realizes capability:publish-a-prototype --by Ava # which platform capability it serves
69
+ mw-repomap capabilities state package/@acme/tool --achieves "A team publishes a prototype in one step." --stage released --stage-grounding npm:@acme/tool@1.0.0 --issue acme/tool#12 --by Ava
70
+ mw-repomap capabilities state package/@acme/next "Plans the next release." --stage specified --specification rispecs/next.spec.md --by Ava # written down before any code provides it
71
+ mw-repomap capabilities state app/acme-review --path apps/review --stage prototype --stage-grounding apps/AGENTS.md \
72
+ --deployed-by "v0, on Vercel" --hosted-at https://acme-review.example.org --authored-in v0 \
73
+ --change "A v0 prompt in apps/prompts/." --hosting-grounding apps/AGENTS.md --episode miadi-chronicle://340 --by Ava # an application, where it runs and how a change reaches it
69
74
  ```
70
75
 
71
- The JSON Schema of a line ships at `schema/repository-capabilities.v1.schema.json`. The format and its rules are in `rispecs/developer-suite/repository-mapping/capabilities.spec.md` of jgwill/medicine-wheel.
76
+ An application (`app`) is never guessed: a person names its folder with `--path`, and the scan reads the `package.json` there at every commit while its name is the app's. `hosting` says where a capability runs, who deploys it, where its code is written when not in this repository (`authoredIn`: the copy here is replaced at the next import) and how a change reaches it; `episodes` names the chronicle episodes that hold it. `capabilities show` prints both.
77
+
78
+ The JSON Schema of a line ships at `schema/repository-capabilities.v3.schema.json` (format version 3 adds the `app` kind, `hosting` and `episodes`; version 2 adds `achieves`, `stage`, `specifications` and `issues`; a file is written at the lowest version its rows need, and `schema/repository-capabilities.v1.schema.json` and `…v2.schema.json` stay published). The format and its rules are in `rispecs/developer-suite/repository-mapping/capabilities.spec.md` of jgwill/medicine-wheel.
72
79
 
73
80
  ## Library
74
81
 
@@ -15,7 +15,7 @@
15
15
  * stays the same, so a file only changes when the repository did.
16
16
  */
17
17
  import { z } from 'zod';
18
- import { type CapabilityFacet } from '@medicine-wheel/capabilities';
18
+ import { type CapabilityFacet, type CapabilityStage } from '@medicine-wheel/capabilities';
19
19
  import type { MappingIssue } from './types';
20
20
  import { type Artefact, type CapabilityKind } from './capability-scan';
21
21
  /** Where a repository keeps it, relative to its root. */
@@ -23,8 +23,15 @@ export declare const CAPABILITY_FILE = ".miadi/capabilities.jsonl";
23
23
  export declare const CAPABILITY_FILE_SCHEMA = "medicine-wheel/repository-capabilities";
24
24
  /** `statedBy` of a row the scan wrote. Any other name is a person's, and a rescan keeps its words. */
25
25
  export declare const SCAN_AUTHOR = "mw-repomap scan";
26
- /** The format version this package writes. A reader takes a newer one and reads what it knows. */
27
- export declare const CAPABILITY_FILE_VERSION = 1;
26
+ /**
27
+ * The newest format version this package reads and writes. Version 2 adds what
28
+ * a capability achieves, its stage, its specifications and its issues. Version
29
+ * 3 adds the `app` kind, where a capability is hosted and the episodes that
30
+ * hold it (jgwill/medicine-wheel#177). A file is written at the lowest version
31
+ * its rows need, so a file that uses none of them stays byte for byte what an
32
+ * older writer wrote.
33
+ */
34
+ export declare const CAPABILITY_FILE_VERSION = 3;
28
35
  /**
29
36
  * `owner/name` as the reference grammar reads it in an address
30
37
  * (`miadi-capability://<owner>/<repo>/…`): letters, digits, `.`, `_` and `-`,
@@ -48,6 +55,22 @@ export declare const CapabilityFileHeaderSchema: z.ZodObject<{
48
55
  export type CapabilityFileHeader = z.infer<typeof CapabilityFileHeaderSchema>;
49
56
  /** A name the registry can give an id to: printable, at most 214 characters, with a letter or a digit. */
50
57
  export declare const CapabilityNameSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
58
+ /** A specification as a file names it: a path in this repository, a `rise://` address, or an `https://` URL. */
59
+ export declare const SpecificationInFileSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
60
+ /** The address a specification opens at: a path in the repository becomes `rise://<owner>/<name>/<path>`. */
61
+ export declare function specificationAddress(repository: string, specification: string): string;
62
+ /** The keys version 2 added to a row. A file whose rows hold none of them, and nothing of version 3, is written as version 1. */
63
+ export declare const CAPABILITY_FILE_V2_KEYS: readonly string[];
64
+ /** The keys version 3 added to a row. A file holding one of them, or an `app` row, is written as version 3. */
65
+ export declare const CAPABILITY_FILE_V3_KEYS: readonly string[];
66
+ /** The kinds version 3 added. */
67
+ export declare const CAPABILITY_FILE_V3_KINDS: readonly CapabilityKind[];
68
+ /** The package.json an `app` row is read from: the first of its files that is one. Undefined for any other kind. */
69
+ export declare function appManifestOf(row: Pick<CapabilityFileRow, 'kind' | 'grounding'>): string | undefined;
70
+ /** The package.json of an app folder, `.` the repository's root. Undefined for a folder outside the repository. */
71
+ export declare function appManifestIn(folder: string): string | undefined;
72
+ /** A row whose stage says no code is expected to provide it: not yet, or no longer. */
73
+ export declare function stagedWithoutCode(row: Pick<CapabilityFileRow, 'stage'>): boolean;
51
74
  /** The keys a row of this version holds. */
52
75
  export declare const CAPABILITY_FILE_ROW_KEYS: readonly string[];
53
76
  export declare const CapabilityFileRowSchema: z.ZodEffects<z.ZodObject<{
@@ -82,6 +105,69 @@ export declare const CapabilityFileRowSchema: z.ZodEffects<z.ZodObject<{
82
105
  statedBy: string;
83
106
  statedAt: string;
84
107
  }>, "many">>;
108
+ /** Version 2. What the capability achieves for someone, at most 55 words: said by a person or an agent, never by the scan. */
109
+ achieves: z.ZodOptional<z.ZodObject<{
110
+ statement: z.ZodIntersection<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
111
+ statedBy: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
112
+ statedAt: z.ZodEffects<z.ZodString, string, string>;
113
+ }, "strict", z.ZodTypeAny, {
114
+ statement: string;
115
+ statedBy: string;
116
+ statedAt: string;
117
+ }, {
118
+ statement: string;
119
+ statedBy: string;
120
+ statedAt: string;
121
+ }>>;
122
+ /** Version 2. Where the capability stands in its life, who said so, and from what. */
123
+ stage: z.ZodOptional<z.ZodObject<{
124
+ stage: z.ZodEnum<["specified", "prototype", "implementation", "released", "retired"]>;
125
+ statedBy: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
126
+ statedAt: z.ZodEffects<z.ZodString, string, string>;
127
+ grounding: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
128
+ }, "strict", z.ZodTypeAny, {
129
+ stage: "prototype" | "implementation" | "specified" | "released" | "retired";
130
+ statedBy: string;
131
+ statedAt: string;
132
+ grounding: string[];
133
+ }, {
134
+ stage: "prototype" | "implementation" | "specified" | "released" | "retired";
135
+ statedBy: string;
136
+ statedAt: string;
137
+ grounding: string[];
138
+ }>>;
139
+ /** Version 2. Its specifications: a path in this repository, a `rise://` address, or an `https://` URL. */
140
+ specifications: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, "many">>;
141
+ /** Version 2. The issues that track it, `owner/repo#n`. */
142
+ issues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
143
+ /** Version 3. Where it runs, who deploys it, where its code is written, how a change reaches it: said by a person or an agent, never by the scan. */
144
+ hosting: z.ZodOptional<z.ZodObject<{
145
+ urls: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, "many">>;
146
+ deployedBy: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
147
+ authoredIn: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
148
+ change: z.ZodOptional<z.ZodIntersection<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
149
+ statedBy: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
150
+ statedAt: z.ZodEffects<z.ZodString, string, string>;
151
+ grounding: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
152
+ }, "strict", z.ZodTypeAny, {
153
+ statedBy: string;
154
+ statedAt: string;
155
+ grounding: string[];
156
+ deployedBy: string;
157
+ urls?: string[] | undefined;
158
+ authoredIn?: string | undefined;
159
+ change?: string | undefined;
160
+ }, {
161
+ statedBy: string;
162
+ statedAt: string;
163
+ grounding: string[];
164
+ deployedBy: string;
165
+ urls?: string[] | undefined;
166
+ authoredIn?: string | undefined;
167
+ change?: string | undefined;
168
+ }>>;
169
+ /** Version 3. The chronicle episodes that hold it, `miadi-chronicle://<n>`. */
170
+ episodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
85
171
  }, "strict", z.ZodTypeAny, {
86
172
  name: string;
87
173
  revision: "pending" | "revised" | "affirmed";
@@ -98,6 +184,29 @@ export declare const CapabilityFileRowSchema: z.ZodEffects<z.ZodObject<{
98
184
  }[] | undefined;
99
185
  package?: string | undefined;
100
186
  statement?: string | undefined;
187
+ issues?: string[] | undefined;
188
+ achieves?: {
189
+ statement: string;
190
+ statedBy: string;
191
+ statedAt: string;
192
+ } | undefined;
193
+ stage?: {
194
+ stage: "prototype" | "implementation" | "specified" | "released" | "retired";
195
+ statedBy: string;
196
+ statedAt: string;
197
+ grounding: string[];
198
+ } | undefined;
199
+ specifications?: string[] | undefined;
200
+ hosting?: {
201
+ statedBy: string;
202
+ statedAt: string;
203
+ grounding: string[];
204
+ deployedBy: string;
205
+ urls?: string[] | undefined;
206
+ authoredIn?: string | undefined;
207
+ change?: string | undefined;
208
+ } | undefined;
209
+ episodes?: string[] | undefined;
101
210
  revisedBy?: string | undefined;
102
211
  revisedAt?: string | undefined;
103
212
  }, {
@@ -116,6 +225,29 @@ export declare const CapabilityFileRowSchema: z.ZodEffects<z.ZodObject<{
116
225
  }[] | undefined;
117
226
  package?: string | undefined;
118
227
  statement?: string | undefined;
228
+ issues?: string[] | undefined;
229
+ achieves?: {
230
+ statement: string;
231
+ statedBy: string;
232
+ statedAt: string;
233
+ } | undefined;
234
+ stage?: {
235
+ stage: "prototype" | "implementation" | "specified" | "released" | "retired";
236
+ statedBy: string;
237
+ statedAt: string;
238
+ grounding: string[];
239
+ } | undefined;
240
+ specifications?: string[] | undefined;
241
+ hosting?: {
242
+ statedBy: string;
243
+ statedAt: string;
244
+ grounding: string[];
245
+ deployedBy: string;
246
+ urls?: string[] | undefined;
247
+ authoredIn?: string | undefined;
248
+ change?: string | undefined;
249
+ } | undefined;
250
+ episodes?: string[] | undefined;
119
251
  revisedBy?: string | undefined;
120
252
  revisedAt?: string | undefined;
121
253
  }>, {
@@ -134,6 +266,29 @@ export declare const CapabilityFileRowSchema: z.ZodEffects<z.ZodObject<{
134
266
  }[] | undefined;
135
267
  package?: string | undefined;
136
268
  statement?: string | undefined;
269
+ issues?: string[] | undefined;
270
+ achieves?: {
271
+ statement: string;
272
+ statedBy: string;
273
+ statedAt: string;
274
+ } | undefined;
275
+ stage?: {
276
+ stage: "prototype" | "implementation" | "specified" | "released" | "retired";
277
+ statedBy: string;
278
+ statedAt: string;
279
+ grounding: string[];
280
+ } | undefined;
281
+ specifications?: string[] | undefined;
282
+ hosting?: {
283
+ statedBy: string;
284
+ statedAt: string;
285
+ grounding: string[];
286
+ deployedBy: string;
287
+ urls?: string[] | undefined;
288
+ authoredIn?: string | undefined;
289
+ change?: string | undefined;
290
+ } | undefined;
291
+ episodes?: string[] | undefined;
137
292
  revisedBy?: string | undefined;
138
293
  revisedAt?: string | undefined;
139
294
  }, {
@@ -152,6 +307,29 @@ export declare const CapabilityFileRowSchema: z.ZodEffects<z.ZodObject<{
152
307
  }[] | undefined;
153
308
  package?: string | undefined;
154
309
  statement?: string | undefined;
310
+ issues?: string[] | undefined;
311
+ achieves?: {
312
+ statement: string;
313
+ statedBy: string;
314
+ statedAt: string;
315
+ } | undefined;
316
+ stage?: {
317
+ stage: "prototype" | "implementation" | "specified" | "released" | "retired";
318
+ statedBy: string;
319
+ statedAt: string;
320
+ grounding: string[];
321
+ } | undefined;
322
+ specifications?: string[] | undefined;
323
+ hosting?: {
324
+ statedBy: string;
325
+ statedAt: string;
326
+ grounding: string[];
327
+ deployedBy: string;
328
+ urls?: string[] | undefined;
329
+ authoredIn?: string | undefined;
330
+ change?: string | undefined;
331
+ } | undefined;
332
+ episodes?: string[] | undefined;
155
333
  revisedBy?: string | undefined;
156
334
  revisedAt?: string | undefined;
157
335
  }>;
@@ -187,7 +365,7 @@ export interface CapabilityFileMerge {
187
365
  removed: string[];
188
366
  /** Rows whose text or files changed. */
189
367
  changed: string[];
190
- /** Rows a person wrote, or that carry what a person said they realize, that this scan does not find: kept, and said. */
368
+ /** Rows a person wrote, or that carry what a person said of them (what they realize or achieve, their stage, specifications, issues, hosting or episodes), that this scan does not find: kept, and said. */
191
369
  keptByPerson: string[];
192
370
  }
193
371
  /**
@@ -219,6 +397,34 @@ export interface CapabilityStatementInput {
219
397
  statement?: string;
220
398
  /** The platform capabilities it serves, `capability:<slug>`; each one not yet held is added, said by `by` at `at`. */
221
399
  realizes?: string[];
400
+ /** What it achieves for someone, at most 55 words, said by `by` at `at`. Replaces what was said before. */
401
+ achieves?: string;
402
+ /** Where it stands, said by `by` at `at`. Replaces the stage held before. */
403
+ stage?: CapabilityStage;
404
+ /** What shows the stage. Without it, the specifications given with it are its grounding. */
405
+ stageGrounding?: string[];
406
+ /** Specifications to add: a path in this repository, `rise://<owner>/<repo>/<path>`, or an `https://` URL. */
407
+ specifications?: string[];
408
+ /** Issues to add, `owner/repo#n`. */
409
+ issues?: string[];
410
+ /** For an `app`: its folder in the repository, `.` the root. With it, an app the file does not hold yet is added at any stage. */
411
+ path?: string;
412
+ /** Where it is hosted, said by `by` at `at`. Replaces the hosting held before. */
413
+ hosting?: {
414
+ urls?: string[];
415
+ deployedBy: string;
416
+ authoredIn?: string;
417
+ change?: string;
418
+ grounding: string[];
419
+ };
420
+ /** Episodes to add, `miadi-chronicle://<n>`. */
421
+ episodes?: string[];
422
+ /**
423
+ * The file's repository, `owner/name`. With it, a capability the file does not
424
+ * hold yet is added when it is stated at stage `specified`: a capability can be
425
+ * written down before any code provides it.
426
+ */
427
+ repository?: string;
222
428
  }
223
429
  /** What a person gave `capabilities state` cannot be written: no such row, or words or names the file does not hold. */
224
430
  export declare class CapabilityInputError extends Error {
@@ -1 +1 @@
1
- {"version":3,"file":"capability-file.d.ts","sourceRoot":"","sources":["../src/capability-file.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAOL,KAAK,eAAe,EACrB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAQL,KAAK,QAAQ,EACb,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAC;AAE3B,yDAAyD;AACzD,eAAO,MAAM,eAAe,8BAA8B,CAAC;AAC3D,eAAO,MAAM,sBAAsB,2CAA2C,CAAC;AAC/E,sGAAsG;AACtG,eAAO,MAAM,WAAW,oBAAoB,CAAC;AAE7C,kGAAkG;AAClG,eAA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