-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add slim test suite for manus & Ralph features #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Integrate Manus-style persistent planning for long-running tasks that span multiple sessions or exceed 50 tool calls. Introduces new manus-planning skill with 3-file system (task_plan.md, findings.md, progress.md), archive support, and conditional PreToolUse hooks for automatic plan reminders. Changes: - New manus-planning skill with 5-phase workflow and persistent memory - Brainstorming updated to offer both Native and Manus planning options - Added PreToolUse hook (manus-pretool.sh) for context-aware plan reminders - Updated using-superpowers with planning approach guidance - Rebranded from superpowers to superpowers-ng v0.1.0 - Added comprehensive README highlighting NG features - Created new RELEASE-NOTES.md focused on v0.1.0 changes Files: - skills/manus-planning/SKILL.md (main skill definition) - skills/manus-planning/templates/ (3 template files) - commands/manus-plan.md (slash command) - hooks/manus-pretool.sh (conditional hook script) - hooks/hooks.json (added PreToolUse hook) - skills/brainstorming/SKILL.md (planning choice) - skills/using-superpowers/SKILL.md (planning guidance) - .claude-plugin/plugin.json (rebranded metadata) - README.md (complete rewrite for NG) - RELEASE-NOTES.md (fresh v0.1.0) Credits: Jesse Vincent (obra/superpowers), Ahmad Othman Ammar Adi (planning-with-files) Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
Adds comprehensive integration with Ralph, enabling Superpowers-NG skills to work seamlessly in autonomous loop environments: - brainstorming: Now checks for existing design.md and skips re-brainstorming in subsequent loops - manus-planning: Already compatible with Ralph's multi-session nature and --continue flag - Documentation: Ralph integration guide with PROMPT.md template using official status format - Examples: 5 concrete scenarios, circuit breaker patterns, anti-patterns, exit criteria This enables Ralph users to: - Design once, implement across multiple loops - Maintain persistent memory via manus-planning files - Keep TDD discipline throughout autonomous sessions - Use evidence-based completion signals Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThis PR rebands the Superpowers project to Superpowers-NG (v0.1.0) with new authorship, updates the namespace from "superpowers:" to "superpowers-ng:" across all references, and introduces Manus-style persistent file-based planning with Ralph autonomous loop integration and related hooks infrastructure. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Claude
participant Hook as manus-pretool<br/>(PreToolUse)
participant Files as docs/manus/<br/>(Persistent)
participant Task as Task Execution
User->>Claude: Start/Resume Task
Claude->>Hook: PreToolUse Hook Triggered
alt .active marker exists
Hook->>Files: Read task_plan.md (first 30 lines)
Files-->>Hook: Plan preview
Hook-->>Claude: Inject plan reminder context
else .active marker absent
Hook-->>Claude: Empty context {}
end
Claude->>Files: Read task_plan.md, findings.md
Claude->>Task: Execute phase actions
Task->>Files: Update progress.md with results
Claude->>Files: Update findings.md, task_plan.md
alt Phase complete
Claude->>Files: Mark phase status
else Task complete
Claude->>Files: Remove .active marker
Claude-->>User: Announce completion
end
Estimated Code Review Effort🎯 4 (Complex) | ⏱️ ~60 minutes The changes span heterogeneous edits across 50+ files with mixed complexity: consistent namespace replacements (repetitive but requiring verification), substantial new Manus planning logic with multi-phase workflows and recovery procedures (~290 lines), new hooks infrastructure with JSON/Bash integration, comprehensive Ralph integration documentation, and multiple integration test suites. Dense logic in new Manus skill templates and examples necessitates careful review for workflow correctness. Possibly Related PRs
Poem
✨ Finishing touches
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (53)
✏️ Tip: You can disable this entire section by setting 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 |
|
Wrong target repository - creating PR to fork instead |
Summary
Implemented comprehensive end-to-end test suite for superpowers-ng features:
Total runtime: ~6-9 minutes (within 10-15 minute target).
Test Coverage
✓ Manus-styled planning with session persistence
✓ Ralph loop integration with status blocks
✓ Hook system and .active marker behavior
✓ EXIT_SIGNAL logic with active planning
Summary by CodeRabbit
Release Notes
New Features
Documentation
Breaking Changes
✏️ Tip: You can customize this high-level summary in your review settings.