382 Commits

Author SHA1 Message Date
d-robotics
65c19de0bf ✨ Add reconciled annotation output dashboards 2026-10-20 21:17:58 +08:00
d-robotics
86a1d7a360 🛡️ Prevent annotation edits in review workspaces 2026-10-20 18:30:37 +08:00
d-robotics
63560220a0 🎥 Load only the left camera by default in ordinary workspaces 2026-10-20 15:18:02 +08:00
d-robotics
f0edecd304 🎬 Restore slice and action captions inside review videos 2026-10-20 15:06:24 +08:00
d-robotics
d10c148b21 🐛 Preserve parked drafts and round-scoped review focus 2026-10-20 12:06:48 +08:00
d-robotics
6acb7ed790 🐛 Seek action starts for keyboard and mouse selection 2026-10-19 17:28:16 +08:00
d-robotics
622a60633e 🐛 Fix repeated rework returns and submission feedback 2026-10-19 16:44:27 +08:00
d-robotics
e34aad90d7 🐛 Reconcile active annotation tasks and clarify work modes 2026-10-19 14:57:31 +08:00
d-robotics
fde4d2737e 🩹 Resolve October 16 annotation and rework feedback 2026-10-19 11:05:43 +08:00
d-robotics
04e872ac85 ✨ Add gated source-backed slice revisions and capacity verification 2026-10-17 00:47:52 +08:00
d-robotics
9d331e7190 🐛 Persist explicit continuous work mode and bound refill 2026-10-16 12:42:28 +08:00
d-robotics
2b81adf2bf 🐛 Distinguish prior review decisions from current rework tasks 2026-10-16 10:32:16 +08:00
d-robotics
52dcb53a8c 🐛 Fix discard confirmation focus and reset restored action tracks 2026-10-15 22:02:26 +08:00
d-robotics
3472c021de 🎨 Normalize existing formatting for PR CI 2026-10-15 20:26:49 +08:00
d-robotics
aa729a62c9 🛠️ Fix workspace navigation, pool latency and retained slice retries 2026-10-15 18:23:46 +08:00
d-robotics
14d6ed9c0a 🐛 Fix October 15 annotation discard, claim and editing feedback 2026-10-15 17:06:17 +08:00
d-robotics
7835106408 🐛 Restore dictionary choices and keep unclaimed previews in their pool 2026-10-15 13:56:53 +08:00
d-robotics
0c5796b3c3 🧹 review-r3: gap-anchored timestamp opinions attach to nearest action for card visibility 2026-10-14 23:38:06 +08:00
d-robotics
d9ff01e071 ✨ add timestamp opinion card under action ownership (D10)
- opinionCardScopes: three cards (slice/action/timestamp), same visual spec
  (role=option + aria-selected highlight, click enters target editing)
- timestamp card entries = timestamp opinions owned by the current action,
  atSeconds ascending; current action resolved from the same position data
  as the D5 target model (new reviewPositionAction in review-navigation.js,
  range reported with ReviewPosition by the viewing surface)
- timestampProblemsOfAction pure helper in review-opinions.ts, table-driven
  tests; slice identity guards cross-slice leakage in slice-seconds basis
- remove the all-task flat timestamp list from ReviewProblemPanel (G-jump
  and timeline markers keep the full-task set from the hook)
- entry click keeps selectProblem anchoring; J/K focus emphasis preserved on
  in-card entries; anchored-target entry stays emphasized
- names: timestamp -> 当前时间点意见 (no task revival)
2026-10-14 23:22:06 +08:00
d-robotics
cf9c760b0f 🧹 review-r2: align reslice gate edge, pin target contract, fix spec scope line 2026-10-14 22:34:13 +08:00
d-robotics
7df73dbc73 ✨ Rework review opinion target interaction: Ctrl+Arrows switch targets, F writes directly, unified four-face help (D5/D9) 2026-10-14 22:17:45 +08:00
d-robotics
8950746fca ✨ 06: restore first-pass reslice behind a submission-history gate
- server: handleSliceResetCreate splits on submission history using the
  established isRework signals (task revision fence, rework status, human
  annotation revision via fanyuV5CombinedSubmissionIsRework); first pass
  runs the original reset write path with sliceResetHistory audit, history
  keeps 409 slice_reset_disabled with in-place guidance (spec D1 revised)
- table tests pin both classes incl. the system-suggestion edge; the four
  retired-contract test files flip to split-flow assertions
- frontend: restore the reslice button, warning dialog with both reset
  modes, and authoritative reconciliation from f980696f~1; entry is gated
  client-side by the same signals (resliceEligible), normal and focused
  layouts share the restored footer entry; E-mode changes untouched
- dev preview regains the entry; two retirement-era nail assertions flip
  back with the gate asserted in their place
2026-10-14 21:55:29 +08:00
d-robotics
82c6799177 🧹 review: restore over-deleted glossary terms and apply standards fixes 2026-10-14 19:37:50 +08:00
d-robotics
a1a17c27c2 ✨ 05: unify scope cycle (slice→action→timestamp) with resident inline editor 2026-10-14 19:22:05 +08:00
d-robotics
73ff757171 Merge branch 'codex/rework-ux-adjust-20261014' into codex/rua-03 2026-10-14 19:02:33 +08:00
d-robotics
74ea7f8274 🛡️ 03: deprecate task-scope review comments (ADR 0009)
Server: reject NEW task-scope problems on draft PUT (409
review_task_scope_deprecated, ID-matched against stored entries;
existing entries round-trip unchanged, full-replace semantics kept);
formal-rejection flattening no longer emits 整体任务 lines or
expands ProblemSliceIDs; rework-baseline reads hide task problems
(read-only narrowing); workforce stats stop counting task scope.

Frontend: remove task from composer scope lists and card cycle;
hide stored task opinions in rework banner/soft reminder/rail,
QC panel groups and history, acceptance source projection, stats
panel rows, frozen-comment displays (stripTaskOpinionLines);
submit/approve gates count visible problems only; stats panel
documents the 2026-10-14 scope switch.

Data untouched: no migration, no deletion, audit trail intact.
2026-10-14 19:02:29 +08:00
d-robotics
99612bdadb Merge branch 'codex/rework-ux-adjust-20261014' into codex/rua-04 2026-10-14 18:57:06 +08:00
d-robotics
94b1c2ac83 ✨ 04: open E panel directly for single slices and unlock J/K rework navigation
D1: single-slice tasks open the slice-edit panel on E (panel supports
adding boundaries); the slice-edit-unavailable toast branch is deleted
outright (key table context, notice state, dispatch and UI).

D6: J/K landing on slice problems auto-opens/switches the panel target
(reworkLocatePlan now carries a sliceEdit intent on jump plans); landing
on action/timestamp problems collapses the panel with pendingSlices
stashed and restored on reopen while the workspace is unchanged; Esc
remains the explicit full discard. Panel-open J/K passes through to the
rework navigator instead of locking; conflict-list J/K stays locked and
mouse-path locks are untouched (jump selects bypass the click lock via
an explicit flag only).
2026-10-14 18:56:54 +08:00
d-robotics
cb55aacda0 Merge branch 'codex/rework-ux-adjust-20261014' into codex/rua-02 2026-10-14 18:48:27 +08:00
d-robotics
7f38392d12 🛡️ 02: guard conflict products against zero-width and surface edge-glued auto-follows
- mergeDegenerateProducts: straddle pieces within EPS merge into a
  same-status neighbour (coverage unchanged) so degenerate boundary
  structures can no longer persist invisible zero-width segments that
  intervalStyle renders as display:none
- scanSliceEditConflicts now returns autoFollows (silently-following
  edge-glued invalid actions) + conflictAutoFollowHint derivation for
  the collapsed conflict-list hint row (panel and drag quick paths)
- invalid track blocks get a min-width visibility marker so needle-width
  invalid intervals stay visible on the track
- 5 new engine tests (guard x3, autoFollows, hint); workbench source
  guards updated to pin the corrected wiring; repro record updated with
  post-fix matrix
2026-10-14 18:47:53 +08:00
d-robotics
e76c2a42d4 🐛 01: scope dictionaries inside slice edit panel and pin its edges
D7 layout fixes, zero interaction changes: a panel-scoped rule
neutralizes the shared inset:0 dictionary base (it covered boundary
rows and every panel button because the panel root is the nearest
positioned ancestor), the panel header and Enter-apply footer become
sticky within the panel's own scroll container, and the compact
disposition dialog ends 138px above the viewport bottom so it clears
the 126px submit rail instead of overlapping its top. Pin tests guard
the scoped rule, the sticky edges, the unchanged Esc/Ctrl+Enter key
contract, and the compact dialog offset.
2026-10-14 18:36:45 +08:00
d-robotics
5bba40e9e0 ✨ Add dictionary CSV export, bulk import and batch remove to labels panel 2026-10-14 12:42:10 +08:00
d-robotics
51f07c9d45 🎨 retro F5: pay down all prettier debt (74 files, mechanical) and wire format:check into web-ci 2026-10-14 10:40:11 +08:00
d-robotics
d3e2ffca73 🐛 acceptance-fixes 5 (Lane B): per-item confirm-only dispatch — legacy acceptance-statistics/v1 items get their statistics form and payload, reject hidden where the server forbids it 2026-10-14 04:48:36 +08:00
d-robotics
43d9e0e722 🐛 acceptance-fixes 1 (Lane B): cumulative whole-video window — correct for multi-entry items whose capture clocks restart per source 2026-10-14 04:44:34 +08:00
d-robotics
d3544d4b8a 🐛 acceptance-fixes 1/2: top progress bar tracks the whole source video (cross-slice seek); drop the below-video caption duplicate for acceptance viewing 2026-10-14 04:36:09 +08:00
d-robotics
8a1e5c4104 🐛 acceptance-fixes 6: un-wedge 验收通过 — saving token reset, comment no longer silently disables approve, always-visible error, read-only reason 2026-10-14 04:33:09 +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
747b7952e1 ✨ C: E opens despite parked drafts; panel session pauses autosave and flushes on close
User: E almost never opened (「E 老是按不出来,操作暂时没有完成」). Two defects:

1) openSliceEditPanel hard-blocked on outstandingDrafts — but parked drafts are
   the normal state during continuous annotation, so E was almost always dead.
   The blocked notice also never reached the user: it starts with 请, and
   userErrorMessage's instructive-copy rule replaces such messages with the
   generic 「操作暂时未完成」 fallback.

   Design change (ticket 04): OPEN despite parked drafts. New
   onSliceEditSessionChange channel tells the page when the panel session is
   open; the page extends the autosave isBlocked gate (panel session OR any
   conflict list) so drafts stay in workbench state and the structure snapshot
   reference stays stable, then flushes once immediately on release
   (slice-edit-close edge via sliceEditSessionFlushEdge). Guards kept:
   slices<2, and the non-continuous active-editor block with unchanged copy.
   The apply-time drafts guard stays (applying structure edits while draft
   intervals reference the pre-apply layout can orphan content); the docs now
   spell out that split.

2) The E-panel sanity walk exposed a pre-existing dead Enter: the
   applySliceEditPanel workspace-drift guard compared prop references against
   panel.snapshot.slices/actions, but snapshotSliceEditWorkspace deep-copies, so
   Enter was ALWAYS rejected with 「面板期间工作区发生了其它修改」. The guard now
   compares by value (same sorted-JSON convention as the preview-equality check
   below it); genuine external changes still fail the check.

Verified live (probe-e-walk): E open → ←/→ nudge (red block) → Shift coarse →
Enter → conflict list → 1+Enter applied → E reopen → Esc; task A structure
round-trips byte-identically.
2026-10-14 02:41:44 +08:00
d-robotics
b6d23b698d 🎨 06: keep changed hunks prettier-clean (pre-existing debt untouched) 2026-10-13 21:21:25 +05:30
d-robotics
48547720e1 🔥 06: delete the slice-edit mode framework, banner, and key table (R3-Q2)
Removed with no feature flags: sliceEditActive state + auto-exit effect,
enter/exit/nudge/switch boundary helpers, the sliceEditShortcut dispatch
branch + key table + help rows, the slice-edit-mode-banner render, and the
in-mode highlighted-boundary overlay. E opens the 04 reconfig panel only
(toggle-slice-edit / slice-edit-unavailable dispatch unchanged); the batch-0
constant slot stays and still hosts the single-slice E notice and the
panel lock notice with zero layout shift.

Keymap finalized per ticket 04's judgments, pinned by tests: panel-internal
E = cancel; panel keys C/G/arrows/Enter/Esc; list keys up/down/1/2/3/Enter/
Esc; outside-mode keys unchanged incl. Shift+arrow action boundary (I3).

Grep evidence: src/ tests/ scripts/ have zero sliceEditActive /
sliceEditShortcut / slice-edit-mode-banner / enterSliceEditMode /
nudgeSliceEditBoundary / slice-edit-highlighted-boundary references outside
the anti-resurrection guard test and one explanatory comment.

Gates: tsc exit 0; frontend 774/760/14 — failure set identical to the
pre-change baseline by name (14 known upstream debts).
2026-10-13 21:19:44 +05:30
d-robotics
75c45cce54 🔥 06: delete the in-place triage card, engine, and dispatch (R3-Q2)
Removed with no feature flags: SliceTriageCard.tsx, slice-triage-card.js,
slice-triage-card-types.ts, slice-boundary-triage.js, the sliceTriage page
state + applySliceTriage/choose/dismiss, workbench card render + key-swallow
dispatch + props, triageCardShortcut/Help key tables, and the .slice-triage-*
CSS block. Commit-style boundary moves (slice-phase </>arrows and Shift+arrows)
now route through planSliceEditDragRelease into the 04 conflict list — the
same single disposition entry as drag release / hover+split / trash merge.

Grep evidence: src/ tests/ scripts/ have zero slice-boundary-triage /
slice-triage-card / SliceTriageCard / triageCardShortcut / triageCardAnchor /
sliceTriage / applySliceTriage / classifyBoundaryMove / applyBoundaryMove /
slice-triage references outside the new anti-resurrection guard test.
Dead helpers commitSliceBoundaryDraft / stepSliceBoundaryByFrame (unreferenced
since the numeric-draft sidebar was removed) deleted with their state.

Gates: tsc exit 0; frontend 775/760/15 — failure set identical to baseline by
name except the intentionally-red ticket-06 guard (old E-mode still present,
next commit).
2026-10-13 21:17:21 +05:30
d-robotics
f19539b8eb Merge branch 'codex/inplace-slice-editing' into codex/ise-ux-05 2026-10-13 21:04:38 +05:30
d-robotics
4c30daeb51 ✨ 05: drag quick path releases through the conflict engine into the 04 conflict list 2026-10-13 21:03:53 +05:30
d-robotics
abc733bbe4 Merge branch 'codex/inplace-slice-editing' into codex/ise-ux-10 2026-10-13 20:49:24 +05:30
d-robotics
f730f4f996 ✨ 10: verdict keys 1/2 on focused baseline row + confirmations ride the formal decision 2026-10-13 20:49:01 +05:30
d-robotics
1ebce92468 Merge branch 'codex/inplace-slice-editing' into codex/ise-ux-04
# Conflicts:
#	src/components/CaptureAnnotationWorkbench.tsx
2026-10-13 20:44:03 +05:30
d-robotics
09726e19de ✨ 04: slice reconfig panel (E) + conflict list with preview-only pending structure 2026-10-13 20:42:30 +05:30
d-robotics
556f3cc234 ✨ 09: QC review dual opinion boards, verdicts on rows and tracks 2026-10-13 20:32:12 +05:30
d-robotics
e8cf02160d Merge branch 'codex/inplace-slice-editing' into codex/ise-ux-02 2026-10-13 20:11:56 +05:30