Skip to content

fix: align validator guidance with n8n-mcp 2.63.0 (v1.22.0)#36

Merged
czlonkowski merged 2 commits into
mainfrom
fix/validator-v2.63-alignment
Jul 3, 2026
Merged

fix: align validator guidance with n8n-mcp 2.63.0 (v1.22.0)#36
czlonkowski merged 2 commits into
mainfrom
fix/validator-v2.63-alignment

Conversation

@czlonkowski

Copy link
Copy Markdown
Owner

Summary

n8n-mcp 2.63.0 (czlonkowski/n8n-mcp#911) fixed the validator's false-positive classes at the source and repaired profile gating. This release updates the pack so its guidance describes current behavior instead of working around bugs that no longer exist.

Changes

  • n8n-validation-expert — the big one:
    • Removed the "known n8n issues #304/#306/#338" section: those issue numbers never matched the described symptoms, and with 2.63.0 there is no standing list of validator false positives to ignore.
    • Removed the stale "~40% of warnings are acceptable / ai-friendly reduces false positives by 60%" claims.
    • Reframed FALSE_POSITIVES.md: what you see now is either a security/deprecation warning (all profiles — treat as real) or a best-practice advisory (ai-friendly/strict only — judge against your use case). The per-case guidance (error handling, retries, rate limits, unbounded queries) remains the core value.
    • Refreshed profile docs, ERROR_CATALOG examples, and REVIEW_CHECKLIST cross-references (now points at n8n-error-handling).
  • n8n-mcp-tools-expert — VALIDATION_GUIDE profile documentation matches the real gating.
  • n8n-expression-syntax — precise template-literal guidance: backticks with ${} interpolation are valid inside {{ }}; a bare template literal without {{ }} remains literal text. Optional chaining and string-keyed bracket access documented as valid.
  • n8n-code-javascript — bare-object returns auto-wrap in Run Once for All Items mode (canonical [{json: {...}}] still recommended); removed obsolete validator-appeasement advice.

Verification

Every rewritten behavioral claim was verified empirically by running probe workflows through the 2.63.0 validator build under all four profiles (~30 probes: template literals, optional chaining, IF v1/v2 shapes, responseNode webhooks, onError variants, Code-node returns, profile gating). A consistency sweep confirmed zero leftover stale markers across the whole pack.

Version 1.21.1 → 1.22.0; dist zips rebuilt.

Note: the pack targets n8n-mcp ≥ 2.63.0 behavior — merge after czlonkowski/n8n-mcp#911 ships.

Concieved by Romuald Członkowski - www.aiadvisors.pl/en

🤖 Generated with Claude Code

czlonkowski and others added 2 commits July 2, 2026 12:52
The n8n_generate_workflow tool was removed from n8n-mcp; drop it from
the tools-expert skill (categories, quick-reference, WORKFLOW_GUIDE
section) and the router skill's tool list.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…d by Romuald Członkowski - www.aiadvisors.pl/en)

n8n-mcp 2.63.0 overhauled the validators (czlonkowski/n8n-mcp#911): the
classic false positives are fixed at the source and validation profiles
now genuinely differ (minimal/runtime = errors + security/deprecation;
ai-friendly/strict add best-practice advisories). This release updates
the pack to describe current behavior:

- n8n-validation-expert: removed the fabricated 'known issues
  #304/#306/#338' guidance and the stale '40% of warnings acceptable /
  ai-friendly reduces FPs by 60%' claims; reframed FALSE_POSITIVES.md
  around profile-gated advisories; refreshed profile docs, error
  catalog examples, and review checklist cross-references
- n8n-mcp-tools-expert: accurate profile gating in VALIDATION_GUIDE
- n8n-expression-syntax: precise template-literal guidance (backticks
  with ${} interpolation are valid INSIDE {{ }}; bare template
  literals without {{ }} remain literal text); optional chaining and
  string-keyed bracket access documented as valid
- n8n-code-javascript: bare-object returns auto-wrap in All Items mode
  (canonical [{json}] still recommended); removed obsolete
  validator-appeasement advice ({{ }} in strings, this.helpers, regex
  $ anchors)

Every rewritten behavioral claim was verified by running probe
workflows through the 2.63.0 validator build under all four profiles.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 3, 2026 17:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the n8n skills pack documentation to match the corrected validator behavior in n8n-mcp ≥ 2.63.0, removing prior “false-positive” workarounds and clarifying what is must-fix vs advisory across validation profiles. Also bumps the pack version to v1.22.0 and refreshes distribution artifacts.

Changes:

  • Reframes validator guidance across profiles (minimal/runtime/ai-friendly/strict) and removes/rewrites outdated “false positive” guidance.
  • Updates expression and Code-node docs to reflect current supported syntax/return-shape behavior.
  • Bumps plugin/build versions and refreshes dist zips.

Reviewed changes

Copilot reviewed 16 out of 36 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
skills/using-n8n-mcp-skills/SKILL.md Updates router guidance and tool list references.
skills/n8n-validation-expert/SKILL.md Revises validation profiles, warning semantics, and false-positive guidance.
skills/n8n-validation-expert/REVIEW_CHECKLIST.md Updates review checklist items and cross-references (notably error-handling).
skills/n8n-validation-expert/README.md Updates summary claims and profile descriptions to match ≥2.63.0 behavior.
skills/n8n-validation-expert/FALSE_POSITIVES.md Reframes “false positives” as advisories and updates examples/strategy guidance.
skills/n8n-validation-expert/ERROR_CATALOG.md Updates examples/notes for validator behavior (expressions, operator shapes, typeVersion notes).
skills/n8n-mcp-tools-expert/WORKFLOW_GUIDE.md Removes n8n_generate_workflow documentation section.
skills/n8n-mcp-tools-expert/VALIDATION_GUIDE.md Updates profile gating guidance and related explanations.
skills/n8n-mcp-tools-expert/SKILL.md Removes n8n_generate_workflow references from the skill index.
skills/n8n-expression-syntax/COMMON_MISTAKES.md Clarifies template literals/concatenation behavior inside vs outside {{ }}.
skills/n8n-code-javascript/SKILL.md Updates Code-node return-shape guidance and common pitfalls.
skills/n8n-code-javascript/README.md Aligns README guidance with updated return-shape behavior.
skills/n8n-code-javascript/ERROR_PATTERNS.md Refines error taxonomy (return shape vs prior “wrapper” rules) and clarifies {{ }} cases.
dist/README.md Documents distribution packages and install instructions (currently version-mismatched).
dist/n8n-subworkflows-v1.22.0.zip Updated built distribution artifact.
dist/n8n-self-hosting-v1.22.0.zip Updated built distribution artifact.
dist/n8n-multi-instance-v1.22.0.zip Updated built distribution artifact.
dist/n8n-code-tool-v1.22.0.zip Updated built distribution artifact.
build.sh Bumps build version to 1.22.0.
.claude-plugin/plugin.json Bumps plugin version to 1.22.0.
.claude-plugin/marketplace.json Bumps marketplace version to 1.22.0.
Comments suppressed due to low confidence (1)

skills/n8n-validation-expert/ERROR_CATALOG.md:503

  • ERROR_CATALOG currently contradicts itself about whether static validation resolves node names inside expressions. It says validation does not resolve node names/paths inside expressions (and references $('Node')), but the examples still show validation errors like "Referenced node ... does not exist" for $node['...'] expressions. This needs to be reconciled so readers don’t get misled about what validation can/can’t catch.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 50 to 62
**Types**:
- `best_practice` - Recommended but not required
- `deprecated` - Using old API/feature
- `performance` - Potential performance issue
- `best_practice` - Recommended but not required — surfaces under `ai-friendly` / `strict` only
- `deprecated` - Using old API/feature — surfaces under every profile
- `security` - Hardcoded secrets, unauthenticated webhooks — surfaces under every profile
- `performance` - Potential performance issue — advisory, `ai-friendly` / `strict`

**Example**:
**Example** (best-practice — appears under `ai-friendly` / `strict`):
```json
{
"type": "best_practice",
"property": "errorHandling",
"message": "Slack API can have rate limits",
"suggestion": "Add onError: 'continueRegularOutput' with retryOnFail"
"type": "warning",
"nodeName": "Slack",
"message": "Slack API can have rate limits and transient failures"
}
@czlonkowski czlonkowski merged commit b90ba12 into main Jul 3, 2026
1 check passed
@czlonkowski czlonkowski deleted the fix/validator-v2.63-alignment branch July 3, 2026 17:19
czlonkowski added a commit to czlonkowski/n8n-mcp that referenced this pull request Jul 3, 2026
…3.0 (Concieved by Romuald Członkowski - www.aiadvisors.pl/en) (#916)

Syncs data/skills from n8n-skills v1.22.0 (czlonkowski/n8n-skills#36):
validator guidance now describes 2.63.0 behavior (real profile gating,
fixed false-positive classes, precise template-literal/optional-chaining
guidance, bare-object return auto-wrap), plus all skills added to the
pack since the last sync (agents, error-handling, binary-and-data,
code-tool, subworkflows, multi-instance, self-hosting, router).

sync-skills.ts now skips skill-creator eval workspace directories
(skills/*-workspace/) so local eval debris never ships in artifacts.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants