Skip to content

feat: enhance migrator agent with migration toolkit integration#84

Closed
suryaiyer95 wants to merge 1 commit intofeat/AI-0000-mcp-add-non-interactivefrom
feat/migration-toolkit-skills
Closed

feat: enhance migrator agent with migration toolkit integration#84
suryaiyer95 wants to merge 1 commit intofeat/AI-0000-mcp-add-non-interactivefrom
feat/migration-toolkit-skills

Conversation

@suryaiyer95
Copy link
Copy Markdown
Contributor

@suryaiyer95 suryaiyer95 commented Mar 6, 2026

Summary

  • Rewrites migrator.txt prompt with HARD RULES enforcing lineage-first migration workflow
    • Mandatory altimate-migrate lineage CLI as the first step (no manual XML parsing)
    • Step-by-step order: lineage extraction → migration plan → knowledge → migrate per wave
    • Compile gate (altimate_core_validate) required before proceeding to next object
  • Expands migrator agent tool permissions in agent.ts:
    • Adds 15+ altimate_core_* tools (migration, equivalence, schema_diff, column_lineage, track_lineage, semantics, grade, testgen, rewrite, import_ddl, export_ddl, fix)
    • Adds dbt tools (dbt_run, dbt_manifest, dbt_profiles, dbt_lineage)
    • Adds bash, warehouse_discover, sql_rewrite, schema_diff
  • Updates migrator description to reflect full capabilities

Context

Companion to [internal PR](internal PR) which adds the altimate-migrate CLI toolkit.

Test plan

  • Typecheck passes for modified files (pre-existing plugin/index.ts error is unrelated)
  • Test with migration-test-project/ end-to-end: /migration-workflow source-artifacts/informatica/
  • Verify migrator agent runs lineage extraction before attempting migration

Generated with Claude Code

- Rewrite `migrator.txt` prompt with HARD RULES for lineage-first workflow
  - Mandatory `altimate-migrate lineage` CLI as first step
  - Step-by-step migration order: lineage -> plan -> knowledge -> migrate per wave
  - Compile gate (`altimate_core_validate`) required before proceeding
- Expand migrator agent permissions in `agent.ts`:
  - Add `altimate_core_migration`, `altimate_core_equivalence`, `altimate_core_schema_diff`
  - Add `altimate_core_column_lineage`, `altimate_core_track_lineage`, `altimate_core_semantics`
  - Add `altimate_core_grade`, `altimate_core_testgen`, `altimate_core_rewrite`
  - Add `altimate_core_import_ddl`, `altimate_core_export_ddl`, `altimate_core_fix`
  - Add `dbt_run`, `dbt_manifest`, `dbt_profiles`, `dbt_lineage`
  - Add `bash`, `warehouse_discover`, `sql_rewrite`, `schema_diff`
- Update migrator description to reflect full capabilities

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kulvirgit kulvirgit deleted the branch feat/AI-0000-mcp-add-non-interactive March 10, 2026 21:06
@kulvirgit kulvirgit closed this Mar 10, 2026
@anandgupta42 anandgupta42 deleted the feat/migration-toolkit-skills branch March 17, 2026 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants