loopback

v0.9.4
io.github.joshidikshant/loopback Checked 7 hours ago Published 4 months ago

Feedback bus for coding agents: pin feedback on the app you're building; a fix turns the pin green

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

loopback_submit_feedback Submit feedback

Create a new feedback item in the Loopback bus. Use this to file any observation about a running product: a UI defect, a backend error, a usage insight, or a UX papercut. Every item is tagged to a project so the right agent picks it up later. Args: project (slug), type (ui|backend|usage|ux), title, and optionally body, severity (p0-p3, default p2), source, reporter, route, url, dom_selector, screenshot_path, replay_url, console[], network[], repro_steps[]. Returns the created item as JSON, including its generated id (fb_...). New items start with status 'open'. Example: file "Pay button de…

ParameterTypeDescription
project *stringProject/repo slug this feedback belongs to, e.g. 'appbroda-web'
title *stringShort summary, e.g. 'Checkout button dead on mobile Safari'
type *stringFeedback dimension: 'ui' (visual/design), 'backend' (errors/API), 'usage' (analytics/behavior), 'ux' (flow/experience)
bodystringFull description of the feedback/observation
consolearrayRecent console log lines relevant to the issue
dom_selectorstringCSS selector of the affected element
extraobjectFree-form context object: LLM run ids/model/trace URLs for AI features, automation run metadata, viewport, element HTML snippet, etc.
networkarrayRelevant network requests (url, method, status, ms)
replay_urlstringSession replay link (e.g. PostHog replay URL)
reporterstringWho reported it
repro_stepsarraySteps to reproduce
routestringApp route where observed, e.g. '/checkout'
screenshot_pathstringPath or URL of a screenshot
severitystringp0=critical, p1=high, p2=normal, p3=nice-to-have
sourcestringWhere this feedback came from
urlstringFull URL where observed

loopback_list_feedback List feedback

List feedback items, filtered and paginated. This is the entry point for "work the queue". Args (all optional): project, status (open|triaged|in_progress|fixed|verified|wontfix), type (ui|backend|usage|ux), severity (p0-p3), source, assignee_agent, limit (default 20), offset (default 0), response_format (markdown|json). Returns items ordered most-severe first, then newest. Pagination metadata: total, count, offset, has_more, next_offset. Typical agent flow: loopback_list_feedback(project='X', status='open') → loopback_claim_feedback → fix → loopback_link_change → loopback_update_sta…

ParameterTypeDescription
assignee_agentstringFilter by claiming agent, e.g. 'claude-code'
limitintegerMaximum results to return
offsetintegerNumber of results to skip (pagination)
projectstringFilter by project slug; omit for all projects
response_formatstring'markdown' for human-readable, 'json' for machine-readable
routestringFilter by app route where observed, e.g. '/checkout'
severitystringFilter by severity
sourcestringFilter by source
statusstringFilter by status
typestringFilter by feedback type

loopback_get_feedback Get feedback item

Fetch one feedback item with full context: description, repro steps, console lines, network entries, screenshot/replay links, linked change (commit/PR), and the complete comment trail. Args: id (fb_...), response_format (markdown|json). Read this before starting a fix — it contains everything captured at report time.

ParameterTypeDescription
id *stringFeedback id, e.g. 'fb_mabc12_3f9a1c'
response_formatstring'markdown' for human-readable, 'json' for machine-readable

loopback_claim_feedback Claim feedback item

Atomically claim a feedback item for an agent before working on it. Prevents two agents from fixing the same thing. Args: id, agent (your name, e.g. 'claude-code', 'codex', 'gemini'), force (default false). On success the item's assignee_agent is set and status moves to 'in_progress' (from open/triaged). If another agent already holds the claim, this fails with a message naming the holder — pass force=true only if you intend to take over.

ParameterTypeDescription
agent *stringName of the claiming agent, e.g. 'claude-code', 'codex', 'gemini'
id *stringFeedback id, e.g. 'fb_mabc12_3f9a1c'
forcebooleanTake over even if another agent already claimed the item

loopback_update_status Update feedback status

Move a feedback item through the workflow: open → triaged → in_progress → fixed → verified | wontfix. Args: id, status, note (optional — recorded as a comment for the audit trail), author (default 'agent'). Use 'fixed' after making the change; use loopback_resolve_feedback for final verified/wontfix closure.

ParameterTypeDescription
id *stringFeedback id, e.g. 'fb_mabc12_3f9a1c'
status *stringNew status. Workflow: open → triaged → in_progress → fixed → verified | wontfix
authorstringWho is making the change (for the audit trail)
notestringOptional note recorded as a comment alongside the change

loopback_add_comment Comment on feedback

Append a comment to a feedback item's discussion trail. Use for investigation notes, questions back to the reporter, or reasoning worth preserving. Args: id, author, body (markdown ok).

ParameterTypeDescription
author *stringComment author, e.g. 'claude-code' or 'dj'
body *stringComment text (markdown ok)
id *stringFeedback id, e.g. 'fb_mabc12_3f9a1c'

loopback_resolve_feedback Resolve feedback

Close a feedback item with a final outcome. Args: id, resolution ('verified' = the fix was confirmed against the running app, tests, or the relevant metric/replay; 'wontfix' = intentionally not addressing), note (optional closing comment), agent (YOUR name — this is the write that turns the reporter's pin full green, and omitting it records the generic default instead of you). Prefer verifying before resolving: re-check the UI via your browser tools, or confirm the error/metric cleared, then call this.

ParameterTypeDescription
id *stringFeedback id, e.g. 'fb_mabc12_3f9a1c'
resolution *string'verified' = fix confirmed against the running app/metric; 'wontfix' = intentionally not addressing
agentstringWho is resolving — your agent name. Recorded on the trail; defaults to 'agent'. This is the write that turns the reporter's pin green, so name yourself.
notestringOptional closing note recorded as a comment

loopback_update_feedback Edit feedback item

Correct an item after it was filed: title, body, severity, type, project, or route. Feedback is filed fast and imprecisely on purpose — that is what makes people file it at all. Use this to re-rank a severity you now understand, fix a mis-guessed type, correct a typo, or move an item to the right project. Args: id, plus any of title, body, severity (p0-p3), type (ui|backend|usage|ux), project, route. Also author (default 'human') — use your agent name so the trail says who re-triaged it. Every change is recorded as a comment naming the old and new value; nothing is silently rewritten. F…

ParameterTypeDescription
id *stringFeedback id, e.g. 'fb_mabc12_3f9a1c'
authorstringWho is making the edit — recorded on the audit trail
bodystringCorrected description
projectstringMove to another project slug
routestringCorrected route
severitystringRe-ranked severity
titlestringCorrected summary
typestringCorrected dimension

loopback_get_stats Queue stats

Overview of the feedback queue: counts by project and status. Use to orient before picking work, or to report queue health. Args: project (optional — omit for all projects). Returns { total, projects: [{ project, by_status, total }] }.

ParameterTypeDescription
projectstringLimit stats to one project; omit for all projects