Link code change
loopback_link_changeLink a code fix to a feedback item by storing repo, branch, commit, PR URL, and diff summary, making the resolution auditable.
Instructions
Attach the fix to a feedback item so the loop is auditable: which repo/branch/commit/PR addressed it and a one-paragraph diff summary.
Args: id, plus any of repo, branch, commit, pr_url, diff_summary. Provided fields merge into existing links.
Call this right after committing the fix, before updating status to 'fixed'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Feedback id, e.g. 'fb_mabc12_3f9a1c' | |
| repo | No | Repository, e.g. 'dj/appbroda-web' | |
| branch | No | Branch name of the fix | |
| commit | No | Commit SHA of the fix | |
| pr_url | No | Pull request URL | |
| diff_summary | No | One-paragraph summary of what changed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Feedback id, e.g. 'fb_mabc12_3f9a1c' | |
| url | No | ||
| body | Yes | ||
| type | Yes | ||
| extra | Yes | Free-form captured context. Read `extra.failed_responses` for failing requests with up to 2KB of response body, and `extra.context` for LLM/automation run metadata (run_id, model, trace_url). | |
| links | Yes | Repo/branch/commit/PR of the fix | |
| route | No | ||
| title | Yes | ||
| source | Yes | ||
| status | Yes | ||
| console | Yes | Console lines captured at report time | |
| network | Yes | Network calls captured at report time | |
| project | Yes | ||
| comments | No | Full audit trail | |
| reporter | Yes | ||
| severity | Yes | ||
| created_at | Yes | ||
| replay_url | No | ||
| resolution | No | ||
| updated_at | Yes | ||
| attachments | No | Files attached to this item. `intent` decides what you do with each: 'reference' is context for the fix and never ships; 'asset' is a deliverable — copy it from `path` to `target_path` in the repo, commit it, and record that with loopback_link_change. Read files from `path` directly rather than fetching `url`. | |
| repro_steps | Yes | ||
| dom_selector | No | ||
| assignee_agent | No | Agent currently holding the claim | |
| screenshot_path | No |