@miadi/episodic-memory-schema 0.6.1 → 0.6.2
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/observation.d.ts +44 -2
- package/dist/observation.d.ts.map +1 -1
- package/dist/observation.js +58 -2
- package/dist/observation.js.map +1 -1
- package/package.json +1 -1
package/dist/observation.d.ts
CHANGED
|
@@ -35,8 +35,17 @@ export declare function isArtifactKind(value: unknown): value is ArtifactKind;
|
|
|
35
35
|
* `captured` is unrepeatable: a device, an instant, one chance. A take that is
|
|
36
36
|
* deleted is gone, because the moment it recorded will not happen twice.
|
|
37
37
|
* `derived` is regenerable from something else that is still held — a
|
|
38
|
-
* transcript, a rendered mix, a thumbnail. `authored` was
|
|
39
|
-
*
|
|
38
|
+
* transcript, a rendered mix, a thumbnail. `authored` was WRITTEN rather than
|
|
39
|
+
* captured or generated — composed here by a person or an agent, or written
|
|
40
|
+
* elsewhere and brought in: an `.abc` melody, a downloaded deep-search markdown,
|
|
41
|
+
* an imported doc.
|
|
42
|
+
*
|
|
43
|
+
* The "brought in" half used to be the whole definition, and that was too narrow
|
|
44
|
+
* in the direction that mattered most. Composing a melody in this repository
|
|
45
|
+
* produces a file that is not `captured` (no device, no instant) and not
|
|
46
|
+
* `derived` (made from no other artifact) — so under the old wording the very
|
|
47
|
+
* thing this platform exists to make had no origin it could honestly claim.
|
|
48
|
+
* Found 2026-07-31 by writing one.
|
|
40
49
|
*
|
|
41
50
|
* Flattening these three loses the only property that distinguishes an
|
|
42
51
|
* irreplaceable recording from a file that can be rebuilt on demand.
|
|
@@ -77,6 +86,39 @@ export interface CaptureProvenance {
|
|
|
77
86
|
/** Size of the finished file in bytes. */
|
|
78
87
|
bytes?: number;
|
|
79
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* What may be rebuilt, and what may never be.
|
|
91
|
+
*
|
|
92
|
+
* THREE states, never a boolean, and the third one is the point. `unknown` is
|
|
93
|
+
* what an artifact with no recorded `origin` must report — the *provenance
|
|
94
|
+
* incomplete* state. A boolean forces that case into one bucket or the other,
|
|
95
|
+
* and whichever way it falls it lies: `false` refuses to clean up things that
|
|
96
|
+
* are fine, and `true` marks an unrepeatable take as safe to delete. Absence of
|
|
97
|
+
* evidence is its own answer here and has to survive being read.
|
|
98
|
+
*/
|
|
99
|
+
export declare const ARTIFACT_REPLACEABILITY: readonly ["irreplaceable", "regenerable", "unknown"];
|
|
100
|
+
export type ArtifactReplaceability = (typeof ARTIFACT_REPLACEABILITY)[number];
|
|
101
|
+
/**
|
|
102
|
+
* Whether one leaf may be rebuilt. Pure and local — it reads the artifact it is
|
|
103
|
+
* given and performs no walk; a SET's answer is computed by walking members and
|
|
104
|
+
* `sourceArtifact` edges, and any member reporting `unknown` makes the whole set
|
|
105
|
+
* `unknown` rather than the optimistic answer.
|
|
106
|
+
*
|
|
107
|
+
* - `captured` is irreplaceable, always. A device, an instant, one chance.
|
|
108
|
+
* - `authored` is irreplaceable UNLESS it names a `sourceArtifact` — an authored
|
|
109
|
+
* file that was brought in from something still held can be brought in again;
|
|
110
|
+
* one composed here cannot.
|
|
111
|
+
* - `derived` is regenerable, which is the whole meaning of the word.
|
|
112
|
+
* - Absent origin is `unknown`. Never guess it from the file extension.
|
|
113
|
+
*
|
|
114
|
+
* Written 2026-07-31 after composing a melody exposed the hole. The rule this
|
|
115
|
+
* platform had adopted — "a set is unrepeatable exactly when it transitively
|
|
116
|
+
* contains a `captured` leaf" — walks a melody folder, finds an `.abc` and its
|
|
117
|
+
* renders, counts zero captured leaves, and reports the set safe to regenerate.
|
|
118
|
+
* The `.abc` is the only thing in it that cannot be remade. The rule was right
|
|
119
|
+
* about recordings and exactly wrong about the composed work this exists for.
|
|
120
|
+
*/
|
|
121
|
+
export declare function artifactReplaceability(artifact: Pick<ArtifactReference, "origin" | "sourceArtifact">): ArtifactReplaceability;
|
|
80
122
|
export interface ArtifactReference {
|
|
81
123
|
id: string;
|
|
82
124
|
kind: ArtifactKind;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observation.d.ts","sourceRoot":"","sources":["../src/observation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,iBAAiB,GACzB,oBAAoB,GACpB,WAAW,GACX,oBAAoB,CAAA;AAExB,MAAM,MAAM,mBAAmB,GAC3B,kBAAkB,GAClB,cAAc,GACd,oBAAoB,GACpB,iBAAiB,CAAA;AAErB,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,mBAAmB,CAAA;IAC3B,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IAClD,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,6EAQhB,CAAA;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA;AAE1D,6DAA6D;AAC7D,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,YAAY,CAEpE;AAED
|
|
1
|
+
{"version":3,"file":"observation.d.ts","sourceRoot":"","sources":["../src/observation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,iBAAiB,GACzB,oBAAoB,GACpB,WAAW,GACX,oBAAoB,CAAA;AAExB,MAAM,MAAM,mBAAmB,GAC3B,kBAAkB,GAClB,cAAc,GACd,oBAAoB,GACpB,iBAAiB,CAAA;AAErB,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,mBAAmB,CAAA;IAC3B,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IAClD,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;;;;;;;;GASG;AACH,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AC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAA;IACtC,WAAW,EAAE,uBAAuB,EAAE,CAAA;IACtC,0DAA0D;IAC1D,OAAO,CAAC,EAAE,0BAA0B,CAAA;IACpC,wEAAwE;IACxE,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACxC;AAED,MAAM,WAAW,iCAAiC;IAChD,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,oBAAoB,CAAA;CAC5B;AAED,MAAM,WAAW,iCAAiC;IAChD,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,WAAW,CAAA;CACnB;AAED,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,WAAW,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,SAAS,CAAC,MAAM,GAAG,qBAAqB,CAAC,EAAE,CAAA;CACrD;AAED,MAAM,WAAW,8BAA8B;IAC7C,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,WAAW,CAAA;CACnB"}
|
package/dist/observation.js
CHANGED
|
@@ -34,8 +34,17 @@ export function isArtifactKind(value) {
|
|
|
34
34
|
* `captured` is unrepeatable: a device, an instant, one chance. A take that is
|
|
35
35
|
* deleted is gone, because the moment it recorded will not happen twice.
|
|
36
36
|
* `derived` is regenerable from something else that is still held — a
|
|
37
|
-
* transcript, a rendered mix, a thumbnail. `authored` was
|
|
38
|
-
*
|
|
37
|
+
* transcript, a rendered mix, a thumbnail. `authored` was WRITTEN rather than
|
|
38
|
+
* captured or generated — composed here by a person or an agent, or written
|
|
39
|
+
* elsewhere and brought in: an `.abc` melody, a downloaded deep-search markdown,
|
|
40
|
+
* an imported doc.
|
|
41
|
+
*
|
|
42
|
+
* The "brought in" half used to be the whole definition, and that was too narrow
|
|
43
|
+
* in the direction that mattered most. Composing a melody in this repository
|
|
44
|
+
* produces a file that is not `captured` (no device, no instant) and not
|
|
45
|
+
* `derived` (made from no other artifact) — so under the old wording the very
|
|
46
|
+
* thing this platform exists to make had no origin it could honestly claim.
|
|
47
|
+
* Found 2026-07-31 by writing one.
|
|
39
48
|
*
|
|
40
49
|
* Flattening these three loses the only property that distinguishes an
|
|
41
50
|
* irreplaceable recording from a file that can be rebuilt on demand.
|
|
@@ -52,6 +61,53 @@ export const ARTIFACT_ORIGINS = Object.freeze(["captured", "derived", "authored"
|
|
|
52
61
|
export function isArtifactOrigin(value) {
|
|
53
62
|
return typeof value === "string" && ARTIFACT_ORIGINS.includes(value);
|
|
54
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* What may be rebuilt, and what may never be.
|
|
66
|
+
*
|
|
67
|
+
* THREE states, never a boolean, and the third one is the point. `unknown` is
|
|
68
|
+
* what an artifact with no recorded `origin` must report — the *provenance
|
|
69
|
+
* incomplete* state. A boolean forces that case into one bucket or the other,
|
|
70
|
+
* and whichever way it falls it lies: `false` refuses to clean up things that
|
|
71
|
+
* are fine, and `true` marks an unrepeatable take as safe to delete. Absence of
|
|
72
|
+
* evidence is its own answer here and has to survive being read.
|
|
73
|
+
*/
|
|
74
|
+
export const ARTIFACT_REPLACEABILITY = Object.freeze([
|
|
75
|
+
"irreplaceable",
|
|
76
|
+
"regenerable",
|
|
77
|
+
"unknown",
|
|
78
|
+
]);
|
|
79
|
+
/**
|
|
80
|
+
* Whether one leaf may be rebuilt. Pure and local — it reads the artifact it is
|
|
81
|
+
* given and performs no walk; a SET's answer is computed by walking members and
|
|
82
|
+
* `sourceArtifact` edges, and any member reporting `unknown` makes the whole set
|
|
83
|
+
* `unknown` rather than the optimistic answer.
|
|
84
|
+
*
|
|
85
|
+
* - `captured` is irreplaceable, always. A device, an instant, one chance.
|
|
86
|
+
* - `authored` is irreplaceable UNLESS it names a `sourceArtifact` — an authored
|
|
87
|
+
* file that was brought in from something still held can be brought in again;
|
|
88
|
+
* one composed here cannot.
|
|
89
|
+
* - `derived` is regenerable, which is the whole meaning of the word.
|
|
90
|
+
* - Absent origin is `unknown`. Never guess it from the file extension.
|
|
91
|
+
*
|
|
92
|
+
* Written 2026-07-31 after composing a melody exposed the hole. The rule this
|
|
93
|
+
* platform had adopted — "a set is unrepeatable exactly when it transitively
|
|
94
|
+
* contains a `captured` leaf" — walks a melody folder, finds an `.abc` and its
|
|
95
|
+
* renders, counts zero captured leaves, and reports the set safe to regenerate.
|
|
96
|
+
* The `.abc` is the only thing in it that cannot be remade. The rule was right
|
|
97
|
+
* about recordings and exactly wrong about the composed work this exists for.
|
|
98
|
+
*/
|
|
99
|
+
export function artifactReplaceability(artifact) {
|
|
100
|
+
switch (artifact.origin) {
|
|
101
|
+
case "captured":
|
|
102
|
+
return "irreplaceable";
|
|
103
|
+
case "derived":
|
|
104
|
+
return "regenerable";
|
|
105
|
+
case "authored":
|
|
106
|
+
return artifact.sourceArtifact ? "regenerable" : "irreplaceable";
|
|
107
|
+
default:
|
|
108
|
+
return "unknown";
|
|
109
|
+
}
|
|
110
|
+
}
|
|
55
111
|
/**
|
|
56
112
|
* What a set gathers.
|
|
57
113
|
*
|
package/dist/observation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observation.js","sourceRoot":"","sources":["../src/observation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAuBH;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC;IAC1C,OAAO;IACP,YAAY;IACZ,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;CACC,CAAC,CAAA;AAIX,6DAA6D;AAC7D,MAAM,UAAU,cAAc,CAAC,KAAc;IAC3C,OA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AAa,CAAC,CAAC,CAAC,eAAe,CAAA;QAClE;YACE,OAAO,SAAS,CAAA;IACpB,CAAC;AACH,CAAC;AA6BD;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC9C,SAAS;IACT,aAAa;IACb,SAAS;IACT,QAAQ;IACR,MAAM;IACN,OAAO;CACC,CAAC,CAAA;AAIX,gEAAgE;AAChE,MAAM,UAAU,iBAAiB,CAAC,KAAc;IAC9C,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAK,kBAAwC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AAC/F,CAAC;AA+CD;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,SAAS,CAAU,CAAC,CAAA;AAIvF,qEAAqE;AACrE,MAAM,UAAU,sBAAsB,CAAC,KAAc;IACnD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAK,uBAA6C,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AACpG,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,MAAM,CAAC,MAAM,CAAC;IAC1D,SAAS;IACT,aAAa;IACb,QAAQ;IACR,MAAM;IACN,cAAc;IACd,UAAU;CACF,CAAC,CAAA;AAIX,2EAA2E;AAC3E,MAAM,UAAU,4BAA4B,CAC1C,KAAc;IAEd,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ;QACxB,8BAAoD,CAAC,QAAQ,CAAC,KAAK,CAAC,CACtE,CAAA;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miadi/episodic-memory-schema",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "TypeScript types and JSON Schema for episodic memory — the durable session-to-session memory layer in the Miadi orchestration kit. Narrative layer is NCP-aligned; provenance layer is W3C PROV-DM and OAIS-informed.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"miadi",
|