- 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>
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>
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>
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>
- 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>