ascn-operator
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseASCN Operator
ASCN Operator
Use this guide as the source of truth for how the operator should work.
本指南是Operator工作方式的权威参考。
Mission
使命
Use workspace MCP tools to safely discover, validate, change, activate, and export workflows, plus submit plugin bundles with clear, auditable outcomes.
control.*使用工作区MCP的工具安全地发现、验证、修改、激活和导出工作流,并提交具有清晰可审计结果的插件包。
control.*Required Inputs
必填输入项
The operator MUST obtain:
- (UUID)
workspace_id - (
intent)create|repair|patch|export|publish_plugin|delete|explain
Optional but strongly recommended:
- for patch/repair/export/delete intents
workflow_id - required integration list and secrets map
- success criteria (expected workflow status/tool name)
- for :
publish_plugin, canonical handler list, and plugin definition metadataplugin_name - (
blueprint_preference)linear|fanout|conditional|retryable_http|tool_export - latency target (for example )
latency_slo_ms - throughput target (for example )
throughput_rps - idempotency requirement ()
strict|best_effort
If is missing, the operator MUST stop before any mutation.
workspace_idOperator必须获取以下信息:
- (UUID格式)
workspace_id - (取值范围:
intent)create|repair|patch|export|publish_plugin|delete|explain
可选但强烈建议提供的信息:
- 针对patch/repair/export/delete意图的
workflow_id - 所需集成列表和密钥映射
- 成功标准(预期工作流状态/工具名称)
- 针对意图的
publish_plugin、标准处理器列表和插件定义元数据plugin_name - (取值范围:
blueprint_preference)linear|fanout|conditional|retryable_http|tool_export - 延迟目标(例如)
latency_slo_ms - 吞吐量目标(例如)
throughput_rps - 幂等性要求(取值范围:)
strict|best_effort
如果缺少,Operator必须在执行任何变更操作前停止。
workspace_idRequired Tool Surface
必填工具集
The target gateway MUST expose these tools:
control.docs.getcontrol.registry.listcontrol.registry.detailscontrol.workflows.listcontrol.workflows.describecontrol.workflows.validatecontrol.workflows.createcontrol.workflows.patchcontrol.workflows.activatecontrol.workflows.deletecontrol.tools.list_exportscontrol.tools.ensure_exportcontrol.runs.listcontrol.runs.detailscontrol.plugins.create_plugincontrol.plugins.update_plugincontrol.plugins.list
If required tools are unavailable, the operator MUST fail fast with a dependency error summary.
目标网关必须暴露以下工具:
control.docs.getcontrol.registry.listcontrol.registry.detailscontrol.workflows.listcontrol.workflows.describecontrol.workflows.validatecontrol.workflows.createcontrol.workflows.patchcontrol.workflows.activatecontrol.workflows.deletecontrol.tools.list_exportscontrol.tools.ensure_exportcontrol.runs.listcontrol.runs.detailscontrol.plugins.create_plugincontrol.plugins.update_plugincontrol.plugins.list
如果必填工具不可用,Operator必须立即失败并返回依赖项错误摘要。
Companion Skill Delegation
配套Skill委托
If capability is insufficient, the operator MUST delegate integration design/implementation to:
skills/ascn-integrations/SKILL.md
The operator MUST resume lifecycle mutations only after missing capability becomes available.
如果能力不足,Operator必须将集成设计/实现委托给:
skills/ascn-integrations/SKILL.md
只有当缺失的能力可用后,Operator才能恢复生命周期变更操作。
Connectivity Prerequisites
连通性前提
Before lifecycle operations, the operator MUST verify MCP connectivity for the workspace gateway.
Required gateway configuration:
- transport:
streamable_http - URL:
https://nocode.ascn.ai/mcp - tool dependency id:
workspace-mcp-gateway - workspace secret name:
mcp_gateway_token - auth header: (must match secret value)
Authorization: Bearer <token> - MCP auth/token source:
https://ascn.ai/no-code/mcp-list
The operator MUST NOT attempt workflow mutations until this dependency is reachable.
在执行生命周期操作之前,Operator必须验证工作区网关的MCP连通性。
必填网关配置:
- 传输方式:
streamable_http - URL:
https://nocode.ascn.ai/mcp - 工具依赖ID:
workspace-mcp-gateway - 工作区密钥名称:
mcp_gateway_token - 认证头:(必须与密钥值匹配)
Authorization: Bearer <token> - MCP认证/令牌来源:
https://ascn.ai/no-code/mcp-list
在该依赖项可达之前,Operator不得尝试执行工作流变更操作。
Dependency Handshake
依赖项握手
At task start, the operator MUST perform a dependency readiness check:
- confirm is present
workspace_id - confirm MCP gateway dependency exists in agent runtime
- confirm control tool surface is discoverable
If any check fails, classify as dependency failure and return user-facing connection instructions.
任务启动时,Operator必须执行依赖项就绪检查:
- 确认已提供
workspace_id - 确认MCP网关依赖项存在于Agent运行时中
- 确认控制工具集可被发现
如果任何检查失败,将其归类为依赖项失败,并返回面向用户的连接说明。
Capability Gap Policy
能力缺口策略
After dependency checks, the operator MUST determine whether current capability is sufficient.
Required detection order:
- inspect workflow/tool inventory (,
control.workflows.list,control.workflows.describe)control.tools.list_exports - inspect handler/trigger inventory (,
control.registry.list)control.registry.details - classify capability status:
- sufficient
- missing_handler
- missing_trigger
- missing_auth_capability
- schema_or_contract_gap
If status is not , the operator MUST NOT invent handler/trigger names.
sufficient完成依赖项检查后,Operator必须确定当前能力是否足够。
必填检测顺序:
- 检查工作流/工具清单(、
control.workflows.list、control.workflows.describe)control.tools.list_exports - 检查处理器/触发器清单(、
control.registry.list)control.registry.details - 对能力状态进行分类:
- sufficient(足够)
- missing_handler(缺失处理器)
- missing_trigger(缺失触发器)
- missing_auth_capability(缺失认证能力)
- schema_or_contract_gap( schema或契约缺口)
如果状态不是,Operator不得自行杜撰处理器/触发器名称。
sufficientBlueprint Selector Policy
蓝图选择策略
For , the operator MUST select one workflow blueprint before drafting config.
create|patch|repair|exportSupported blueprint types:
- : single ordered chain
linear - : one producer, multiple parallel consumers
fanout - : explicit branch routing with conditions
conditional - : network call with explicit retry/error path
retryable_http - :
tool_exportsurfaced via MCPTrigger.Tool
The operator MUST:
- declare selected blueprint in output ()
selected_blueprint - keep graph topology consistent with selected blueprint
- use examples/minimal params as activity-level examples
control.registry.details
针对意图,Operator必须在起草配置前选择一个工作流蓝图。
create|patch|repair|export支持的蓝图类型:
- :单一有序链
linear - :一个生产者,多个并行消费者
fanout - :带条件的显式分支路由
conditional - :带显式重试/错误路径的网络调用
retryable_http - :通过MCP暴露的
tool_exportTrigger.Tool
Operator必须:
- 在输出中声明所选蓝图()
selected_blueprint - 保持图拓扑与所选蓝图一致
- 使用中的示例/最小参数作为活动级示例
control.registry.details
Execution Policy
执行策略
Global Rules
全局规则
- The operator MUST call before intent-specific mutations.
control.docs.get - The operator MUST validate before every create/patch mutation.
- The operator MUST mutate by , never inferred names.
workflow_id - The operator MUST not perform delete without explicit .
confirm=true - The operator MUST run after successful create/patch/export.
control.workflows.activate - For exported MCP tools, the operator MUST run smoke-test trace checks using .
control.runs.list - The operator MUST use a minimal-valid first draft, then expand.
- The operator MUST complete schema-lock and reference-safety checks before mutation.
- The operator MUST use a consistent node naming convention.
- The operator MUST prepare patch strategy from error class before retrying failed validation.
- 在执行特定意图的变更操作前,Operator必须调用
control.docs.get - 在每次创建/修补变更前,Operator必须执行验证
- Operator必须通过执行变更,不得使用推断名称
workflow_id - 没有显式的参数时,Operator不得执行删除操作
confirm=true - 在成功完成create/patch/export操作后,Operator必须调用
control.workflows.activate - 对于导出的MCP工具,Operator必须使用执行冒烟测试跟踪检查
control.runs.list - Operator必须先构建最小可用的初始版本,再进行扩展
- 在执行变更操作前,Operator必须完成schema锁定和引用安全检查
- Operator必须使用一致的节点命名规范
- 在重试失败的验证操作前,Operator必须根据错误类别制定修补策略
Authoring Pipeline (Required)
创作流水线(必填)
For , operator MUST apply this order:
create|patch|repair|export- select blueprint type
- schema-lock from :
control.registry.details- required params
- defaults
- secret-backed fields
- build minimal valid draft:
- smallest runnable set of nodes
- explicit trigger entry edge(s)
- run reference safety gate:
- each has reachable directed path
$node[...] - no raw dynamic directives without
$...={{ ... }} - no secret literals
- each
- validate ()
control.workflows.validate - mutate (or
create)patch - activate
- expand/iterate only if required by scope
针对意图,Operator必须按照以下顺序执行:
create|patch|repair|export- 选择蓝图类型
- 通过进行schema锁定:
control.registry.details- 必填参数
- 默认值
- 密钥支持字段
- 构建最小可用的初始版本:
- 最小可运行节点集
- 显式触发器入口边
- 执行引用安全检查:
- 每个都有可达的有向路径
$node[...] - 没有未使用包裹的原始
={{ ... }}动态指令$... - 没有明文密钥
- 每个
- 执行验证()
control.workflows.validate - 执行变更(或
create)patch - 激活工作流
- 仅在范围要求时进行扩展/迭代
Intent Flows
意图流程
createcontrol.docs.getcontrol.workflows.listcontrol.registry.listcontrol.registry.details- select blueprint + schema-lock + minimal valid draft
control.workflows.validatecontrol.workflows.createcontrol.workflows.activate
patch|repaircontrol.docs.getcontrol.workflows.listcontrol.workflows.describecontrol.registry.details- select blueprint + schema-lock + minimal patch draft
control.workflows.validatecontrol.workflows.patchcontrol.workflows.activate
exportcontrol.docs.getcontrol.workflows.describe- with
control.tools.list_exportsto inspect all exportsexpose_mcp_only=false - with canonical
control.tools.ensure_exportoutput_path control.workflows.validatecontrol.workflows.activate- invoke exported tool with minimal valid payload
- for latest run verification
control.runs.list - for node outputs and timeline diagnostics
control.runs.details
deletecontrol.workflows.describe- summarize destructive impact
- with
control.workflows.deleteconfirm=true
publish_plugincontrol.docs.get- for each selected handler
control.registry.details control.plugins.create_plugin- (only when edits are required)
control.plugins.update_plugin - verify the published plugin appears under category in plugin UI (
user)control.plugins.list - enforce UX behavior:
- unwrapped exports stay visible as flat entries
User.<Handler> - published bundles render as first-class plugin cards/forms
- unwrapped exports stay visible as flat
- instruct user to test via plugin card/form flow (not raw handler list)
createcontrol.docs.getcontrol.workflows.listcontrol.registry.listcontrol.registry.details- 选择蓝图 + schema锁定 + 构建最小可用初始版本
control.workflows.validatecontrol.workflows.createcontrol.workflows.activate
patch|repaircontrol.docs.getcontrol.workflows.listcontrol.workflows.describecontrol.registry.details- 选择蓝图 + schema锁定 + 构建最小可用修补版本
control.workflows.validatecontrol.workflows.patchcontrol.workflows.activate
exportcontrol.docs.getcontrol.workflows.describe- 使用参数调用
expose_mcp_only=false以检查所有导出项control.tools.list_exports - 使用标准调用
output_pathcontrol.tools.ensure_export control.workflows.validatecontrol.workflows.activate- 使用最小可用负载调用导出的工具
- 通过验证最新运行情况
control.runs.list - 通过查看节点输出和时间线诊断信息
control.runs.details
deletecontrol.workflows.describe- 总结破坏性影响
- 携带参数调用
confirm=truecontrol.workflows.delete
publish_plugincontrol.docs.get- 针对每个所选处理器调用
control.registry.details control.plugins.create_plugin- (仅在需要编辑时执行)
control.plugins.update_plugin - 验证已发布的插件在插件UI的分类下可见(
user)control.plugins.list - 强制执行UX行为:
- 未封装的导出项保持为扁平的条目可见
User.<Handler> - 已发布的包以一等插件卡片/表单形式展示
- 未封装的导出项保持为扁平的
- 指导用户通过插件卡片/表单流程进行测试(而非原始处理器列表)
Capability-Gap Flow
能力缺口流程
When capability is insufficient, operator MUST run this branch:
- produce with classification and impact
gap_summary - propose reuse-first options in priority order:
- compose with existing handlers/triggers/tools
- reuse/patch existing exported tool
- connect external MCP tool
- implement new reusable integration (handler/trigger)
- produce at least one Integration Proposal Card
- ask user to choose path before continuing mutations
- run the skill flow for the selected option
ascn-integrations
The operator MUST pause lifecycle mutations until user selects a path.
当能力不足时,Operator必须执行以下分支流程:
- 生成包含分类和影响的
gap_summary - 按优先级提出优先复用的选项:
- 组合现有处理器/触发器/工具
- 复用/修补现有导出工具
- 连接外部MCP工具
- 实现新的可复用集成(处理器/触发器)
- 生成至少一个集成提议卡片
- 在继续变更操作前,请求用户选择路径
- 针对所选选项执行Skill流程
ascn-integrations
在用户选择路径之前,Operator必须暂停生命周期变更操作。
Post-Export Testability and Traceability
导出后的可测试性与可追溯性
After export and activation, operator MUST validate runtime behavior:
- invoke exported MCP tool with minimal valid payload
- query latest runs via
control.runs.list - confirm latest run status is expected (for happy-path smoke)
COMPLETED - inspect full run payload via when run is failed or unexpected
control.runs.details - if run fails, include and
run_idin failure summarytrace_id
导出并激活后,Operator必须验证运行时行为:
- 使用最小可用负载调用导出的MCP工具
- 通过查询最新运行记录
control.runs.list - 确认最新运行状态符合预期(冒烟测试的正常路径应为)
COMPLETED - 当运行失败或状态异常时,通过检查完整运行负载
control.runs.details - 如果运行失败,在失败摘要中包含和
run_idtrace_id
Export Robustness Rules
导出健壮性规则
When handling export intent, operator MUST:
- list exports with before reconciliation
expose_mcp_only=false - ensure export output uses canonical
output_path - verify resolves to output-producing node
output_path - check canonical tool name conflicts before activation
- smoke-test after activation and inspect runs on any failure
处理导出意图时,Operator必须:
- 在协调前使用参数列出所有导出项
expose_mcp_only=false - 确保导出输出使用标准
output_path - 验证指向生成输出的节点
output_path - 激活前检查标准工具名称是否存在冲突
- 激活后执行冒烟测试,若失败则检查运行记录
Idempotency and Retry
幂等性与重试
- Mutation operations MUST use a deterministic operation key:
.
{workspace_id}:{intent}:{workflow_id|workflow_name}:{payload_hash} - Transient failures (,
timeout, gateway unavailable) MAY retry up to 3 attempts with exponential backoff.5xx - Validation/context/export-conflict failures MUST NOT auto-retry; patch context/payload first.
- Retry behavior MUST be recorded in the final output.
- 变更操作必须使用确定性操作键:
{workspace_id}:{intent}:{workflow_id|workflow_name}:{payload_hash} - 临时失败(、
timeout、网关不可用)最多可重试3次,并使用指数退避策略5xx - 验证/上下文/导出冲突失败不得自动重试;需先修补上下文/负载
- 重试行为必须记录在最终输出中
Authoring Standards
创作标准
- Activity IDs MUST be unique.
- Every MUST reference an existing activity.
edges[].to - Trigger entry edges SHOULD be explicit for deterministic starts.
- MUST be used only for current node input.
$json - Upstream reads MUST use with graph reachability.
$node['id'].json.field - Dynamic expressions and secrets MUST use .
={{ ... }} - Credentials MUST NOT be hardcoded.
- If required capability is missing, operator MUST propose reusable integration path instead of ad-hoc one-off node logic.
- 活动ID必须唯一
- 每个必须引用现有活动
edges[].to - 触发器入口边应显式声明以确保启动的确定性
- 只能用于当前节点输入
$json - 读取上游节点必须使用,且需保证图可达性
$node['id'].json.field - 动态表达式和密钥必须使用包裹
={{ ... }} - 凭证不得硬编码
- 如果缺少所需能力,Operator必须提议可复用集成路径,而非临时的一次性节点逻辑
Naming Convention
命名规范
For generated/updated workflow nodes, operator MUST use:
- activity id pattern: (example:
<verb>_<domain>_<seq>)fetch_orders_01 - trigger id pattern: (example:
<kind>_<seq>,tool_01)cron_01 - workflow name pattern: (example:
<domain>_<intent>_<variant>)orders_sync_tool - lowercase snake_case ids for stable references
$node[...]
对于生成/更新的工作流节点,Operator必须使用以下命名规则:
- 活动ID格式:(示例:
<verb>_<domain>_<seq>)fetch_orders_01 - 触发器ID格式:(示例:
<kind>_<seq>、tool_01)cron_01 - 工作流名称格式:(示例:
<domain>_<intent>_<variant>)orders_sync_tool - 使用小写蛇形命名法(snake_case)作为ID,以保证引用的稳定性
$node[...]
Node Reference Syntax (Required)
节点引用语法(必填)
The operator MUST explicitly use and communicate these patterns when authoring workflow params:
- Current node input:
={{ $json }}={{ $json.field }}
- Upstream node output:
={{ $node['build'].json }}={{ $node['build'].json.message }}
- Upstream array/object access:
={{ $node['fetch'].json.items[0].id }}
- Secrets:
={{ $secrets.telegram_bot_token }}
The operator MUST NOT use raw or raw strings without in dynamic fields.
If a node reference is used, graph reachability MUST be validated ().
$node[...]$json...={{ ... }}A -> ... -> BOperator在创作工作流参数时,必须显式使用并遵循以下模式:
- 当前节点输入:
={{ $json }}={{ $json.field }}
- 上游节点输出:
={{ $node['build'].json }}={{ $node['build'].json.message }}
- 上游数组/对象访问:
={{ $node['fetch'].json.items[0].id }}
- 密钥:
={{ $secrets.telegram_bot_token }}
在动态字段中,Operator不得使用未被包裹的原始或字符串。
如果使用了节点引用,必须验证图可达性()。
={{ ... }}$node[...]$json...A -> ... -> BError Handling Standard
错误处理标准
The operator MUST map errors to .
contracts/error-taxonomy.yamlMandatory handling classes:
- : patch payload and re-validate.
validation - : correct workspace/workflow mismatch before proceeding.
context - : list exports and reconcile canonical name/output path.
export_conflict - : bounded retries with backoff.
transient - : stop execution and provide MCP connection runbook to user.
dependency - : propose reusable integration options and request user decision.
capability_gap
Operator必须将错误映射到中的分类。
contracts/error-taxonomy.yaml必填处理类别:
- :修补负载并重新验证
validation - :先修正工作区/工作流不匹配问题,再继续执行
context - :列出导出项并协调标准名称/输出路径
export_conflict - :带退避策略的有限重试
transient - :停止执行并向用户提供MCP连接手册
dependency - :提议可复用集成选项并请求用户决策
capability_gap
Failure Patch Strategy Templates
失败修补策略模板
On failed validation or mutation, operator MUST choose patch strategy by class:
- : patch params/edges/references, then re-validate
validation - : rebind workspace/workflow id, then retry once
context - : list exports, reconcile tool+handler+output_path
export_conflict - : stop and return connection runbook
dependency - : bounded retry with backoff (max 3)
transient - : return proposals and wait for user decision
capability_gap
当验证或变更操作失败时,Operator必须根据类别选择修补策略:
- :修补参数/边/引用,然后重新验证
validation - :重新绑定工作区/工作流ID,然后重试一次
context - :列出导出项,协调工具+处理器+输出路径
export_conflict - :停止并返回连接手册
dependency - :带退避策略的有限重试(最多3次)
transient - :返回提议并等待用户决策
capability_gap
Output Contract
输出契约
Every completion MUST include this shape:
json
{
"operations_executed": [
{
"step": 1,
"tool": "control.docs.get",
"result": "success",
"duration_ms": 12
}
],
"final_state": {
"workflow_id": "<uuid>",
"version": 3,
"status": "ACTIVE"
},
"validation_summary": {
"valid": true,
"issue_count": 0
},
"unresolved_risks": []
}On failure, output MUST include:
failing_operation- (taxonomy-aligned)
error_code error_messagenext_action- when error class is
connection_instructionsdependency - when class is
integration_proposalscapability_gap - (
run_trace,run_id) when runtime execution startedtrace_id - selected from Failure Patch Strategy Templates
patch_strategy
For , output MUST additionally include:
publish_plugindefinition_idplugin_namehandlers- (
visibility_state)visible_in_user_category|not_visible - with user-facing test steps
next_action
For , output SHOULD additionally include:
create|patch|repair|exportselected_blueprint- (required/default/secret-backed fields)
schema_lock_summary - map (
edge_intents)sequence|branch_true|branch_false|error_path
每次完成操作必须包含以下结构:
json
{
"operations_executed": [
{
"step": 1,
"tool": "control.docs.get",
"result": "success",
"duration_ms": 12
}
],
"final_state": {
"workflow_id": "<uuid>",
"version": 3,
"status": "ACTIVE"
},
"validation_summary": {
"valid": true,
"issue_count": 0
},
"unresolved_risks": []
}失败时,输出必须包含:
failing_operation- (与分类对齐)
error_code error_messagenext_action- 当错误类别为时,包含
dependencyconnection_instructions - 当错误类别为时,包含
capability_gapintegration_proposals - 当运行时执行已启动时,包含(
run_trace、run_id)trace_id - 从失败修补策略模板中选择的
patch_strategy
针对意图,输出还必须包含:
publish_plugindefinition_idplugin_namehandlers- (取值范围:
visibility_state)visible_in_user_category|not_visible - 包含面向用户测试步骤的
next_action
针对意图,输出建议额外包含:
create|patch|repair|exportselected_blueprint- (必填/默认/密钥支持字段)
schema_lock_summary - 映射(
edge_intents)sequence|branch_true|branch_false|error_path
Integration Proposal Card
集成提议卡片
When capability gap is detected, proposal MUST follow this structure:
json
{
"integration_name": "Acme Orders Connector",
"kind": "activity",
"proposed_handler_id": "AcmeOrders.CreateOrder",
"why_reusable": "Can be reused for all order create flows across workspaces",
"params_schema": {"type": "object"},
"returns_schema": {"type": "object"},
"required_secrets": ["acme_api_key"],
"auth_model": "api_key_header",
"retry_policy": {"max_attempts": 3, "backoff": "exponential"},
"rate_limit_hint": "100 req/min",
"acceptance_tests": [
"creates order with valid payload",
"returns typed error on 4xx/5xx",
"schema validation passes in control.workflows.validate"
],
"reusability_scope": "multi-workflow"
}当检测到能力缺口时,提议必须遵循以下结构:
json
{
"integration_name": "Acme Orders Connector",
"kind": "activity",
"proposed_handler_id": "AcmeOrders.CreateOrder",
"why_reusable": "Can be reused for all order create flows across workspaces",
"params_schema": {"type": "object"},
"returns_schema": {"type": "object"},
"required_secrets": ["acme_api_key"],
"auth_model": "api_key_header",
"retry_policy": {"max_attempts": 3, "backoff": "exponential"},
"rate_limit_hint": "100 req/min",
"acceptance_tests": [
"creates order with valid payload",
"returns typed error on 4xx/5xx",
"schema validation passes in control.workflows.validate"
],
"reusability_scope": "multi-workflow"
}User Decision Gate
用户决策网关
For capability gap, operator MUST ask user to pick one option:
- Compose from existing handlers/tools
- Connect external MCP tool
- Build new reusable integration (handler/trigger)
Mutations resume only after explicit user choice.
当存在能力缺口时,Operator必须要求用户选择以下选项之一:
- 组合现有处理器/工具
- 连接外部MCP工具
- 构建新的可复用集成(处理器/触发器)
只有在用户明确选择后,才能恢复变更操作。
User Decision Message Templates
用户决策消息模板
For capability-gap responses, operator SHOULD use these standardized user-facing templates.
compose_existing_handlers_or_toolstext
I can complete this using existing capabilities without building a new integration.
Plan:
1) compose current handlers/tools,
2) validate graph and schema,
3) activate workflow.
Choose this if you want fastest delivery with current platform components.connect_external_mcp_tooltext
I can connect an external MCP tool and reuse it in this workflow.
Plan:
1) connect MCP tool endpoint,
2) verify tool schema and auth,
3) wire tool into workflow and validate.
Choose this if the capability already exists in an external MCP server.build_new_reusable_integrationtext
Current capabilities are insufficient. I propose a reusable integration:
- handler: {proposed_handler_id}
- scope: {reusability_scope}
- required secrets: {required_secrets}
Plan:
1) define params/returns schema,
2) implement reusable handler/trigger,
3) validate with acceptance tests and reuse in this workflow.
Choose this for long-term reuse across automations.针对能力缺口的响应,Operator应使用以下标准化的面向用户模板。
compose_existing_handlers_or_toolstext
我可以使用现有能力完成此操作,无需构建新集成。
计划:
1) 组合当前处理器/工具,
2) 验证图和schema,
3) 激活工作流。
如果您希望使用现有平台组件实现最快交付,请选择此选项。connect_external_mcp_tooltext
我可以连接外部MCP工具并将其复用于此工作流。
计划:
1) 连接MCP工具端点,
2) 验证工具schema和认证,
3) 将工具接入工作流并验证。
如果该能力已存在于外部MCP服务器中,请选择此选项。build_new_reusable_integrationtext
当前能力不足。我提议构建一个可复用集成:
- 处理器:{proposed_handler_id}
- 范围:{reusability_scope}
- 所需密钥:{required_secrets}
计划:
1) 定义参数/返回值schema,
2) 实现可复用处理器/触发器,
3) 通过验收测试验证并将其复用于此工作流。
如果您希望在所有自动化中实现长期复用,请选择此选项。User-Facing MCP Connection Playbook
面向用户的MCP连接手册
When the skill is loaded but MCP is not connected, the operator MUST provide this actionable instruction set:
- Verify the ASCN base URL is reachable.
- Configure MCP gateway connection:
- name:
workspace-mcp-gateway - transport:
streamable_http - url:
https://nocode.ascn.ai/mcp
- name:
- Ensure workspace secret exists and has the intended token value.
mcp_gateway_token - Add header using the same token value.
Authorization: Bearer <token> - Reconnect MCP client/session.
- Re-run and verify control tool availability (or tool list inspection).
control.docs.get
Recommended user message template:
text
MCP control gateway is not connected for workspace {workspace_id}.
Please add/update MCP connection:
- transport: streamable_http
- url: https://nocode.ascn.ai/mcp
- workspace secret: mcp_gateway_token = <token>
- auth header: Authorization: Bearer <token>
- token source: https://ascn.ai/no-code/mcp-list
Then reconnect MCP and retry this request.当Skill已加载但MCP未连接时,Operator必须提供以下可操作的说明:
- 验证ASCN基础URL是否可达。
- 配置MCP网关连接:
- 名称:
workspace-mcp-gateway - 传输方式:
streamable_http - URL:
https://nocode.ascn.ai/mcp
- 名称:
- 确保工作区密钥存在且包含正确的令牌值。
mcp_gateway_token - 添加头,使用相同的令牌值。
Authorization: Bearer <token> - 重新连接MCP客户端/会话。
- 重新运行并验证控制工具的可用性(或检查工具列表)。
control.docs.get
推荐的用户消息模板:
text
工作区{workspace_id}的MCP控制网关未连接。
请添加/更新MCP连接:
- 传输方式:streamable_http
- URL:https://nocode.ascn.ai/mcp
- 工作区密钥:mcp_gateway_token = <token>
- 认证头:Authorization: Bearer <token>
- 令牌来源:https://ascn.ai/no-code/mcp-list
然后重新连接MCP并重试此请求。Observability and Audit Fields
可观测性与审计字段
The final summary MUST include:
workspace_idintenttool_sequencetotal_duration_msretry_countmutation_count
最终摘要必须包含:
workspace_idintenttool_sequencetotal_duration_msretry_countmutation_count
Mutation Safety
变更安全性
- Before delete, operator MUST provide impact summary.
- After every mutation, operator MUST report affected ,
workflow_id,version.status - If activation fails, operator MUST stop and provide concrete patch plan.
- 在执行删除操作前,Operator必须提供影响摘要。
- 每次变更后,Operator必须报告受影响的、
workflow_id、version。status - 如果激活失败,Operator必须停止并提供具体的修补计划。
Consistency Requirements
一致性要求
- MUST remain consistent with
SKILL.md.contracts/skill-contract.yaml - Scenario files in SHOULD cover create, repair, and export flows.
contracts/scenarios/
- 必须与
SKILL.md保持一致。contracts/skill-contract.yaml - 中的场景文件应覆盖创建、修补和导出流程。
contracts/scenarios/
Change Management
变更管理
- Contract/toolflow changes MUST update and
VERSION.CHANGELOG.md - Breaking changes MUST increment major version.
- Non-breaking behavior additions SHOULD increment minor version.
- 契约/工具流变更必须更新和
VERSION。CHANGELOG.md - 破坏性变更必须递增主版本号。
- 非破坏性行为新增应递增次版本号。
References
参考资料
references/workflow-construction.mdreferences/troubleshooting.mdreferences/mcp-connection.mdreferences/integration-proposals.mdreferences/plugin-publishing.mdcontracts/skill-contract.yamlcontracts/error-taxonomy.yaml
references/workflow-construction.mdreferences/troubleshooting.mdreferences/mcp-connection.mdreferences/integration-proposals.mdreferences/plugin-publishing.mdcontracts/skill-contract.yamlcontracts/error-taxonomy.yaml