mirror of
https://github.com/pollen-robotics/microduck.git
synced 2026-12-03 02:47:45 +08:00
mediad reads its model from /opt/robot/detector/current rather than from inside the release. The release's postinstall hook seeds that directory from a pin in [workspace.metadata.detector] (pollen-robotics/ microduck-duck-detector@duck-v1) with scripts/seed-detector.sh, which is seed-policies.sh with a fixed file list and the same rules: a floor not a ceiling, nothing partial goes live, never touch a set it did not install. `robotctl detect check` and `sudo robotctl detect update [--version]` are `policy check`/`update` against the other root — new updaterd calls detector.check / detector.install (API v28), sharing the policy set's types, provenance record and install path. An install restarts mediad, which is where the model is loaded, and reports whether that took. The 14 MB of vendored weights leave the repository and the three packaging sites; xtask holds the pin, the file list (script, updater, robotd-params) and the packaging together. The model repo shares its name with the dataset repo. The robot only addresses the model (resolve/ without a datasets/ prefix, api/models/), which is written down where the URLs are built. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>