record_attempt
Log each fix attempt with its outcome (worked, failed, partial) to track troubleshooting progress and prevent repeating mistakes on the current issue.
Instructions
Record a fix attempt on the current issue.
MANDATORY: call IMMEDIATELY after each distinct fix attempt — do NOT
batch multiple attempts into one call.
`outcome` must be 'worked', 'failed', or 'partial'. Pass `issue_id`
explicitly to attach to a specific issue; otherwise the attempt
attaches to the active issue. If no active issue exists, an implicit
parent issue is auto-created from this attempt's text (L-008).
Side effects: appends an `attempt` event and updates the issue file.
Does NOT close the issue — call record_fix for that.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcome | No | Result of the attempt. Must be exactly one of 'worked', 'failed', or 'partial'. Defaults to 'failed' — the safer default when an outcome is uncertain. | failed |
| project | No | Which project this call is about — a registered id, alias, or absolute path (e.g. 'ossdrop'). Omit it when the server was started for a single repo, or when an active project is set with `pjm project use`. Call list_projects to see the registered names. | |
| summary | Yes | One-line description of what you tried (e.g., 'tried contain: layout — preview still jumps'). | |
| issue_id | No | Optional zero-padded issue ID (e.g., '0042') to attach this attempt to. When omitted, attaches to the active issue; if no active issue exists, an implicit parent issue is auto-created from this attempt's text. | |
| location | No | Optional file path or component touched by this attempt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |