2166 Commits

Author SHA1 Message Date
d-robotics
80bdcee9b4 ⚡ Load rejection history on demand with bounded cursor pages 2026-10-28 02:23:11 -07:00
d-robotics
7c014ce79c 🛡️ Open reviewer records and block self-review claims 2026-10-27 21:42:24 -07:00
d-robotics
dcf1c37d30 🗂️ Record reviewer entry and claim guard task 2026-10-27 21:41:41 -07:00
d-robotics
b2a4f16a1f ⚡ Cache work-buffer display labels and keep dashboards cached across autosaves
- The work-buffer poll resolved each item's project, workflow and capture
  labels by reading the full run document (up to 6MB) every 3s. Cache the
  resolved labels per item for 2 minutes.
- Slots whose item the active scan already counted keep their slot without
  rereading the item and its claim receipt (same outcome as before).
- Draft, review-draft, review-session and work-buffer saves no longer flush
  the dashboard response cache; they change nothing a dashboard counts.

Local perf DB with a 6MB run: poll total p50 141ms -> 7ms (enrich 131 -> 0),
byte-identical response. Admin dashboard stays cached across draft and
session saves and is still recomputed after other writes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 00:49:09 +08:00
d-robotics
f7a5e3272b 🗂️ Add task card for remaining work-buffer poll cost
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 00:49:09 +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
d0a63cc9dd 🗂️ Add task card for image build stamps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 00:36:20 +08:00
8b96632ed1 Merge pull request '⚡ 让工作台 work-buffer 轮询只查进行中条目、无变化不写库' (#63) from claude/work-buffer-query into dev 2026-10-28 00:16:27 +08:00
f7ca3d90dc Merge pull request '💄 标注、质检、验收工作台视觉润色(不改交互)' (#62) from claude/workbench-ui-polish into dev 2026-10-28 00:16:24 +08:00
6282fe4de9 Merge pull request '🧭 会话开始时只读检查分支是否落后 dev、是否包含线上版本' (#61) from codex/branch-freshness-check-20261027 into dev 2026-10-28 00:16:22 +08:00
d-robotics
83926e254e ⚡ Scan only active items and skip unchanged ledger writes on work-buffer polls
The poll listed every item the annotator ever authored (assignedUserId OR
latestAuthorUserId), so its cost grew with history, and it bumped the CAS
ledger version on every 3s read. Use the active annotation view, a superset
of the occupancy predicate, and return without writing when capacity and
slots are unchanged and nothing is reserved.

Local perf DB, 12k authored items: store_ms p50 279ms -> 2ms, total 288ms ->
11ms; 41 polls no longer change the ledger version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 00:04:24 +08:00
d-robotics
459bcd072b 🗂️ Add task card for cheap read-only work-buffer polls
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 00:04:24 +08:00
bc17d50508 🔀 Merge PR #60: live release line (reviewer dashboard, review video seconds, delivery v4, dashboard stability) into dev 2026-10-27 22:45:21 +08:00
d-robotics
19e9680aa7 🩹 Keep read-only review footer and fold task diagnostics into each top row
A quality review that loses its edit lease no longer falls through to the
annotator's slice-confirmation bar; it shows its own read-only footer with a
takeover hint. The task-scoped connection-diagnostics link joins the subnav,
work-page or focus-heading row instead of taking a line of its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 22:25:43 +08:00
d-robotics
71cc91b9d7 💄 Polish annotation, review and acceptance workbenches without changing interactions
- Bare `border` utilities rendered near-black under Tailwind v4 inside the
  workbenches; colourless borders now use the panel tone (controls one step
  darker), scoped to .annotation-operations-page.
- Normal review layout: the tall QC side panel no longer stretches the camera
  row and the playback bar; extra height goes to a trailing flexible row.
- Focused review: collapse the 150px column reserved for an action list that
  review never renders.
- Focused acceptance: the side-panel aside rule no longer squeezes the nested
  "current slice / current annotation" panel into overlapping 7px lines.
- Pool cards (annotation and acceptance): capture names wrap after
  underscores instead of mid-word, status badge moves next to the time range,
  9-10px text raised to 11px.
- Light-theme fixes for dark-only leftovers: stage/status chips, refresh and
  sampling buttons, leave-guard and reslice dialogs.
- Refresh icon keeps its own track instead of stretching across a 1fr column.
- Consistent heights, hover feedback and pressed states for the pool toolbar,
  focused review heading and camera toolbar; soft focus ring on workbench roots;
  the unstyled "保存进度" button gets the sibling button style.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 22:25:43 +08:00
d-robotics
850d4fb796 🗂️ Add task card for workbench UI polish
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 22:25:43 +08:00
d-robotics
fe888b0d59 🗂️ Add task card for the branch freshness check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 22:25:34 +08:00
d-robotics
7d53c25615 🧭 Add read-only branch freshness check against origin/dev and live builds
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 22:25:15 +08:00
d-robotics
2715670828 ✨ Show QC and acceptance reviewers on the production output dashboard
The production overview and supplier output pages add QC and acceptance
sections beside annotators in the same card and table style. Reviews
count every formal decision per part, so rework re-reviews count again
and are listed as re-reviews; an aggregate acceptance counts each part
once. Every role gets video hours per person-day as efficiency, and all
durations now display in hours with one decimal.

Work facts are computed once per shared snapshot (schema v2) and only
filtered in memory per query; the loader reads three more identity
fields and no new collections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 18:57:23 +08:00
d-robotics
8a4660d13f ⚡ Index reviews and events by task in reviewer statistics
Acceptance attribution and legacy rejections scanned every review or
event per source; per-task lookups keep the calculation linear as
re-reviews lengthen review history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 18:57:23 +08:00
d-robotics
896289595c 📋 Add task card for reviewer output on the production dashboard
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 18:41:02 +08:00
d-robotics
2840d6692a 💄 Show newer-version review note as neutral status, not a warning
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit c6ddc91b49b688469bfe56386478b96d900863ee)
2026-10-27 16:31:24 +08:00
d-robotics
32e74273ca 🧊 Freeze review video seconds at decision time and fall back to submissions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit b38d10f0ef4d1ac15202923f2c5e8390e66e651c)
2026-10-27 16:30:49 +08:00
d-robotics
d75aae2a96 ✨ Count reviewer output by formal decisions and resolve member roles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit bba61d328712b54225dd2ebc87d344c4f4d9a746)
2026-10-27 16:30:49 +08:00
d-robotics
3da27b5b2f ✨ Add review video seconds for quality and acceptance reviewers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit de92121cb97f458985c5c9e9b03e43e4a25ab028)
2026-10-27 16:30:49 +08:00
d-robotics
d06a3f17d0 ⚡ Stop reviewer work records from joining unrelated tasks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit ca1454bf6a4fb149a4614ef47df3fb66ef77fd06)
2026-10-27 16:30:33 +08:00
d-robotics
fd0a54dfd2 🎞️ Fall back to software decoding when hardware refuses the codec
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 8703a55f4c08df11e7efc86b5bf085da85b144ee)
2026-10-27 16:30:33 +08:00
d-robotics
de96cfc2be 📝 Record the 2026-10-20 internal test lane revision and tickets 06–15
Recovered from uncommitted work in the dev-mainline worktree (written
2026-10-19/20, never committed). Revises ADR 0004 and the spec/map: the
lane verifies annotation → QC → final acceptance only, uses node-local
storage with no BOS credentials, and promotes the same image to
production. Adds the two domain terms and tickets 06–15. Docs only; no
code, configuration or cluster changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 00:09:40 +08:00
d-robotics
b542d71119 🔀 Merge agent branch rules and status script (claude/agent-branch-workflow)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 00:03:53 +08:00
d-robotics
c1fd33f4af 🎨 Add review trace layout prototype for customer review
Squashes b10f843c and 630c180e from codex/review-trace-preview-20261026
(never pushed). The sample task title is replaced with a synthetic name
because the original looked like a real capture identifier. Standalone
HTML with synthetic data: not part of the app build, no API calls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 00:03:53 +08:00
d-robotics
946a319310 📝 Add branch rules, task cards and a status script for parallel agents
One branch per task from origin/dev with a task card, agents push their own
task branches freely, PR creation needs the user's approval, deploy only
commits in dev. scripts/agent_status.py lists every branch against dev and
the newest deployed release across all worktree ledgers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 23:57:00 +08:00
d-robotics
39c80575fd 💄 Polish dashboard and shell: readable POC gates, consistent cards, a11y fixes
In the production overview section, make readiness gates and error banners readable in the light theme, round the success rate, unify card styles and minimum text size; label the sidebar toggle and profile dialog close button, close the dialog on Escape, and pause health polling while the tab is hidden.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 23:38:20 +08:00
d-robotics
ca80637d74 🌐 Show run statuses in Chinese on runs and monitoring tables
Reuse the wording of each page's status filter; the raw status stays available as a tooltip and unknown values fall back to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 23:38:20 +08:00
d-robotics
d263f20f3e 💄 Polish projects, runs, monitoring and POC card: loading state, table layout, theme-aware card
Show a loading message instead of a false empty state on the projects page, keep the runs table from squeezing its columns, format durations over an hour as hours, align stat cards and table text with the dashboard, and let the POC acceptance card follow the app theme.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 23:38:20 +08:00
d-robotics
0184ac60ea 🔧 Limit Vite dependency scan to the app entry
Untracked source copies under local-data/ ship their own index.html and node_modules; scanning them made the dev server load a second React and render a blank page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 23:38:20 +08:00
d-robotics
569b1693a2 🚀 Record approved validator scale-up to 16 slots and raise resident CPU budget to 48
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 19:09:05 +08:00
d-robotics
909c58ced3 📐 Resize validator plan to 16 slots for 100+ concurrent users from measured demand
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 18:55:14 +08:00
d-robotics
b3fd08a5f6 📐 Plan staged validator scale-up with offline-rendered patches and rollback
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:43:43 +08:00
d-robotics
13d104ced6 🎨 Merge review source facts into a compact side-column trace card
Drop the full-width source strip; show source fields, version/return
chips and the latest two transitions in one collapsible card at the top
of the review side column. Record post-release validator capacity evidence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:34:38 +08:00
d-robotics
025896ae1b ⚡ Bound parallel source decoding and release malformed streams promptly 2026-10-26 16:18:58 +08:00
d-robotics
4bc9c9d2c0 🛡️ Add review trace and bound review queue work 2026-10-26 15:44:16 +08:00
d-robotics
9fa631ad1f 🚀 Record dashboard stability production verification 2026-10-26 11:48:13 +08:00
d-robotics
521acce535 🛡️ Harden dashboard history reads, health diagnostics, and release gates 2026-10-26 11:15:57 +08:00
d-robotics
8dff351787 🐛 Bound dashboard history queries and report snapshot failures 2026-10-26 10:48:55 +08:00
d-robotics
44e66a6800 🐛 Enforce unresolved review guard on legacy quality decisions 2026-10-22 20:39:21 +08:00
d-robotics
a374d24c0d 🐛 Fix unresolved rework approval and misleading review feedback 2026-10-22 20:10:39 +08:00
d-robotics
93925d424a 🧪 Correct video recovery route mocks and camera selectors 2026-10-22 15:50:38 +08:00
d-robotics
50f92a77fe 🐛 Fix immediate undo and preserve failed slice edit drafts 2026-10-22 15:22:26 +08:00
1aad402905 🔀 Merge PR #52: reviewed platform integration and permission guards
Reviewed-on: longtao.wu/droboticflow#52
2026-10-22 12:57:14 +08:00
e5387ae5dc 🔀 Merge PR #53: rework permissions and feedback integration
Reviewed-on: longtao.wu/droboticflow#53
2026-10-22 12:55:17 +08:00