| name | fix |
| description | Use proactively ā without being asked ā in two situations: (1) when performing a document review, write findings as š¤{} markers inline in the file rather than a separate report; (2) when a file contains š¤ inline markers to process, apply them. Invoked as /fix <path-to-file> for processing markers. |
Inline Review
Process š¤ inline feedback markers in a file, following parley.nvim's review protocol.
Usage
/xx-review <path-to-file>
Marker Format
Single marker š¤. [] = human turns, {} = agent turns. Sections alternate in any order.
š¤[human comment]{agent response}[human reply]{agent response}...
š¤{agent finding}[human response]{agent follow-up}...
- Ready for agent = last section is
[] (human spoke last)
- Pending = last section is non-empty
{} (agent spoke last, awaiting human)
Markers inside fenced code blocks are ignored.
Process
- Read the file from the supplied path
- Check for YAML frontmatter at the top of the file. If
sources and source_precedence are present, load them ā use these to guide re-research when a marker flags a factual correction. Prefer sources in the stated precedence order (typically: codebase > Jira > doc text). If no frontmatter, proceed without re-research guidance.
- Parse all š¤ markers, identifying:
- Ready markers (last section is
[]): process these
- Pending markers (last section is
{}): leave these untouched
- For each ready marker, read the comment/conversation history, then:
- Read the human's last
[response] ā it is the instruction to act on
- If the comment is a factual correction: consult the frontmatter sources (if present) to verify and re-research before rewriting ā do not just rephrase the existing text
- If the comment is a correction or rewrite request: apply the change to the surrounding text and remove the marker
- If the human's response is unclear: append
{clarifying question} to the marker and leave it in place
- If acknowledged and done: remove the marker entirely
- Write the modified file back to the same path
- Report what was changed and what markers remain pending
Responding to AI Critiques
When a š¤-> critique line is followed by a š¤[] marker, this is the human responding to the AI's critique with instructions:
Some text the author wrote.
š¤-> This claim needs grounding. Your experience with Y would be the evidence.
š¤[good point, weave in my example from last week's tool system build]
In this case:
- Read the
š¤-> critique to understand the problem
- Read the
š¤[] to understand the human's instruction for resolving it
- Apply the human's instruction to the text before the
š¤-> line
- Remove both the
š¤-> line and the š¤[] marker
- If the human's instruction is unclear, add
{question} to the marker and leave both lines in place
Rules
- Preserve all text outside of markers exactly as-is
- Preserve
š¤-> lines that do NOT have a š¤[] marker after them (unresolved critiques the human hasn't addressed yet)
- A marker refers to the text before it, up to the previous natural boundary (paragraph, bullet, section). In a typical reading flow, you read and comment at the end of what you just read
- Only modify text that a marker refers to (the preceding paragraph, bullet, or section)
- Exception: if the marker explicitly mentions a bigger or different scope (e.g. "this whole article", "the next section about XXX", "all the bullet points above"), follow what the marker says instead of defaulting to the preceding block
- When removing a marker, leave the corrected text in place with no trace of the marker
- When adding an agent question, append
{question} inside the existing marker
- Respect the user's voice and style in the surrounding document
- Do not rewrite sections that have no markers