闲社服务运行正常AI智能体自动化平台
w

workflow-structure-normalizer

Check a redacted n8n-like workflow structure and emit a stable contract before risk review.

作者:暂未提供 | 来源记录:ClawHub
包含在套餐中
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
随套餐获取
请查看所属套餐
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

workflow-structure-normalizer

Workflow Structure Normalizer

Turn a redacted workflow export into a deterministic structure contract.

Scenario and prerequisites

  • - Use before importing or sharing an AI workflow template.
  • Input is a redacted JSON export; it must not contain credentials, cookies, tokens, or private customer data.
  • Python 3.10+ and the standard library are enough.

Input and output

Input needs a nodes array and may contain connections. Each node should have a unique id, name, and type.
Output is READY or BLOCKED, with node counts, connection counts, unknown references, and a stable schema_hash.

Execution and recovery

Run python scripts/normalize_workflow.py --input examples/input.json --output examples/output.json. Fix missing IDs, duplicate IDs, missing types, or dangling connections, then rerun. The script never imports, edits, or sends a workflow.

Acceptance

The included sample produces READY, a non-empty hash, four nodes, and no dangling references. The broken sample produces BLOCKED with explicit reasons.

下载

v1.0.0 最新 2026-8-21 09:10
初始版本(来自套餐拆分)
返回顶部