ZZZ Digital Lab

Back to n8n workflow hardening

evidence/lint.json

{
  "synthetic": true,
  "before": [
    {
      "code": "MISSING_ERROR_WORKFLOW",
      "node": "(workflow)",
      "detail": "Main workflow must reference an error workflow"
    },
    {
      "code": "UNBOUNDED_CYCLE",
      "node": "(workflow)",
      "detail": "This policy requires an acyclic graph; review any back-edge"
    },
    {
      "code": "WEBHOOK_AUTH",
      "node": "Synthetic Webhook",
      "detail": "Require a locally configured header-auth reference"
    },
    {
      "code": "EARLY_ACK",
      "node": "Synthetic Webhook",
      "detail": "Acknowledge after processing, with client timeout/replay policy"
    },
    {
      "code": "INLINE_SECRET",
      "node": "Send Every Time",
      "detail": "Sensitive header value is inline; value redacted"
    },
    {
      "code": "RETRY_BOUND",
      "node": "Send Every Time",
      "detail": "Require 2-5 bounded attempts"
    },
    {
      "code": "RETRY_BACKOFF",
      "node": "Send Every Time",
      "detail": "Require a fixed retry delay of 500-10000 ms"
    },
    {
      "code": "HTTP_TIMEOUT",
      "node": "Send Every Time",
      "detail": "Require a request header timeout <= 10000 ms"
    },
    {
      "code": "CREDENTIAL_REFERENCE",
      "node": "Send Every Time",
      "detail": "Use a locally configured credential reference"
    },
    {
      "code": "IDEMPOTENCY_HEADER",
      "node": "Send Every Time",
      "detail": "Stable event-based Idempotency-Key header is required"
    },
    {
      "code": "IDEMPOTENT_METHOD",
      "node": "Send Every Time",
      "detail": "This receiver contract uses idempotent PUT resource writes"
    },
    {
      "code": "BATCH_BOUND",
      "node": "(workflow)",
      "detail": "Missing bounded envelope preparation"
    },
    {
      "code": "DEAD_LETTER_PATH",
      "node": "(workflow)",
      "detail": "Exhausted delivery must reach durable dead-letter sink then fail visibly"
    },
    {
      "code": "DLQ_ITEM_LINKING",
      "node": "(workflow)",
      "detail": "Dead-letter payload must recover the original linked event"
    }
  ],
  "after": []
}