507 Commits

Author SHA1 Message Date
d-robotics
79d5c8e5ef 📝 Spec + tickets 01-05, ADR 0009, glossary updates for rework UX adjustments 2026-10-14 18:24:31 +08:00
d-robotics
aa754d6b38 📝 retro F1/F3/F4/F5/F7/F8: gate-command steering, multi-agent lane protocol, prod-accounts pointer, CI format gate, page region map, session teardown checklist 2026-10-14 10:42:12 +08:00
d-robotics
daccd8dfbe 🔀 Release candidate: merge dev (hygiene/CI baselines) into inplace-slice-editing + acceptance-fixes 2026-10-14 05:00:33 +08:00
d-robotics
74b16ca0ca ✨ D: annotate-phase Shift+←/→ coarse-nudges the selected slice boundary outside the panel
User: 「shift 左右能改变切片或标注动作的边界…这个也没有做」. The global map
returned null for every shift+arrow outside the panel (line ~68), and in
continuousActions mode the early adjust-boundary return fired regardless of
whether an action editor was open — startBoundaryHold then silently no-oped
without editingAnnotation, so the key looked dead in both shapes.

- annotation-shortcuts: shift+arrows in annotate phase now resolve to
  coarse-nudge-boundary unless (continuousActions && actionEditor) keeps the I3
  action-boundary binding; slice-phase behaviour unchanged either way; repeats
  consume; modifiers still fall through natively.
- workbench dispatch: coarseNudgeSliceBoundary nudges the selected slice's
  boundary 0.5s (selectedBoundary if one was clicked/dragged, else the panel's
  default-focus rule: selected slice end, last slice falls back to start) and
  commits through onSliceBoundaryChange — the same committed pipeline the slice
  phase uses (clean → immediate apply, conflict → the ticket 04 list,
  Esc = nudge never happened).
- help table: new annotate row for the slice-boundary nudge; the continuous
  context relabels it to the dual semantics; the old continuous extra row is now
  slice-phase only.
- keyboard guide: the committed-nudge paragraph and the panel prerequisites
  (drafts no longer block opening; apply still requires them) updated.

Tests: annotation-shortcuts (new dispatch matrix incl. no cross-talk with the
panel table, editable inert, modifiers) + continuous-shortcuts pins updated to
the actionEditor-aware contract.
2026-10-14 02:41:52 +08:00
d-robotics
22c98f8930 📝 acceptance stack recipe: dedicated ports 3011/5174 + explicit IPv4 host + proxy target 2026-10-13 22:11:32 +05:30
d-robotics
437aada2eb 📝 11: precise rail state-chip coloring (slate for skipped/gray, text-distinguished) 2026-10-13 22:00:21 +05:30
d-robotics
81a6e6950d 📝 11: rewrite QC walkthrough scenarios 9-10 + rework manual QC sections + glossary closure 2026-10-13 21:59:27 +05:30
d-robotics
c75437e0af 📝 07: precise lock wording for drag handle and trash during conflict-list-only state 2026-10-13 21:37:24 +05:30
d-robotics
4e22dae091 📝 07: rewrite annotator walkthrough scenarios 1-8 + living manuals for slice-edit panel and conflict list flows 2026-10-13 21:34:36 +05:30
d-robotics
285f895d34 🔧 08: rework baseline carries unresolved opinions only + ADR 0008
R1-Q8/R2-Q7 (spec slice-edit-ux-rework, seam ②):
- planQualityReviewDecision now builds the next rework baseline as
  unresolved prior opinions (same entry IDs, QC still-problem notes
  merged into the original text) followed by this round's new opinions;
  resolved opinions never enter the new baseline
- rework-baseline reads (any round) and the acceptance source-opinions
  baseline projection narrow to unresolved-only via the frozen round's
  review confirmations; frozen records stay untouched (B02)
- legacy fallback: missing confirmations mean unresolved and opinions
  keep carrying (documented + tested); missing prior baseline keeps the
  first-round fresh-only behavior
- ADR 0008 records the decision, consequences and the rejected
  collapsed-display alternative
2026-10-13 20:10:49 +05:30
d-robotics
c98d631634 🧺 10: tile demo actions gap-free per slice like the real annotator flow 2026-10-13 18:06:32 +05:30
d-robotics
be4782cb39 🎨 10: seed second demo task ending at round-2 re-review
One command now rebuilds TWO tasks sharing the org/accounts: task A
(unchanged, round-1 rework returned to the annotator) and new task B
on a second ise-demo-b-* capture driven through the full loop — first
submit, QC 8 opinions, reject, partial rework via real endpoints
(split S1 @15s, discard S3 via dictionary reason, act-07 description,
act-13 invalid), resubmit ending round-2 submitted awaiting QC
re-review with structureChangeSummary split=1/discarded=1. Deliberately
unresolved act-17, both timepoints and the overall opinion keep the QC
receive view red/gray mixed out of the box. Walkthrough §0 becomes a
two-task table and case-2 points at task B directly (manual path via A
kept as an optional note).
2026-10-13 17:41:21 +05:30
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
58e0e50570 🧪 Retro 2026-10-12: CI gate, known-failure baselines, devboot regression test, workbench smoke, review standards
Six follow-ups from the round8-12 hotfix retrospective:

- web-ci.yml: lint + Go/frontend tests on every push and PR (nothing ran
  app checks before; the round10 dev-mode regression shipped green)
- tests/known-failures.json + check-test-baseline.mjs: gate by exact
  failing-test id instead of hand-counted failure totals (14 frontend,
  70 Go upstream debts recorded from the dev tip)
- devboot.test.mjs: boots the real Vite dev server and pins the movi
  loader contract that broke round10 (query-less DEV url, /vendor stays
  off the module pipeline)
- scripts/local/smoke-workbench.mjs: pre-release smoke covering the
  seven recurring acceptance points (login/pool/claim/play-while-loading/
  captions/4x/playhead), 3x green against the local replica
- docs/CODING_STANDARDS.md + AGENTS pointer: eligibility flags are
  server-shipped, the UI renders them (rounds 9+12 lesson)
- vendor README host-element quirks section, HANDOFF gate pointers and
  movi-path verification rule, perf-audit report pinned with the
  post-round12 production 500 observation
- husky pre-commit: lint-staged (repo prettier scope) + tsc + gofmt
- gofmt: restore lint:go green on the dev tip (drift shipped silently
  in the perf merge and round12 because nothing gated it)
2026-10-12 18:07:02 +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