Earn 14 free days when your bug report or suggestion is accepted — how it works
Orchestration & planning

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

NameTypeRequiredDescription
spec_pathstringyesPath to the spec markdown.
project_dirstringnoProject 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.

Related