Trim Pi ambient skill prompt#134
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 (2)
📝 WalkthroughWalkthroughprocessArgs for the PI executor was changed to always emit Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Review rate limit: 7/10 reviews remaining, refill in 16 minutes and 16 seconds. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
internal/session/actor_test.go (1)
525-527: 💤 Low valueRemove duplicate assertion.
This check is redundant—lines 519-521 already verify
--no-skillsis present with the same condition and error message.🧹 Suggested fix
if skillPaths := argValues(args, "--skill"); len(skillPaths) != 0 { t.Fatalf("pi skill paths = %+v, want none", skillPaths) } - if argIndex(args, "--no-skills") < 0 { - t.Fatalf("pi args missing --no-skills: %v", args) - } }🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@internal/session/actor_test.go` around lines 525 - 527, Remove the redundant assertion that checks for "--no-skills" using argIndex(args, "--no-skills") < 0 in the test (duplicate of the earlier check around the same test function); delete the later if-block (the t.Fatalf call) so only the original assertion remains and the test no longer duplicates the same condition.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@internal/session/actor_test.go`:
- Around line 525-527: Remove the redundant assertion that checks for
"--no-skills" using argIndex(args, "--no-skills") < 0 in the test (duplicate of
the earlier check around the same test function); delete the later if-block (the
t.Fatalf call) so only the original assertion remains and the test no longer
duplicates the same condition.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: f5e93c8a-dd09-4bc3-b9d1-bcb2fc94069f
📒 Files selected for processing (2)
internal/pi/executor.gointernal/session/actor_test.go
de74381 to
1c9a495
Compare
Summary
Validation
Summary by CodeRabbit