mm_retrieve_prior_work
Regenerate prior-work.md for an existing spec by re-running similarity retrieval against the current spec index at .mm/index/specs.json. Idempotent — running twice on the same inputs produces a byte-identical file (the generated_at timestamp is preserved when the body is unchanged). When no completed specs match above the configured similarity_threshold, writes the empty-state file with a clear empty_reason.
At a Glance
Section titled “At a Glance”- Category: Plugin Management
- Source: Built-in
- Required parameters: 2
- Total parameters: 2
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_path | string | Yes | Absolute path to the project root |
spec_path | string | Yes | Spec folder name (e.g., ‘2026-05-08-spec-retrieval’). May be a path; the trailing folder name is used. |
Example
Section titled “Example”{ "tool": "mm_retrieve_prior_work", "arguments": { "project_path": "/Users/you/projects/my-app", "spec_path": "2026-01-15-my-feature" }}Related Tools
Section titled “Related Tools”mm_list_plugins- List all loaded plugins with their id, name, version, category, tier, and too…mm_get_plugin_info- Get detailed information about a specific plugin including its tools, version…mm_push_team_checkin- Push a team check-in to the cloud. Scans local specs and features, captures c…mm_fetch_team_checkins- Fetch all team members’ check-ins from the cloud. Returns display names, bran…mm_claim_spec- Claim a spec from a teammate. Records the claim in the cloud (first-claim-win…