File infra issue

From agentuity/sdk · View interactive version

File infra issue is an AI agent skill from the GitHub repository agentuity/sdk. File a bug or enhancement on the agentuity/infra repo when the SDK's behavior is being broken or made worse by something on the platform side (Catalyst, Sandbox runtime, Ion, Gluon, Hadron, region routing, auth surfaces). Use this when an SDK debugging session ends with "this is the platform's fault

How to use this skill

Skill file

File Infra Issue

When the SDK is breaking because of an infra-side problem (bad error responses, missing endpoints, misrouting, unauthorized where authorized was expected, etc.), file a clean, deduplicated issue on agentuity/infra.

When to use this skill

Use it when all of the following are true:

  1. You hit a real failure (CI red, smoke test red, manual repro red), and
  2. The root cause sits on the platform side — Catalyst HTTP API, sandbox runtime images, Ion, Gluon, Hadron, region routing, auth/permission surfaces — not in SDK code, and
  3. The fix has to happen in agentuity/infra (or its downstream services), not in this repo.

Concrete examples that qualify:

When NOT to use this skill

Refuse / suggest a different action if:

If unsure, prefer not filing. Duplicates and noise in agentuity/infra cost the team more than missing a marginal report.

Workflow

1. Confirm it's actually infra

Before doing anything else, answer all of these in writing (in your reasoning, not in the issue):

If after answering these you can't write one sentence describing what the platform should do differently, stop. The issue isn't ready.

2. Check for duplicates

Run all three searches before drafting. Different keyword sets catch different existing issues.

# Open issues, broad keyword
gh issue list --repo agentuity/infra --state open --search "<short-keyword-from-symptom>" --limit 20 \
  --json number,title,state,labels,updatedAt

# Closed issues, same keyword (catches "fixed but still broken" cases)
gh issue list --repo agentuity/infra --state closed --search "<short-keyword-from-symptom>" --limit 10 \
  --json number,title,state,labels,closedAt

# Component-scoped search (catalyst | sandbox | ion | gluon | hadron)
gh issue list --repo agentuity/infra --state all --search "<component>" --limit 30 \
  --json number,title,state,updatedAt

For each candidate, run gh issue view <number> --repo agentuity/infra and decide:

3. Pick a label

Match the symptom to the closest existing label (run gh label list --repo agentuity/infra if unsure):

| Symptom | Label |

|---|---|

| Bad / unhelpful behavior, wrong status codes, broken endpoints | bug |

| Missing endpoint / capability the SDK needs | enhancement |

| Sandbox runtime, sandbox API, runtime images | (no specific label exists yet — use bug or enhancement and put Sandbox: in the title) |

| Catalyst HTTP routing, region routing, auth surface | bug (or enhancement for new endpoints) |

| Ion-specific | Ion |

| Gluon-specific | gluon |

| Hadron-specific | hadron |

| Production outage right now | outage (only if it's actively broken in prod, not just CI) |

If multiple apply, use multiple. Don't invent new labels.

4. Write the issue

Use this structure. Keep it short — engineers who triage these issues are busy. Aim for under 60 lines of body.

## Problem

<One paragraph. What does the platform do, and why is that wrong from the SDK's perspective? Be specific about endpoint, status codes, response shape.>

## Reproduction

<Minimal reproduction. Prefer raw `curl` so the SDK isn't a variable. Include the exact URL, method, headers (mask tokens), and the response status + body.>

curl -sS -i "https://catalyst-usc.agentuity.cloud/<endpoint>" \

-H "Authorization: Bearer <ck_live_...>" \

-H "Accept: application/json"

→ HTTP/2 <status>

→ <body>


## What we'd want instead

<One short paragraph or a numbered list. Concrete: status code, response shape, behavior. Don't write essays — bullet points beat prose here.>

## Why this matters

<One short paragraph. What SDK code path / user workflow is broken because of this? Link the failing CI run, the SDK file, the docs page that contradicts the current behavior.>

## References

- SDK code: <link to file on github.com/agentuity/sdk at the current branch>
- Failing run / repro: <link>
- Related: agentuity/infra#NNN  _(only if there's a related-but-distinct issue)_

Style rules:

5. File it

Write the body to a tempfile, then create:

gh issue create \
  --repo agentuity/infra \
  --title "<Component>: <short symptom>" \
  --body-file /tmp/infra-issue.md \
  --label bug   # or enhancement, or both

Capture the URL from the response. Reference it in:

6. Loop back into the SDK

If you gated a test off / added a workaround / hardcoded a value because of the platform issue, leave a code comment that:

  1. Explains what's currently broken on the platform side.
  2. Links the infra issue.
  3. Describes how to revert the workaround once the issue is fixed.

Example:

# Disabled: SDK keys can't currently auth against DB /resource endpoints.
# See agentuity/infra#120. Re-enable by removing this `if: false` once the
# issue is closed.
if: false

Scope guard

Before filing, ask one last time: _"If a backend engineer reads this issue, will they immediately know what's broken, where it is, and what to change?"_ If not, the issue isn't ready — keep iterating before filing.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.