Skip to content

fix: update the migrate commands - #115

Open
flamingquaks wants to merge 3 commits into
mainfrom
claude/migrate-promptrek-latest-011CUy6qqoyCCHu6R4HbQT6E
Open

fix: update the migrate commands#115
flamingquaks wants to merge 3 commits into
mainfrom
claude/migrate-promptrek-latest-011CUy6qqoyCCHu6R4HbQT6E

Conversation

@flamingquaks

Copy link
Copy Markdown
Owner

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).

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).
@github-actions github-actions Bot added the Editor:Continue Impacts Continue editor label Nov 10, 2025
@github-actions

This comment was marked as outdated.

@flamingquaks
flamingquaks requested a review from Copilot November 10, 2025 00:12
@github-actions

This comment has been minimized.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

Comment thread src/promptrek/cli/interactive.py Outdated
Comment thread examples/v21-plugins/custom-commands.promptrek.yaml Outdated
Comment thread examples/v21-plugins/complete-example.promptrek.yaml Outdated
Comment thread examples/v21-plugins/complete-example.promptrek.yaml Outdated
Comment thread examples/v21-plugins/autonomous-agents.promptrek.yaml Outdated
@flamingquaks
flamingquaks requested a review from Copilot November 10, 2025 00:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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>
@flamingquaks flamingquaks removed the Editor:Continue Impacts Continue editor label Nov 10, 2025
@flamingquaks
flamingquaks requested a review from Copilot November 10, 2025 01:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

Comment thread pyproject.toml
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.

3 participants