299 Commits

Author SHA1 Message Date
Codex
6d8b011c67 🛠️ Add resumable V4 previews and record pool query diagnostics 2026-11-08 09:02:49 -08:00
Codex
63714753a9 🛡️ Gate invalid source tasks and fix complete review pool search 2026-11-02 02:36:30 -08:00
d-robotics
54a960284c 🏷️ Stamp images with their build commit and time
Dockerfiles bake DROBOTICFLOW_IMAGE_BUILD_COMMIT from a build-arg that
defaults to 'unknown', and the API prefers it over the deployment stamp, so
release images built without the arg reported buildCommit 'unknown'.

Add scripts/release-build-api-image.sh for release.py builds: it refuses
uncommitted tracked changes, passes the checkout commit and UTC build time,
pushes, and prints the digest reference for prepare --image. The general
build-and-push script now passes both args too. Document the step in the
release README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 00:36:20 +08:00
d-robotics
63512da71f 🐛 Preserve confirmed annotation frames and enforce v4 time evidence 2026-10-22 12:54:08 +08:00
d-robotics
a777c42c4e 🚀 Prepare isolated v4 activation with safe workflow handoff and tag seeding 2026-10-22 00:58:27 +08:00
d-robotics
8f6b531fd3 📦 Preserve legacy delivery bytes while preparing v4 package runtime 2026-10-22 00:50:12 +08:00
d-robotics
e66c77261d ✨ Export inherited classification tags and original source coordinates 2026-10-21 12:42:45 +08:00
d-robotics
1469e1d9e1 🛡️ Harden classification saves and recover frozen delivery selections 2026-10-21 09:57:40 +08:00
d-robotics
9546810895 ✨ Preserve accepted classifications and separate private delivery audits 2026-10-21 09:24:44 +08:00
d-robotics
7be23604d7 📦 Publish immutable delivery index batches with native v3 packages 2026-10-20 12:14:56 +08:00
d-robotics
963b530f84 🐛 Fix source clock validation and zero-IMU delivery 2026-10-19 00:12:27 +08:00
d-robotics
8379b666e2 📦 Accept kept source-index slices that hold no IMU samples
The physical source-index export failed the whole delivery for any kept slice
with zero exported IMU rows, even when its certificate's sampleCount was also
0 (a short slice or an IMU gap). Compare counts only, and write a
header-only imu.csv so every kept slice keeps the same file layout. A real
count mismatch is still rejected. operator-repos copy regenerated; the
package operator image must be rebuilt for this to reach deliveries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 23:41:11 +08:00
d-robotics
04e872ac85 ✨ Add gated source-backed slice revisions and capacity verification 2026-10-17 00:47:52 +08:00
d-robotics
0c5f34f79a 🐛 Fix part-index delivery: unbounded payload peek, no pose frames, explicit re-delivery for migrated parts 2026-10-09 02:23:20 -07:00
d-robotics
b9cdf0f857 🧾 Keep the part index reachable without an object ref
Reading a delivered index through the replica API (object storage disabled,
payload resolved from a workspace file) recognised the document and projected
the full split classification but exposed zero members, because the single
deliverable was only emitted for a durable object ref. The one output of this
delivery mode was therefore not downloadable in that situation. Fall back to the
dataRef payload path when no object ref exists.

Verify against the local replica for the first time: with the API running on the
snapshot Mongo, the members endpoint returns the kept and discarded slices with
their boundaries, action counts and discard reason, and the member content
endpoint returns part.json byte-identical to the delivered file. The delivery
package contents endpoint lists part.json as a final export artifact.

Add a boundary test over real materialization output: the Go acceptance test
builds genuine 60s stereo media (80 frames per slice) and slices it with ffmpeg;
the new test consumes that same revision and asserts the review layer keeps all
seven evidence files per slice while the delivered index contains no media
reference at all. It is opt-in behind FANYU_PART_INDEX_MATERIALIZATION_CONTEXT.

The replica fixture helper lives under the untracked local-data path; it tags and
removes exactly the records it creates and never touches object storage.
2026-10-09 00:45:11 -07:00
d-robotics
0acbe4dcd2 🧾 Migrate delivered directories to a part index additively
Add scripts/part_index_migration.py, which produces the missing part.json for a
part that was delivered in the directory form. It reuses the package operator's
own builder by loading the operator source the way the runner does, so a
migrated index is structurally identical to an online package and
byte-identical to what the same evidence would have produced, apart from a
lineage.migratedFrom marker. A test compares both routes on one evidence set to
keep the two from forking.

The tool never writes object storage: publication has to go through the
API/Worker path so the owner marker, conditional create and no-overwrite
guarantees stay in effect. It refuses to run when the delivery directory lacks a
completion manifest, when a slice has an unknown disposition, when the revision
has no per-slice disposition evidence, and when the part already has a part.json
with different bytes.

Also fix a leak found while building this: the index wrote the operator's
absolute workspace path into calibration[].path. It now records the logical
delivery-relative path, matching the directory form's packages-manifest, and
keeps the local location out of customer-facing output.

Verification: 19 operator and migration tests pass. tests/backend failure set is
identical to the HEAD baseline (25 failed, 829 subtests passed, 516 vs 525
passing), so no regression.
2026-10-09 00:39:30 -07:00
d-robotics
7b5604f9e0 🧾 Deliver one part index JSON instead of sliced directories
Add a PART_INDEX_DELIVERY mode to the package operator (default off): a part
delivers a single part.json carrying both split levels, the task-level slice
boundaries and the action-level segments, plus a classification for every
reviewed interval. Kept intervals land in slices[], discarded intervals in
discardedSlices[] with their discard evidence, which deliberately makes the
discard reason part of the customer deliverable. Media, PTS, IMU, pose and
calibration bytes are no longer published; downstream packaging resolves them
from the pinned materialization revision.

The worker publishes the index through the same frozen-destination path as the
directory form. Extract prepareDeliveryTarget so single-file and directory
publication share one owner marker, overlap guards, delegated-scope check,
conditional create, sha256 verification, idempotent retry and the refusal to
overwrite another delivery. A part index also refuses to adopt a destination
that holds files without an owner marker, so additive migration cannot claim a
legacy directory by accident.

The API and download control plane recognise the new schema, project the split
classification for the browser, and treat a part index as a first-class final
delivery. Cross-language contract tests read the operator's own schema and
field literals so a one-sided rename fails a test.

Verification: 10 operator tests, 8 worker tests and 3 API tests for the new
behaviour pass. Failure sets match the HEAD baseline name-for-name for
internal/api (75), internal/worker (4), tests/backend and the frontend suite;
no regression. The end-to-end local replica stack was not exercised: it needs
image builds and the opt-in Go materialization fixture, so the Go to operator
handoff is covered by the contract tests instead.
2026-10-09 00:28:50 -07:00
d-robotics
554556f19c 🐛 Match capture metadata by recording camera and part identity 2026-09-28 18:44:45 -07:00
a3885d8a89 Merge pull request '🐛 Fix reslicing, blank action delivery, and annotation controls' (#8) from feature/local-dev-toolkit into dev 2026-09-22 17:22:30 +08:00
d-robotics
5314f83eab 🐛 Fix reslicing, blank action delivery, and reversible partition cancellation 2026-09-22 13:29:30 +08:00
eust-w
6bc3127228 🔧 Route dev deployments to Fanyu 2026-09-22 01:26:15 +08:00
d-robotics
024dfd0133 🛡️ Verify snapshot chunks before restore and isolate temporary cleanup 2026-09-18 10:49:30 +08:00
d-robotics
54a35afad9 🔒 Require environment credentials for remote acceptance scripts 2026-09-18 01:25:30 +08:00
eust-w
a2ddd07c21 📝 Allow intentional blank semantic annotations without dropping delivery media 2026-09-17 09:38:08 +08:00
eust-w
29ed9d2475 🗂️ Add reviewable slice discard policy and filtered delivery 2026-09-16 20:44:46 +08:00
eust-w
7f688a3bc1 🐛 Backfill missing employee suppliers before automatic project enrollment 2026-09-14 20:55:16 +08:00
eust-w
add1b0e7ac 🔒 Fix employee supplier ownership at creation and simplify membership routing 2026-09-14 15:47:44 +08:00
eust-w
ab725bf8a8 🔧 Bypass raw-human IMU coverage gate for part boundaries 2026-09-11 18:48:46 +08:00
eust-w
62b5737d71 ✨ Add isolated raw-data human-loop delivery template 2026-09-11 18:06:30 +08:00
eust-w
c9ac1b05ed 🐛 Pair Qwen PTS by explicit reference and Capture identity 2026-09-11 11:07:00 +08:00
eust-w
c892e9f038 🐛 Remove manual transcode frame-order gate 2026-09-11 04:47:13 +08:00
eust-w
d448a42818 🐛 Validate original-named PTS fallback for transcoded video 2026-09-11 02:21:46 +08:00
eust-w
cd5bfdb409 ✨ Support legacy and isolated part Capture admission 2026-09-10 20:46:38 +08:00
eust-w
5241ac20a3 🐛 Unify Capture frame boundaries and require continuous annotation coverage 2026-09-09 18:54:59 +08:00
eust-w
95a9ccacdb 🐛 Preserve Capture sampling lineage and validate PTS before processing 2026-09-07 22:38:47 +08:00
eust-w
4e761d6369 ✨ Report active Capture subdirectory in workflow run history 2026-09-07 03:53:45 +08:00
eust-w
0854eaf2cf 🐛 Pair Capture sidecars by segment and reject unmapped transcoded timestamps 2026-09-06 18:32:39 +08:00
eust-w
b911443058 🐛 Harden move conflicts, PTS diagnostics and modal keyboard access 2026-09-06 12:19:49 +08:00
eust-w
a343c5a37f 🐛 Fix multipart PTS pairing, safe moves and rework feedback 2026-09-06 10:06:52 +08:00
eust-w
04364df9f8 ✨ Separate slicing from JSON annotation 2026-09-02 03:12:00 +08:00
eust-w
bc9db2b8d2 ✨ Add privacy-safe face blur diagnostics 2026-09-01 05:35:18 +08:00
eust-w
864f748bd6 🐛 Finish Capture-first UI and resilient acceptance 2026-09-01 04:40:58 +08:00
eust-w
03f9419f8c 🚀 Run Fanyu pose services on demand 2026-09-01 04:02:18 +08:00
eust-w
b085e371b2 ✨ Complete Fanyu Capture operations gaps 2026-09-01 02:40:27 +08:00
eust-w
95fb898407 🧪 Align Fanyu acceptance with Capture sampling 2026-09-01 00:56:54 +08:00
eust-w
1eb1eb754a ✨ Upgrade Fanyu Capture production flow 2026-08-31 21:25:47 +08:00
eust-w
1c008f68d5 ✨ Complete Fanyu production acceptance flows 2026-08-31 13:27:18 +08:00
eust-w
fa283c96f6 🐛 Clear stale Capture lifecycle metadata 2026-08-31 05:55:38 +08:00
eust-w
43129f2d38 ✨ Complete Fanyu acceptance control paths 2026-08-31 04:02:54 +08:00
eust-w
1785697e46 ✨ Replace workgroups with project members and resilient uploads 2026-08-29 07:47:18 +08:00