title: "060: Fix Paperclip Update/Comment API Routes"
type: ticket
status: ready
priority: critical
sprint: S001_base_and_mvp1
assignee: CC0
estimated_hours: 0.5
last_updated: "2026-03-22"

060: Fix Paperclip Update/Comment API Routes

Problem

paperclip_update_issue and paperclip_add_comment return 404. The bus proxy sends requests to:

But Paperclip requires company-scoped paths:

Fix

Already written in STRUXIO_AIBUS/src/mcp/tools/paperclip.ts. Added issuePath() helper that builds company-scoped paths using BUS_PAPERCLIP_COMPANY_ID env var. All per-issue operations now use company-scoped paths.

Deployment Steps (CC0)

  1. Update remote: git remote set-url origin https://github.com/STRUXIO-ai/struxio-aibus.git
  2. Pull: git pull origin main
  3. Rebuild: cd deploy && docker compose up -d --build bus
  4. Test update: paperclip_update_issue(issue_id="03bc1da1...", status="done")
  5. Test comment: paperclip_add_comment(issue_id="03bc1da1...", body="test")

Acceptance Criteria


STRUXIO.ai // Confidential & Proprietary // © 2026