@dsh-ray/assistant-growth-contract 0.0.1-seed.0 → 0.2.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/LICENSE +21 -0
- package/README.md +68 -1
- package/lib/automation.d.ts +21 -0
- package/lib/automation.d.ts.map +1 -0
- package/lib/automation.js +336 -0
- package/lib/automation.js.map +1 -0
- package/lib/canonical.d.ts +44 -0
- package/lib/canonical.d.ts.map +1 -0
- package/lib/canonical.js +541 -0
- package/lib/canonical.js.map +1 -0
- package/lib/creation-verification.d.ts +111 -0
- package/lib/creation-verification.d.ts.map +1 -0
- package/lib/creation-verification.js +150 -0
- package/lib/creation-verification.js.map +1 -0
- package/lib/index.d.ts +16 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +16 -0
- package/lib/index.js.map +1 -0
- package/lib/memory-learning.d.ts +91 -0
- package/lib/memory-learning.d.ts.map +1 -0
- package/lib/memory-learning.js +162 -0
- package/lib/memory-learning.js.map +1 -0
- package/lib/native-model-messages.d.ts +11 -0
- package/lib/native-model-messages.d.ts.map +1 -0
- package/lib/native-model-messages.js +39 -0
- package/lib/native-model-messages.js.map +1 -0
- package/lib/plugin-protection.d.ts +28 -0
- package/lib/plugin-protection.d.ts.map +1 -0
- package/lib/plugin-protection.js +77 -0
- package/lib/plugin-protection.js.map +1 -0
- package/lib/preferences.d.ts +13 -0
- package/lib/preferences.d.ts.map +1 -0
- package/lib/preferences.js +19 -0
- package/lib/preferences.js.map +1 -0
- package/lib/promotion.d.ts +192 -0
- package/lib/promotion.d.ts.map +1 -0
- package/lib/promotion.js +442 -0
- package/lib/promotion.js.map +1 -0
- package/lib/revision-benefit.d.ts +106 -0
- package/lib/revision-benefit.d.ts.map +1 -0
- package/lib/revision-benefit.js +135 -0
- package/lib/revision-benefit.js.map +1 -0
- package/lib/revision-regression.d.ts +83 -0
- package/lib/revision-regression.d.ts.map +1 -0
- package/lib/revision-regression.js +169 -0
- package/lib/revision-regression.js.map +1 -0
- package/lib/revision-verification.d.ts +80 -0
- package/lib/revision-verification.d.ts.map +1 -0
- package/lib/revision-verification.js +114 -0
- package/lib/revision-verification.js.map +1 -0
- package/lib/source-owner.d.ts +17 -0
- package/lib/source-owner.d.ts.map +1 -0
- package/lib/source-owner.js +19 -0
- package/lib/source-owner.js.map +1 -0
- package/lib/source-run.d.ts +190 -0
- package/lib/source-run.d.ts.map +1 -0
- package/lib/source-run.js +410 -0
- package/lib/source-run.js.map +1 -0
- package/lib/types.d.ts +246 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +26 -0
- package/lib/types.js.map +1 -0
- package/lib/version.d.ts +2 -0
- package/lib/version.d.ts.map +1 -0
- package/lib/version.js +2 -0
- package/lib/version.js.map +1 -0
- package/package.json +37 -4
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { isGrowthRecord } from './canonical.js';
|
|
2
|
+
function hasKeys(value, keys) {
|
|
3
|
+
const actual = Object.keys(value);
|
|
4
|
+
return actual.length === keys.length && keys.every(key => Object.hasOwn(value, key));
|
|
5
|
+
}
|
|
6
|
+
function isTextMessage(value, role, text) {
|
|
7
|
+
if (!isGrowthRecord(value) || value.role !== role || !Array.isArray(value.content) || value.content.length !== 1)
|
|
8
|
+
return false;
|
|
9
|
+
const block = value.content[0];
|
|
10
|
+
return isGrowthRecord(block) && hasKeys(block, ['type', 'text']) && block.type === 'text' && block.text === text;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Match the model-facing messages of one isolated, tool-free native Agent turn.
|
|
14
|
+
* The pinned DSH AgentLoop may append its required working-directory snapshot;
|
|
15
|
+
* no other runtime context, extra message, or changed prompt is admitted.
|
|
16
|
+
*/
|
|
17
|
+
export function matchesIsolatedModelMessages(messages, expected) {
|
|
18
|
+
if (!Array.isArray(messages) || ![2, 3].includes(messages.length)
|
|
19
|
+
|| !isTextMessage(messages[0], 'system', expected.system)
|
|
20
|
+
|| !isTextMessage(messages[1], 'user', expected.user))
|
|
21
|
+
return false;
|
|
22
|
+
if (messages.length === 2)
|
|
23
|
+
return true;
|
|
24
|
+
const contextText = `Current working directory: ${JSON.stringify(expected.workspace)}.`;
|
|
25
|
+
const escapedContextText = contextText.replace(/<\/system-reminder\s*>/giu, tag => `<\\${tag.slice(1)}`);
|
|
26
|
+
const runtime = messages[2];
|
|
27
|
+
if (!isTextMessage(runtime, 'user', `<system-reminder>\nThe following information describes your current session:\n\n${escapedContextText}\n</system-reminder>`)
|
|
28
|
+
|| !isGrowthRecord(runtime))
|
|
29
|
+
return false;
|
|
30
|
+
const source = runtime.source;
|
|
31
|
+
if (!isGrowthRecord(source) || !hasKeys(source, ['kind', 'form', 'sections'])
|
|
32
|
+
|| source.kind !== 'runtime-context' || source.form !== 'snapshot'
|
|
33
|
+
|| !Array.isArray(source.sections) || source.sections.length !== 1)
|
|
34
|
+
return false;
|
|
35
|
+
const section = source.sections[0];
|
|
36
|
+
return isGrowthRecord(section) && hasKeys(section, ['name', 'text'])
|
|
37
|
+
&& section.name === 'working-directory:current' && section.text === contextText;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=native-model-messages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"native-model-messages.js","sourceRoot":"","sources":["../src/native-model-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C,SAAS,OAAO,CAAC,KAAwC,EAAE,IAAuB;IAChF,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACjC,OAAO,MAAM,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAA;AACtF,CAAC;AAED,SAAS,aAAa,CAAC,KAAc,EAAE,IAAuB,EAAE,IAAY;IAC1E,IAAI,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C,CAAC,CAAA;IAC3B,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,MAAM,EAChC,mFAAmF,kBAAkB,sBAAsB,CAAC;WACzH,CAAC,cAAc,CAAC,OAAO,CAAC;QAAE,OAAO,KAAK,CAAA;IAC3C,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;IAC7B,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;WACxE,MAAM,CAAC,IAAI,KAAK,iBAAiB,IAAI,MAAM,CAAC,IAAI,KAAK,UAAU;WAC/D,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAA;IAClF,MAAM,OAAO,GAAY,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;IAC3C,OAAO,cAAc,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;WAC/D,OAAO,CAAC,IAAI,KAAK,2BAA2B,IAAI,OAAO,CAAC,IAAI,KAAK,WAAW,CAAA;AACnF,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single source of truth for the two protected-plugin trust boundaries.
|
|
3
|
+
*
|
|
4
|
+
* This module lives inside the inert growth-contract package because that
|
|
5
|
+
* package is already part of the sealed RSI bootstrap dependency closure
|
|
6
|
+
* (plugin-control-plane + assistant-growth-contract). Introducing a third
|
|
7
|
+
* runtime package into the control-plane dependency graph would break the
|
|
8
|
+
* sealed manifest validation in rsi-authority-runtime, which bounds and
|
|
9
|
+
* audits exactly those two packages.
|
|
10
|
+
*
|
|
11
|
+
* `MODEL_PROPOSAL_PROTECTED_PLUGINS` (25 names) is the growth-proposal
|
|
12
|
+
* boundary: plugins the growth model may never read targets for, read source
|
|
13
|
+
* of, or prepare modify/revision proposals against. Both defence layers
|
|
14
|
+
* (growth-driver allowlist and control-plane worktree gate) consume it.
|
|
15
|
+
*
|
|
16
|
+
* `OWNER_REPAIR_PROTECTED_PLUGINS` (12 immutable safety roots) is the strict
|
|
17
|
+
* subset that also excludes plugins from the owner source-repair channel and
|
|
18
|
+
* its signature authorities. Governance machinery added later (growth-driver,
|
|
19
|
+
* recovery, evolution, …) must stay repairable by the owner channel, so it
|
|
20
|
+
* joins only the model-proposal set.
|
|
21
|
+
*
|
|
22
|
+
* Plain data only: no bundle, no services, no I/O.
|
|
23
|
+
*/
|
|
24
|
+
export declare const MODEL_PROPOSAL_PROTECTED_PLUGINS: ReadonlySet<string>;
|
|
25
|
+
/** Immutable safety roots excluded even from the owner source-repair channel. */
|
|
26
|
+
export declare const OWNER_REPAIR_PROTECTED_PLUGINS: ReadonlySet<string>;
|
|
27
|
+
export declare function assertProtectedSetsConsistent(): void;
|
|
28
|
+
//# sourceMappingURL=plugin-protection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-protection.d.ts","sourceRoot":"","sources":["../src/plugin-protection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,eAAO,MAAM,gCAAgC,EAAE,WAAW,CAAC,MAAM,CA0B/D,CAAA;AAEF,iFAAiF;AACjF,eAAO,MAAM,8BAA8B,EAAE,WAAW,CAAC,MAAM,CAa7D,CAAA;AAEF,wBAAgB,6BAA6B,IAAI,IAAI,CASpD"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single source of truth for the two protected-plugin trust boundaries.
|
|
3
|
+
*
|
|
4
|
+
* This module lives inside the inert growth-contract package because that
|
|
5
|
+
* package is already part of the sealed RSI bootstrap dependency closure
|
|
6
|
+
* (plugin-control-plane + assistant-growth-contract). Introducing a third
|
|
7
|
+
* runtime package into the control-plane dependency graph would break the
|
|
8
|
+
* sealed manifest validation in rsi-authority-runtime, which bounds and
|
|
9
|
+
* audits exactly those two packages.
|
|
10
|
+
*
|
|
11
|
+
* `MODEL_PROPOSAL_PROTECTED_PLUGINS` (25 names) is the growth-proposal
|
|
12
|
+
* boundary: plugins the growth model may never read targets for, read source
|
|
13
|
+
* of, or prepare modify/revision proposals against. Both defence layers
|
|
14
|
+
* (growth-driver allowlist and control-plane worktree gate) consume it.
|
|
15
|
+
*
|
|
16
|
+
* `OWNER_REPAIR_PROTECTED_PLUGINS` (12 immutable safety roots) is the strict
|
|
17
|
+
* subset that also excludes plugins from the owner source-repair channel and
|
|
18
|
+
* its signature authorities. Governance machinery added later (growth-driver,
|
|
19
|
+
* recovery, evolution, …) must stay repairable by the owner channel, so it
|
|
20
|
+
* joins only the model-proposal set.
|
|
21
|
+
*
|
|
22
|
+
* Plain data only: no bundle, no services, no I/O.
|
|
23
|
+
*/
|
|
24
|
+
export const MODEL_PROPOSAL_PROTECTED_PLUGINS = new Set([
|
|
25
|
+
'assistant-delivery',
|
|
26
|
+
'lark-channel',
|
|
27
|
+
'assistant-automations',
|
|
28
|
+
'assistant-policy',
|
|
29
|
+
'credentials-keychain',
|
|
30
|
+
'assistant-evaluation',
|
|
31
|
+
'assistant-verifier',
|
|
32
|
+
'assistant-deepseek-budget',
|
|
33
|
+
'assistant-skills',
|
|
34
|
+
'assistant-isolation',
|
|
35
|
+
'assistant-web-owner',
|
|
36
|
+
'plugin-control-plane',
|
|
37
|
+
'assistant-growth-driver',
|
|
38
|
+
'assistant-recovery',
|
|
39
|
+
'assistant-evolution',
|
|
40
|
+
'owner-console',
|
|
41
|
+
'assistant-actions',
|
|
42
|
+
'assistant-work-items',
|
|
43
|
+
'assistant-goals',
|
|
44
|
+
'event-triggers',
|
|
45
|
+
'assistant-heartbeat',
|
|
46
|
+
'assistant-proactive',
|
|
47
|
+
'assistant-memory-learning',
|
|
48
|
+
'assistant-dreaming',
|
|
49
|
+
'assistant-association',
|
|
50
|
+
]);
|
|
51
|
+
/** Immutable safety roots excluded even from the owner source-repair channel. */
|
|
52
|
+
export const OWNER_REPAIR_PROTECTED_PLUGINS = new Set([
|
|
53
|
+
'assistant-delivery',
|
|
54
|
+
'lark-channel',
|
|
55
|
+
'assistant-automations',
|
|
56
|
+
'assistant-policy',
|
|
57
|
+
'credentials-keychain',
|
|
58
|
+
'assistant-evaluation',
|
|
59
|
+
'assistant-verifier',
|
|
60
|
+
'assistant-deepseek-budget',
|
|
61
|
+
'assistant-skills',
|
|
62
|
+
'assistant-isolation',
|
|
63
|
+
'assistant-web-owner',
|
|
64
|
+
'plugin-control-plane',
|
|
65
|
+
]);
|
|
66
|
+
export function assertProtectedSetsConsistent() {
|
|
67
|
+
for (const name of OWNER_REPAIR_PROTECTED_PLUGINS) {
|
|
68
|
+
if (!MODEL_PROPOSAL_PROTECTED_PLUGINS.has(name)) {
|
|
69
|
+
throw new Error(`owner-repair protected plugin ${name} must also be model-proposal protected`);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
if (MODEL_PROPOSAL_PROTECTED_PLUGINS.size <= OWNER_REPAIR_PROTECTED_PLUGINS.size) {
|
|
73
|
+
throw new Error('model-proposal protection must be a strict superset of owner-repair protection');
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
assertProtectedSetsConsistent();
|
|
77
|
+
//# sourceMappingURL=plugin-protection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-protection.js","sourceRoot":"","sources":["../src/plugin-protection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,MAAM,CAAC,MAAM,gCAAgC,GAAwB,IAAI,GAAG,CAAC;IAC3E,oBAAoB;IACpB,cAAc;IACd,uBAAuB;IACvB,kBAAkB;IAClB,sBAAsB;IACtB,sBAAsB;IACtB,oBAAoB;IACpB,2BAA2B;IAC3B,kBAAkB;IAClB,qBAAqB;IACrB,qBAAqB;IACrB,sBAAsB;IACtB,yBAAyB;IACzB,oBAAoB;IACpB,qBAAqB;IACrB,eAAe;IACf,mBAAmB;IACnB,sBAAsB;IACtB,iBAAiB;IACjB,gBAAgB;IAChB,qBAAqB;IACrB,qBAAqB;IACrB,2BAA2B;IAC3B,oBAAoB;IACpB,uBAAuB;CACxB,CAAC,CAAA;AAEF,iFAAiF;AACjF,MAAM,CAAC,MAAM,8BAA8B,GAAwB,IAAI,GAAG,CAAC;IACzE,oBAAoB;IACpB,cAAc;IACd,uBAAuB;IACvB,kBAAkB;IAClB,sBAAsB;IACtB,sBAAsB;IACtB,oBAAoB;IACpB,2BAA2B;IAC3B,kBAAkB;IAClB,qBAAqB;IACrB,qBAAqB;IACrB,sBAAsB;CACvB,CAAC,CAAA;AAEF,MAAM,UAAU,6BAA6B;IAC3C,KAAK,MAAM,IAAI,IAAI,8BAA8B,EAAE,CAAC;QAClD,IAAI,CAAC,gCAAgC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;YAChD,MAAM,IAAI,KAAK,CAAC,iCAAiC,IAAI,wCAAwC,CAAC,CAAA;QAChG,CAAC;IACH,CAAC;IACD,IAAI,gCAAgC,CAAC,IAAI,IAAI,8BAA8B,CAAC,IAAI,EAAE,CAAC;QACjF,MAAM,IAAI,KAAK,CAAC,gFAAgF,CAAC,CAAA;IACnG,CAAC;AACH,CAAC;AAED,6BAA6B,EAAE,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Host-owned T1 preference keys shared by Delivery validation and learning. */
|
|
2
|
+
export declare const assistantT1PreferenceKeys: readonly ["response.verbosity", "response.structure", "response.language", "response.explanation_depth", "suggestion.frequency", "recommendation.ranking"];
|
|
3
|
+
export type AssistantT1PreferenceKey = typeof assistantT1PreferenceKeys[number];
|
|
4
|
+
/** Closed values that may be exported or applied as reversible T1 overlays. */
|
|
5
|
+
export declare const assistantT1PreferenceValues: Readonly<{
|
|
6
|
+
'response.verbosity': readonly string[];
|
|
7
|
+
'response.structure': readonly string[];
|
|
8
|
+
'response.language': readonly string[];
|
|
9
|
+
'response.explanation_depth': readonly string[];
|
|
10
|
+
'suggestion.frequency': readonly string[];
|
|
11
|
+
'recommendation.ranking': readonly string[];
|
|
12
|
+
}>;
|
|
13
|
+
//# sourceMappingURL=preferences.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preferences.d.ts","sourceRoot":"","sources":["../src/preferences.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,eAAO,MAAM,yBAAyB,4JAO3B,CAAA;AAEX,MAAM,MAAM,wBAAwB,GAAG,OAAO,yBAAyB,CAAC,MAAM,CAAC,CAAA;AAE/E,+EAA+E;AAC/E,eAAO,MAAM,2BAA2B;;;;;;;EAOkC,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Host-owned T1 preference keys shared by Delivery validation and learning. */
|
|
2
|
+
export const assistantT1PreferenceKeys = Object.freeze([
|
|
3
|
+
'response.verbosity',
|
|
4
|
+
'response.structure',
|
|
5
|
+
'response.language',
|
|
6
|
+
'response.explanation_depth',
|
|
7
|
+
'suggestion.frequency',
|
|
8
|
+
'recommendation.ranking',
|
|
9
|
+
]);
|
|
10
|
+
/** Closed values that may be exported or applied as reversible T1 overlays. */
|
|
11
|
+
export const assistantT1PreferenceValues = Object.freeze({
|
|
12
|
+
'response.verbosity': Object.freeze(['concise', 'balanced', 'detailed']),
|
|
13
|
+
'response.structure': Object.freeze(['prose', 'bullets', 'mixed']),
|
|
14
|
+
'response.language': Object.freeze(['zh-CN', 'en']),
|
|
15
|
+
'response.explanation_depth': Object.freeze(['result-first', 'balanced', 'tutorial']),
|
|
16
|
+
'suggestion.frequency': Object.freeze(['low', 'normal']),
|
|
17
|
+
'recommendation.ranking': Object.freeze(['recency', 'familiarity', 'evidence']),
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=preferences.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preferences.js","sourceRoot":"","sources":["../src/preferences.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAC,MAAM,CAAC;IACrD,oBAAoB;IACpB,oBAAoB;IACpB,mBAAmB;IACnB,4BAA4B;IAC5B,sBAAsB;IACtB,wBAAwB;CAChB,CAAC,CAAA;AAIX,+EAA+E;AAC/E,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,MAAM,CAAC;IACvD,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;IACxE,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IAClE,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACnD,4BAA4B,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,cAAc,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;IACrF,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IACxD,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,UAAU,CAAC,CAAC;CACR,CAAC,CAAA"}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/** Private Host protocol between Preference Learning and Personal Memory. */
|
|
2
|
+
export declare const PREFERENCE_MEMORY_PROMOTION_PROTOCOL: "assistant-growth/preference-memory-promotion/v1";
|
|
3
|
+
export declare const PREFERENCE_MEMORY_PROMOTION_REQUEST_PROTOCOL: "assistant-growth/preference-memory-promotion-request/v1";
|
|
4
|
+
export declare const PREFERENCE_MEMORY_PROMOTION_SUBMISSION_PROTOCOL: "assistant-growth/preference-memory-promotion-submission/v1";
|
|
5
|
+
export declare const PREFERENCE_MEMORY_PROMOTION_RESULT_PROTOCOL: "assistant-growth/preference-memory-promotion-result/v1";
|
|
6
|
+
export declare const PREFERENCE_MEMORY_PROMOTION_CANCELLATION_PROTOCOL: "assistant-growth/preference-memory-promotion-cancellation/v1";
|
|
7
|
+
/** The first release deliberately supports exactly one low-sensitivity T2 pair. */
|
|
8
|
+
export declare const PREFERENCE_MEMORY_PROMOTION_KEY: "memory.retention";
|
|
9
|
+
export declare const PREFERENCE_MEMORY_PROMOTION_VALUE: "long-term";
|
|
10
|
+
export declare const PREFERENCE_MEMORY_PROMOTION_RENDERER_ID: "memory.retention.long-term/v1";
|
|
11
|
+
export declare const PREFERENCE_MEMORY_PROMOTION_CONTENT: "Retain information the owner explicitly confirms for long-term memory.";
|
|
12
|
+
export interface PreferenceMemoryPromotionScope {
|
|
13
|
+
workspace: string;
|
|
14
|
+
preset: string;
|
|
15
|
+
}
|
|
16
|
+
export interface PreferenceMemoryPromotionPrincipalLineage {
|
|
17
|
+
principalRecordId: string;
|
|
18
|
+
principalVersion: number;
|
|
19
|
+
}
|
|
20
|
+
/** Content-free evidence summary; signal bodies and free-form text never cross this port. */
|
|
21
|
+
export interface PreferenceMemoryPromotionHypothesis {
|
|
22
|
+
id: string;
|
|
23
|
+
key: typeof PREFERENCE_MEMORY_PROMOTION_KEY;
|
|
24
|
+
value: typeof PREFERENCE_MEMORY_PROMOTION_VALUE;
|
|
25
|
+
version: number;
|
|
26
|
+
confidenceBps: number;
|
|
27
|
+
contradictionBps: number;
|
|
28
|
+
supportingSignals: number;
|
|
29
|
+
distinctSignalSources: number;
|
|
30
|
+
evidenceMass: number;
|
|
31
|
+
}
|
|
32
|
+
export interface PreferenceMemoryPromotionRequest {
|
|
33
|
+
contractVersion: 1;
|
|
34
|
+
promotionId: string;
|
|
35
|
+
/** Durable generation of this exact logical promotion, independent of owner generation. */
|
|
36
|
+
promotionGeneration: number;
|
|
37
|
+
requestDigest: string;
|
|
38
|
+
idempotencyKey: string;
|
|
39
|
+
scope: Readonly<PreferenceMemoryPromotionScope>;
|
|
40
|
+
principalId: string;
|
|
41
|
+
principalLineage: Readonly<PreferenceMemoryPromotionPrincipalLineage>;
|
|
42
|
+
ownerGeneration: number;
|
|
43
|
+
hypothesis: Readonly<PreferenceMemoryPromotionHypothesis>;
|
|
44
|
+
rendererId: typeof PREFERENCE_MEMORY_PROMOTION_RENDERER_ID;
|
|
45
|
+
observedAt: number;
|
|
46
|
+
deadlineAt: number;
|
|
47
|
+
}
|
|
48
|
+
/** ACK that Personal Memory durably accepted the immutable request. */
|
|
49
|
+
export interface PreferenceMemoryPromotionSubmissionReceipt {
|
|
50
|
+
contractVersion: 1;
|
|
51
|
+
promotionId: string;
|
|
52
|
+
promotionGeneration: number;
|
|
53
|
+
requestDigest: string;
|
|
54
|
+
outcome: 'accepted' | 'replayed';
|
|
55
|
+
memoryProposalId: string;
|
|
56
|
+
receiptDigest: string;
|
|
57
|
+
}
|
|
58
|
+
export type PreferenceMemoryPromotionTerminalStatus = 'confirmed' | 'rejected' | 'expired' | 'conflicted' | 'stale-owner';
|
|
59
|
+
interface PreferenceMemoryPromotionResultIdentity {
|
|
60
|
+
contractVersion: 1;
|
|
61
|
+
promotionId: string;
|
|
62
|
+
promotionGeneration: number;
|
|
63
|
+
requestDigest: string;
|
|
64
|
+
resultVersion: number;
|
|
65
|
+
occurredAt: number;
|
|
66
|
+
receiptDigest: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Authoritative terminal projection produced by Personal Memory. `confirmed`
|
|
70
|
+
* is legal only after its Memory record committed. `rejected` is reserved for
|
|
71
|
+
* an explicit owner rejection; all other failures remain distinct.
|
|
72
|
+
*/
|
|
73
|
+
export type PreferenceMemoryPromotionResult = PreferenceMemoryPromotionResultIdentity & ({
|
|
74
|
+
status: 'confirmed';
|
|
75
|
+
memoryProposalId: string;
|
|
76
|
+
memoryProposalVersion: number;
|
|
77
|
+
memoryRecordId: string;
|
|
78
|
+
memoryRecordVersion: number;
|
|
79
|
+
memoryRecordDigest: string;
|
|
80
|
+
} | {
|
|
81
|
+
status: 'rejected';
|
|
82
|
+
rejectionKind: 'owner-explicit';
|
|
83
|
+
memoryProposalId: string;
|
|
84
|
+
memoryProposalVersion: number;
|
|
85
|
+
} | {
|
|
86
|
+
status: 'expired' | 'conflicted';
|
|
87
|
+
memoryProposalId: string;
|
|
88
|
+
memoryProposalVersion: number;
|
|
89
|
+
} | {
|
|
90
|
+
status: 'stale-owner';
|
|
91
|
+
});
|
|
92
|
+
/** Preference commits the projection before returning this Memory outbox ACK. */
|
|
93
|
+
export interface PreferenceMemoryPromotionResultAck {
|
|
94
|
+
contractVersion: 1;
|
|
95
|
+
promotionId: string;
|
|
96
|
+
promotionGeneration: number;
|
|
97
|
+
resultVersion: number;
|
|
98
|
+
receiptDigest: string;
|
|
99
|
+
outcome: 'applied' | 'replayed' | 'cancelled';
|
|
100
|
+
}
|
|
101
|
+
export type PreferenceMemoryPromotionCancellationReason = 'forget' | 'owner-rotated' | 'superseded';
|
|
102
|
+
export interface PreferenceMemoryPromotionCancellationRequest {
|
|
103
|
+
contractVersion: 1;
|
|
104
|
+
promotionId: string;
|
|
105
|
+
promotionGeneration: number;
|
|
106
|
+
requestDigest: string;
|
|
107
|
+
principalLineage: Readonly<PreferenceMemoryPromotionPrincipalLineage>;
|
|
108
|
+
ownerGeneration: number;
|
|
109
|
+
reason: PreferenceMemoryPromotionCancellationReason;
|
|
110
|
+
occurredAt: number;
|
|
111
|
+
cancellationDigest: string;
|
|
112
|
+
}
|
|
113
|
+
export interface PreferenceMemoryPromotionCancellationReceipt {
|
|
114
|
+
contractVersion: 1;
|
|
115
|
+
promotionId: string;
|
|
116
|
+
promotionGeneration: number;
|
|
117
|
+
requestDigest: string;
|
|
118
|
+
cancellationDigest: string;
|
|
119
|
+
/** `already-confirmed` is safe only for non-destructive supersession. */
|
|
120
|
+
outcome: 'cancelled' | 'replayed' | 'already-confirmed';
|
|
121
|
+
receiptDigest: string;
|
|
122
|
+
}
|
|
123
|
+
/** Process-local ownership proof for the Memory-minted registration. */
|
|
124
|
+
export interface PreferencePromotionSourceRegistrationOwner {
|
|
125
|
+
ownsPreferencePromotionSourceRegistration(registration: Readonly<PreferenceMemoryPromotionRegistration>): boolean;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Single bidirectional, revocable capability minted by Personal Memory for one
|
|
129
|
+
* exact live Preference producer generation. Neither side receives the other
|
|
130
|
+
* service's general API.
|
|
131
|
+
*/
|
|
132
|
+
export interface PreferenceMemoryPromotionRegistration {
|
|
133
|
+
readonly protocol: typeof PREFERENCE_MEMORY_PROMOTION_PROTOCOL;
|
|
134
|
+
readonly producer: 'personal-memory';
|
|
135
|
+
readonly sourceGeneration: string;
|
|
136
|
+
readonly sinkGeneration: string;
|
|
137
|
+
readonly owner: PreferencePromotionSourceRegistrationOwner;
|
|
138
|
+
propose(request: Readonly<PreferenceMemoryPromotionRequest>): Readonly<PreferenceMemoryPromotionSubmissionReceipt>;
|
|
139
|
+
cancelPromotion(request: Readonly<PreferenceMemoryPromotionCancellationRequest>): Readonly<PreferenceMemoryPromotionCancellationReceipt>;
|
|
140
|
+
listTerminalResults(limit: number): readonly Readonly<PreferenceMemoryPromotionResult>[];
|
|
141
|
+
acknowledgeTerminalResult(ack: Readonly<PreferenceMemoryPromotionResultAck>): void;
|
|
142
|
+
}
|
|
143
|
+
/** Structural Host service contract; authenticity is checked by this shared contract's brand. */
|
|
144
|
+
export interface PreferenceMemoryPromotionProducer {
|
|
145
|
+
trustedMemoryPromotionProducerGeneration(): string;
|
|
146
|
+
registerTrustedMemoryPromotionResultSink(registration: Readonly<PreferenceMemoryPromotionRegistration>): () => void;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Marks the exact live Preference producer owned by the producer package. The
|
|
150
|
+
* private probe lets Cordis wrappers resolve back to that exact object without
|
|
151
|
+
* making a structural lookalike authentic. This is a process-local composition
|
|
152
|
+
* guard, not a sandbox boundary against already-trusted Host code.
|
|
153
|
+
*/
|
|
154
|
+
export declare function brandPreferenceMemoryPromotionProducer(producer: PreferenceMemoryPromotionProducer): void;
|
|
155
|
+
/** Revokes the exact producer brand when its owning service is disposed. */
|
|
156
|
+
export declare function unbrandPreferenceMemoryPromotionProducer(producer: PreferenceMemoryPromotionProducer): void;
|
|
157
|
+
/**
|
|
158
|
+
* Resolves a Cordis forwarding wrapper to the exact producer object that owns
|
|
159
|
+
* the process-local brand. Consumers must bind and invoke this object, never
|
|
160
|
+
* the caller-controlled wrapper used to discover it.
|
|
161
|
+
*/
|
|
162
|
+
export declare function resolveTrustedPreferenceMemoryPromotionProducer(value: unknown): PreferenceMemoryPromotionProducer | undefined;
|
|
163
|
+
/** Process-local authenticity predicate shared by the producer and consumer. */
|
|
164
|
+
export declare function isTrustedPreferenceMemoryPromotionProducer(value: unknown): value is PreferenceMemoryPromotionProducer;
|
|
165
|
+
export declare function preferenceMemoryPromotionRequestDigest(value: unknown): string;
|
|
166
|
+
export declare function withPreferenceMemoryPromotionRequestDigest<T extends Readonly<Record<string, unknown>>>(value: T): Readonly<T & {
|
|
167
|
+
requestDigest: string;
|
|
168
|
+
}>;
|
|
169
|
+
export declare function validatePreferenceMemoryPromotionRequest(value: unknown): Readonly<PreferenceMemoryPromotionRequest>;
|
|
170
|
+
export declare function preferenceMemoryPromotionSubmissionDigest(value: unknown): string;
|
|
171
|
+
export declare function withPreferenceMemoryPromotionSubmissionDigest<T extends Readonly<Record<string, unknown>>>(value: T): Readonly<T & {
|
|
172
|
+
receiptDigest: string;
|
|
173
|
+
}>;
|
|
174
|
+
export declare function validatePreferenceMemoryPromotionSubmissionReceipt(value: unknown, expected?: Pick<PreferenceMemoryPromotionRequest, 'promotionId' | 'promotionGeneration' | 'requestDigest'>): Readonly<PreferenceMemoryPromotionSubmissionReceipt>;
|
|
175
|
+
export declare function preferenceMemoryPromotionResultDigest(value: unknown): string;
|
|
176
|
+
export declare function withPreferenceMemoryPromotionResultDigest<T extends Readonly<Record<string, unknown>>>(value: T): Readonly<T & {
|
|
177
|
+
receiptDigest: string;
|
|
178
|
+
}>;
|
|
179
|
+
export declare function validatePreferenceMemoryPromotionResult(value: unknown, expected?: Pick<PreferenceMemoryPromotionRequest, 'promotionId' | 'promotionGeneration' | 'requestDigest'>): Readonly<PreferenceMemoryPromotionResult>;
|
|
180
|
+
export declare function validatePreferenceMemoryPromotionResultAck(value: unknown): Readonly<PreferenceMemoryPromotionResultAck>;
|
|
181
|
+
export declare function preferenceMemoryPromotionCancellationDigest(value: unknown): string;
|
|
182
|
+
export declare function withPreferenceMemoryPromotionCancellationDigest<T extends Readonly<Record<string, unknown>>>(value: T): Readonly<T & {
|
|
183
|
+
cancellationDigest: string;
|
|
184
|
+
}>;
|
|
185
|
+
export declare function validatePreferenceMemoryPromotionCancellationRequest(value: unknown): Readonly<PreferenceMemoryPromotionCancellationRequest>;
|
|
186
|
+
export declare function preferenceMemoryPromotionCancellationReceiptDigest(value: unknown): string;
|
|
187
|
+
export declare function withPreferenceMemoryPromotionCancellationReceiptDigest<T extends Readonly<Record<string, unknown>>>(value: T): Readonly<T & {
|
|
188
|
+
receiptDigest: string;
|
|
189
|
+
}>;
|
|
190
|
+
export declare function validatePreferenceMemoryPromotionCancellationReceipt(value: unknown, expected: Readonly<PreferenceMemoryPromotionCancellationRequest>): Readonly<PreferenceMemoryPromotionCancellationReceipt>;
|
|
191
|
+
export {};
|
|
192
|
+
//# sourceMappingURL=promotion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../src/promotion.ts"],"names":[],"mappings":"AASA,6EAA6E;AAC7E,eAAO,MAAM,oCAAoC,EAC/C,iDAA0D,CAAA;AAC5D,eAAO,MAAM,4CAA4C,EACvD,yDAAkE,CAAA;AACpE,eAAO,MAAM,+CAA+C,EAC1D,4DAAqE,CAAA;AACvE,eAAO,MAAM,2CAA2C,EACtD,wDAAiE,CA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