@descix/platform-api 5.1.1 → 5.3.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.md +80 -71
- package/README.md +71 -0
- package/package.json +7 -4
- package/src/account-admin/conformance.js +526 -0
- package/src/account-admin/contract.js +513 -0
- package/src/account-admin/index.js +913 -0
- package/src/email/index.js +50 -5
- package/src/fabric/vocab.js +12 -12
- package/src/index.js +64 -0
- package/src/manifest/index.js +1 -1
- package/src/mcp-tools/chatMedia.js +1 -1
- package/src/mcp-tools/cli-verbs.generated.json +101 -26
- package/src/mcp-tools/cli-verbs.js +2 -2
- package/src/mcp-tools/evidence-contract.js +7 -7
- package/src/mcp-tools/handshake.js +2 -3
- package/src/mcp-tools/index.js +7 -7
- package/src/mcp-tools/nativeTools.js +24 -24
- package/src/mcp-tools/paramValidation.js +4 -5
- package/src/mcp-tools/platform-basics.js +1 -1
- package/src/mcp-tools/setup-playbook.js +6 -6
- package/src/models/index.js +1231 -33
- package/src/naming/index.js +1 -1
- package/src/operator/booted-database.js +48 -0
- package/src/operator/index.js +142 -0
- package/src/permissions/index.js +1 -1
- package/src/service-bootstrap/index.js +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @descix/platform-api/mcp-tools — Shared native (core) MCP tool definitions.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
*
|
|
5
5
|
* THE single source of truth for the curated CORE MCP tools that are advertised over
|
|
6
6
|
* BOTH MCP transports:
|
|
7
7
|
* - stdio (descix-cli/bin/mcp-server.js — Cursor / Claude Desktop)
|
|
8
|
-
* - HTTP/Streamable (
|
|
8
|
+
* - HTTP/Streamable (Cloud apiFront.js tools/list — the Claude.ai connector)
|
|
9
9
|
*
|
|
10
10
|
* Before this module these two lists were hand-duplicated in mcp-server.js TOOLS[] and
|
|
11
11
|
* Cloud services/nativeMcpTools.js NATIVE_MCP_TOOLS — they drifted. They now both import
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
* local CLI diagnostics, NOT /apifront commands, so they are concatenated by the stdio
|
|
36
36
|
* server only and never advertised over HTTP. (Audit §2.ii-a.)
|
|
37
37
|
*
|
|
38
|
-
* Every entry MUST be a real command in
|
|
38
|
+
* Every entry MUST be a real command in Cloud commandHandlers/registry.js.
|
|
39
39
|
*/
|
|
40
40
|
|
|
41
41
|
import { mediaParamSchema } from './chatMedia.js';
|
|
@@ -45,7 +45,7 @@ import { mediaParamSchema } from './chatMedia.js';
|
|
|
45
45
|
import { filterOperatorClause, SCALAR_FILTER_OPERATORS, ARRAY_FILTER_OPERATORS } from './recordFilter.js';
|
|
46
46
|
// The coordination fabric's vocabulary, from its ONE owner. Every fabric_* enum and every numeric
|
|
47
47
|
// default below is INTERPOLATED from these exports rather than retyped: the enum a caller is shown
|
|
48
|
-
// here and the enum
|
|
48
|
+
// here and the enum Cloud's fabricStore.js accepts must be the same list, or a caller is
|
|
49
49
|
// refused against a contract it was never given. `fabric-vocabulary-conformance.test.js` fails CI
|
|
50
50
|
// if any schema enum below stops deep-equalling its source. ../fabric/vocab.js is a pure,
|
|
51
51
|
// zero-import leaf, so this import respects the infrastructure-free rule above.
|
|
@@ -157,7 +157,7 @@ export const NATIVE_MCP_TOOLS = Object.freeze([
|
|
|
157
157
|
knowledgebase_names: { type: 'array', items: { type: 'string' }, description: 'Optional: draw the answer from several of the app\'s knowledge bases fused together in one call. The FIRST name is the primary KB whose voice and model settings shape the reply. Takes precedence over knowledgebase_name when both are given; a single "*" element means every KB in the app.' },
|
|
158
158
|
user_input: { type: 'string', description: 'The question to ask' },
|
|
159
159
|
previous_interaction_id: { type: 'string', description: 'The interaction_id returned by a previous response, to continue that conversation thread with full server-side memory of the earlier turns. Omit for the first message. It is scoped to the authenticated caller and is rejected if it belongs to someone else or has expired — on rejection, start a fresh thread by omitting it.' },
|
|
160
|
-
//
|
|
160
|
+
// the schema IS the
|
|
161
161
|
// self-describing feed into MCP, so an under-declared contract is the bug — not
|
|
162
162
|
// the caller who passes a param the command genuinely honors. Every property
|
|
163
163
|
// below is read by the handler (ragCommands.js ask_question_to_app destructures
|
|
@@ -172,7 +172,7 @@ export const NATIVE_MCP_TOOLS = Object.freeze([
|
|
|
172
172
|
file_id: { type: 'string', description: 'Scope the answer to ONE source document by its file_id (as returned in a citation). Use it to ask follow-up questions against a specific paper or record.' },
|
|
173
173
|
ipdoc_file_id: { type: 'string', description: 'Scope to a specific IPDoc by file_id. Takes precedence over file_id when both are given.' },
|
|
174
174
|
doc_ids: { type: 'array', items: { type: 'string' }, description: 'Additional document ids whose full contents are added to this call\'s context (beyond what vector retrieval selects).' },
|
|
175
|
-
//
|
|
175
|
+
// images/video the model actually LOOKS AT.
|
|
176
176
|
// The schema fragment is BUILT from the chatMedia contract (kinds, MIME
|
|
177
177
|
// vocabulary, byte caps) rather than restated here — one owner for the
|
|
178
178
|
// advertised contract and the enforced policy, so the two cannot drift.
|
|
@@ -181,7 +181,7 @@ export const NATIVE_MCP_TOOLS = Object.freeze([
|
|
|
181
181
|
// @descix/app-sdk/chat-context, which the Cloud handler runs on every value it
|
|
182
182
|
// receives; they are deliberately not restated here.
|
|
183
183
|
page_context: { type: 'object', description: 'The page the reader has open, exactly as @descix/app-sdk/chat-context withChatContext() builds it from an app page\'s DeSciX.setChatContext(). The server checks it with that module and adds it ahead of the question, labelled as data supplied by the app page and not as instructions; a value that breaks the module\'s rules is refused, naming the field. It selects no knowledge base and no document: those travel in knowledgebase_names and doc_ids.' },
|
|
184
|
-
//
|
|
184
|
+
// a WORKSTREAM is a conversational room (the Discord room model
|
|
185
185
|
// generalised), so its thread owner is SERVER-derived from the id the caller
|
|
186
186
|
// names — never from a caller-supplied owner, which apiFront still strips.
|
|
187
187
|
workstream_id: { type: 'string', description: "The workstream this question belongs to. When present, the answer runs on a thread OWNED BY THAT WORKSTREAM rather than by the calling user: the server derives the thread owner as roomThreadKey({surface:'workstream', room_id:workstream_id, app_id}) - e.g. 'unk-beast:workstream-ws-c3-librarian' - and stores continuity server-side in the InteractionRooms collection. Send the SAME workstream_id every turn and omit previous_interaction_id; the response's interaction_id is an ECHO for observability, not a handle to resend. A workstream thread is SHARED BY DESIGN: every caller naming the same workstream on the same app continues the same conversation. It is NOT a private per-user conversation and carries no per-user privacy property. A client-supplied interaction_owner_id remains stripped at the door and is not a substitute for this param." },
|
|
@@ -231,7 +231,7 @@ export const NATIVE_MCP_TOOLS = Object.freeze([
|
|
|
231
231
|
type: 'object',
|
|
232
232
|
properties: {
|
|
233
233
|
question: { type: 'string', description: 'What do you want to do? Required for every scope except "bootstrap".' },
|
|
234
|
-
//
|
|
234
|
+
// 'bootstrap' = deterministic first-contact on-ramp
|
|
235
235
|
// (no vector search). question becomes optional for that scope only; the
|
|
236
236
|
// server still hard-requires it for project/entitlements/discovery.
|
|
237
237
|
//
|
|
@@ -281,7 +281,7 @@ export const NATIVE_MCP_TOOLS = Object.freeze([
|
|
|
281
281
|
name: 'resolve_invite',
|
|
282
282
|
description: 'Resolve a DeSciX invite token into app configuration. Returns app context, community info, and the agent_hint authored by the app creator (skill level + goals).',
|
|
283
283
|
mutating: false,
|
|
284
|
-
//
|
|
284
|
+
// this tool is NOT in the enforced
|
|
285
285
|
// OAUTH_READONLY_TOOLS allow-list (oauthAsHandlers.js) — the oauthReadonly:true
|
|
286
286
|
// advisory flag had drifted from the enforced policy and was removed to stop
|
|
287
287
|
// implying enforcement that does not exist.
|
|
@@ -314,7 +314,7 @@ export const NATIVE_MCP_TOOLS = Object.freeze([
|
|
|
314
314
|
name: 'app_records_query',
|
|
315
315
|
description: 'Query your app like a database: a STRUCTURED, metadata-filtered scan (NOT ANN/semantic) over the app data plane returning ALL records matching a predicate (e.g. type=episode AND show=X). ' + filterOperatorClause() + ' STRONGLY CONSISTENT (read-after-write). Use ask_question_to_app for fuzzy semantic KB search. RESPONSE COUNTS are three DIFFERENT facts, so count <= matched <= scanned always: `scanned` = how many records the collection holds in total, BEFORE your filter (the denominator); `matched` = how many satisfied your filter, before `limit`; `count` = how many are in `records` (matched, capped by `limit`); `truncated` = boolean, true exactly when `count` < `matched`, i.e. `limit` CUT the match set and this reply does NOT carry every record that matched — raise `limit` (or narrow the filter) to see the rest. This lets you tell the two zero cases apart: matched:0 with scanned:0 means the COLLECTION IS EMPTY, while matched:0 with scanned:40 means YOUR PREDICATE MATCHED NOTHING (check the field name) — do not read a zero as evidence of an empty collection. TIME: returned records carry received_at, stamped by the store\'s own UTC clock when it accepted the write and therefore unforgeable by the record\'s author. Decide STALENESS and ORDERING on received_at. A created_at field, where present, is a claim made by whoever wrote the record — it is never validated, so it may be wrong or even in the future.',
|
|
316
316
|
mutating: false,
|
|
317
|
-
//
|
|
317
|
+
// this tool is NOT in the enforced
|
|
318
318
|
// OAUTH_READONLY_TOOLS allow-list (oauthAsHandlers.js) — the oauthReadonly:true
|
|
319
319
|
// advisory flag had drifted from the enforced policy and was removed to stop
|
|
320
320
|
// implying enforcement that does not exist.
|
|
@@ -334,7 +334,7 @@ export const NATIVE_MCP_TOOLS = Object.freeze([
|
|
|
334
334
|
name: 'app_records_get',
|
|
335
335
|
description: 'Fetch specific records from your app data plane by id (or by file_id grouping key — id == file_id in this store) with an arbitrary metadata projection. Firestore-backed, strongly consistent. Supply at least one of ids/file_ids. TIME: returned records carry received_at, stamped by the store\'s own UTC clock when it accepted the write and therefore unforgeable by the record\'s author — read it for staleness and ordering. A created_at field, where present, is the author\'s own unvalidated claim. Note that a projection via `fields` drops received_at unless you ask for it.',
|
|
336
336
|
mutating: false,
|
|
337
|
-
//
|
|
337
|
+
// this tool is NOT in the enforced
|
|
338
338
|
// OAUTH_READONLY_TOOLS allow-list (oauthAsHandlers.js) — the oauthReadonly:true
|
|
339
339
|
// advisory flag had drifted from the enforced policy and was removed to stop
|
|
340
340
|
// implying enforcement that does not exist.
|
|
@@ -441,9 +441,9 @@ export const NATIVE_MCP_TOOLS = Object.freeze([
|
|
|
441
441
|
// COORDINATION FABRIC — typed verbs over the app-records collection egpt-frqtl/coordination.
|
|
442
442
|
//
|
|
443
443
|
// These exist because every rule that keeps the fabric coherent used to live CLIENT-side in
|
|
444
|
-
// the
|
|
444
|
+
// the coordination plugin's PreToolUse guard: the CLI bypassed it entirely, and it was a
|
|
445
445
|
// second derivation of the store's semantics. The rules are now server-side and hold on every
|
|
446
|
-
// transport. Server implementation:
|
|
446
|
+
// transport. Server implementation: Cloud microservice/services/fabricStore.js;
|
|
447
447
|
// vocabulary: descix-platform-api/src/fabric/vocab.js. Contract: docs/design/coordination-fabric-contract-2026-08-24.md.
|
|
448
448
|
//
|
|
449
449
|
// THREE TRAPS EVERY DESCRIPTION BELOW RESTATES, because a caller who does not know them
|
|
@@ -799,8 +799,8 @@ export const NATIVE_MCP_TOOLS = Object.freeze([
|
|
|
799
799
|
inputSchema: { type: 'object', properties: {} },
|
|
800
800
|
},
|
|
801
801
|
{
|
|
802
|
-
//
|
|
803
|
-
// Read-only; the METERED RAG/agent surface
|
|
802
|
+
// platform-wide USD AI-credits balance.
|
|
803
|
+
// Read-only; the METERED RAG/agent surface debits this balance per call.
|
|
804
804
|
// NEVER exposes pricing internals — USD balance figures only.
|
|
805
805
|
name: 'get_credit_balance',
|
|
806
806
|
description: 'Get your platform-wide AI-credits balance in USD. Metered AI calls (RAG chat / agents, e.g. ask_question_to_app and query_knowledge_base) debit this balance. At a $0 balance a free daily credit auto-applies to your first metered call each day, so metered tools are usable without buying anything first (the response reports daily_free_credit_usd and daily_free_credit_available_today). Buy more credits in the Powch Buy menu or with the descix CLI (`descix credits buy --usd <amount>`). Programmatic purchase: the Powch command create_checkout_session (through execute_remote_command) with purchase_type "ai_credits" and amount_usd (a listed bundle from purchase_catalogue in this response) returns a Stripe Checkout url.',
|
|
@@ -812,16 +812,16 @@ export const NATIVE_MCP_TOOLS = Object.freeze([
|
|
|
812
812
|
},
|
|
813
813
|
},
|
|
814
814
|
{
|
|
815
|
-
//
|
|
815
|
+
// the DISCOVERY-CORE invoke gateway.
|
|
816
816
|
// tell_me_how surfaces MESH-DISCOVERABLE commands (everything NOT in the handshake core);
|
|
817
817
|
// this is how a client actually calls one without it being advertised at tools/list. It is a
|
|
818
818
|
// thin passthrough into the SAME /apifront CommandHandler.invoke path — so EVERY existing
|
|
819
819
|
// call-time gate (permission, credits, OAuth scope, service-account) applies to the TARGET
|
|
820
820
|
// command exactly as if called directly. Nothing is bypassed.
|
|
821
821
|
// mutating:true — a gateway that CAN reach mutating targets is itself classified mutating.
|
|
822
|
-
//
|
|
822
|
+
// it IS now admitted to the read-only OAuth SURFACE
|
|
823
823
|
// (a read-scoped session may CALL the gateway — see MESH_INVOKE_GATEWAY_TOOLS below), but the
|
|
824
|
-
// scope-aware dispatch gate in
|
|
824
|
+
// scope-aware dispatch gate in Cloud CommandHandler.invoke enforces that the re-entrant
|
|
825
825
|
// TARGET command is read-only. The classification is about the tool; the gate is about the call.
|
|
826
826
|
name: 'execute_remote_command',
|
|
827
827
|
description:
|
|
@@ -894,11 +894,11 @@ export function recommendedOAuthReadonlyToolNames() {
|
|
|
894
894
|
* platform's internal service topology at first contact. They are FLAG-FLIPPED off the handshake
|
|
895
895
|
* set here (a flag-flip only; the tell_me_how discovery internals are untouched — item K of the
|
|
896
896
|
* MCP-hardening thread owns the discovery-scope enforcement). list_services is additionally
|
|
897
|
-
* admin-gated in
|
|
897
|
+
* admin-gated in Cloud (COMMAND_PERMISSIONS). That leaves the 7 normal-user tools below.
|
|
898
898
|
* The prior ratification was CEO-D-2026-07-04-MCP-SURFACE-SPLIT-EXECUTION §3 (9 names); this ruling
|
|
899
899
|
* supersedes the mesh-health row for the STANDARD surface. Membership is ratified — do NOT
|
|
900
900
|
* add/remove without a CEO ruling. (execute_remote_command is advertised via commandMeta mcp:true
|
|
901
|
-
* in
|
|
901
|
+
* in Cloud; the other 6 live in NATIVE_MCP_TOOLS above.)
|
|
902
902
|
*/
|
|
903
903
|
export const DISCOVERY_CORE_TOOL_NAMES = Object.freeze([
|
|
904
904
|
'tell_me_how',
|
|
@@ -945,17 +945,17 @@ export function describeDiscoveryCoreFence() {
|
|
|
945
945
|
}
|
|
946
946
|
|
|
947
947
|
/**
|
|
948
|
-
* MESH-INVOKE GATEWAY tools
|
|
948
|
+
* MESH-INVOKE GATEWAY tools. These are mutating:true
|
|
949
949
|
* tools that dispatch a DISCOVERED target command by re-entering CommandHandler.invoke (currently
|
|
950
950
|
* only execute_remote_command). They are the ONE class admitted to the read-only OAuth surface
|
|
951
951
|
* despite a mutating self-classification, because the scope-aware dispatch gate
|
|
952
|
-
* (
|
|
952
|
+
* (Cloud apiFront.js CommandHandler.invoke) fires again on the re-entrant TARGET — so a
|
|
953
953
|
* read-scoped session can CALL the gateway but cannot dispatch a mutating target through it.
|
|
954
954
|
*
|
|
955
955
|
* SINGLE SOURCE so the two consumers never drift:
|
|
956
|
-
* - surface admission:
|
|
956
|
+
* - surface admission: Cloud oauthAsHandlers.js isToolAllowedForOAuth (exempts these from
|
|
957
957
|
* the MUTATING_TOOL_NAMES defense-in-depth),
|
|
958
|
-
* - dispatch exemption:
|
|
958
|
+
* - dispatch exemption: Cloud apiFront.js invoke gate (does NOT treat the gateway call
|
|
959
959
|
* itself as a mutating dispatch; its inner re-entry is gated by construction).
|
|
960
960
|
* Do NOT add a tool here without the matching re-entrant-invoke + inner-gate guarantee.
|
|
961
961
|
*/
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* paramValidation.js — strict, fail-loud parameter validation for the MCP surface
|
|
3
|
-
* (ws-mcp-surface-basics, CEO-D-2026-08-14-MCP-BASICS).
|
|
4
3
|
*
|
|
5
4
|
* THE PROBLEM this closes: a tool's `inputSchema` was used ONLY to ADVERTISE at tools/list.
|
|
6
5
|
* At tools/call the arguments object was spread verbatim into the handler, which destructured
|
|
7
6
|
* the keys it knew and silently dropped the rest. So a well-formed-looking call carrying a
|
|
8
7
|
* WRONG-BUT-PLAUSIBLE param name executed against the DEFAULT instead of failing:
|
|
9
8
|
*
|
|
10
|
-
* ask_question_to_app({ app_id:'
|
|
9
|
+
* ask_question_to_app({ app_id:'my-app', kb_id:'Org', user_input:'...' })
|
|
11
10
|
* -> kb_id is not in ask_question_to_app's schema (it is query_knowledge_base's name for
|
|
12
11
|
* the same concept), so it was dropped, the default KB was used, and the caller got
|
|
13
12
|
* "KnowledgeBase 'General' not found" — an error naming a KB it never asked for.
|
|
@@ -82,7 +81,7 @@ export const PARAM_ALIASES = Object.freeze({
|
|
|
82
81
|
* interactionSession.stripClientRoomOwner precisely so the boundary can refuse it by name) is
|
|
83
82
|
* likewise excluded — allow-listing it would pre-empt that refusal.
|
|
84
83
|
*
|
|
85
|
-
* THE 24 -> 21 NARROWING. The superseded second derivation (
|
|
84
|
+
* THE 24 -> 21 NARROWING. The superseded second derivation (Cloud commandParamGuard's
|
|
86
85
|
* deleted RESERVED_PARAM_KEYS) carried 24 names. Three of them are NOT platform writes and are
|
|
87
86
|
* dropped here: `target_community_id`, `target_user_id` and `reactor_id` are CALLER-SENT fallback
|
|
88
87
|
* READS on the Discord bot's own bag (apiFront.js:1150 `params.user_id || params.target_user_id ||
|
|
@@ -90,7 +89,7 @@ export const PARAM_ALIASES = Object.freeze({
|
|
|
90
89
|
* platform reads them, it never writes them, so listing them would wave three caller-authored keys
|
|
91
90
|
* past every command's contract. The remaining 21 each have a named injector site below.
|
|
92
91
|
*
|
|
93
|
-
* THE GROUPS, and why each exists. Injector sites are
|
|
92
|
+
* THE GROUPS, and why each exists. Injector sites are the Cloud microservice's service modules.
|
|
94
93
|
*/
|
|
95
94
|
|
|
96
95
|
/**
|
|
@@ -250,7 +249,7 @@ export function requireValidationPhase(phase, opts = {}) {
|
|
|
250
249
|
|
|
251
250
|
/**
|
|
252
251
|
* Resolve a phase word to its waiver predicate. Consumers that do their own unknown-key loop
|
|
253
|
-
* (
|
|
252
|
+
* (Cloud `assertKnownParams`) ask HERE rather than branching on the phase themselves —
|
|
254
253
|
* a hand-written `phase === 'post-injection' ? isPlatformInjectedParam : ...` at a consumer is the
|
|
255
254
|
* second derivation this whole module exists to prevent.
|
|
256
255
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* THE single owner of the app-lane-safe "platform basics": the canonical identity model,
|
|
6
6
|
* naming rules, environments, and the developer entry path. Two consumers, zero mirrors:
|
|
7
|
-
* -
|
|
7
|
+
* - Cloud communityCommands.tellMeHowBootstrap serves PLATFORM_BASICS_SUMMARY as
|
|
8
8
|
* the `platform_basics` section of the tell_me_how scope:'bootstrap' payload;
|
|
9
9
|
* - DeSciX/scripts/generate-platform-basics.mjs renders PLATFORM_BASICS_DOC into
|
|
10
10
|
* V2_docs/architecture/platform-basics.md (GENERATED), which the daita General corpus
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @descix/platform-api/mcp-tools — D4 "Set up DeSciX" FIRST-CONTACT SCRIPT (canonical owner).
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* (CEO-D-2026-07-12-VOICE-AND-SERVING-DISPATCH, packet V6) upgraded by
|
|
5
5
|
* CEO-D-2026-07-12-METERING-DISPLAY-AND-FIRST-CONTACT-SCRIPT: no longer a static checklist —
|
|
6
6
|
* DESCIX_SETUP_PLAYBOOK is a DOCTOR-STYLE conversational script the consuming assistant follows:
|
|
7
7
|
* greet → ask interest → offer suggested prompts (use-case canon,
|
|
@@ -103,7 +103,7 @@ const FIRST_CONTACT_SCRIPT = Object.freeze([
|
|
|
103
103
|
}),
|
|
104
104
|
Object.freeze({
|
|
105
105
|
step: 'explain_tokenomics',
|
|
106
|
-
//
|
|
106
|
+
//
|
|
107
107
|
// name the TWO distinct free floors truthfully — the ONE-TIME setup welcome credit (a ledgered
|
|
108
108
|
// grant, not earned, not a token) and the SEPARATE recurring free DAILY credit — plus the
|
|
109
109
|
// starting contribution/airdrop-eligibility position finishing setup confers. Dollar figures are
|
|
@@ -113,7 +113,7 @@ const FIRST_CONTACT_SCRIPT = Object.freeze([
|
|
|
113
113
|
}),
|
|
114
114
|
Object.freeze({
|
|
115
115
|
step: 'verify_settlement',
|
|
116
|
-
// V5 (CEO voice delta 2026-07-15,
|
|
116
|
+
// V5 (CEO voice delta 2026-07-15, verify-before-close pass on the
|
|
117
117
|
// first-contact arc): the dev-path voice is honestly scoped to what an npm-capable assistant
|
|
118
118
|
// can do RIGHT NOW against the PUBLISHED packages (COS re-verified today). claude.ai cannot
|
|
119
119
|
// clone a repo or run `lake build` (that belongs in Claude Code / Cowork — refer there), but it
|
|
@@ -145,7 +145,7 @@ export const DESCIX_SETUP_PLAYBOOK = Object.freeze({
|
|
|
145
145
|
project_instructions: D3_AI_PROJECT_INSTRUCTIONS,
|
|
146
146
|
// V4 (voice round 2): the REAL runnable verification the final script step points at. LIVE
|
|
147
147
|
// TODAY — @descix/frqtl-sdk@0.1.2 published + verified against the public registry
|
|
148
|
-
|
|
148
|
+
//. This is the egpt-dse settlement profile's
|
|
149
149
|
// verification command; setup ends with the user having SEEN a claim settle.
|
|
150
150
|
settlement_experience: Object.freeze({
|
|
151
151
|
app_id: 'egpt-dse',
|
|
@@ -164,7 +164,7 @@ export const DESCIX_SETUP_PLAYBOOK = Object.freeze({
|
|
|
164
164
|
}),
|
|
165
165
|
note: 'Runs offline from the published registry in ~1 min; the golden ships in-package. Ask the user before running.',
|
|
166
166
|
}),
|
|
167
|
-
// V5
|
|
167
|
+
// V5: the SECOND live dev-path experience — the
|
|
168
168
|
// constructive-math library is npm-IMPORTABLE now (verified against the published registry: exports
|
|
169
169
|
// EGPTFFT/EGPTMath/EGPTMatrix/EGPTPolynomial/EGPTReal). Distinct from settlement_experience: that one
|
|
170
170
|
// is npx-RUN (a bin), this one is IMPORTED and exercised. `not_in_dist` is the truth guard — the
|
|
@@ -188,7 +188,7 @@ export const DESCIX_SETUP_PLAYBOOK = Object.freeze({
|
|
|
188
188
|
}),
|
|
189
189
|
note: 'Importable from the published registry now. Ask the user before running.',
|
|
190
190
|
}),
|
|
191
|
-
//
|
|
191
|
+
// the member-open, self-scoped
|
|
192
192
|
// contribution path — a claude.ai chat-only contributor (files already sitting in a Drive folder,
|
|
193
193
|
// no code environment) can own a personal doc home and populate it from Drive WITHOUT the gated
|
|
194
194
|
// add_ipdoc. All three are member-open and self-scoped BY CONSTRUCTION (the target namespace is
|