codeloop_replan
Detect scope changes in the project spec and update the section state machine accordingly.
When to use codeloop_replan
Use `codeloop_replan` when your AI agent needs to detect scope changes in the project spec and update the section state machine accordingly.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| spec_path | string | yes | Path to the spec markdown. |
| project_dir | string | no | Project root. |
What you get back
Diff of section changes (added / removed / re-prioritised).
FAQ
What does codeloop_replan do?
Detect scope changes in the project spec and update the section state machine accordingly.
When should an AI agent call codeloop_replan?
Use `codeloop_replan` when your AI agent needs to detect scope changes in the project spec and update the section state machine accordingly.
What does codeloop_replan return?
Diff of section changes (added / removed / re-prioritised).
Is codeloop_replan part of the CodeLoop MCP server?
Yes. CodeLoop ships as an MCP server installed via `npx codeloop init`. Cursor and Claude Code call it automatically once the User Rule (Cursor) or CLAUDE.md (Claude Code) is in place.