@remnic/core 9.3.688 → 9.3.690
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/access-boundary.d.ts +5 -4
- package/dist/access-boundary.js +12 -11
- package/dist/access-cli.js +90 -26
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +4 -3
- package/dist/access-http.js +15 -14
- package/dist/access-mcp.d.ts +11 -3
- package/dist/access-mcp.js +14 -13
- package/dist/access-operations.d.ts +11 -5
- package/dist/access-operations.js +15 -12
- package/dist/{access-service-DmCHJ4cH.d.ts → access-service-Dujr3MTm.d.ts} +62 -2
- package/dist/access-service.d.ts +4 -3
- package/dist/access-service.js +11 -10
- package/dist/access-surface-catalog.d.ts +4 -3
- package/dist/access-surface-catalog.js +2 -0
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/bootstrap.d.ts +3 -2
- package/dist/briefing.d.ts +1 -0
- package/dist/briefing.js +3 -2
- package/dist/buffer.d.ts +1 -0
- package/dist/{catalog-COqWZlZ6.d.ts → catalog-CKPtJ114.d.ts} +1 -1
- package/dist/causal-consolidation.js +4 -3
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/{chunk-B4XVLHJA.js → chunk-2N6UNJSX.js} +2 -2
- package/dist/{chunk-NN7QYW5W.js → chunk-46URPRE6.js} +2 -2
- package/dist/chunk-46URPRE6.js.map +1 -0
- package/dist/{chunk-4N3TFFPH.js → chunk-54PVJDO5.js} +2 -2
- package/dist/{chunk-PH3HOKYW.js → chunk-67MMWC74.js} +2 -2
- package/dist/{chunk-STOEE37X.js → chunk-BKAMHZYR.js} +2 -2
- package/dist/{chunk-B43NZNMG.js → chunk-CE6CBRCV.js} +432 -2240
- package/dist/chunk-CE6CBRCV.js.map +1 -0
- package/dist/{chunk-RVYD6LR3.js → chunk-CP2NZQLT.js} +15 -4
- package/dist/chunk-CP2NZQLT.js.map +1 -0
- package/dist/{chunk-BLIWOONZ.js → chunk-CUNTLEJP.js} +4 -12
- package/dist/chunk-CUNTLEJP.js.map +1 -0
- package/dist/{chunk-2SJCWLQD.js → chunk-CWE74HRG.js} +3 -3
- package/dist/{chunk-VX6OBUDW.js → chunk-GR77Z2BM.js} +2 -2
- package/dist/{chunk-CTOQEZSN.js → chunk-LXIEXSHU.js} +2 -2
- package/dist/{chunk-KFBOZYME.js → chunk-NSVXK7M5.js} +33 -4
- package/dist/chunk-NSVXK7M5.js.map +1 -0
- package/dist/{chunk-473JIN2U.js → chunk-OMKUJTVJ.js} +37 -5
- package/dist/chunk-OMKUJTVJ.js.map +1 -0
- package/dist/{chunk-GS55WYRL.js → chunk-PHZKALOE.js} +2 -2
- package/dist/{chunk-6O6A6YUO.js → chunk-RGNEARXW.js} +3 -3
- package/dist/{chunk-4FE2K57M.js → chunk-RTFAZOIR.js} +2 -2
- package/dist/{chunk-UTYBJR7M.js → chunk-SB6CQTKP.js} +2 -2
- package/dist/chunk-SVOZFLIQ.js +16 -0
- package/dist/chunk-SVOZFLIQ.js.map +1 -0
- package/dist/{chunk-2KAYTPPT.js → chunk-TYF3D4MS.js} +5 -5
- package/dist/{chunk-WIHPNY65.js → chunk-UD5OKH4J.js} +2 -2
- package/dist/{chunk-QANVLERJ.js → chunk-UPIBE2DK.js} +2 -2
- package/dist/{chunk-CCWHPGT4.js → chunk-WROKD3XC.js} +45 -30
- package/dist/chunk-WROKD3XC.js.map +1 -0
- package/dist/{chunk-ZPTISBQU.js → chunk-X5J3JZR3.js} +7 -7
- package/dist/{chunk-OV4D5T7V.js → chunk-X7RLU5CR.js} +2 -2
- package/dist/{chunk-S2OU5DZY.js → chunk-XKUKJIOY.js} +30 -7
- package/dist/chunk-XKUKJIOY.js.map +1 -0
- package/dist/{chunk-FUCUR2OZ.js → chunk-Z7KILAOU.js} +603 -9
- package/dist/chunk-Z7KILAOU.js.map +1 -0
- package/dist/chunk-ZU7N3S6V.js +2190 -0
- package/dist/chunk-ZU7N3S6V.js.map +1 -0
- package/dist/{chunk-DCWIQFNA.js → chunk-ZUDM75KG.js} +4 -4
- package/dist/{cli-D8nZ2MPH.d.ts → cli-BkDp6WNi.d.ts} +2 -2
- package/dist/cli.d.ts +5 -4
- package/dist/cli.js +32 -30
- package/dist/compounding/engine.d.ts +1 -0
- package/dist/compounding/engine.js +3 -2
- package/dist/connectors/codex-materialize-runner.js +3 -2
- package/dist/connectors/index.js +3 -2
- package/dist/consolidation-provenance-check.d.ts +1 -0
- package/dist/consolidation-undo.d.ts +1 -0
- package/dist/contradiction/index.d.ts +1 -0
- package/dist/conversation-index/backend.js +2 -2
- package/dist/entity-retrieval.d.ts +1 -0
- package/dist/entity-retrieval.js +3 -2
- package/dist/explicit-capture.d.ts +3 -2
- package/dist/index.d.ts +6 -5
- package/dist/index.js +47 -44
- package/dist/index.js.map +1 -1
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.js +5 -5
- package/dist/maintenance/memory-governance.js +3 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -2
- package/dist/maintenance/rebuild-memory-projection.js +4 -3
- package/dist/mcp-memory-inspector-app.d.ts +4 -3
- package/dist/memory-worth-outcomes.d.ts +1 -0
- package/dist/namespaces/migrate.d.ts +2 -1
- package/dist/namespaces/migrate.js +10 -9
- package/dist/namespaces/search.js +6 -6
- package/dist/namespaces/storage.d.ts +2 -1
- package/dist/namespaces/storage.js +3 -2
- package/dist/operator-toolkit.d.ts +1 -0
- package/dist/operator-toolkit.js +13 -11
- package/dist/{orchestrator-CA6ouzBn.d.ts → orchestrator-B7ixmUkP.d.ts} +145 -1
- package/dist/orchestrator.d.ts +3 -2
- package/dist/orchestrator.js +22 -20
- package/dist/recall-pipeline-stages.d.ts +167 -0
- package/dist/recall-pipeline-stages.js +61 -0
- package/dist/recall-pipeline-stages.js.map +1 -0
- package/dist/schemas.d.ts +10 -10
- package/dist/search/factory.js +5 -5
- package/dist/search/index.js +9 -9
- package/dist/semantic-consolidation.js +4 -3
- package/dist/semantic-rule-promotion.js +3 -2
- package/dist/semantic-rule-verifier.js +3 -2
- package/dist/storage.d.ts +3 -27
- package/dist/storage.js +5 -3
- package/dist/structured-attributes.d.ts +29 -0
- package/dist/structured-attributes.js +8 -0
- package/dist/structured-attributes.js.map +1 -0
- package/dist/temporal-supersession.d.ts +1 -0
- package/dist/tier-migration.d.ts +1 -0
- package/dist/verified-recall.js +3 -2
- package/package.json +2 -2
- package/src/access-boundary.ts +2 -1
- package/src/access-cli.test.ts +40 -0
- package/src/access-cli.ts +90 -2
- package/src/access-http.ts +35 -6
- package/src/access-mcp.ts +34 -0
- package/src/access-operations.ts +45 -0
- package/src/access-service.ts +60 -0
- package/src/access-surface-catalog.test.ts +1 -1
- package/src/access-surface-catalog.ts +2 -0
- package/src/cli.ts +18 -0
- package/src/coding/architecture-card.test.ts +544 -0
- package/src/coding/architecture-card.ts +687 -0
- package/src/coding/architecture-surfaces.test.ts +579 -0
- package/src/coding/architecture-surfaces.ts +457 -0
- package/src/maintenance/namespace-maintenance-fanout.test.ts +595 -0
- package/src/maintenance/namespace-maintenance-fanout.ts +318 -0
- package/src/maintenance/namespace-planner.ts +74 -16
- package/src/operator-toolkit.ts +25 -0
- package/src/orchestrator.ts +144 -0
- package/src/recall-pipeline-stages.test.ts +269 -0
- package/src/recall-pipeline-stages.ts +294 -0
- package/src/storage.ts +6 -20
- package/src/structured-attributes.ts +39 -0
- package/dist/chunk-473JIN2U.js.map +0 -1
- package/dist/chunk-B43NZNMG.js.map +0 -1
- package/dist/chunk-BLIWOONZ.js.map +0 -1
- package/dist/chunk-CCWHPGT4.js.map +0 -1
- package/dist/chunk-FUCUR2OZ.js.map +0 -1
- package/dist/chunk-KFBOZYME.js.map +0 -1
- package/dist/chunk-NN7QYW5W.js.map +0 -1
- package/dist/chunk-RVYD6LR3.js.map +0 -1
- package/dist/chunk-S2OU5DZY.js.map +0 -1
- /package/dist/{chunk-B4XVLHJA.js.map → chunk-2N6UNJSX.js.map} +0 -0
- /package/dist/{chunk-4N3TFFPH.js.map → chunk-54PVJDO5.js.map} +0 -0
- /package/dist/{chunk-PH3HOKYW.js.map → chunk-67MMWC74.js.map} +0 -0
- /package/dist/{chunk-STOEE37X.js.map → chunk-BKAMHZYR.js.map} +0 -0
- /package/dist/{chunk-2SJCWLQD.js.map → chunk-CWE74HRG.js.map} +0 -0
- /package/dist/{chunk-VX6OBUDW.js.map → chunk-GR77Z2BM.js.map} +0 -0
- /package/dist/{chunk-CTOQEZSN.js.map → chunk-LXIEXSHU.js.map} +0 -0
- /package/dist/{chunk-GS55WYRL.js.map → chunk-PHZKALOE.js.map} +0 -0
- /package/dist/{chunk-6O6A6YUO.js.map → chunk-RGNEARXW.js.map} +0 -0
- /package/dist/{chunk-4FE2K57M.js.map → chunk-RTFAZOIR.js.map} +0 -0
- /package/dist/{chunk-UTYBJR7M.js.map → chunk-SB6CQTKP.js.map} +0 -0
- /package/dist/{chunk-2KAYTPPT.js.map → chunk-TYF3D4MS.js.map} +0 -0
- /package/dist/{chunk-WIHPNY65.js.map → chunk-UD5OKH4J.js.map} +0 -0
- /package/dist/{chunk-QANVLERJ.js.map → chunk-UPIBE2DK.js.map} +0 -0
- /package/dist/{chunk-ZPTISBQU.js.map → chunk-X5J3JZR3.js.map} +0 -0
- /package/dist/{chunk-OV4D5T7V.js.map → chunk-X7RLU5CR.js.map} +0 -0
- /package/dist/{chunk-DCWIQFNA.js.map → chunk-ZUDM75KG.js.map} +0 -0
package/dist/access-mcp.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Readable, Writable } from 'node:stream';
|
|
2
|
-
import {
|
|
2
|
+
import { d as EngramAccessService } from './access-service-Dujr3MTm.js';
|
|
3
3
|
import './storage.js';
|
|
4
4
|
import './page-versioning.js';
|
|
5
5
|
import './consolidation-operator.js';
|
|
@@ -10,6 +10,7 @@ import './memory-projection-store.js';
|
|
|
10
10
|
import './maintenance/memory-governance.js';
|
|
11
11
|
import './runtime/better-sqlite.js';
|
|
12
12
|
import 'better-sqlite3';
|
|
13
|
+
import './structured-attributes.js';
|
|
13
14
|
import './types-B1VHaf2w.js';
|
|
14
15
|
import './recall-explain-renderer.js';
|
|
15
16
|
import './recall-state.js';
|
|
@@ -20,7 +21,7 @@ import './user-model.js';
|
|
|
20
21
|
import './recall-audit-anomaly.js';
|
|
21
22
|
import './recall-audit.js';
|
|
22
23
|
import './explicit-capture.js';
|
|
23
|
-
import './orchestrator-
|
|
24
|
+
import './orchestrator-B7ixmUkP.js';
|
|
24
25
|
import './briefing.js';
|
|
25
26
|
import './buffer.js';
|
|
26
27
|
import './transcript.js';
|
|
@@ -52,7 +53,7 @@ import './conversation-index/backend.js';
|
|
|
52
53
|
import './conversation-index/chunker.js';
|
|
53
54
|
import './faiss-adapter-BHecI1fF.js';
|
|
54
55
|
import './runtime/child-process.js';
|
|
55
|
-
import './catalog-
|
|
56
|
+
import './catalog-CKPtJ114.js';
|
|
56
57
|
import './namespaces/search.js';
|
|
57
58
|
import './shared-context/manager.js';
|
|
58
59
|
import 'zod';
|
|
@@ -126,12 +127,19 @@ declare class EngramMcpServer {
|
|
|
126
127
|
* pre-feature.
|
|
127
128
|
*/
|
|
128
129
|
private readonly codingDecisionVisible;
|
|
130
|
+
/**
|
|
131
|
+
* Whether the `coding_architecture` tool should appear in `tools/list`.
|
|
132
|
+
* Gated on `codingKnowledge.enabled && codingKnowledge.architectureCard`
|
|
133
|
+
* (issue #1548 Track A PR 3, rule 39).
|
|
134
|
+
*/
|
|
135
|
+
private readonly architectureCardVisible;
|
|
129
136
|
constructor(service: EngramAccessService, options?: {
|
|
130
137
|
principal?: string;
|
|
131
138
|
citationsEnabled?: boolean;
|
|
132
139
|
citationsAutoDetect?: boolean;
|
|
133
140
|
emitLegacyTools?: boolean;
|
|
134
141
|
codingDecisionVisible?: boolean;
|
|
142
|
+
architectureCardVisible?: boolean;
|
|
135
143
|
});
|
|
136
144
|
/** Get clientInfo for a specific MCP session. Returns undefined for non-MCP requests. */
|
|
137
145
|
getClientInfo(sessionId?: string): {
|
package/dist/access-mcp.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EngramMcpServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OMKUJTVJ.js";
|
|
4
4
|
import "./chunk-T4WDJPEZ.js";
|
|
5
5
|
import "./chunk-D24OXEPB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-NSVXK7M5.js";
|
|
7
7
|
import "./chunk-UDJLF3BO.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-46URPRE6.js";
|
|
9
|
+
import "./chunk-Z7KILAOU.js";
|
|
10
10
|
import "./chunk-GDASG7NC.js";
|
|
11
11
|
import "./chunk-GDB4J2H3.js";
|
|
12
12
|
import "./chunk-ARV3AUOM.js";
|
|
@@ -22,22 +22,22 @@ import "./chunk-LLONI6PY.js";
|
|
|
22
22
|
import "./chunk-BMFZLLNI.js";
|
|
23
23
|
import "./chunk-CI7RKSRE.js";
|
|
24
24
|
import "./chunk-6HMYUWXR.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-54PVJDO5.js";
|
|
26
|
+
import "./chunk-LXIEXSHU.js";
|
|
27
|
+
import "./chunk-TYF3D4MS.js";
|
|
28
|
+
import "./chunk-5CEJH5ZN.js";
|
|
28
29
|
import "./chunk-WRFKZEO6.js";
|
|
29
30
|
import "./chunk-CYEPCZN5.js";
|
|
30
31
|
import "./chunk-LQ6JI4VH.js";
|
|
31
32
|
import "./chunk-SANZHXY2.js";
|
|
32
|
-
import "./chunk-EHISUJFN.js";
|
|
33
|
-
import "./chunk-5CEJH5ZN.js";
|
|
34
33
|
import "./chunk-AER6MT24.js";
|
|
34
|
+
import "./chunk-EHISUJFN.js";
|
|
35
35
|
import "./chunk-CINZGPSJ.js";
|
|
36
36
|
import "./chunk-ZFXCQPNO.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-XBZQRZ6G.js";
|
|
37
|
+
import "./chunk-ZUDM75KG.js";
|
|
39
38
|
import "./chunk-KCQA46NR.js";
|
|
40
39
|
import "./chunk-SJHM6I4J.js";
|
|
40
|
+
import "./chunk-XBZQRZ6G.js";
|
|
41
41
|
import "./chunk-K43PI6DQ.js";
|
|
42
42
|
import "./chunk-YNQ6DFSV.js";
|
|
43
43
|
import "./chunk-EIR5VLIH.js";
|
|
@@ -54,11 +54,12 @@ import "./chunk-KF74X62T.js";
|
|
|
54
54
|
import "./chunk-2LSZVONP.js";
|
|
55
55
|
import "./chunk-DEUNUKTD.js";
|
|
56
56
|
import "./chunk-YN4ZT4CW.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-X7RLU5CR.js";
|
|
58
|
+
import "./chunk-CUNTLEJP.js";
|
|
59
59
|
import "./chunk-M7XQSUBB.js";
|
|
60
60
|
import "./chunk-5UZXUTVO.js";
|
|
61
61
|
import "./chunk-5GPPACXK.js";
|
|
62
|
+
import "./chunk-SVOZFLIQ.js";
|
|
62
63
|
import "./chunk-J6A3CX5N.js";
|
|
63
64
|
import "./chunk-NGFEWFNK.js";
|
|
64
65
|
import "./chunk-MB5RSUW6.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OperationName, BoundOperation } from './access-boundary.js';
|
|
2
2
|
import { MemoryStoreRequest } from './access-schema.js';
|
|
3
|
-
import { D as DecisionSurfaceRequest,
|
|
3
|
+
import { A as ArchitectureSurfaceRequest, a as ArchitectureSurfaceResponse, D as DecisionSurfaceRequest, b as DecisionSurfaceResponse, E as EngramAccessMemoryResponse, c as EngramAccessWriteResponse } from './access-service-Dujr3MTm.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import './storage.js';
|
|
6
6
|
import './page-versioning.js';
|
|
@@ -12,6 +12,7 @@ import './memory-projection-store.js';
|
|
|
12
12
|
import './maintenance/memory-governance.js';
|
|
13
13
|
import './runtime/better-sqlite.js';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
|
+
import './structured-attributes.js';
|
|
15
16
|
import './types-B1VHaf2w.js';
|
|
16
17
|
import './recall-explain-renderer.js';
|
|
17
18
|
import './recall-state.js';
|
|
@@ -22,7 +23,7 @@ import './user-model.js';
|
|
|
22
23
|
import './recall-audit-anomaly.js';
|
|
23
24
|
import './recall-audit.js';
|
|
24
25
|
import './explicit-capture.js';
|
|
25
|
-
import './orchestrator-
|
|
26
|
+
import './orchestrator-B7ixmUkP.js';
|
|
26
27
|
import './briefing.js';
|
|
27
28
|
import './buffer.js';
|
|
28
29
|
import './transcript.js';
|
|
@@ -54,7 +55,7 @@ import './conversation-index/backend.js';
|
|
|
54
55
|
import './conversation-index/chunker.js';
|
|
55
56
|
import './faiss-adapter-BHecI1fF.js';
|
|
56
57
|
import './runtime/child-process.js';
|
|
57
|
-
import './catalog-
|
|
58
|
+
import './catalog-CKPtJ114.js';
|
|
58
59
|
import './namespaces/search.js';
|
|
59
60
|
import './shared-context/manager.js';
|
|
60
61
|
import './compounding/engine.js';
|
|
@@ -123,11 +124,16 @@ type CodingDecisionOutput = {
|
|
|
123
124
|
result: DecisionSurfaceResponse;
|
|
124
125
|
};
|
|
125
126
|
declare const codingDecisionOperation: BoundOperation<DecisionSurfaceRequest, CodingDecisionOutput>;
|
|
127
|
+
type CodingArchitectureInput = ArchitectureSurfaceRequest;
|
|
128
|
+
type CodingArchitectureOutput = {
|
|
129
|
+
result: ArchitectureSurfaceResponse;
|
|
130
|
+
};
|
|
131
|
+
declare const codingArchitectureOperation: BoundOperation<ArchitectureSurfaceRequest, CodingArchitectureOutput>;
|
|
126
132
|
/**
|
|
127
133
|
* The canonical short names (no `engram.`/`remnic.` prefix) of the operations
|
|
128
134
|
* the boundary owns today. The fitness test treats this set as the migrated
|
|
129
135
|
* set; everything else on a surface is unmigrated and counted by the ratchet.
|
|
130
136
|
*/
|
|
131
|
-
declare const REGISTERED_OPERATIONS: readonly [OperationName, OperationName, OperationName, OperationName];
|
|
137
|
+
declare const REGISTERED_OPERATIONS: readonly [OperationName, OperationName, OperationName, OperationName, OperationName];
|
|
132
138
|
|
|
133
|
-
export { type CodingDecisionInput, type CodingDecisionOutput, type MemoryGetInput, type MemoryGetOutput, type MemorySearchInput, type MemorySearchOutput, type MemoryStoreInput, type MemoryStoreOutput, REGISTERED_OPERATIONS, codingDecisionOperation, memoryGetOperation, memorySearchOperation, memoryStoreOperation };
|
|
139
|
+
export { type CodingArchitectureInput, type CodingArchitectureOutput, type CodingDecisionInput, type CodingDecisionOutput, type MemoryGetInput, type MemoryGetOutput, type MemorySearchInput, type MemorySearchOutput, type MemoryStoreInput, type MemoryStoreOutput, REGISTERED_OPERATIONS, codingArchitectureOperation, codingDecisionOperation, memoryGetOperation, memorySearchOperation, memoryStoreOperation };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
REGISTERED_OPERATIONS,
|
|
3
|
+
codingArchitectureOperation,
|
|
3
4
|
codingDecisionOperation,
|
|
4
5
|
memoryGetOperation,
|
|
5
6
|
memorySearchOperation,
|
|
6
7
|
memoryStoreOperation
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NSVXK7M5.js";
|
|
8
9
|
import "./chunk-UDJLF3BO.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-46URPRE6.js";
|
|
11
|
+
import "./chunk-Z7KILAOU.js";
|
|
11
12
|
import "./chunk-GDASG7NC.js";
|
|
12
13
|
import "./chunk-GDB4J2H3.js";
|
|
13
14
|
import "./chunk-ARV3AUOM.js";
|
|
@@ -23,22 +24,22 @@ import "./chunk-LLONI6PY.js";
|
|
|
23
24
|
import "./chunk-BMFZLLNI.js";
|
|
24
25
|
import "./chunk-CI7RKSRE.js";
|
|
25
26
|
import "./chunk-6HMYUWXR.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-54PVJDO5.js";
|
|
28
|
+
import "./chunk-LXIEXSHU.js";
|
|
29
|
+
import "./chunk-TYF3D4MS.js";
|
|
30
|
+
import "./chunk-5CEJH5ZN.js";
|
|
29
31
|
import "./chunk-WRFKZEO6.js";
|
|
30
32
|
import "./chunk-CYEPCZN5.js";
|
|
31
33
|
import "./chunk-LQ6JI4VH.js";
|
|
32
34
|
import "./chunk-SANZHXY2.js";
|
|
33
|
-
import "./chunk-EHISUJFN.js";
|
|
34
|
-
import "./chunk-5CEJH5ZN.js";
|
|
35
35
|
import "./chunk-AER6MT24.js";
|
|
36
|
+
import "./chunk-EHISUJFN.js";
|
|
36
37
|
import "./chunk-CINZGPSJ.js";
|
|
37
38
|
import "./chunk-ZFXCQPNO.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-XBZQRZ6G.js";
|
|
39
|
+
import "./chunk-ZUDM75KG.js";
|
|
40
40
|
import "./chunk-KCQA46NR.js";
|
|
41
41
|
import "./chunk-SJHM6I4J.js";
|
|
42
|
+
import "./chunk-XBZQRZ6G.js";
|
|
42
43
|
import "./chunk-K43PI6DQ.js";
|
|
43
44
|
import "./chunk-YNQ6DFSV.js";
|
|
44
45
|
import "./chunk-EIR5VLIH.js";
|
|
@@ -55,11 +56,12 @@ import "./chunk-KF74X62T.js";
|
|
|
55
56
|
import "./chunk-2LSZVONP.js";
|
|
56
57
|
import "./chunk-DEUNUKTD.js";
|
|
57
58
|
import "./chunk-YN4ZT4CW.js";
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-X7RLU5CR.js";
|
|
60
|
+
import "./chunk-CUNTLEJP.js";
|
|
60
61
|
import "./chunk-M7XQSUBB.js";
|
|
61
62
|
import "./chunk-5UZXUTVO.js";
|
|
62
63
|
import "./chunk-5GPPACXK.js";
|
|
64
|
+
import "./chunk-SVOZFLIQ.js";
|
|
63
65
|
import "./chunk-J6A3CX5N.js";
|
|
64
66
|
import "./chunk-NGFEWFNK.js";
|
|
65
67
|
import "./chunk-MB5RSUW6.js";
|
|
@@ -110,6 +112,7 @@ import "./chunk-VFUEZZBS.js";
|
|
|
110
112
|
import "./chunk-PZ5AY32C.js";
|
|
111
113
|
export {
|
|
112
114
|
REGISTERED_OPERATIONS,
|
|
115
|
+
codingArchitectureOperation,
|
|
113
116
|
codingDecisionOperation,
|
|
114
117
|
memoryGetOperation,
|
|
115
118
|
memorySearchOperation,
|
|
@@ -6,7 +6,7 @@ import { AnomalyDetectorResult } from './recall-audit-anomaly.js';
|
|
|
6
6
|
import { ExplicitCaptureInput } from './explicit-capture.js';
|
|
7
7
|
import { BudgetDecision } from './cross-namespace-budget.js';
|
|
8
8
|
import { readMemoryGovernanceRunArtifact } from './maintenance/memory-governance.js';
|
|
9
|
-
import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, W as WearablesService } from './orchestrator-
|
|
9
|
+
import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, W as WearablesService } from './orchestrator-B7ixmUkP.js';
|
|
10
10
|
import { LiveConnectorsRunSummary } from './live-connectors-runner.js';
|
|
11
11
|
import { LastRecallSnapshot } from './recall-state.js';
|
|
12
12
|
import { GraphSnapshotRequest, GraphSnapshotResponse } from './graph-snapshot.js';
|
|
@@ -167,6 +167,58 @@ interface DecisionSurfaceRecord {
|
|
|
167
167
|
supersedes?: string;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
+
/**
|
|
171
|
+
* Architecture-card surface contract + handler (issue #1548 Track A PR 3).
|
|
172
|
+
*
|
|
173
|
+
* Mirrors the decision-surfaces pattern (PR 2): one shared implementation
|
|
174
|
+
* behind the MCP, HTTP, and CLI surfaces. All three transports dispatch
|
|
175
|
+
* through the `coding_architecture` boundary operation, which calls
|
|
176
|
+
* {@link handleCodingArchitecture} via the service delegate.
|
|
177
|
+
*
|
|
178
|
+
* Gate (rule 39): `codingKnowledge.enabled + architectureCard + coding
|
|
179
|
+
* context` — one predicate, identical on every surface. The tools/list
|
|
180
|
+
* visibility gate checks conditions 1–2 only (config-level).
|
|
181
|
+
*
|
|
182
|
+
* Persistence (rule 43): the card is written through the storage
|
|
183
|
+
* manager's normal persist pipeline (writeMemory for the initial card,
|
|
184
|
+
* updateMemory for refreshes) so catalog recording + reindex fire. No
|
|
185
|
+
* direct `fs` writes of memory content. Each refresh snapshots the
|
|
186
|
+
* prior content via page-versioning before overwriting (rule 25 —
|
|
187
|
+
* preserve the old before the new is ready).
|
|
188
|
+
*
|
|
189
|
+
* Subcommands:
|
|
190
|
+
* - `get`: return the current architecture card (or not-found).
|
|
191
|
+
* - `refresh`: build a fresh card from the repo, persist it, and
|
|
192
|
+
* snapshot the prior version.
|
|
193
|
+
*/
|
|
194
|
+
|
|
195
|
+
declare const ARCHITECTURE_SUBCOMMANDS: readonly ["get", "refresh"];
|
|
196
|
+
type ArchitectureSubcommand = (typeof ARCHITECTURE_SUBCOMMANDS)[number];
|
|
197
|
+
/** Canonical surface request — one shape for all three transports. */
|
|
198
|
+
interface ArchitectureSurfaceRequest {
|
|
199
|
+
subcommand: ArchitectureSubcommand;
|
|
200
|
+
sessionKey?: string;
|
|
201
|
+
namespace?: string;
|
|
202
|
+
}
|
|
203
|
+
/** Surface response — discriminated union on `subcommand`. */
|
|
204
|
+
type ArchitectureSurfaceResponse = {
|
|
205
|
+
subcommand: "get";
|
|
206
|
+
found: boolean;
|
|
207
|
+
card?: {
|
|
208
|
+
content: string;
|
|
209
|
+
generatedAt: string;
|
|
210
|
+
byteSize: number;
|
|
211
|
+
truncated: boolean;
|
|
212
|
+
};
|
|
213
|
+
} | {
|
|
214
|
+
subcommand: "refresh";
|
|
215
|
+
refreshed: boolean;
|
|
216
|
+
memoryId: string;
|
|
217
|
+
byteSize: number;
|
|
218
|
+
truncated: boolean;
|
|
219
|
+
buildCode?: string;
|
|
220
|
+
};
|
|
221
|
+
|
|
170
222
|
/**
|
|
171
223
|
* Procedural memory stats surface (issue #567 PR 5/5).
|
|
172
224
|
*
|
|
@@ -1197,6 +1249,14 @@ declare class EngramAccessService {
|
|
|
1197
1249
|
* storage root.
|
|
1198
1250
|
*/
|
|
1199
1251
|
codingDecision(request: DecisionSurfaceRequest, authenticatedPrincipal?: string): Promise<DecisionSurfaceResponse>;
|
|
1252
|
+
/** Whether the coding_architecture tool should appear in tools/list (rule 39). */
|
|
1253
|
+
get architectureCardSurfaceVisible(): boolean;
|
|
1254
|
+
/**
|
|
1255
|
+
* Thin delegate — handler logic in coding/architecture-surfaces.ts (#1548 PR3).
|
|
1256
|
+
* All three surfaces (MCP/HTTP/CLI) arrive here via the boundary operation.
|
|
1257
|
+
* Namespace resolution uses the SAME coding-scoped path as decision records.
|
|
1258
|
+
*/
|
|
1259
|
+
codingArchitecture(request: ArchitectureSurfaceRequest, authenticatedPrincipal?: string): Promise<ArchitectureSurfaceResponse>;
|
|
1200
1260
|
memoryBrowse(request?: EngramAccessMemoryBrowseRequest): Promise<EngramAccessMemoryBrowseResponse>;
|
|
1201
1261
|
memoryTimeline(memoryId: string, namespace?: string, limit?: number, principal?: string): Promise<EngramAccessTimelineResponse>;
|
|
1202
1262
|
entityList(options?: {
|
|
@@ -1963,4 +2023,4 @@ declare class EngramAccessService {
|
|
|
1963
2023
|
}): Promise<Awaited<ReturnType<WearablesService["transcriptMemories"]>>>;
|
|
1964
2024
|
}
|
|
1965
2025
|
|
|
1966
|
-
export { type
|
|
2026
|
+
export { type EngramAccessOfflineSyncSnapshotStreamResponse as $, type ArchitectureSurfaceRequest as A, type EngramAccessLcmSearchRequest as B, type CodingScopedWriteInput as C, type DecisionSurfaceRequest as D, type EngramAccessMemoryResponse as E, type EngramAccessLcmSearchResponse as F, type EngramAccessLcmStatusResponse as G, type EngramAccessMaintenanceResponse as H, type EngramAccessMemoryBrowseRequest as I, type EngramAccessMemoryBrowseResponse as J, type EngramAccessMemoryRecord as K, type EngramAccessMemoryStoreRequest as L, type EngramAccessMemorySummary as M, type EngramAccessObserveMessage as N, type EngramAccessObserveRequest as O, type ProcedureStatsConfigSnapshot as P, type EngramAccessObserveResponse as Q, type EngramAccessOfflineSyncApplyFileContentRequest as R, type EngramAccessOfflineSyncApplyFileContentResponse as S, type EngramAccessOfflineSyncApplyRequest as T, type EngramAccessOfflineSyncApplyResponse as U, type EngramAccessOfflineSyncFileContentRequest as V, type EngramAccessOfflineSyncFileContentResponse as W, type EngramAccessOfflineSyncFilesRequest as X, type EngramAccessOfflineSyncFilesResponse as Y, type EngramAccessOfflineSyncSnapshotRequest as Z, type EngramAccessOfflineSyncSnapshotResponse as _, type ArchitectureSurfaceResponse as a, type EngramAccessQmdCollectionState as a0, type EngramAccessQmdHealthResponse as a1, type EngramAccessQualityResponse as a2, type EngramAccessRecallExplainRequest as a3, type EngramAccessRecallExplainResponse as a4, type EngramAccessRecallRequest as a5, type EngramAccessReviewDispositionRequest as a6, type EngramAccessReviewDispositionResponse as a7, type EngramAccessReviewQueueResponse as a8, type EngramAccessScopeDebug as a9, type EngramAccessSetCodingContextRequest as aa, type EngramAccessSuggestionSubmitRequest as ab, type EngramAccessTimelineResponse as ac, type EngramAccessTrustZoneBrowseRequest as ad, type EngramAccessTrustZoneBrowseResponse as ae, type EngramAccessTrustZoneDemoSeedRequest as af, type EngramAccessTrustZoneDemoSeedResponse as ag, type EngramAccessTrustZonePromoteRequest as ah, type EngramAccessTrustZonePromoteResponse as ai, type EngramAccessTrustZoneRecordSummary as aj, type EngramAccessTrustZoneStatusResponse as ak, type EngramAccessWriteEnvelope as al, type MemoryScopePlan as am, shapeMemorySummary as an, type DecisionSurfaceResponse as b, type EngramAccessWriteResponse as c, EngramAccessService as d, type EngramAccessRecallResponse as e, EngramAccessInputError as f, type ProcedureStatsRecent as g, type ProcedureStatsReport as h, type ProcedureStatusCounts as i, computeProcedureStats as j, formatProcedureStatsText as k, ENGRAM_ACCESS_WRITE_SCHEMA_VERSION as l, type EngramAccessActionConfidenceRequest as m, type EngramAccessActionConfidenceResponse as n, type EngramAccessBriefingRequest as o, type EngramAccessBriefingResponse as p, type EngramAccessCapsuleListResponse as q, type EngramAccessDaySummaryRequest as r, type EngramAccessEntityListResponse as s, type EngramAccessEntityResponse as t, type EngramAccessEntitySummary as u, type EngramAccessHealthResponse as v, type EngramAccessLcmCompactionFlushRequest as w, type EngramAccessLcmCompactionFlushResponse as x, type EngramAccessLcmCompactionRecordRequest as y, type EngramAccessLcmCompactionRecordResponse as z };
|
package/dist/access-service.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './storage.js';
|
|
2
2
|
import './types-B1VHaf2w.js';
|
|
3
|
-
export { C as CodingScopedWriteInput,
|
|
3
|
+
export { C as CodingScopedWriteInput, l as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, m as EngramAccessActionConfidenceRequest, n as EngramAccessActionConfidenceResponse, o as EngramAccessBriefingRequest, p as EngramAccessBriefingResponse, q as EngramAccessCapsuleListResponse, r as EngramAccessDaySummaryRequest, s as EngramAccessEntityListResponse, t as EngramAccessEntityResponse, u as EngramAccessEntitySummary, v as EngramAccessHealthResponse, f as EngramAccessInputError, w as EngramAccessLcmCompactionFlushRequest, x as EngramAccessLcmCompactionFlushResponse, y as EngramAccessLcmCompactionRecordRequest, z as EngramAccessLcmCompactionRecordResponse, B as EngramAccessLcmSearchRequest, F as EngramAccessLcmSearchResponse, G as EngramAccessLcmStatusResponse, H as EngramAccessMaintenanceResponse, I as EngramAccessMemoryBrowseRequest, J as EngramAccessMemoryBrowseResponse, K as EngramAccessMemoryRecord, E as EngramAccessMemoryResponse, L as EngramAccessMemoryStoreRequest, M as EngramAccessMemorySummary, N as EngramAccessObserveMessage, O as EngramAccessObserveRequest, Q as EngramAccessObserveResponse, R as EngramAccessOfflineSyncApplyFileContentRequest, S as EngramAccessOfflineSyncApplyFileContentResponse, T as EngramAccessOfflineSyncApplyRequest, U as EngramAccessOfflineSyncApplyResponse, V as EngramAccessOfflineSyncFileContentRequest, W as EngramAccessOfflineSyncFileContentResponse, X as EngramAccessOfflineSyncFilesRequest, Y as EngramAccessOfflineSyncFilesResponse, Z as EngramAccessOfflineSyncSnapshotRequest, _ as EngramAccessOfflineSyncSnapshotResponse, $ as EngramAccessOfflineSyncSnapshotStreamResponse, a0 as EngramAccessQmdCollectionState, a1 as EngramAccessQmdHealthResponse, a2 as EngramAccessQualityResponse, a3 as EngramAccessRecallExplainRequest, a4 as EngramAccessRecallExplainResponse, a5 as EngramAccessRecallRequest, e as EngramAccessRecallResponse, a6 as EngramAccessReviewDispositionRequest, a7 as EngramAccessReviewDispositionResponse, a8 as EngramAccessReviewQueueResponse, a9 as EngramAccessScopeDebug, d as EngramAccessService, aa as EngramAccessSetCodingContextRequest, ab as EngramAccessSuggestionSubmitRequest, ac as EngramAccessTimelineResponse, ad as EngramAccessTrustZoneBrowseRequest, ae as EngramAccessTrustZoneBrowseResponse, af as EngramAccessTrustZoneDemoSeedRequest, ag as EngramAccessTrustZoneDemoSeedResponse, ah as EngramAccessTrustZonePromoteRequest, ai as EngramAccessTrustZonePromoteResponse, aj as EngramAccessTrustZoneRecordSummary, ak as EngramAccessTrustZoneStatusResponse, al as EngramAccessWriteEnvelope, c as EngramAccessWriteResponse, am as MemoryScopePlan, an as shapeMemorySummary } from './access-service-Dujr3MTm.js';
|
|
4
4
|
import './recall-explain-renderer.js';
|
|
5
5
|
import './types-Dm5xxVrr.js';
|
|
6
6
|
import './recall-audit-anomaly.js';
|
|
7
7
|
import './explicit-capture.js';
|
|
8
8
|
import './cross-namespace-budget.js';
|
|
9
9
|
import './maintenance/memory-governance.js';
|
|
10
|
-
import './orchestrator-
|
|
10
|
+
import './orchestrator-B7ixmUkP.js';
|
|
11
11
|
import './live-connectors-runner.js';
|
|
12
12
|
import './recall-state.js';
|
|
13
13
|
import './graph-snapshot.js';
|
|
@@ -29,6 +29,7 @@ import './memory-projection-store.js';
|
|
|
29
29
|
import './runtime/better-sqlite.js';
|
|
30
30
|
import 'better-sqlite3';
|
|
31
31
|
import './types-ByK7T3L6.js';
|
|
32
|
+
import './structured-attributes.js';
|
|
32
33
|
import './search/port.js';
|
|
33
34
|
import './memory-provenance.js';
|
|
34
35
|
import './user-model.js';
|
|
@@ -60,7 +61,7 @@ import './conversation-index/backend.js';
|
|
|
60
61
|
import './conversation-index/chunker.js';
|
|
61
62
|
import './faiss-adapter-BHecI1fF.js';
|
|
62
63
|
import './runtime/child-process.js';
|
|
63
|
-
import './catalog-
|
|
64
|
+
import './catalog-CKPtJ114.js';
|
|
64
65
|
import './namespaces/search.js';
|
|
65
66
|
import './shared-context/manager.js';
|
|
66
67
|
import 'zod';
|
package/dist/access-service.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EngramAccessInputError,
|
|
4
4
|
EngramAccessService,
|
|
5
5
|
shapeMemorySummary
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z7KILAOU.js";
|
|
7
7
|
import "./chunk-GDASG7NC.js";
|
|
8
8
|
import "./chunk-GDB4J2H3.js";
|
|
9
9
|
import "./chunk-ARV3AUOM.js";
|
|
@@ -19,22 +19,22 @@ import "./chunk-LLONI6PY.js";
|
|
|
19
19
|
import "./chunk-BMFZLLNI.js";
|
|
20
20
|
import "./chunk-CI7RKSRE.js";
|
|
21
21
|
import "./chunk-6HMYUWXR.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-54PVJDO5.js";
|
|
23
|
+
import "./chunk-LXIEXSHU.js";
|
|
24
|
+
import "./chunk-TYF3D4MS.js";
|
|
25
|
+
import "./chunk-5CEJH5ZN.js";
|
|
25
26
|
import "./chunk-WRFKZEO6.js";
|
|
26
27
|
import "./chunk-CYEPCZN5.js";
|
|
27
28
|
import "./chunk-LQ6JI4VH.js";
|
|
28
29
|
import "./chunk-SANZHXY2.js";
|
|
29
|
-
import "./chunk-EHISUJFN.js";
|
|
30
|
-
import "./chunk-5CEJH5ZN.js";
|
|
31
30
|
import "./chunk-AER6MT24.js";
|
|
31
|
+
import "./chunk-EHISUJFN.js";
|
|
32
32
|
import "./chunk-CINZGPSJ.js";
|
|
33
33
|
import "./chunk-ZFXCQPNO.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-XBZQRZ6G.js";
|
|
34
|
+
import "./chunk-ZUDM75KG.js";
|
|
36
35
|
import "./chunk-KCQA46NR.js";
|
|
37
36
|
import "./chunk-SJHM6I4J.js";
|
|
37
|
+
import "./chunk-XBZQRZ6G.js";
|
|
38
38
|
import "./chunk-K43PI6DQ.js";
|
|
39
39
|
import "./chunk-YNQ6DFSV.js";
|
|
40
40
|
import "./chunk-EIR5VLIH.js";
|
|
@@ -51,11 +51,12 @@ import "./chunk-KF74X62T.js";
|
|
|
51
51
|
import "./chunk-2LSZVONP.js";
|
|
52
52
|
import "./chunk-DEUNUKTD.js";
|
|
53
53
|
import "./chunk-YN4ZT4CW.js";
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-X7RLU5CR.js";
|
|
55
|
+
import "./chunk-CUNTLEJP.js";
|
|
56
56
|
import "./chunk-M7XQSUBB.js";
|
|
57
57
|
import "./chunk-5UZXUTVO.js";
|
|
58
58
|
import "./chunk-5GPPACXK.js";
|
|
59
|
+
import "./chunk-SVOZFLIQ.js";
|
|
59
60
|
import "./chunk-J6A3CX5N.js";
|
|
60
61
|
import "./chunk-NGFEWFNK.js";
|
|
61
62
|
import "./chunk-MB5RSUW6.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OperationName } from './access-boundary.js';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import './access-service-
|
|
3
|
+
import './access-service-Dujr3MTm.js';
|
|
4
4
|
import './storage.js';
|
|
5
5
|
import './page-versioning.js';
|
|
6
6
|
import './consolidation-operator.js';
|
|
@@ -11,6 +11,7 @@ import './memory-projection-store.js';
|
|
|
11
11
|
import './maintenance/memory-governance.js';
|
|
12
12
|
import './runtime/better-sqlite.js';
|
|
13
13
|
import 'better-sqlite3';
|
|
14
|
+
import './structured-attributes.js';
|
|
14
15
|
import './types-B1VHaf2w.js';
|
|
15
16
|
import './recall-explain-renderer.js';
|
|
16
17
|
import './recall-state.js';
|
|
@@ -21,7 +22,7 @@ import './user-model.js';
|
|
|
21
22
|
import './recall-audit-anomaly.js';
|
|
22
23
|
import './recall-audit.js';
|
|
23
24
|
import './explicit-capture.js';
|
|
24
|
-
import './orchestrator-
|
|
25
|
+
import './orchestrator-B7ixmUkP.js';
|
|
25
26
|
import './briefing.js';
|
|
26
27
|
import './buffer.js';
|
|
27
28
|
import './transcript.js';
|
|
@@ -53,7 +54,7 @@ import './conversation-index/backend.js';
|
|
|
53
54
|
import './conversation-index/chunker.js';
|
|
54
55
|
import './faiss-adapter-BHecI1fF.js';
|
|
55
56
|
import './runtime/child-process.js';
|
|
56
|
-
import './catalog-
|
|
57
|
+
import './catalog-CKPtJ114.js';
|
|
57
58
|
import './namespaces/search.js';
|
|
58
59
|
import './shared-context/manager.js';
|
|
59
60
|
import './compounding/engine.js';
|
|
@@ -26,6 +26,7 @@ var MCP_TOOLS = [
|
|
|
26
26
|
{ tool: "memory_timeline", operation: null },
|
|
27
27
|
{ tool: "memory_store", operation: "memory_store" },
|
|
28
28
|
{ tool: "coding_decision", operation: "coding_decision" },
|
|
29
|
+
{ tool: "coding_architecture", operation: "coding_architecture" },
|
|
29
30
|
{ tool: "suggestion_submit", operation: null },
|
|
30
31
|
{ tool: "entity_get", operation: null },
|
|
31
32
|
{ tool: "review_queue_list", operation: null },
|
|
@@ -115,6 +116,7 @@ var HTTP_ROUTES = [
|
|
|
115
116
|
{ method: "GET", pathname: "/engram/v1/lcm/status", operation: null },
|
|
116
117
|
{ method: "POST", pathname: "/engram/v1/memories", operation: "memory_store" },
|
|
117
118
|
{ method: "POST", pathname: "/engram/v1/coding/decisions", operation: "coding_decision" },
|
|
119
|
+
{ method: "POST", pathname: "/engram/v1/coding/architecture", operation: "coding_architecture" },
|
|
118
120
|
{ method: "POST", pathname: "/engram/v1/suggestions", operation: null },
|
|
119
121
|
{ method: "GET", pathname: "/engram/v1/memories", operation: null },
|
|
120
122
|
{ method: "GET", pathname: "/engram/v1/memories/:id", operation: "memory_get" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/access-surface-catalog.ts"],"sourcesContent":["/**\n * Static inventory of every handler on the MCP and HTTP access surfaces, with\n * its migration status against the access boundary (issue #1525).\n *\n * The fitness test (`access-surface-catalog.test.ts`) walks this catalog,\n * checks each entry against the live registry, and counts unmigrated handlers.\n * The ratchet (`scripts/check-ratchets.mjs`) reads this file and counts\n * `operation: null` entries so the unmigrated count can only decrease.\n *\n * WHEN MIGRATING A HANDLER (follow-up PRs):\n * 1. Add the operation to `access-operations.ts` via `defineOperation`.\n * 2. Flip its entry here from `operation: null` to `operation: \"<name>\"`.\n * 3. Delete the surface-local validation the handler used to do.\n * 4. Run `node scripts/check-ratchets.mjs --update` to ratchet the count\n * down — the improvement is recorded in `scripts/ratchet-baseline.json`.\n *\n * WHEN ADDING A NEW HANDLER:\n * 1. Add the entry here with `operation: null` (the fitness test will fail\n * until you either migrate it or acknowledge it as unmigrated).\n * 2. Migrate it in the same PR if it carries user input — the boundary's\n * whole point is that no new handler bypasses it.\n */\n\nimport type { OperationName } from \"./access-boundary.js\";\n\n/**\n * One row per MCP tool, keyed by the canonical SHORT name (no `engram.`/\n * `remnic.` prefix — both aliases dispatch to the same operation). The name\n * MUST match the tool's short suffix as advertised by `tools/list`.\n */\nexport interface McpToolEntry {\n readonly tool: string;\n readonly operation: OperationName | null;\n}\n\n/**\n * One row per HTTP route that invokes an access-service method. Routes that\n * only serve static assets, SSE streams, or admin console HTML are excluded —\n * they don't carry user-validated request envelopes into the facade.\n */\nexport interface HttpRouteEntry {\n readonly method: \"GET\" | \"POST\" | \"PUT\" | \"PATCH\" | \"DELETE\";\n readonly pathname: string;\n readonly operation: OperationName | null;\n}\n\n// Each tool below corresponds 1:1 to an `engram.*` definition in\n// `EngramMcpServer.tools` (access-mcp.ts). The fitness test asserts the live\n// `tools/list` response matches this list by short name, so a new tool cannot\n// land without either migrating it or acknowledging the unmigrated count.\nexport const MCP_TOOLS: readonly McpToolEntry[] = [\n { tool: \"recall\", operation: null },\n { tool: \"recall_explain\", operation: null },\n { tool: \"set_coding_context\", operation: null },\n { tool: \"recall_tier_explain\", operation: null },\n { tool: \"recall_xray\", operation: null },\n { tool: \"wearables_status\", operation: null },\n { tool: \"wearables_sync\", operation: null },\n { tool: \"transcript_day\", operation: null },\n { tool: \"transcript_search\", operation: null },\n { tool: \"transcript_memories\", operation: null },\n { tool: \"action_confidence\", operation: null },\n { tool: \"chatgpt_memory_inspector\", operation: null },\n { tool: \"day_summary\", operation: null },\n { tool: \"capsule_export\", operation: null },\n { tool: \"capsule_import\", operation: null },\n { tool: \"capsule_list\", operation: null },\n { tool: \"memory_governance_run\", operation: null },\n { tool: \"procedure_mining_run\", operation: null },\n { tool: \"pattern_reinforcement_run\", operation: null },\n { tool: \"procedural_stats\", operation: null },\n { tool: \"memory_get\", operation: \"memory_get\" },\n { tool: \"memory_timeline\", operation: null },\n { tool: \"memory_store\", operation: \"memory_store\" },\n { tool: \"coding_decision\", operation: \"coding_decision\" },\n { tool: \"suggestion_submit\", operation: null },\n { tool: \"entity_get\", operation: null },\n { tool: \"review_queue_list\", operation: null },\n { tool: \"observe\", operation: null },\n { tool: \"lcm_search\", operation: null },\n { tool: \"lcm_compaction_flush\", operation: null },\n { tool: \"lcm_compaction_record\", operation: null },\n { tool: \"continuity_audit_generate\", operation: null },\n { tool: \"continuity_incident_open\", operation: null },\n { tool: \"continuity_incident_close\", operation: null },\n { tool: \"continuity_incident_list\", operation: null },\n { tool: \"continuity_loop_add_or_update\", operation: null },\n { tool: \"continuity_loop_review\", operation: null },\n { tool: \"identity_anchor_get\", operation: null },\n { tool: \"identity_anchor_update\", operation: null },\n { tool: \"memory_identity\", operation: null },\n { tool: \"work_task\", operation: null },\n { tool: \"work_project\", operation: null },\n { tool: \"work_board\", operation: null },\n { tool: \"shared_context_write_output\", operation: null },\n { tool: \"shared_feedback_record\", operation: null },\n { tool: \"shared_priorities_append\", operation: null },\n { tool: \"shared_context_cross_signals_run\", operation: null },\n { tool: \"shared_context_curate_daily\", operation: null },\n { tool: \"compounding_weekly_synthesize\", operation: null },\n { tool: \"compounding_promote_candidate\", operation: null },\n { tool: \"compression_guidelines_optimize\", operation: null },\n { tool: \"compression_guidelines_activate\", operation: null },\n { tool: \"memory_search\", operation: \"memory_search\" },\n { tool: \"memory_profile\", operation: null },\n { tool: \"memory_entities_list\", operation: null },\n { tool: \"memory_questions\", operation: null },\n { tool: \"memory_last_recall\", operation: null },\n { tool: \"memory_intent_debug\", operation: null },\n { tool: \"memory_qmd_debug\", operation: null },\n { tool: \"memory_graph_explain\", operation: null },\n { tool: \"graph_snapshot\", operation: null },\n { tool: \"memory_feedback\", operation: null },\n { tool: \"memory_promote\", operation: null },\n { tool: \"memory_outcome\", operation: null },\n { tool: \"memory_action_apply\", operation: null },\n { tool: \"context_checkpoint\", operation: null },\n { tool: \"briefing\", operation: null },\n { tool: \"review_list\", operation: null },\n { tool: \"review_resolve\", operation: null },\n { tool: \"contradiction_scan_run\", operation: null },\n { tool: \"memory_summarize_hourly\", operation: null },\n { tool: \"conversation_index_update\", operation: null },\n { tool: \"profiling_report\", operation: null },\n { tool: \"graph_edge_decay_run\", operation: null },\n { tool: \"live_connectors_run\", operation: null },\n { tool: \"peer_list\", operation: null },\n { tool: \"peer_get\", operation: null },\n { tool: \"peer_set\", operation: null },\n { tool: \"peer_delete\", operation: null },\n { tool: \"peer_profile_get\", operation: null },\n { tool: \"peer_forget\", operation: null },\n { tool: \"console_state\", operation: null },\n { tool: \"dreams_status\", operation: null },\n { tool: \"dreams_run\", operation: null },\n];\n\n// Each route below corresponds 1:1 to a service-invoking route branch in\n// `EngramAccessHttpServer.handle` (access-http.ts). Pathname patterns use\n// `:param` for path segments. The fitness test asserts each entry resolves\n// against the catalog so a new service route cannot land without either\n// migrating it or acknowledging the unmigrated count. Infrastructure probes\n// (health, adapters, the /mcp delegate, admin console, SSE-only endpoints)\n// carry no user request envelope and are intentionally excluded.\nexport const HTTP_ROUTES: readonly HttpRouteEntry[] = [\n { method: \"POST\", pathname: \"/engram/v1/recall\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/coding-context\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/capsules/export\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/capsules/import\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/offline-sync/snapshot\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/offline-sync/snapshot-stream\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/snapshot\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/files\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/file-content\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/apply-file-content\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/apply\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/recall/explain\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/action-confidence\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/recall/tier-explain\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/recall/xray\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/status\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/wearables/sync\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/transcript\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/transcripts/search\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/memories\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/observe\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/lcm/search\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/lcm/compaction/flush\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/lcm/compaction/record\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/lcm/status\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/memories\", operation: \"memory_store\" },\n { method: \"POST\", pathname: \"/engram/v1/coding/decisions\", operation: \"coding_decision\" },\n { method: \"POST\", pathname: \"/engram/v1/suggestions\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/memories\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/memories/:id\", operation: \"memory_get\" },\n { method: \"GET\", pathname: \"/engram/v1/memories/:id/timeline\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/entities\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/entities/:id\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/review-queue\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/maintenance\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/quality\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/trust-zones/status\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/procedural/stats\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/trust-zones/records\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/review-disposition\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/trust-zones/promote\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/trust-zones/demo-seed\", operation: null },\n { method: \"POST\", pathname: \"/v1/citations/observed\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/review/contradictions\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/review/contradictions/:id\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/review/resolve\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/graph/snapshot\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/contradiction-scan\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/graph/events\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/console/state\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/peers\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/peers/:id/profile\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/peers/:id\", operation: null },\n { method: \"PUT\", pathname: \"/engram/v1/peers/:id\", operation: null },\n { method: \"DELETE\", pathname: \"/engram/v1/peers/:id\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/dreams/status\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/dreams/run\", operation: null },\n];\n\n/**\n * Total unmigrated-handler count across both surfaces. The ratchet baseline\n * tracks this number; it may only decrease. `access-surface-catalog.test.ts`\n * recomputes it from the live catalog and asserts equality, so a catalog edit\n * without a baseline bump (or, ideally, a migration) fails the gate.\n */\nexport function countUnmigratedHandlers(): number {\n let count = 0;\n for (const entry of MCP_TOOLS) {\n if (entry.operation === null) count += 1;\n }\n for (const entry of HTTP_ROUTES) {\n if (entry.operation === null) count += 1;\n }\n return count;\n}\n"],"mappings":";;;AAkDO,IAAM,YAAqC;AAAA,EAChD,EAAE,MAAM,UAAU,WAAW,KAAK;AAAA,EAClC,EAAE,MAAM,kBAAkB,WAAW,KAAK;AAAA,EAC1C,EAAE,MAAM,sBAAsB,WAAW,KAAK;AAAA,EAC9C,EAAE,MAAM,uBAAuB,WAAW,KAAK;AAAA,EAC/C,EAAE,MAAM,eAAe,WAAW,KAAK;AAAA,EACvC,EAAE,MAAM,oBAAoB,WAAW,KAAK;AAAA,EAC5C,EAAE,MAAM,kBAAkB,WAAW,KAAK;AAAA,EAC1C,EAAE,MAAM,kBAAkB,WAAW,KAAK;AAAA,EAC1C,EAAE,MAAM,qBAAqB,WAAW,KAAK;AAAA,EAC7C,EAAE,MAAM,uBAAuB,WAAW,KAAK;AAAA,EAC/C,EAAE,MAAM,qBAAqB,WAAW,KAAK;AAAA,EAC7C,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tE,EAAE,QAAQ,OAAO,UAAU,4BAA4B,WAAW,KAAK;AAAA,EACvE,EAAE,QAAQ,OAAO,UAAU,oBAAoB,WAAW,KAAK;AAAA,EAC/D,EAAE,QAAQ,OAAO,UAAU,gCAAgC,WAAW,KAAK;AAAA,EAC3E,EAAE,QAAQ,OAAO,UAAU,wBAAwB,WAAW,KAAK;AAAA,EACnE,EAAE,QAAQ,OAAO,UAAU,wBAAwB,WAAW,KAAK;AAAA,EACnE,EAAE,QAAQ,UAAU,UAAU,wBAAwB,WAAW,KAAK;AAAA,EACtE,EAAE,QAAQ,OAAO,UAAU,4BAA4B,WAAW,KAAK;AAAA,EACvE,EAAE,QAAQ,QAAQ,UAAU,yBAAyB,WAAW,KAAK;AACvE;AAQO,SAAS,0BAAkC;AAChD,MAAI,QAAQ;AACZ,aAAW,SAAS,WAAW;AAC7B,QAAI,MAAM,cAAc,KAAM,UAAS;AAAA,EACzC;AACA,aAAW,SAAS,aAAa;AAC/B,QAAI,MAAM,cAAc,KAAM,UAAS;AAAA,EACzC;AACA,SAAO;AACT;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/access-surface-catalog.ts"],"sourcesContent":["/**\n * Static inventory of every handler on the MCP and HTTP access surfaces, with\n * its migration status against the access boundary (issue #1525).\n *\n * The fitness test (`access-surface-catalog.test.ts`) walks this catalog,\n * checks each entry against the live registry, and counts unmigrated handlers.\n * The ratchet (`scripts/check-ratchets.mjs`) reads this file and counts\n * `operation: null` entries so the unmigrated count can only decrease.\n *\n * WHEN MIGRATING A HANDLER (follow-up PRs):\n * 1. Add the operation to `access-operations.ts` via `defineOperation`.\n * 2. Flip its entry here from `operation: null` to `operation: \"<name>\"`.\n * 3. Delete the surface-local validation the handler used to do.\n * 4. Run `node scripts/check-ratchets.mjs --update` to ratchet the count\n * down — the improvement is recorded in `scripts/ratchet-baseline.json`.\n *\n * WHEN ADDING A NEW HANDLER:\n * 1. Add the entry here with `operation: null` (the fitness test will fail\n * until you either migrate it or acknowledge it as unmigrated).\n * 2. Migrate it in the same PR if it carries user input — the boundary's\n * whole point is that no new handler bypasses it.\n */\n\nimport type { OperationName } from \"./access-boundary.js\";\n\n/**\n * One row per MCP tool, keyed by the canonical SHORT name (no `engram.`/\n * `remnic.` prefix — both aliases dispatch to the same operation). The name\n * MUST match the tool's short suffix as advertised by `tools/list`.\n */\nexport interface McpToolEntry {\n readonly tool: string;\n readonly operation: OperationName | null;\n}\n\n/**\n * One row per HTTP route that invokes an access-service method. Routes that\n * only serve static assets, SSE streams, or admin console HTML are excluded —\n * they don't carry user-validated request envelopes into the facade.\n */\nexport interface HttpRouteEntry {\n readonly method: \"GET\" | \"POST\" | \"PUT\" | \"PATCH\" | \"DELETE\";\n readonly pathname: string;\n readonly operation: OperationName | null;\n}\n\n// Each tool below corresponds 1:1 to an `engram.*` definition in\n// `EngramMcpServer.tools` (access-mcp.ts). The fitness test asserts the live\n// `tools/list` response matches this list by short name, so a new tool cannot\n// land without either migrating it or acknowledging the unmigrated count.\nexport const MCP_TOOLS: readonly McpToolEntry[] = [\n { tool: \"recall\", operation: null },\n { tool: \"recall_explain\", operation: null },\n { tool: \"set_coding_context\", operation: null },\n { tool: \"recall_tier_explain\", operation: null },\n { tool: \"recall_xray\", operation: null },\n { tool: \"wearables_status\", operation: null },\n { tool: \"wearables_sync\", operation: null },\n { tool: \"transcript_day\", operation: null },\n { tool: \"transcript_search\", operation: null },\n { tool: \"transcript_memories\", operation: null },\n { tool: \"action_confidence\", operation: null },\n { tool: \"chatgpt_memory_inspector\", operation: null },\n { tool: \"day_summary\", operation: null },\n { tool: \"capsule_export\", operation: null },\n { tool: \"capsule_import\", operation: null },\n { tool: \"capsule_list\", operation: null },\n { tool: \"memory_governance_run\", operation: null },\n { tool: \"procedure_mining_run\", operation: null },\n { tool: \"pattern_reinforcement_run\", operation: null },\n { tool: \"procedural_stats\", operation: null },\n { tool: \"memory_get\", operation: \"memory_get\" },\n { tool: \"memory_timeline\", operation: null },\n { tool: \"memory_store\", operation: \"memory_store\" },\n { tool: \"coding_decision\", operation: \"coding_decision\" },\n { tool: \"coding_architecture\", operation: \"coding_architecture\" },\n { tool: \"suggestion_submit\", operation: null },\n { tool: \"entity_get\", operation: null },\n { tool: \"review_queue_list\", operation: null },\n { tool: \"observe\", operation: null },\n { tool: \"lcm_search\", operation: null },\n { tool: \"lcm_compaction_flush\", operation: null },\n { tool: \"lcm_compaction_record\", operation: null },\n { tool: \"continuity_audit_generate\", operation: null },\n { tool: \"continuity_incident_open\", operation: null },\n { tool: \"continuity_incident_close\", operation: null },\n { tool: \"continuity_incident_list\", operation: null },\n { tool: \"continuity_loop_add_or_update\", operation: null },\n { tool: \"continuity_loop_review\", operation: null },\n { tool: \"identity_anchor_get\", operation: null },\n { tool: \"identity_anchor_update\", operation: null },\n { tool: \"memory_identity\", operation: null },\n { tool: \"work_task\", operation: null },\n { tool: \"work_project\", operation: null },\n { tool: \"work_board\", operation: null },\n { tool: \"shared_context_write_output\", operation: null },\n { tool: \"shared_feedback_record\", operation: null },\n { tool: \"shared_priorities_append\", operation: null },\n { tool: \"shared_context_cross_signals_run\", operation: null },\n { tool: \"shared_context_curate_daily\", operation: null },\n { tool: \"compounding_weekly_synthesize\", operation: null },\n { tool: \"compounding_promote_candidate\", operation: null },\n { tool: \"compression_guidelines_optimize\", operation: null },\n { tool: \"compression_guidelines_activate\", operation: null },\n { tool: \"memory_search\", operation: \"memory_search\" },\n { tool: \"memory_profile\", operation: null },\n { tool: \"memory_entities_list\", operation: null },\n { tool: \"memory_questions\", operation: null },\n { tool: \"memory_last_recall\", operation: null },\n { tool: \"memory_intent_debug\", operation: null },\n { tool: \"memory_qmd_debug\", operation: null },\n { tool: \"memory_graph_explain\", operation: null },\n { tool: \"graph_snapshot\", operation: null },\n { tool: \"memory_feedback\", operation: null },\n { tool: \"memory_promote\", operation: null },\n { tool: \"memory_outcome\", operation: null },\n { tool: \"memory_action_apply\", operation: null },\n { tool: \"context_checkpoint\", operation: null },\n { tool: \"briefing\", operation: null },\n { tool: \"review_list\", operation: null },\n { tool: \"review_resolve\", operation: null },\n { tool: \"contradiction_scan_run\", operation: null },\n { tool: \"memory_summarize_hourly\", operation: null },\n { tool: \"conversation_index_update\", operation: null },\n { tool: \"profiling_report\", operation: null },\n { tool: \"graph_edge_decay_run\", operation: null },\n { tool: \"live_connectors_run\", operation: null },\n { tool: \"peer_list\", operation: null },\n { tool: \"peer_get\", operation: null },\n { tool: \"peer_set\", operation: null },\n { tool: \"peer_delete\", operation: null },\n { tool: \"peer_profile_get\", operation: null },\n { tool: \"peer_forget\", operation: null },\n { tool: \"console_state\", operation: null },\n { tool: \"dreams_status\", operation: null },\n { tool: \"dreams_run\", operation: null },\n];\n\n// Each route below corresponds 1:1 to a service-invoking route branch in\n// `EngramAccessHttpServer.handle` (access-http.ts). Pathname patterns use\n// `:param` for path segments. The fitness test asserts each entry resolves\n// against the catalog so a new service route cannot land without either\n// migrating it or acknowledging the unmigrated count. Infrastructure probes\n// (health, adapters, the /mcp delegate, admin console, SSE-only endpoints)\n// carry no user request envelope and are intentionally excluded.\nexport const HTTP_ROUTES: readonly HttpRouteEntry[] = [\n { method: \"POST\", pathname: \"/engram/v1/recall\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/coding-context\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/capsules/export\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/capsules/import\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/offline-sync/snapshot\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/offline-sync/snapshot-stream\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/snapshot\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/files\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/file-content\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/apply-file-content\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/apply\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/recall/explain\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/action-confidence\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/recall/tier-explain\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/recall/xray\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/status\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/wearables/sync\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/transcript\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/transcripts/search\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/memories\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/observe\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/lcm/search\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/lcm/compaction/flush\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/lcm/compaction/record\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/lcm/status\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/memories\", operation: \"memory_store\" },\n { method: \"POST\", pathname: \"/engram/v1/coding/decisions\", operation: \"coding_decision\" },\n { method: \"POST\", pathname: \"/engram/v1/coding/architecture\", operation: \"coding_architecture\" },\n { method: \"POST\", pathname: \"/engram/v1/suggestions\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/memories\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/memories/:id\", operation: \"memory_get\" },\n { method: \"GET\", pathname: \"/engram/v1/memories/:id/timeline\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/entities\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/entities/:id\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/review-queue\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/maintenance\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/quality\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/trust-zones/status\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/procedural/stats\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/trust-zones/records\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/review-disposition\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/trust-zones/promote\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/trust-zones/demo-seed\", operation: null },\n { method: \"POST\", pathname: \"/v1/citations/observed\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/review/contradictions\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/review/contradictions/:id\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/review/resolve\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/graph/snapshot\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/contradiction-scan\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/graph/events\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/console/state\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/peers\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/peers/:id/profile\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/peers/:id\", operation: null },\n { method: \"PUT\", pathname: \"/engram/v1/peers/:id\", operation: null },\n { method: \"DELETE\", pathname: \"/engram/v1/peers/:id\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/dreams/status\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/dreams/run\", operation: null },\n];\n\n/**\n * Total unmigrated-handler count across both surfaces. The ratchet baseline\n * tracks this number; it may only decrease. `access-surface-catalog.test.ts`\n * recomputes it from the live catalog and asserts equality, so a catalog edit\n * without a baseline bump (or, ideally, a migration) fails the gate.\n */\nexport function countUnmigratedHandlers(): number {\n let count = 0;\n for (const entry of MCP_TOOLS) {\n if (entry.operation === null) count += 1;\n }\n for (const entry of HTTP_ROUTES) {\n if (entry.operation === null) count += 1;\n }\n return count;\n}\n"],"mappings":";;;AAkDO,IAAM,YAAqC;AAAA,EAChD,EAAE,MAAM,UAAU,WAAW,KAA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AAO;AACT;","names":[]}
|
package/dist/bootstrap.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { P as PluginConfig } from './types-Dm5xxVrr.js';
|
|
2
|
-
import { O as Orchestrator } from './orchestrator-
|
|
2
|
+
import { O as Orchestrator } from './orchestrator-B7ixmUkP.js';
|
|
3
3
|
import './types-ByK7T3L6.js';
|
|
4
4
|
import './index-DJ9QWMw-.js';
|
|
5
5
|
import './briefing.js';
|
|
@@ -10,6 +10,7 @@ import './memory-projection-store.js';
|
|
|
10
10
|
import './maintenance/memory-governance.js';
|
|
11
11
|
import './runtime/better-sqlite.js';
|
|
12
12
|
import 'better-sqlite3';
|
|
13
|
+
import './structured-attributes.js';
|
|
13
14
|
import './buffer.js';
|
|
14
15
|
import './search/port.js';
|
|
15
16
|
import './transcript.js';
|
|
@@ -45,7 +46,7 @@ import './conversation-index/backend.js';
|
|
|
45
46
|
import './conversation-index/chunker.js';
|
|
46
47
|
import './faiss-adapter-BHecI1fF.js';
|
|
47
48
|
import './runtime/child-process.js';
|
|
48
|
-
import './catalog-
|
|
49
|
+
import './catalog-CKPtJ114.js';
|
|
49
50
|
import './namespaces/search.js';
|
|
50
51
|
import './shared-context/manager.js';
|
|
51
52
|
import 'zod';
|