fix: update the migrate commands - #115
Conversation
Updated the migration system and all example files to use the latest schema version 3.1.0 instead of 3.0.0. Changes: - Updated migrate.py to target schema v3.1.0 for all migrations - v1.0.0 → v3.1.0 - v2.0.0 → v3.1.0 - v2.1.0 → v3.1.0 - Updated interactive.py to reference v3.1.0 in UI - workflow_migrate now prompts for v3.1 format - workflow_init_project now recommends v3.1 (Current) - Migrated all v2.1.0 example files to v3.1.0 - examples/v21-plugins/*.promptrek.yaml (5 files) - Updated v3.0.0 example file to v3.1.0 - examples/dynamic-variables/project.promptrek.yaml - Updated test_migrate.py to expect v3.1.0 schema version All migration tests pass successfully (67 tests).
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Pull Request Overview
This PR updates the PrompTrek schema version from 3.0.0 to 3.1.0 across the codebase, including migration logic, tests, CLI interface, and example files.
- Migration target updated from v3.0.0 to v3.1.0 for all schema conversion paths
- Test assertions and documentation updated to reference v3.1.0
- Example YAML files migrated from v2.1.0 schema to v3.1.0, including structural changes where plugins are promoted to top-level fields
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/unit/test_migrate.py | Updated test assertions and expectations to validate migration to v3.1.0 instead of v3.0.0 |
| src/promptrek/cli/interactive.py | Updated UI text and default output file pattern to reference v3.1 schema |
| src/promptrek/cli/commands/migrate.py | Updated migration target version from 3.0.0 to 3.1.0 in all conversion functions and messages |
| examples/v21-plugins/mcp-servers.promptrek.yaml | Migrated from v2.1.0 to v3.1.0 schema with plugins.mcp_servers promoted to top-level |
| examples/v21-plugins/custom-commands.promptrek.yaml | Migrated from v2.1.0 to v3.1.0 schema with plugins.commands promoted to top-level |
| examples/v21-plugins/continue-unified.promptrek.yaml | Migrated from v2.1.0 to v3.1.0 schema with comprehensive structural changes |
| examples/v21-plugins/complete-example.promptrek.yaml | Migrated from v2.1.0 to v3.1.0 schema including commands and agents sections |
| examples/v21-plugins/autonomous-agents.promptrek.yaml | Migrated from v2.1.0 to v3.1.0 schema with plugins.agents promoted to top-level |
| examples/dynamic-variables/project.promptrek.yaml | Updated schema_version from 3.0.0 to 3.1.0 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Updated the migration system and all example files to use the latest schema version 3.1.0 instead of 3.0.0.
Changes:
All migration tests pass successfully (67 tests).