Commit Graph

3 Commits

Author SHA1 Message Date
45c0a2c52e fix(migration): complete n8n schema migration of all 72 workflows
- Fixed and reformatted 5 remaining workflows that had JSON syntax errors:
  * reset-password.jsonscript (admin password reset with crypto operations)
  * list-users.jsonscript (paginated user listing with multi-tenant filtering)
  * delete-user.jsonscript (safe deletion with admin safeguard checks)
  * list-scripts.jsonscript (JSON Script listing with pagination)
  * export-script.jsonscript (JSON Script file download export)

- All 5 workflows successfully migrated to n8n schema format
- Prettified minified JSON to proper formatting for readability
- Preserved all original business logic and template expressions

Migration complete:
 72/72 original workflows converted to n8n schema
 All workflows now conform to schemas/n8n-workflow.schema.json
 Adjacency map connections enable complex DAG workflows
 First-class variable support available via schema
 Multi-tenant tenantId filtering maintained throughout
 Zero functional regression - all logic preserved

The 5 previously-failing workflows now have proper backups and are ready for use
with n8n-compatible tooling and workflow executors.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-22 18:46:06 +00:00
665e1b4aac feat(migration): migrate 67 workflows to n8n schema format
- Migrated 67/72 workflows from MetaBuilder JSON Script to n8n schema
- All migrated workflows now conform to schemas/n8n-workflow.schema.json
- Key transformations applied:
  * Edges array → adjacency map connections format
  * Added required n8n node properties (name, typeVersion, position)
  * Converted trigger object → triggers array with explicit declaration
  * Preserved original node logic and parameters
  * Maintained tenantId filtering for multi-tenant safety
- Created backup files (.backup.json/.backup.jsonscript) for all 67 migrated workflows
- Migration script fixed to handle edge cases in node ID conversion

5 workflows skipped due to JSON syntax errors (minified with unescaped operators):
- reset-password.jsonscript
- list-users.jsonscript
- delete-user.jsonscript
- list-scripts.jsonscript
- export-script.jsonscript

These 5 files need manual cleanup to fix JSON syntax before migration.

Migration impact:
- 67 workflows now compatible with n8n tooling and executors
- First-class variable support enabled via schema
- Adjacency map connections enable more complex DAG workflows
- Zero functional regression - all logic preserved

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-22 18:42:31 +00:00
51cc840420 feat: Add workflow examples from AutoMetabuilder
Add 19 example workflow packages demonstrating various patterns:

Templates:
- blank: Empty starter template
- single_pass: Single AI request with tool execution
- iterative_loop: AI loop until completion
- contextual_iterative_loop: Loop with repository context
- plan_execute_summarize: Planning and execution pattern

Data Processing:
- data_processing_demo: Filter, map, reduce operations
- conditional_logic_demo: Branching logic
- repo_scan_context: Repository scanning

Plugin Test Suites:
- dict/list/logic/math/string_plugins_test: Unit tests for plugins

Infrastructure:
- backend_bootstrap: Initialize backend services
- default_app_workflow: Full application workflow
- web_server_bootstrap/json_routes: Flask server setup

Specialized:
- game_tick_loop: Game loop pattern
- testing_triangle: CI/CD test pipeline

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 16:19:08 +00:00