Investigate whether /preview should move to root #21
Labels
No labels
burndown-2026-06
burndown-2026-08
headless
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/eco-app#21
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-02T23:10:32Z
Context
Today the HTTP app routes are:
/- 302 redirect to/preview/preview,/preview.json,/preview-map,/preview-map.json,/preview/<tool>,/preview/<tool>.json- dev iframe shell + Jinja2 card, JSON twin/mcp/- Streamable-HTTP MCP transport/healthzSee
src/eco_mcp_app/http_app.py:124for the root redirect.Question
Why is the dev preview namespaced under
/previewwith/as a redirect, instead of just serving the preview at/?Current rationalization (from a chat thread):
/preview*is a tree (.jsontwins, per-tool subroutes), not a single page. Hoisting to root would shadow other top-level routes or force awkward names./is reserved as a future service-info / landing page./previewis explicitly dev-only per the module docstring. Real MCP clients hit/mcp/, never/preview. Keeping it under its own prefix signals "browser-poking surface, not the product."These are not very compelling on their own. Worth checking what other public MCP servers do at the root URL.
Investigation
/? Empty 404? Service-info JSON? A landing page? A redirect?/with service-info JSON (already drafted atservice_infoinhttp_app.py:127, just unrouted), or collapse/previewinto/..jsontwin and per-tool subroutes coherent (/.jsonis awkward; maybe/tools/<name>instead of/preview/<name>).Out of scope
/mcp/mount path.Migrated from coilyco-flight-deck/eco-mcp-app#5 during the eco repo consolidation (coilysiren/inbox#100).
Backlog burndown 2026-06-17: closing low-priority (P3/P4) to bring the open count to a manageable level. Nothing lost — reopen if this resurfaces. Batch tag:
burndown-2026-06.