[codex] Add historical-roast command - #244
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (10)
✅ Files skipped from review due to trivial changes (2)
🚧 Files skipped from review as they are similar to previous changes (5)
📝 WalkthroughWalkthroughAdds a new gpd:historical-roast command, its workflow spec, help docs, registry skill category, tests, and prompt/metadata budget updates for running source-backed historical-physicist roasts (single or comma-separated panel). ChangesHistorical-Roast Command Addition
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
6ea789f to
43838e8
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@tests/core/test_historical_roast_command.py`:
- Around line 43-46: The assertions in
tests/core/test_historical_roast_command.py are fragile because they match
strings containing embedded newlines from workflow_text; change them to assert
against whitespace-normalized text or against separate key phrases instead:
obtain a normalized string (e.g., collapse all whitespace in workflow_text or
replace newlines with spaces) and then assert that "does not write
`REFEREE-DECISION.json`", "GPD/historical-roast/{run-slug}/HISTORICAL-ROAST.md",
"Use `web_search`", and "Do not fabricate direct quotes" are present in that
normalized string (or assert each phrase separately) so tests no longer break on
simple rewrapping.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 3790a884-47d8-4346-a118-b4fb09c4e693
📒 Files selected for processing (8)
src/gpd/commands/historical-roast.mdsrc/gpd/registry.pysrc/gpd/specs/references/help/detailed-command-reference.mdsrc/gpd/specs/workflows/help.mdsrc/gpd/specs/workflows/historical-roast.mdtests/README.mdtests/core/test_historical_roast_command.pytests/repo_graph_contract.json
|
🤖 RoastBot: Someone added a roast command to a physics research tool and I refuse to elaborate on what that says about all of us. |
Summary
gpd:historical-roastas a project-aware command for source-backed in-character historical physicist roastsValidation
uv run pytest -n 0 tests/core/test_historical_roast_command.py tests/test_command_boilerplate_cleanup.py tests/adapters/test_runtime_projected_command_requirement_coverage.py -quv run pytest -n 0 tests/test_registry.py tests/core/test_command_help_metadata.py tests/adapters/test_runtime_projected_prompt_parity.py -quv run pytest -n 0 tests/test_metadata_consistency.py tests/test_release_consistency.py -quv run python scripts/sync_repo_graph_contract.py --checkuv run python scripts/render_help_surface.py --checkuv run python scripts/render_public_surface.py --checkuv run python scripts/render_bootstrap_installer_metadata.py --checkNotes
Opened as draft from fork because
hu-podoes not have push access topsi-oss/get-physics-done.Summary by CodeRabbit
New Features
Documentation
Tests
Chores