@wowok/agent-mcp 3.1.4 → 3.1.6
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/evaluation/arbitration-game.js +1 -1
- package/dist/evaluation/builtins/graph-service.js +1 -1
- package/dist/graph/onchain/analyze.js +1 -1
- package/dist/graph/onchain/analyze.spec.js +1 -1
- package/dist/graph/onchain/extract.js +1 -1
- package/dist/graph/onchain/facts.d.ts +1 -0
- package/dist/graph/onchain/facts.js +1 -1
- package/dist/graph/onchain/fixtures.js +1 -1
- package/dist/graph/onchain/onchain.spec.js +1 -1
- package/dist/graph/onchain/strategy.js +1 -1
- package/dist/graph/onchain/strategy.spec.js +1 -1
- package/dist/harness/recover.js +1 -1
- package/dist/knowledge/alloc-audit-policy.spec.js +1 -1
- package/dist/knowledge/allocation-risk.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +1 -0
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/rules/alloc_audit.json +20 -0
- package/dist/knowledge/baselines/rules/allocation.json +1 -19
- package/dist/knowledge/baselines/rules/arb.json +1 -1
- package/dist/knowledge/baselines/rules/guard.json +8 -8
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/guard-design-patterns.d.ts +2 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-design-patterns.spec.d.ts +1 -0
- package/dist/knowledge/guard-design-patterns.spec.js +1 -0
- package/dist/knowledge/guard-lint.d.ts +1 -1
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/permission-ledger.js +1 -1
- package/dist/knowledge/recipient-constraint.js +1 -1
- package/dist/knowledge/safety-rules.extract-amount.spec.d.ts +1 -0
- package/dist/knowledge/safety-rules.extract-amount.spec.js +1 -0
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/tool-constraints.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/pipeline-actions.d.ts +1 -1
- package/dist/playbooks/service-build/pipeline-actions.js +1 -1
- package/dist/playbooks/service-build/risk-aggregator.js +1 -1
- package/dist/role/derivation.d.ts +1 -1
- package/dist/role/derivation.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/call/allocation.d.ts +7 -0
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/arbitration.d.ts +4 -0
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +48 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +26 -0
- package/dist/schema/call/contact.d.ts +4 -0
- package/dist/schema/call/demand.d.ts +4 -0
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/guard.d.ts +12 -0
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +8 -0
- package/dist/schema/call/order.d.ts +4 -0
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/payment.d.ts +4 -0
- package/dist/schema/call/permission.d.ts +4 -0
- package/dist/schema/call/personal.d.ts +4 -0
- package/dist/schema/call/progress.d.ts +4 -0
- package/dist/schema/call/proof.d.ts +8 -0
- package/dist/schema/call/repository.d.ts +4 -0
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/reward.d.ts +4 -0
- package/dist/schema/call/semantic-customer-advice.spec.js +1 -1
- package/dist/schema/call/semantic.d.ts +11 -0
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +14 -0
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +4 -0
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/keeper/index.d.ts +5 -0
- package/dist/schema/local/index.d.ts +28 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +5 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +83 -0
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +16 -0
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/workflow/index.d.ts +2 -0
- package/dist/schema/workflow/index.js +1 -1
- package/dist/schema/workspace/index.d.ts +53 -0
- package/dist/schema/workspace/index.js +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +25 -1
- package/dist/schemas/bridge_operation.output.json +25 -1
- package/dist/schemas/bridge_operation.schema.json +40 -0
- package/dist/schemas/guard2file.schema.json +8 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/keeper_operation.output.json +24 -1
- package/dist/schemas/local_history_operation.output.json +25 -1
- package/dist/schemas/local_info_operation.output.json +25 -1
- package/dist/schemas/local_mark_operation.output.json +25 -1
- package/dist/schemas/machineNode2file.schema.json +8 -0
- package/dist/schemas/messenger_operation.output.json +24 -1
- package/dist/schemas/messenger_operation.schema.json +2 -2
- package/dist/schemas/monitor_events.output.json +24 -1
- package/dist/schemas/monitor_subscription.output.json +24 -1
- package/dist/schemas/onchain_events.output.json +24 -1
- package/dist/schemas/onchain_operations.output.json +73 -3
- package/dist/schemas/onchain_operations.schema.json +3286 -821
- package/dist/schemas/onchain_operations_allocation.schema.json +12 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +18 -10
- package/dist/schemas/onchain_operations_contact.schema.json +8 -0
- package/dist/schemas/onchain_operations_demand.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_proof.schema.json +8 -0
- package/dist/schemas/onchain_operations_guard.schema.json +2896 -596
- package/dist/schemas/onchain_operations_machine.schema.json +8 -0
- package/dist/schemas/onchain_operations_order.schema.json +10 -2
- package/dist/schemas/onchain_operations_payment.schema.json +8 -0
- package/dist/schemas/onchain_operations_permission.schema.json +8 -0
- package/dist/schemas/onchain_operations_personal.schema.json +8 -0
- package/dist/schemas/onchain_operations_progress.schema.json +8 -0
- package/dist/schemas/onchain_operations_proof.schema.json +8 -0
- package/dist/schemas/onchain_operations_repository.schema.json +14 -6
- package/dist/schemas/onchain_operations_reward.schema.json +8 -0
- package/dist/schemas/onchain_operations_service.schema.json +43 -10
- package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
- package/dist/schemas/onchain_table_data.output.json +35 -12
- package/dist/schemas/query_toolkit.output.json +1179 -10
- package/dist/schemas/query_toolkit.schema.json +11 -11
- package/dist/schemas/workflow_operation.schema.json +8 -0
- package/dist/schemas/workspace_operation.output.json +181 -1
- package/dist/schemas/workspace_operation.schema.json +61 -2
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/dispatch-expectations.js +1 -1
- package/dist/tools/handlers/dispatch-expectations.spec.d.ts +1 -0
- package/dist/tools/handlers/dispatch-expectations.spec.js +1 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/workflow.js +1 -1
- package/dist/tools/handlers/workspace.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/move-fn-index.gen.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/package.json +2 -2
|
@@ -1250,6 +1250,14 @@
|
|
|
1250
1250
|
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
1251
1251
|
"type": "boolean"
|
|
1252
1252
|
},
|
|
1253
|
+
"response_level": {
|
|
1254
|
+
"description": "Write-success response size. 'compact' (default) trims the structured result to key fields (digest + created object references); 'full' includes the complete raw result. Default: compact.",
|
|
1255
|
+
"type": "string",
|
|
1256
|
+
"enum": [
|
|
1257
|
+
"compact",
|
|
1258
|
+
"full"
|
|
1259
|
+
]
|
|
1260
|
+
},
|
|
1253
1261
|
"confirm_mode": {
|
|
1254
1262
|
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
1255
1263
|
"type": "string",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"additionalProperties": false
|
|
109
109
|
},
|
|
110
110
|
"arb_confirm": {
|
|
111
|
-
"description": "
|
|
111
|
+
"description": "CUSTOMER-side confirm on an Arb case (the order owner; the arbitration object's own confirm tool is the arbitrator's and rejects customers). Moves the case from state 0 to state 1. REQUIRED after an arbitrator reset — a reset returns the case to state 0 with the indemnity cleared, and only the customer can advance it again; the fee stays locked until this is called. Not the filing step: filing (dispute) lands the case directly in state 1.",
|
|
112
112
|
"type": "object",
|
|
113
113
|
"properties": {
|
|
114
114
|
"arb": {
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"additionalProperties": false
|
|
158
158
|
},
|
|
159
159
|
"arb_claim_compensation": {
|
|
160
|
-
"description": "Specify the adjudicated Arb object to obtain order compensation.",
|
|
160
|
+
"description": "Specify the adjudicated Arb object to obtain order compensation. Succeeds even when the ruled indemnity is 0 — the claim closes the case (state 5) and lets the arbitrator withdraw the dispute fee immediately.",
|
|
161
161
|
"type": "object",
|
|
162
162
|
"properties": {
|
|
163
163
|
"arb": {
|
|
@@ -374,6 +374,14 @@
|
|
|
374
374
|
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
375
375
|
"type": "boolean"
|
|
376
376
|
},
|
|
377
|
+
"response_level": {
|
|
378
|
+
"description": "Write-success response size. 'compact' (default) trims the structured result to key fields (digest + created object references); 'full' includes the complete raw result. Default: compact.",
|
|
379
|
+
"type": "string",
|
|
380
|
+
"enum": [
|
|
381
|
+
"compact",
|
|
382
|
+
"full"
|
|
383
|
+
]
|
|
384
|
+
},
|
|
377
385
|
"confirm_mode": {
|
|
378
386
|
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
379
387
|
"type": "string",
|
|
@@ -264,6 +264,14 @@
|
|
|
264
264
|
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
265
265
|
"type": "boolean"
|
|
266
266
|
},
|
|
267
|
+
"response_level": {
|
|
268
|
+
"description": "Write-success response size. 'compact' (default) trims the structured result to key fields (digest + created object references); 'full' includes the complete raw result. Default: compact.",
|
|
269
|
+
"type": "string",
|
|
270
|
+
"enum": [
|
|
271
|
+
"compact",
|
|
272
|
+
"full"
|
|
273
|
+
]
|
|
274
|
+
},
|
|
267
275
|
"confirm_mode": {
|
|
268
276
|
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
269
277
|
"type": "string",
|
|
@@ -858,6 +858,14 @@
|
|
|
858
858
|
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
859
859
|
"type": "boolean"
|
|
860
860
|
},
|
|
861
|
+
"response_level": {
|
|
862
|
+
"description": "Write-success response size. 'compact' (default) trims the structured result to key fields (digest + created object references); 'full' includes the complete raw result. Default: compact.",
|
|
863
|
+
"type": "string",
|
|
864
|
+
"enum": [
|
|
865
|
+
"compact",
|
|
866
|
+
"full"
|
|
867
|
+
]
|
|
868
|
+
},
|
|
861
869
|
"confirm_mode": {
|
|
862
870
|
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
863
871
|
"type": "string",
|
|
@@ -969,6 +969,14 @@
|
|
|
969
969
|
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
970
970
|
"type": "boolean"
|
|
971
971
|
},
|
|
972
|
+
"response_level": {
|
|
973
|
+
"description": "Write-success response size. 'compact' (default) trims the structured result to key fields (digest + created object references); 'full' includes the complete raw result. Default: compact.",
|
|
974
|
+
"type": "string",
|
|
975
|
+
"enum": [
|
|
976
|
+
"compact",
|
|
977
|
+
"full"
|
|
978
|
+
]
|
|
979
|
+
},
|
|
972
980
|
"confirm_mode": {
|
|
973
981
|
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
974
982
|
"type": "string",
|
|
@@ -390,6 +390,14 @@
|
|
|
390
390
|
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
391
391
|
"type": "boolean"
|
|
392
392
|
},
|
|
393
|
+
"response_level": {
|
|
394
|
+
"description": "Write-success response size. 'compact' (default) trims the structured result to key fields (digest + created object references); 'full' includes the complete raw result. Default: compact.",
|
|
395
|
+
"type": "string",
|
|
396
|
+
"enum": [
|
|
397
|
+
"compact",
|
|
398
|
+
"full"
|
|
399
|
+
]
|
|
400
|
+
},
|
|
393
401
|
"confirm_mode": {
|
|
394
402
|
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
395
403
|
"type": "string",
|
|
@@ -174,6 +174,14 @@
|
|
|
174
174
|
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
175
175
|
"type": "boolean"
|
|
176
176
|
},
|
|
177
|
+
"response_level": {
|
|
178
|
+
"description": "Write-success response size. 'compact' (default) trims the structured result to key fields (digest + created object references); 'full' includes the complete raw result. Default: compact.",
|
|
179
|
+
"type": "string",
|
|
180
|
+
"enum": [
|
|
181
|
+
"compact",
|
|
182
|
+
"full"
|
|
183
|
+
]
|
|
184
|
+
},
|
|
177
185
|
"confirm_mode": {
|
|
178
186
|
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
179
187
|
"type": "string",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"additionalProperties": false,
|
|
145
145
|
"description": "Guard object that needs verification when writing policy"
|
|
146
146
|
},
|
|
147
|
-
"description": "Guard object list that can be verified when writing data. REQUIRED (non-empty) when id_from is 0/None (chain abort 22); optional when id_from is Clock/Signer."
|
|
147
|
+
"description": "Guard object list that can be verified when writing data. REQUIRED (non-empty) when id_from is 0/None (chain abort 22); optional when id_from is Clock/Signer. ⚠️ If EMPTY for a Clock/Signer policy, ANY account can write data to this policy — the Repository's Permission is NOT consulted for data_add/data_remove in that case (an open write log; intended only for deliberately public policies such as sensor logs). Attach guards if writes must be restricted."
|
|
148
148
|
},
|
|
149
149
|
"quote_guard": {
|
|
150
150
|
"description": "Guard object ID that needs verification when referencing this policy data on-chain (e.g., verifying if user has paid subscription). If null, no verification is needed for on-chain references. The Guard must have empty 'relies' field and 'rep' field true.",
|
|
@@ -515,7 +515,7 @@
|
|
|
515
515
|
"policy"
|
|
516
516
|
],
|
|
517
517
|
"additionalProperties": false,
|
|
518
|
-
"description": "
|
|
518
|
+
"description": "op:'set' REPLACES THE WHOLE policy list (policies not included are deleted, and once the Permission is locked they cannot be restored) — use op:'add' to append or update individual policies without touching the others."
|
|
519
519
|
},
|
|
520
520
|
{
|
|
521
521
|
"type": "object",
|
|
@@ -556,7 +556,7 @@
|
|
|
556
556
|
]
|
|
557
557
|
},
|
|
558
558
|
"data_add": {
|
|
559
|
-
"description": "Add data items to an ALREADY-EXISTING Repository. TWO-PHASE: if 'object' creates a NEW Repository in this same call, data_add FAILS ('Repository content not ready') — first create the Repository (one call), then add data in a follow-up call. The data_add.name must match a policy rule name defined in 'policies'.",
|
|
559
|
+
"description": "Add data items to an ALREADY-EXISTING Repository. TWO-PHASE: if 'object' creates a NEW Repository in this same call, data_add FAILS ('Repository content not ready') — first create the Repository (one call), then add data in a follow-up call. The data_add.name must match a policy rule name defined in 'policies'. SUBMISSION GUARDS: when the matched policy guard sets both id_from_submission and data_from_submission, the id AND value are read from the passport submission table — pass items:[{write_guard, data:[]}] with a 'submission' in the same call; empty items or entries that would write nothing are rejected instead of silently succeeding. See DataAddWithItemsSchema.items for worked examples per id_from mode.",
|
|
560
560
|
"anyOf": [
|
|
561
561
|
{
|
|
562
562
|
"type": "object",
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
"additionalProperties": false,
|
|
635
635
|
"description": "Data ID and value."
|
|
636
636
|
},
|
|
637
|
-
"description": "Data item list."
|
|
637
|
+
"description": "Data item list. MUST be non-empty unless the matching policy guard sets BOTH id_from_submission AND data_from_submission (then pass data:[] — the id AND value are derived from the passport submission table, and any item-level id/data would be ignored). With only ONE of the two submission settings, 'data' must carry the missing side; with none, 'data' is required."
|
|
638
638
|
},
|
|
639
639
|
"write_guard": {
|
|
640
640
|
"description": "Guard ID or name. REQUIRED for data_add items when the matching policy uses id_from=None(0): it must reference one of that policy's write_guard guards, otherwise the chain aborts with 22 (E_POLICY_WRITE_GUARD_REQUIRED). Optional for Clock/Signer policies.",
|
|
@@ -647,7 +647,7 @@
|
|
|
647
647
|
"additionalProperties": false,
|
|
648
648
|
"description": "List of data items to write."
|
|
649
649
|
},
|
|
650
|
-
"description": "List of data items to add.
|
|
650
|
+
"description": "List of data items to add. WORKED EXAMPLES by policy id_from mode — (a) id_from=None(0), policy has NO write guards: items:[{data:[{id:\"0x2::example::0x123...\", data:\"value\"}]}] (no write_guard). (b) id_from=None(0), policy HAS write guards without submission settings: items:[{write_guard:\"<policy guard>\", data:[{id:..., data:...}]}]. (c) id_from=None(0), policy guard sets BOTH id_from_submission AND data_from_submission: items:[{write_guard:\"<policy guard>\", data:[]}] — the id AND value come from the passport submission table (send 'submission' in the same call); item-level id/data are IGNORED for such guards and one record is written per guard. (d) id_from=Clock(1)/Signer(2): use the SignerOrClock form {name, data, write_guard?} instead — the id is derived on-chain from the transaction clock or signer; write_guard is required when the policy declares guards."
|
|
651
651
|
}
|
|
652
652
|
},
|
|
653
653
|
"required": [
|
|
@@ -655,7 +655,7 @@
|
|
|
655
655
|
"items"
|
|
656
656
|
],
|
|
657
657
|
"additionalProperties": false,
|
|
658
|
-
"description": "Add data by name and data item list. Each data item contains name, ID, and data parts, where name and ID together form the unique key for the data."
|
|
658
|
+
"description": "Add data by name and data item list. Each data item contains name, ID, and data parts, where name and ID together form the unique key for the data. See 'items' for worked examples per policy id_from mode."
|
|
659
659
|
}
|
|
660
660
|
]
|
|
661
661
|
},
|
|
@@ -1015,6 +1015,14 @@
|
|
|
1015
1015
|
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
1016
1016
|
"type": "boolean"
|
|
1017
1017
|
},
|
|
1018
|
+
"response_level": {
|
|
1019
|
+
"description": "Write-success response size. 'compact' (default) trims the structured result to key fields (digest + created object references); 'full' includes the complete raw result. Default: compact.",
|
|
1020
|
+
"type": "string",
|
|
1021
|
+
"enum": [
|
|
1022
|
+
"compact",
|
|
1023
|
+
"full"
|
|
1024
|
+
]
|
|
1025
|
+
},
|
|
1018
1026
|
"confirm_mode": {
|
|
1019
1027
|
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
1020
1028
|
"type": "string",
|
|
@@ -592,6 +592,14 @@
|
|
|
592
592
|
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
593
593
|
"type": "boolean"
|
|
594
594
|
},
|
|
595
|
+
"response_level": {
|
|
596
|
+
"description": "Write-success response size. 'compact' (default) trims the structured result to key fields (digest + created object references); 'full' includes the complete raw result. Default: compact.",
|
|
597
|
+
"type": "string",
|
|
598
|
+
"enum": [
|
|
599
|
+
"compact",
|
|
600
|
+
"full"
|
|
601
|
+
]
|
|
602
|
+
},
|
|
595
603
|
"confirm_mode": {
|
|
596
604
|
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
597
605
|
"type": "string",
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
"type": "string"
|
|
378
378
|
}
|
|
379
379
|
],
|
|
380
|
-
"description": "
|
|
380
|
+
"description": "Current REMAINING stock of the product or service. Each order DECREMENTS it by the ordered quantity (a buy aborts when the remaining stock is lower than the ordered quantity). Writing this field SETS the remaining stock to the given value — it is NOT added to it. To top up one product's stock without resending the whole list, there is no per-item op in this tool; re-issue sales with op:\"set\" carrying the full list and the updated stock for that product."
|
|
381
381
|
},
|
|
382
382
|
"suspension": {
|
|
383
383
|
"type": "boolean",
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
},
|
|
390
390
|
"wip_hash": {
|
|
391
391
|
"type": "string",
|
|
392
|
-
"description": "
|
|
392
|
+
"description": "The 'meta.hash' field INSIDE the sale's WIP file (a content hash of the file's JSON payload), committed on-chain by the merchant. NOT the SHA-256 of the .wip file bytes — hashing the downloaded file (shasum -a 256) yields a DIFFERENT value and fails verification; use the hash embedded in the file's meta section (wip_file verify reports it). BUY RULE: if this is NON-EMPTY, the buyer MUST pass this exact value as wip_hash when creating an order (ServiceBuyItem.wip_hash) — NEVER use \"\". Pinning the on-chain hash prevents the merchant from replacing the WIP file (a legitimate update) between the buyer's view and order placement, ensuring 'what you see is what you get'. EMPTY means no hash was committed (TESTING ONLY, no delivery-integrity guarantee)."
|
|
393
393
|
}
|
|
394
394
|
},
|
|
395
395
|
"required": [
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
"type": "string"
|
|
449
449
|
}
|
|
450
450
|
],
|
|
451
|
-
"description": "
|
|
451
|
+
"description": "Current REMAINING stock of the product or service. Each order DECREMENTS it by the ordered quantity (a buy aborts when the remaining stock is lower than the ordered quantity). Writing this field SETS the remaining stock to the given value — it is NOT added to it. To top up one product's stock without resending the whole list, there is no per-item op in this tool; re-issue sales with op:\"set\" carrying the full list and the updated stock for that product."
|
|
452
452
|
},
|
|
453
453
|
"suspension": {
|
|
454
454
|
"type": "boolean",
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
},
|
|
461
461
|
"wip_hash": {
|
|
462
462
|
"type": "string",
|
|
463
|
-
"description": "
|
|
463
|
+
"description": "The 'meta.hash' field INSIDE the sale's WIP file (a content hash of the file's JSON payload), committed on-chain by the merchant. NOT the SHA-256 of the .wip file bytes — hashing the downloaded file (shasum -a 256) yields a DIFFERENT value and fails verification; use the hash embedded in the file's meta section (wip_file verify reports it). BUY RULE: if this is NON-EMPTY, the buyer MUST pass this exact value as wip_hash when creating an order (ServiceBuyItem.wip_hash) — NEVER use \"\". Pinning the on-chain hash prevents the merchant from replacing the WIP file (a legitimate update) between the buyer's view and order placement, ensuring 'what you see is what you get'. EMPTY means no hash was committed (TESTING ONLY, no delivery-integrity guarantee)."
|
|
464
464
|
}
|
|
465
465
|
},
|
|
466
466
|
"required": [
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
"sales"
|
|
482
482
|
],
|
|
483
483
|
"additionalProperties": false,
|
|
484
|
-
"description": "
|
|
484
|
+
"description": "Replaces the ENTIRE sales list: every product NOT included is REMOVED from the Service (its stock and wip binding go with it — there is no per-item update via this op). To change one product (e.g. its price or stock), resend the FULL list including all unchanged products. Removal is immediate and cannot be undone."
|
|
485
485
|
},
|
|
486
486
|
{
|
|
487
487
|
"type": "object",
|
|
@@ -760,7 +760,7 @@
|
|
|
760
760
|
},
|
|
761
761
|
{}
|
|
762
762
|
],
|
|
763
|
-
"description": "Discount type"
|
|
763
|
+
"description": "Discount type — 0=RATES (proportional off, per-10000: e.g. 1000 means 10% off), 1=FIXED (fixed deduction of the product amount, base units: e.g. 100 means 100 deducted). Accepts the number (0/1) or the string ('RATES'/'FIXED'); the value is always stored as the number on-chain."
|
|
764
764
|
},
|
|
765
765
|
"discount_value": {
|
|
766
766
|
"anyOf": [
|
|
@@ -771,10 +771,10 @@
|
|
|
771
771
|
"type": "string"
|
|
772
772
|
}
|
|
773
773
|
],
|
|
774
|
-
"description": "Discount
|
|
774
|
+
"description": "Discount magnitude, meaning depends on discount_type. RATES (0): per-10000 off rate — 10 = 0.1% off, 1000 = 10% off, 10000 = 100% off; values above 10000 are rejected. FIXED (1): fixed deduction from the order total in the Service token's smallest units (e.g. 1000000000 = 1 WOW at 9 decimals)."
|
|
775
775
|
},
|
|
776
776
|
"benchmark": {
|
|
777
|
-
"description": "
|
|
777
|
+
"description": "Minimum order total (in the Service token's smallest units) for the discount to apply — the discount is applied only when the order total is GREATER THAN OR EQUAL TO this value. ⚠️ OMITTING this field means the discount NEVER applies: the coupon object is still consumed (destroyed) when used, but the order total is unchanged. To make a discount that always applies, pass 0. If the order total is below the discounted price the payment aborts — pay the list price; the excess is returned as a new Coin.",
|
|
778
778
|
"anyOf": [
|
|
779
779
|
{
|
|
780
780
|
"type": "number"
|
|
@@ -794,7 +794,7 @@
|
|
|
794
794
|
},
|
|
795
795
|
"count": {
|
|
796
796
|
"type": "number",
|
|
797
|
-
"description": "Discount
|
|
797
|
+
"description": "Number of SEPARATE Discount (coupon) objects minted — total delivered = count × number of recipients. Each coupon object is SINGLE-USE (consumed on first use). This is NOT a per-coupon reuse count: count:2 creates 2 independent one-time coupons, not 1 coupon usable twice."
|
|
798
798
|
},
|
|
799
799
|
"recipient": {
|
|
800
800
|
"type": "object",
|
|
@@ -863,7 +863,7 @@
|
|
|
863
863
|
}
|
|
864
864
|
},
|
|
865
865
|
"order_allocators": {
|
|
866
|
-
"description": "Order fund allocator. Max 100 allocators (MAX_ALLOCATOR_COUNT). Each allocator has a guard (first matching guard wins) and a sharing list. Set to null to clear. ⚠️ PERMANENTLY IMMUTABLE after publish: order_allocators can ONLY be set BEFORE publish=true (on-chain check rejects after publish — E_ALREADY_PUBLISHED). After publish, the ONLY way to change allocation rules is to create a NEW Service object. There is NO pause+lock exception for order_allocators (unlike arbitrations/rewards which have time-lock removal). PRE-PUBLISH CHECKLIST: verify all guard names resolve, all sharing amounts are correct, threshold is set, and recipient types (Entity/Signer/GuardIdentifier) are intended before calling publish=true. GuardIdentifier sharing mode: {who: {GuardIdentifier: <u8>}, sharing: <rate>, mode: 'Rate'} — resolves recipient from the Guard table submission at allocation time. Canonical order pattern: the recipient slot is the single submitted Order (constrained by the Guard — service binding, qualifying node, signer==order.owner); funds land at that order object and are receivable only by its owner (object receipt = owner receipt). Safety is determined by constraint sufficiency — run the recipient constraint audit before publish. Fixed recipients should use {who:{Entity:...}}; unbound Signer recipients are a CRITICAL theft risk. MULTI-CALL ALLOCATION: an allocation can be executed MULTIPLE times (no consumed flag in contract). Use Amount mode (not Surplus) for recurring allocations — Surplus calls balance::withdraw_all which drains the balance. For monthly payment scenarios, create multiple Allocators with time-based Guards + Amount mode sharing items.",
|
|
866
|
+
"description": "Order fund allocator. Max 100 allocators (MAX_ALLOCATOR_COUNT). Each allocator has a guard (first matching guard wins) and a sharing list. Set to null to clear. ⚠️ PERMANENTLY IMMUTABLE after publish: order_allocators can ONLY be set BEFORE publish=true (on-chain check rejects after publish — E_ALREADY_PUBLISHED). After publish, the ONLY way to change allocation rules is to create a NEW Service object. There is NO pause+lock exception for order_allocators (unlike arbitrations/rewards which have time-lock removal). PRE-PUBLISH CHECKLIST: verify all guard names resolve, all sharing amounts are correct, threshold is set, and recipient types (Entity/Signer/GuardIdentifier) are intended before calling publish=true. GuardIdentifier sharing mode: {who: {GuardIdentifier: <u8>}, sharing: <rate>, mode: 'Rate'} — resolves recipient from the Guard table submission at allocation time. BINDING SEMANTICS (contract-enforced, abort code 15): in a Service-created Allocation EVERY GuardIdentifier submission must equal the PAYING order — it is always 'the order', never a third party whose address is supplied at trigger time; use {who:{Entity:...}} for named parties. Canonical order pattern: the recipient slot is the single submitted Order (constrained by the Guard — service binding, qualifying node, signer==order.owner); funds land at that order object and are receivable only by its owner (object receipt = owner receipt). Safety is determined by constraint sufficiency — run the recipient constraint audit before publish. Fixed recipients should use {who:{Entity:...}}; unbound Signer recipients are a CRITICAL theft risk. MULTI-CALL ALLOCATION: an allocation can be executed MULTIPLE times (no consumed flag in contract). Use Amount mode (not Surplus) for recurring allocations — Surplus calls balance::withdraw_all which drains the balance. For monthly payment scenarios, create multiple Allocators with time-based Guards + Amount mode sharing items.",
|
|
867
867
|
"anyOf": [
|
|
868
868
|
{
|
|
869
869
|
"type": "object",
|
|
@@ -1390,6 +1390,31 @@
|
|
|
1390
1390
|
}
|
|
1391
1391
|
]
|
|
1392
1392
|
},
|
|
1393
|
+
"arb_statement": {
|
|
1394
|
+
"description": "Service (defendant-side) statement on an arbitration case — permission index 321. Lets the Service permission holder put a bounded text on the record for any case against an order of this service WITHOUT holding the order. Callable in ANY case status. The Arb's coin type is derived automatically from the arb object on-chain.",
|
|
1395
|
+
"type": "object",
|
|
1396
|
+
"properties": {
|
|
1397
|
+
"arb": {
|
|
1398
|
+
"type": "string",
|
|
1399
|
+
"description": "Arb object (case) to attach the statement to."
|
|
1400
|
+
},
|
|
1401
|
+
"order": {
|
|
1402
|
+
"type": "string",
|
|
1403
|
+
"description": "The order the case was opened against — must belong to this Service."
|
|
1404
|
+
},
|
|
1405
|
+
"statement": {
|
|
1406
|
+
"type": "string",
|
|
1407
|
+
"maxLength": 4000,
|
|
1408
|
+
"description": "Seller's text statement appended to the case record (ArbStatementEvent). Event-only: nothing on the Arb object is mutated; the record cannot be rewritten or deleted. Use to declare facts or report the customer's behavior (e.g. absence, non-cooperation). PRIMARY evidence channel is Messenger (encrypted WTS records with the customer); this is the SECONDARY on-chain declare/report channel."
|
|
1409
|
+
}
|
|
1410
|
+
},
|
|
1411
|
+
"required": [
|
|
1412
|
+
"arb",
|
|
1413
|
+
"order",
|
|
1414
|
+
"statement"
|
|
1415
|
+
],
|
|
1416
|
+
"additionalProperties": false
|
|
1417
|
+
},
|
|
1393
1418
|
"pause": {
|
|
1394
1419
|
"description": "Whether to pause accepting new orders.",
|
|
1395
1420
|
"type": "boolean"
|
|
@@ -1469,6 +1494,14 @@
|
|
|
1469
1494
|
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
1470
1495
|
"type": "boolean"
|
|
1471
1496
|
},
|
|
1497
|
+
"response_level": {
|
|
1498
|
+
"description": "Write-success response size. 'compact' (default) trims the structured result to key fields (digest + created object references); 'full' includes the complete raw result. Default: compact.",
|
|
1499
|
+
"type": "string",
|
|
1500
|
+
"enum": [
|
|
1501
|
+
"compact",
|
|
1502
|
+
"full"
|
|
1503
|
+
]
|
|
1504
|
+
},
|
|
1472
1505
|
"confirm_mode": {
|
|
1473
1506
|
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
1474
1507
|
"type": "string",
|
|
@@ -948,6 +948,14 @@
|
|
|
948
948
|
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
949
949
|
"type": "boolean"
|
|
950
950
|
},
|
|
951
|
+
"response_level": {
|
|
952
|
+
"description": "Write-success response size. 'compact' (default) trims the structured result to key fields (digest + created object references); 'full' includes the complete raw result. Default: compact.",
|
|
953
|
+
"type": "string",
|
|
954
|
+
"enum": [
|
|
955
|
+
"compact",
|
|
956
|
+
"full"
|
|
957
|
+
]
|
|
958
|
+
},
|
|
951
959
|
"confirm_mode": {
|
|
952
960
|
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
953
961
|
"type": "string",
|
|
@@ -9053,7 +9053,7 @@
|
|
|
9053
9053
|
"mainnet",
|
|
9054
9054
|
"localnet"
|
|
9055
9055
|
],
|
|
9056
|
-
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9056
|
+
"description": "Network for the query — equivalent to the `network` parameter (prefer `network`). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9057
9057
|
}
|
|
9058
9058
|
},
|
|
9059
9059
|
"required": [
|
|
@@ -9080,7 +9080,7 @@
|
|
|
9080
9080
|
"mainnet",
|
|
9081
9081
|
"localnet"
|
|
9082
9082
|
],
|
|
9083
|
-
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9083
|
+
"description": "Network for the query — equivalent to the `network` parameter (prefer `network`). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9084
9084
|
}
|
|
9085
9085
|
},
|
|
9086
9086
|
"required": [
|
|
@@ -9111,7 +9111,7 @@
|
|
|
9111
9111
|
"mainnet",
|
|
9112
9112
|
"localnet"
|
|
9113
9113
|
],
|
|
9114
|
-
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9114
|
+
"description": "Network for the query — equivalent to the `network` parameter (prefer `network`). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9115
9115
|
}
|
|
9116
9116
|
},
|
|
9117
9117
|
"required": [
|
|
@@ -9138,7 +9138,7 @@
|
|
|
9138
9138
|
"mainnet",
|
|
9139
9139
|
"localnet"
|
|
9140
9140
|
],
|
|
9141
|
-
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9141
|
+
"description": "Network for the query — equivalent to the `network` parameter (prefer `network`). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9142
9142
|
}
|
|
9143
9143
|
},
|
|
9144
9144
|
"required": [
|
|
@@ -9172,7 +9172,7 @@
|
|
|
9172
9172
|
"mainnet",
|
|
9173
9173
|
"localnet"
|
|
9174
9174
|
],
|
|
9175
|
-
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9175
|
+
"description": "Network for the query — equivalent to the `network` parameter (prefer `network`). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9176
9176
|
},
|
|
9177
9177
|
"context_depth": {
|
|
9178
9178
|
"description": "BFS recursion depth for dependency expansion in assemble_context (default 0 = no expansion). When >0, the assembly recursively queries objects referenced by the center objects (permission, guard, machine, service, repositories, etc.) up to the given depth, using the same address-field extraction rules as extractAddressFields. Each level issues one batched query_objects call (≤50 IDs per batch). Cycles are detected and skipped via a visited set. Discovered dependencies are returned in `dependencies` (edge metadata) and `dependency_objects` (full object states). Recommended: 1–2 for most use cases; 3+ may pull large subgraphs (use context_include to constrain).",
|
|
@@ -9215,7 +9215,7 @@
|
|
|
9215
9215
|
"mainnet",
|
|
9216
9216
|
"localnet"
|
|
9217
9217
|
],
|
|
9218
|
-
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9218
|
+
"description": "Network for the query — equivalent to the `network` parameter (prefer `network`). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9219
9219
|
},
|
|
9220
9220
|
"reverse_order_amount": {
|
|
9221
9221
|
"description": "Escrowed order amount (smallest-unit string) for reverse_map — included in the report summary as the concrete escrow mention.",
|
|
@@ -9312,7 +9312,7 @@
|
|
|
9312
9312
|
"mainnet",
|
|
9313
9313
|
"localnet"
|
|
9314
9314
|
],
|
|
9315
|
-
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9315
|
+
"description": "Network for the query — equivalent to the `network` parameter (prefer `network`). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9316
9316
|
}
|
|
9317
9317
|
},
|
|
9318
9318
|
"required": [
|
|
@@ -9357,7 +9357,7 @@
|
|
|
9357
9357
|
"mainnet",
|
|
9358
9358
|
"localnet"
|
|
9359
9359
|
],
|
|
9360
|
-
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9360
|
+
"description": "Network for the query — equivalent to the `network` parameter (prefer `network`). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9361
9361
|
}
|
|
9362
9362
|
},
|
|
9363
9363
|
"required": [
|
|
@@ -9402,7 +9402,7 @@
|
|
|
9402
9402
|
"mainnet",
|
|
9403
9403
|
"localnet"
|
|
9404
9404
|
],
|
|
9405
|
-
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9405
|
+
"description": "Network for the query — equivalent to the `network` parameter (prefer `network`). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9406
9406
|
},
|
|
9407
9407
|
"account": {
|
|
9408
9408
|
"description": "Scope the aggregation to ONE account address (the client's current account). Omit to aggregate across ALL local accounts.",
|
|
@@ -9437,7 +9437,7 @@
|
|
|
9437
9437
|
"mainnet",
|
|
9438
9438
|
"localnet"
|
|
9439
9439
|
],
|
|
9440
|
-
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9440
|
+
"description": "Network for the query — equivalent to the `network` parameter (prefer `network`). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9441
9441
|
},
|
|
9442
9442
|
"account": {
|
|
9443
9443
|
"description": "Scope to ONE account address (the client's current account). Omit to merge across ALL local accounts.",
|
|
@@ -9513,7 +9513,7 @@
|
|
|
9513
9513
|
"mainnet",
|
|
9514
9514
|
"localnet"
|
|
9515
9515
|
],
|
|
9516
|
-
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9516
|
+
"description": "Network for the query — equivalent to the `network` parameter (prefer `network`). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9517
9517
|
},
|
|
9518
9518
|
"intent": {
|
|
9519
9519
|
"description": "SEMANTIC exploration strategy (G3) — what this topology call is trying to establish. Deterministically shapes the edge whitelist, per-family depth caps and budget: full_map=complete structural map; order_health=order lifecycle+completion+disputes; fund_flow=payments+allocation waterfall+guard-gated splits; workflow=Machine node graphs+transitions+progress; counterparty=who is on the other side (buyer/seller/agents/operators); reputation=votes+arbitration record+contacts; permission=permission groups+bindings+entity tables; supply_chain=multi-leg allocation/sub-order settlement; arbitration=dispute cases+voters; demand_match=demand presenters+guards+rewards. When omitted, defaults come from the persona system (role default intents < account persona preference), then industry templates; every applied layer is reported in result.strategy.trace.",
|
|
@@ -10449,7 +10449,7 @@
|
|
|
10449
10449
|
"type": "string"
|
|
10450
10450
|
},
|
|
10451
10451
|
"test_result": {
|
|
10452
|
-
"description": "gen_passport static test result.
|
|
10452
|
+
"description": "gen_passport static test result. status is read from the created Passport's on-chain result field; tx success alone never means the Guard passed.",
|
|
10453
10453
|
"type": "object",
|
|
10454
10454
|
"properties": {
|
|
10455
10455
|
"status": {
|
|
@@ -10467,6 +10467,29 @@
|
|
|
10467
10467
|
"passport_id": {
|
|
10468
10468
|
"description": "Generated Passport ID (if pass)",
|
|
10469
10469
|
"type": "string"
|
|
10470
|
+
},
|
|
10471
|
+
"guard_results": {
|
|
10472
|
+
"description": "Per-Guard evaluation result read from the Passport (docs#40: the pass/fail status comes from Passport.result, not transaction success)",
|
|
10473
|
+
"type": "array",
|
|
10474
|
+
"items": {
|
|
10475
|
+
"type": "object",
|
|
10476
|
+
"properties": {
|
|
10477
|
+
"guard": {
|
|
10478
|
+
"type": "string"
|
|
10479
|
+
},
|
|
10480
|
+
"result": {
|
|
10481
|
+
"type": "boolean"
|
|
10482
|
+
},
|
|
10483
|
+
"impack": {
|
|
10484
|
+
"type": "boolean"
|
|
10485
|
+
}
|
|
10486
|
+
},
|
|
10487
|
+
"required": [
|
|
10488
|
+
"guard",
|
|
10489
|
+
"result"
|
|
10490
|
+
],
|
|
10491
|
+
"additionalProperties": false
|
|
10492
|
+
}
|
|
10470
10493
|
}
|
|
10471
10494
|
},
|
|
10472
10495
|
"required": [
|