494 Commits

Author SHA1 Message Date
d-robotics
062d656bfe 🧹 10: complete demo cleanup coverage and align walkthrough with merged keyboard guide 2026-10-13 16:43:10 +05:30
d-robotics
41c849ebf8 Merge branch 'codex/inplace-slice-editing' into codex/ise-10 2026-10-13 16:41:01 +05:30
d-robotics
5c713eda86 🎬 10: one-command demo fixture seed + scenario walkthrough doc 2026-10-13 16:40:57 +05:30
d-robotics
a248c926a9 📝 09: document in-place slice editing (glossary, ADR 0007, guides) against shipped behavior 2026-10-13 16:13:11 +05:30
d-robotics
6cc53b8b8d ✨ rework subtitles follow playhead: match current slice+action, bump font size 2026-10-13 12:56:43 +05:30
d-robotics
125c044ef8 ✨ rework subtitles overlay + pause-on-locate (3-row video captions, J/K no autoplay) 2026-10-13 12:41:21 +05:30
d-robotics
491e50fc44 🐛 rework emphasis: drop focused-layout strip, derive overall clearing, broaden diff keys 2026-10-13 12:21:50 +05:30
d-robotics
57ea16271a ✨ focused-layout rework opinion rail: scrollable right-panel with J/K navigation
- new ReworkOpinionRail: all opinions in a scrollable right-column mini window
  (focused/compact layout only), grouped red → skipped → gray → old, click to locate
- jumpOrder extended from red-only to full navigation order with per-entry state;
  J/K walk the full list in both layouts (red first), gate dialog filters red
- focused layout: per-slice cards under the slice track removed (no stacking),
  summary strip slimmed to one line pointing at the rail
- docs: manual + ADR 0006 wording updated for the new J/K semantics
2026-10-13 12:04:41 +05:30
d-robotics
9eaead0b0c ✨ rework emphasis layer: opinions onto slices/actions/timeline, drop feedback editor
- delete ReworkFeedback concept (editor, domain, API, store) per user decision
- add /rework-handling API: one-click skip ('no change') with CAS + trace for re-review
- add rework-emphasis pure lib: baseline-vs-workspace diff auto-clears red,
  merge reattach, multi-round (latest red, older dimmed), J/K jump order
- workbench: red slice blocks + count badges, red/gray action blocks,
  red timestamp markers, per-slice opinion cards, summary strip above track,
  soft submit gate, help entries, one-line notice pointer
- QC ripple: skipped chips replace feedback read in ReviewProblemPanel
- docs: CONTEXT.md glossary (意见处理状态), ADR 0006, manual rewrite
2026-10-13 10:47:27 +05:30
d-robotics
73487667b8 📋 close B03+B05: scenario matrix 13/13, known-gap terminal review, zh-CN manual, compat+perf evidence
- B05 matrix (1413x615): five work modes incl. rework folding, dual-camera,
  legacy replay, keyboard-focus guard - 13/13 with two explicit deployment-
  time exemptions (D2 interactive drag, aggregate acceptance demo) routed to
  the established online-verification list
- known-gap table terminal: materialization cleanup -> formal backlog
  ticket; no silent downgrades outstanding
- docs/rework-review-manual.zh-CN.md: three-role manual (annotator rework /
  quality reject+recheck / acceptance batch recheck) aligned with CONTEXT.md
- compat evidence: optional-field read compat, rollback switch, legacy
  payload writes; asymmetry documented (timestamp/confirmation editing
  needs the new frontend by design)
- perf evidence: A04 50-user load + B06 capacity conclusions
- resolve issues 03 and 05; roadmap moves to the deployment phase
2026-10-12 23:25:35 +05:30
d-robotics
e07f3cac3b 🔀 Merge dev into codex/slow-page-performance-20261009
Resolve server.go and production_stats.go conflicts by combining both
sides' intents:
- routes: keep dev's /api/dashboard/workforce and wrap the production
  dashboard in the response cache
- dashboard loading: dev's parallel errgroup fetches, but the runs
  goroutine keeps the C4 cursor-paginated summary page (limit 50 +
  aggregates) instead of the unbounded list
- enrichDashboardHumanWork: keep the C4 aggregation-counter fast path;
  the legacy fallback (stores without the counting interface) now
  fetches items/packages in parallel like dev
- production_stats.go imports: our superset (time/sort/strings + cache)
2026-10-12 06:18:48 +05:30
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
2ff6283a59 📚 Document the part-index verification recipe and local admin login
Record how to verify the part-index delivery in the local replica: the three
test layers, the real-media boundary check that keeps review media while the
index references none, the reversible replica fixture, and the dry-run
migration command. Also note that the snapshot super admin cannot log in locally
because legacy organization-admin access is off, so the organization admin
account and its phone identifier are the working path.
2026-10-09 00:47:01 -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
dfe61d99bb 📐 Plan part-level slicing index to replace physical slice cutting 2026-10-08 23:44:20 -07:00
d-robotics
f592586a5f 📚 Fill production details into capture reprocess API reference 2026-10-08 03:59:52 -07:00
d-robotics
10eb9c27f8 📚 Add capture reprocess API reference for production use 2026-10-08 03:37:57 -07:00
d-robotics
8f36cd1705 📚 Add delivery tree reference for customer handoff 2026-10-08 02:41:13 -07:00
d-robotics
f9024c3ebb 📚 Add plain-language role manuals for annotators, reviewers, and acceptors 2026-10-07 23:37:16 -07:00
d-robotics
2623bc2915 ✨ Converge production dashboard reporting 2026-10-07 10:45:47 -07:00
d-robotics
7ee9efec6c 💬 Simplify user-facing errors across the application 2026-09-30 05:48:55 -07:00
1ccb25878d 🔀 Merge PR #32 into dev
Integrate the approved recent changes; preserve the feature branch and previous history.
2026-09-30 17:45:20 +08:00
d-robotics
43ac5b1226 🔀 Resolve PR #31 conflicts with current dev 2026-09-30 02:45:14 -07:00
d-robotics
137ca6d0b2 ✨ Add personal acceptance history and persistent slice details 2026-09-30 01:52:51 -07:00
d-robotics
2335bf16f3 ✨ Add supplier authorization and shared final acceptance pool 2026-09-29 22:04:45 -07:00
d-robotics
7099eefd33 🛠️ Reconcile release records and clean up review test leases 2026-09-29 18:41:21 -07:00
d-robotics
3467eaaf80 🛠️ Reconcile release records and clean up review test leases 2026-09-29 09:20:10 -07:00
d-robotics
968e6e34a8 📝 Record scoped cluster acceptance and rollback limits 2026-09-29 08:55:15 -07:00
d-robotics
dc81aaf5fe 🐛 Preserve deployed worker retry protections before scheduler rollout
(cherry picked from commit 6f8b6a7f01bfdbb55f501c60e121ede64d52c5a4)
2026-09-29 08:54:35 -07:00
d-robotics
4a364b1352 🐛 Fix review binding races and unblock worker dispatch
(cherry picked from commit ea9dd2fc79cac1a3c2c02fe34ad9491119a4a848)
2026-09-29 08:54:35 -07:00
d-robotics
6f8b6a7f01 🐛 Preserve deployed worker retry protections before scheduler rollout 2026-09-29 08:18:38 -07:00
d-robotics
ea9dd2fc79 🐛 Fix review binding races and unblock worker dispatch 2026-09-29 08:12:50 -07:00
d-robotics
979ed87f64 ⚡ Scope acceptance pools and defer auxiliary reports 2026-09-29 07:44:59 -07:00
d-robotics
beb25ac43a ⚡ Scope acceptance pools and defer auxiliary reports 2026-09-29 06:34:38 -07:00
d-robotics
88f61c6ff2 🐛 Correct workforce submission and return statistics 2026-09-29 04:58:53 -07:00
d-robotics
a824c7c414 🐛 Correct workforce submission and return statistics 2026-09-29 04:10:01 -07:00
d-robotics
7d00eeefbd 🩹 Refresh conflicting review drafts and simplify recovery messages 2026-09-29 00:39:57 -07:00
d-robotics
bf030dbb3b 🩹 Refresh conflicting review drafts and simplify recovery messages 2026-09-29 00:30:38 -07:00
d-robotics
1b4d815b36 🩹 Fix oversized review receipts and release confirmed failed submissions 2026-09-28 23:36:33 -07:00
d-robotics
973866fe2f 🩹 Fix oversized review receipts and release confirmed failed submissions 2026-09-28 23:33:06 -07:00
d-robotics
554556f19c 🐛 Match capture metadata by recording camera and part identity 2026-09-28 18:44:45 -07:00
d-robotics
a05efdc415 📝 Document test delivery image and recovery verification 2026-09-27 08:11:22 -07:00
d-robotics
949daabd02 🔒 Enable scoped internal test slicing and delivery 2026-09-27 07:09:58 -07:00
d-robotics
0edd1bcd84 🛡️ Support migration-free API restarts for initialized databases 2026-09-27 06:26:03 -07:00
d-robotics
07937b5cbd 🔒 Allow explicitly scoped read-only workspace delegation 2026-09-27 06:16:18 -07:00
d-robotics
780a2d6775 🩹 Scope annotation workspace mappings by organization 2026-09-27 05:32:22 -07:00
d-robotics
ae106bac27 📝 Record final test lane review and packaging coverage limits 2026-09-27 02:47:25 -07:00
d-robotics
322edf0c2e 🛡️ Harden test lane isolation and verify synthetic review workflows 2026-09-27 02:45:58 -07:00
d-robotics
642ba1decf 🧪 Add isolated internal test lane preparation and seed tooling 2026-09-27 02:33:28 -07:00