Skip to main content

Chat integrations guide

Point to the exact change you want corrected

Send the agent a focused batch of feedback tied to the changed files and lines.

4 min readUpdated Start the guide

A message such as fix the form can force the agent to guess which part of a large change you mean. Diff comments keep the feedback beside the code that caused the concern, then send it back to the task as one coherent request.

Use comments for changes you can explain in terms of behavior, constraints or evidence. Keep the final decision tied to the current diff because edits after your review can change what a line means.

On this page

Requirements

Before you start

Make sure you have these in place before following the steps:

  • Access to a task with changed files and the Review files & diff interface.
  • Enough context to identify the intended behavior and any tests that should protect it.
  • A task conversation that can receive the batch of comments.
The task verification panel showing checks and evidence states.
Verification separates current results, stale evidence and unavailable checks. Example task and results. Open full-size screenshot
Step 1 of 6

Open the current files and diff

Select the task in Agents, open Changes, then choose Review files & diff. Confirm the target branch and task revision. Read the file list before focusing on one line so you can see whether the implementation also changed configuration, tests or neighboring behavior.

Step 2 of 6

Read one logical change at a time

Use Filter files to narrow a large list, then open each relevant file. Tick Viewed only after you have read its current changes. A file marked viewed is a review aid, not a check that proves correctness. Cross-check the task's acceptance criteria while reading the implementation and its tests.

Step 3 of 6

Attach a specific comment to the relevant line

Use the button beside a line, or shift-click another line to select a range. Write in Leave a comment for the agent and choose Add comment. Explain the observed problem and the result you need, rather than leaving a direction that could be satisfied by hiding the feature.

Example diff comment
This branch accepts an empty display name, but the settings form requires a visible name. Keep the existing validation rule and show the error beside the field. Add a regression check for whitespace-only input without changing the successful save flow.
Step 4 of 6

Review the complete batch before sending

Add the other comments needed for the same revision, then read them together. Resolve contradictory requests and state any order that matters. The comment bar shows the pending count. Choose Discard if you want to abandon unsent feedback; do not assume an added comment has already reached the agent.

Step 5 of 6

Send the comments to the agent

Choose Send to agent to deliver the comments as one message. If the agent is busy, the batch waits until its current turn ends. Follow the conversation to confirm the agent understood the scope. Use the normal task controls to answer a question rather than starting a separate competing fix.

Step 6 of 6

Review the revised code and checks

Return to the diff after the agent responds. Read the new changes and rerun checks affected by the correction. For UI feedback, repeat the preview journey that exposed the issue. Verify each comment's underlying concern, including any unchanged lines the fix depends on, before submitting the final result.

Check the result

  • The agent received one consistent feedback batch and addressed every material concern.
  • The revised diff and affected behavior were checked before submission.

Troubleshooting

The agent has not reacted to a comment.

Check whether the comment is still in the unsent batch and whether the agent is busy. Send to agent delivers the batch; Add comment alone keeps it pending.

A comment no longer matches the visible code.

The task may have changed since you wrote it. Reopen the current diff, restate the concern on the relevant code and confirm which revision the agent should review.

Availability and limits

  • Viewed flags and comments do not replace repository checks or a release decision.
  • Code-host PR comments are a separate action from sending private task feedback; use the intended destination.

Related documentation

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.