feat(#291): mapify preset remove/enable/disable/resolve commands (Slice 2)#371
Conversation
…lice 2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011jmbBkJwJByEJGXFAihgh8
Adds four more mapify preset sub-commands: - mapify preset remove <id>: uninstalls a preset with --yes to skip prompt - mapify preset enable <id>: marks a preset active via .state.json sidecar - mapify preset disable <id>: marks a preset inactive without uninstalling - mapify preset resolve <template>: shows 3-tier resolution stack (project overrides → enabled presets → core templates) with strategy, enabled status, and file path per layer; --json for machine-readable output Enabled/disabled state persists to .map/presets/<id>/.state.json. The resolve command shows disabled presets with an (enabled=false) flag so operators can see the full resolution picture without filtering. 16 new tests (PC9-PC11) added to tests/test_preset_commands.py; 45 total. Full suite: 3931 passed, 4 skipped, 0 failures. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011jmbBkJwJByEJGXFAihgh8
|
Warning Review limit reached
Next review available in: 18 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ 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 |
…ports (#373) * docs: mark #291 preset composition as CLOSED in ARCHITECTURE.md All three slices (PRs #370/#371/#372) merged; update issue tracker section. Co-Authored-By: Claude <noreply@anthropic.com> * feat(#363): add /map-architecture skill for architecture-deepening reports Adds the opt-in architecture-deepening report workflow as a new `/map-architecture` skill. The skill ranks codebase areas by recent git hotspot frequency and design-friction signals (shallow interface, low locality, seam leakage, hard-to-test, ADR conflict), writes a ranked Markdown+Mermaid candidate report under `.map/<branch>/architecture-report/`, and waits for the user to pick one candidate before any code changes begin. Key design choices: - Three phases: scope → report → select (no implementation in skill) - Explicit "do not implement yet" guardrail at every decision point - Companion report.json for future eval assertions - Hands off to /map-plan (score ≥ 6) or /map-fast (score < 6) after pick - Deferral notes in .map/architecture-notes.md to avoid re-surfacing Also registers the skill in skill-rules.json with 7 keywords and 3 intent patterns, adds it to WORKFLOW_EFFORT_PROFILES in test_skills.py (effort: medium/adaptive), and updates the skill count guard in test_skills_consistency.py from 19 → 20. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
Summary
Second slice of SpecKit-style preset composition (#291). Builds on Slice 1 (PR #370) which added
mapify preset listandmapify preset add.New commands:
mapify preset remove <id>— uninstalls a preset from.map/presets/; confirmation prompt unless--yesmapify preset enable <id>— marks a preset active via.map/presets/<id>/.state.jsonsidecarmapify preset disable <id>— marks a preset inactive without uninstalling itmapify preset resolve <template>— shows the 3-tier resolution stack for a template (project overrides → enabled presets → core templates) including strategy, enabled status, and file path per layer;--jsonfor machine-readable outputImplementation notes
.map/presets/<id>/.state.json(JSON sidecar, not manifest.json — presets are read-only once installed)resolveshows disabled presets withenabled: falseso operators see the full resolution picture.map/overrides/<template>(tier 1, highest priority).map/presets/<id>/templates/<template>(tier 2)get_templates_dir()(tier 3, lowest priority)Tests
16 new tests (PC9–PC11) added to
tests/test_preset_commands.py. 45 total tests in the file.Full suite: 3931 passed, 4 skipped, 0 failures.
Part of #291 (composition/rendering engine — prepend/append/wrap strategies applied at render time — follows in Slice 3).
Generated by Claude Code