Skip to content

Make ingest pipeline configurable via .nexo/config.json#1

Open
douglasg-teachco wants to merge 1 commit into
formigio:mainfrom
douglasg-teachco:configurable-ingest-pipeline
Open

Make ingest pipeline configurable via .nexo/config.json#1
douglasg-teachco wants to merge 1 commit into
formigio:mainfrom
douglasg-teachco:configurable-ingest-pipeline

Conversation

@douglasg-teachco

Copy link
Copy Markdown

Summary

  • Add four optional fields to the ingest config section: samTemplate, appEntry, handlerSourceRoots, skipDirs
  • Auto-discovery remains the default when fields are not configured
  • Move candidate lists and built-in skip dirs to DEFAULTS for single source of truth
  • Error messages now hint at the config field to set when auto-discovery fails

Test plan

  • npm run build compiles cleanly
  • nexo ingest on AIM — auto-discovery produces 60 endpoints, 27 screens, 121 files, 28 edges
  • nexo ingest on tgc-edu-app — auto-discovery produces 34 endpoints, 15 screens, 101 files, 17 edges
  • Explicit samTemplate + handlerSourceRoots in AIM config — identical results to auto-discovery
  • Bad config path — clear error message with config hint

🤖 Generated with Claude Code

Add four optional fields to the ingest config section:
- samTemplate: explicit SAM template path (skips candidate search)
- appEntry: explicit React app entry path (skips candidate search)
- handlerSourceRoots: dirs to search for handler source files
- skipDirs: additional dirs to skip during source file walk

Auto-discovery remains the default when fields are not configured.
Candidate lists and built-in skip dirs moved to DEFAULTS for
single source of truth. Error messages hint at config fields to set.

Co-Authored-By: Claude Opus 4.6 <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.

1 participant