Skip to content

[codex] add lab project commands#677

Draft
mrmoxon wants to merge 1 commit into
mainfrom
feature/projects-cli
Draft

[codex] add lab project commands#677
mrmoxon wants to merge 1 commit into
mainfrom
feature/projects-cli

Conversation

@mrmoxon
Copy link
Copy Markdown

@mrmoxon mrmoxon commented May 20, 2026

Summary

Adds Lab Project support to the Prime CLI and eval client so users can create, select, clear, archive, restore, inspect, and attach artifacts to projects from the terminal.

Details

  • Adds prime project commands for create/list/show/use/current/clear/update/archive/restore/assign/remove.
  • Adds active project context resolution for training and evaluation flows.
  • Adds project IDs to eval push/create/update and hosted eval paths.
  • Adds project assignment helpers for hosted training runs and adapters.
  • Supports additive project assignment for runs/adapters via assign, and clear-or-specific removal via remove.

Validation

  • uv run --project /Users/oscarmoxon/Desktop/Prime/prime-cli pytest packages/prime/tests/test_projects_cli.py packages/prime/tests/test_eval_push.py packages/prime/tests/test_hosted_eval.py -q
  • uv run --project /Users/oscarmoxon/Desktop/Prime/prime-cli ruff check packages/prime/src/prime_cli/commands/projects.py packages/prime/src/prime_cli/api/rl.py packages/prime/src/prime_cli/api/deployments.py packages/prime/tests/test_projects_cli.py
  • git diff --check

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