Skip to content

docs(agent-seed): document headless debug API surfaces - #3728

Merged
GuillaumeDSM merged 1 commit into
devfrom
cursor/agent-seed-debug-api-surfaces-c7da
Oct 12, 2026
Merged

GuillaumeDSM merged 1 commit into
devfrom
cursor/agent-seed-debug-api-surfaces-c7da

Conversation

@GuillaumeDSM

Copy link
Copy Markdown
Member

Summary

Document where full orders, trades, and portfolio data live in the agent-seed headless debug API so cloud agents use GET /api/v1/debug/ and OpenAPI instead of inventing REST routes.

Changelog

  • Expanded tools/agent_seed/README.md (DebugState field map, orders/trades via account_tradings, curl/jq examples, status codes, /app/* routes)
  • Added a short Headless debug API box to .cursor/skills/agent-seed/SKILL.md
  • Linked from packages/node/AGENTS.md; clarified bootstrap polling in tools/agent_seed/ARCHITECTURE.md

What's new?

Agents polling debug.automations[].orders only see thin {id, symbol} summaries. The README now states that side, price, quantity, and status come from debug.account_tradings[].account_trading.orders|trades, joined through exchange_account_ids, and that /api/v1/orders and /api/v1/trades do not exist. Verified against packages/protocol/openapi.json, api/routes/debug.py, and test_routes_debug.py.

Docs-only; no product or API behavior changes.

python3 -m tools.extended_linter --base origin/dev — OK.

Open in Web Open in Cursor 

@GuillaumeDSM GuillaumeDSM self-assigned this Oct 6, 2026
@GuillaumeDSM
GuillaumeDSM marked this pull request as ready for review October 6, 2026 14:51
@GuillaumeDSM
GuillaumeDSM requested a review from Herklos as a code owner October 6, 2026 14:51
@GuillaumeDSM
GuillaumeDSM enabled auto-merge (rebase) October 6, 2026 14:59
@GuillaumeDSM
GuillaumeDSM disabled auto-merge October 6, 2026 15:01
@cursor
cursor Bot force-pushed the cursor/agent-seed-debug-api-surfaces-c7da branch from 2c96532 to d813c04 Compare October 6, 2026 15:20
@GuillaumeDSM
GuillaumeDSM enabled auto-merge (rebase) October 6, 2026 15:25
Expand agent-seed README with DebugState field map, account_tradings join
logic, curl/jq examples, status codes, and /app routes. Add skill box and
node AGENTS pointer so agents stop inventing /api/v1/orders.

Co-authored-by: Guillaume De Saint Martin <GuillaumeDSM@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/agent-seed-debug-api-surfaces-c7da branch from d813c04 to 2959b02 Compare October 12, 2026 16:45
@GuillaumeDSM
GuillaumeDSM merged commit ada9e62 into dev Oct 12, 2026
25 checks passed
@GuillaumeDSM
GuillaumeDSM deleted the cursor/agent-seed-debug-api-surfaces-c7da branch October 12, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants