Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| primary_agent=primary_agent, | ||
| selected_agents=selected_agents, | ||
| use_multiple_agents=use_multiple_agents, | ||
| ) |
There was a problem hiding this comment.
Workspace structure docs missing new agent directories
Low Severity
prime lab setup now creates additional workspace artifacts — .codex/skills/ (or equivalent per-agent directories) and .prime/lab.json — via _prepare_agent_skill_dirs and _sync_lab_metadata. The workspace structure diagram in docs/overview.md still only shows .prime/skills/ under .prime/ and does not mention the new agent skill directories or metadata file. Per the project rule, changes to core user-facing functionality described in docs/ need corresponding documentation updates.
Triggered by project rule: BugBot Instructions
| monkeypatch.setattr(setup, "download_configs", lambda *_: None) | ||
| monkeypatch.setattr(setup, "sync_prime_skills", lambda: None) | ||
|
|
||
| setup.run_setup(skip_install=True, skip_agents_md=True) |
There was a problem hiding this comment.
Tests hang in interactive terminals without guarding prompts
Medium Severity
Several run_setup calls in tests omit no_interactive=True, while the new _resolve_setup_agents checks sys.stdin.isatty() and calls input() when it returns True. Running pytest from an interactive terminal causes these tests to block waiting for user input. The metadata tests correctly pass no_interactive=True, but test_run_setup_prints_post_setup_call_to_action and test_run_setup_prints_prime_rl_post_setup_call_to_action do not.


Description
Type of Change
Testing
uv run pytestlocally.Checklist
Additional Notes
Note
Medium Risk
Moderate risk because it changes
prime lab setupbehavior (new prompts/flags, filesystem symlinks/copies, and metadata writes) and adds output formatting that could affect automation or existing workflows.Overview
Updates the Lab setup flow to scaffold coding-agent skill directories from
.prime/skills(via symlink when possible, with per-agent root and name mapping) and adds--agents/--no-interactiveoptions plus an interactive prompt to choose agents.prime lab setupnow persists user choices to.prime/lab.jsonand prints a new Rich “get started” call-to-action panel with quick commands; tests were expanded to cover skill dir preparation, output text, and metadata persistence. Documentation/usage was aligned by dropping theprime-rl @CLI placeholder and clarifying Hosted Training vs self-managedprime-rl, plus adding synthetic-data guidance to the create-environment skill.Written by Cursor Bugbot for commit 24f0288. This will update automatically on new commits. Configure here.