Spaces:
Running
Download docs/PLAN.md from cduss/MyRobotFleet: direct link, hf CLI and curl.
- Browser
- Download file 5.05 kB
-
https://huggingface.co/spaces/cduss/MyRobotFleet/resolve/main/docs/PLAN.md
- Command line
-
hf download hf://spaces/cduss/MyRobotFleet/docs/PLAN.md
-
curl -L -o PLAN.md https://huggingface.co/spaces/cduss/MyRobotFleet/resolve/main/docs/PLAN.md
MyRobotFleet — feasibility & roadmap
Assessment date: 2026-09-24. Central analysed at GitHub main 85cc7b5
(includes 66918e9 "more info on central page" / robot-kind counters).
Verdict
Feasible as a fully static app. Central already:
- exposes public
GET /healthwithproducers_by_kind(live: ~280 robots), - exposes owner-scoped
GET /api/robot-statuswith rawmeta, - authenticates with any HF bearer token via
whoami-v2, - sends permissive CORS (
allow_origin=*, no credentials), which is what browserfetch+Authorization: Bearerneeds.
So a static HF Space with in-browser HF OAuth can show the ecosystem and "my robots" today, with zero central changes (v0 in this repo).
What a static app cannot do alone is anything that needs a server that is always on: org-wide aggregation across accounts, history of robots that went offline, and receiving logs. All three belong in central (it already sees every robot) or in an HF Dataset that central writes and the static app reads. This keeps one central point that scales, instead of one Docker Space per project.
Landscape
| Reachy Mini | Micro Duck | Grabette | |
|---|---|---|---|
| Talks to central | yes (central_signaling_relay.py) |
yes (mediad/src/relay.rs) |
no: own Docker Space grabette-fleet with its own registry, heartbeat and command queue |
meta.kind |
absent (central defaults to reachy_mini) | microduck |
n/a |
| Version | none | release + api_version |
n/a |
hardware_id |
sha256(USB serial)[:16] | raw SoC serial / machine-id | serial (in grabette-fleet) |
| Quirks | extra central-relay pseudo-peer |
name may be missing |
kind derived from name |
Normalisation in fleet.js: kind mirrors central's robot_kind_of() (plus
grabette), the robot key is kind:hardware_id (peerId changes on every
reconnect), and pseudo-peers are dropped.
Roadmap
v0 — static dashboard (this repo, done)
- HF OAuth in the browser; local dev uses a pasted token.
- Ecosystem tiles from
/health. - My robots from
/api/robot-status, normalised, kind filter. - Per-browser memory of offline robots (localStorage, 30 days). This is a convenience only, not real history.
?central=to target thecduss/reachy_mini_centraltest Space.
v1 — central: better metadata (small PRs to reachy_mini_central_signalling)
- Add
grabettetoKNOWN_ROBOT_KINDS/ROBOT_KIND_LABELS. - Add wall-clock
registered_at,last_seen_atand sessionstarted_attoPeer, and expose them plus the classifiedkindin/api/robot-status. - Extend
docs/META_CONTRACT.mdwith recommended fields:kind,version,api_version, and an optionaltelemetryblock (battery, activity, hardware_error, ip). - Daemons: Reachy Mini sends
kindandversion; Micro Duck keeps what it already sends. - Minor:
/api/robot-statusshould skipconnected=Falsepeers, asget_producers_listdoes.
v2 — org view
- Central reads
orgs[]from thewhoami-v2response it already fetches and stores it per owner. - New endpoint
GET /api/fleet?org=<org>: producers whose owner is a member of<org>, visible only to members (optionally restricted with aFLEET_ADMIN_ORGSenv allowlist). - OAuth scope: needs the org list. Add
read-reposor rely on central resolving orgs server-side from whoami.
v3 — history without a database
- Central keeps an in-memory ring buffer of register, withdraw, sweep and
session events, exposed as
GET /api/fleet/events?since=. - A
CommitSchedulerappends it as JSONL to a private HF Dataset (e.g.pollen-robotics/fleet-events). The static app reads the dataset with the user's token to show usage over time: robots per day, sessions, apps used and versions.
v4 — debug logs
POST /send {type:"log"}goes into a capped per-robot buffer in central, readable by the owner through/api/debug/logs?peerId=. An on-demand "upload logs to a dataset" button on the robot is the alternative for big dumps.
Grabette migration (separate track)
grabette-fleet is also a command server: long-poll queue, synchronised
recording sessions, dataset jobs. The static app can't replace it until
central has a command channel. Steps:
- The Grabette device also registers on central (
kind:"grabette", telemetry in meta), so it shows up here. This is cheap and can be done now. - Move commands to central (
/sendorPOST /api/robots/{id}/command). - Session timing and lost-stop recovery need something always on: central, or a leader device.
Open questions
- Who sees the org view? Every member of
pollen-robotics, or only an admin allowlist? Are customers' robots in scope, or only in-house ones? - Privacy: customer robot names and hardware ids in an org view. Aggregate counts only, or per-robot rows?
- Does an HF OAuth access token pass central's
whoami-v2check? Very likely (Micro Duck already uses device-flow OAuth tokens), but verify on the Space.