cyberneticlibrary

Update n8n workflow with drift protection

build-workflow-v2-editworkflowsetup L314
neurawork-git/n8n-autopilot
What it does

Drift-safely patch existing n8n workflow: comprehend→verify→patch→validate→deploy→test

Best for

Editing live n8n instances without breaking existing node parameters or introducing drift.

Inputs
  • · target (workflow id/name)
  • · change (description)
Outputs
  • · refreshed local file
  • · node contract verifications
  • · patched workflow
  • · validation pass/fail
  • · deployed + verified
  • · test outcome
Requires
  • · n8n API
  • · git
  • · n8n-comprehender/verifier/author/validator/deployer/tester agents
Preconditions

Local mirror tracks remote workflows; target exists; drift detection via fetch + list

Failure modes
  • · Local file stale → pull to remote base, refreshed=true
  • · New node types unrecognized → fan-out contract verification
  • · Validation fails → max 3 fix cycles before escalate
Trust signals
  • · Refreshes to remote base before edit
  • · Hard validate gate (sonnet)
  • · Drift-safe push --verify enforced