340 Commits

Author SHA1 Message Date
d-robotics
d8a8530cda 🛡️ Gate API release on processor rollout readiness 2026-10-15 18:28:29 +08:00
d-robotics
4fdecd8e07 🛡️ retro F2: release check --local refuses images without a linux/amd64 manifest entry (arm64-only wedge prevention) 2026-10-14 10:44:16 +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
89dac9c612 🔧 A: seed demo batches with raw_human profile so the action rail renders on both sides
Acceptance finding (ticket 09 scope 5): the QC review view showed no action rail —
and neither did the annotator side. Root cause was NOT a review-phase render gate:
continuousActionsForItem derives task.continuousActions from
batch.processingProfile === raw_human + the three-role stage list, and the seeded
ise-demo(-b) batches never set the profile, so the workbench gate
continuousActions && phase === annotate was false everywhere.

- seed: perCapture.batch now carries processingProfile: raw_human (stages already
  matched IsFanyuV58ThreeRoleHumanLoop).
- new static test pins the demo-data contract (ise-demo-seed.test.mjs).
- live stack patched in-place (db.humanBatches updateMany on ise-demo-batch /
  ise-demo-b-batch) so the user's in-flight acceptance progress is preserved.
2026-10-14 02:41:18 +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
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
5c713eda86 🎬 10: one-command demo fixture seed + scenario walkthrough doc 2026-10-13 16:40:57 +05:30
d-robotics
4d2946f137 🔧 build: pass GOPROXY through to docker buildx as build-arg
Default proxy.golang.org is unreachable from some networks; the env value
now flows into the Dockerfile ARG (goproxy.cn mirror used for this
release build). No behavior change when GOPROXY is unset.
2026-10-13 06:48:29 +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
da446d13b5 ⚡ Fix slow page loading: static gzip, list pagination, auth cache, dashboard aggregation, video direct link
- C1/S3: build-time precompressed .gz served by spaHandler (writeBundle plugin), motion-vendor chunk rule fix
- C3/S1: /api/runs default cursor pagination (byte-compatible), /api/human-items limit/cursor + Mongo projection + filter pushdown
- C2/S5: in-process principal TTL cache (45s) with full invalidation paths; /api/users limit+q with org isolation
- C4/S2: dashboard counter pushdown ($group/CountDocuments), 45s response/snapshot caches, production stats snapshot cache
- C5: BOS presigned direct-link video preview (307) with background pre-transcode, /tmp cache TTL+LRU, gzip bypass, sync=1 rollback
- S4/S6: POC readiness point queries, human-batches GET no longer writes (60s sweeper), admin ops page N+1 fan-out removed
- Fixes found en route: BSON cursor self-reference recursion, backfill loop cursor advance, supplier cascade session flush
- Frontend: nextCursor passthrough (human-loop/users), acceptance pool no longer truncated at 500

Co-authored-by: AgentTeams slow-page-fix
2026-10-09 17:45:27 -07:00
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
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
7a98233bf0 🛠️ Add capture reprocess batch helper script 2026-10-08 03:30:38 -07:00
d-robotics
7099eefd33 🛠️ Reconcile release records and clean up review test leases 2026-09-29 18:41:21 -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
d-robotics
a2aad99de2 🛡️ Add resumable Fanyu release workflow and deployment guards 2026-09-26 07:30:35 -07:00
d-robotics
c5cdd6c1da 🔀 Sync production video playback fixes into local workspace
# Conflicts:
#	scripts/deploy-envs/fanyu.env
2026-09-26 05:28:14 -07:00
d-robotics
1a7eb3bfb3 🩹 Keep Fanyu slice processing in a bounded external worker 2026-09-24 12:43:29 +08:00
d-robotics
6728d0febb 🩹 Stabilize Fanyu frame source fingerprints 2026-09-23 11:49:56 +08:00
d-robotics
ff03fa8c14 🔐 Enable session auth for Fanyu web access 2026-09-23 10:56:40 +08:00
d-robotics
f34e372fe9 🛠️ Point Fanyu deployments to the live Mongo database 2026-09-23 10:39:12 +08:00
eust-w
6bc3127228 🔧 Route dev deployments to Fanyu 2026-09-22 01:26:15 +08:00
d-robotics
024dfd0133 🛡️ Verify snapshot chunks before restore and isolate temporary cleanup 2026-09-18 10:49:30 +08:00
d-robotics
54a35afad9 🔒 Require environment credentials for remote acceptance scripts 2026-09-18 01:25:30 +08:00
d-robotics
9947631b32 🧪 Record persisted annotation history acceptance 2026-09-17 22:43:20 +08:00
d-robotics
c895712124 🧪 Record continuous slicing acceptance and stereo fixtures 2026-09-17 21:17:00 +08:00
d-robotics
9b0fdd419f 🧪 Record authoritative edit acceptance and local fixtures 2026-09-17 21:00:09 +08:00
d-robotics
3d581f0b4a 🛡️ Make repo self-contained: AGENTS.md rewrite, local-data migration, credential externalization 2026-09-17 19:33:15 +08:00
d-robotics
839883ff89 🛡️ Remove hardcoded BOS credentials from download script (read from env/csv instead) 2026-09-17 19:21:34 +08:00
d-robotics
f7d8e550ba fix(local): wire artifacts+inputBindings to local workspace for frame timeline and dual-eye video 2026-09-17 19:17:54 +08:00
d-robotics
fa5ddf58aa Add capture download + local wiring scripts for real-data annotation testing 2026-09-17 19:17:54 +08:00
d-robotics
55bc79c31c fix(local): enforce session auth in snapshot env so login panel works (align with cluster) 2026-09-17 19:17:54 +08:00
d-robotics
671ac7adce Add mongo snapshot fetch/restore toolkit (chunked pull, sha256-verified) 2026-09-17 19:17:54 +08:00
d-robotics
8369b7e951 Restore local dev toolkit (recovered after working copy loss)
- scripts/local/env-local.sh + run-operator.sh (verified working again)
- local-samples for json_to_csv + video_slice
- docs/local-dev-guide.zh-CN.md + docs/release-checklist.zh-CN.md
2026-09-17 19:17:54 +08:00
eust-w
cc0202d40d ⚡ Persist frame indices and isolate resumable annotation processing 2026-09-17 18:40:06 +08:00
eust-w
7f688a3bc1 🐛 Backfill missing employee suppliers before automatic project enrollment 2026-09-14 20:55:16 +08:00
eust-w
add1b0e7ac 🔒 Fix employee supplier ownership at creation and simplify membership routing 2026-09-14 15:47:44 +08:00
eust-w
d2e43bd60c ✅ fix(acceptance): enhance transport retries and ensure segment description in full e2e test 2026-09-03 10:28:10 +08:00
eust-w
11d90fce19 🚀 configure default AI settings in poc deployment preset 2026-09-03 07:28:41 +08:00
eust-w
779e7e9e98 🔒 Enforce supplier scope in bulk member updates 2026-09-02 11:58:38 +08:00
eust-w
864f748bd6 🐛 Finish Capture-first UI and resilient acceptance 2026-09-01 04:40:58 +08:00
eust-w
03f9419f8c 🚀 Run Fanyu pose services on demand 2026-09-01 04:02:18 +08:00
eust-w
95fb898407 🧪 Align Fanyu acceptance with Capture sampling 2026-09-01 00:56:54 +08:00
eust-w
48398fc040 🐛 Reuse uploaded Kaniko contexts safely 2026-08-31 21:59:06 +08:00
eust-w
1eb1eb754a ✨ Upgrade Fanyu Capture production flow 2026-08-31 21:25:47 +08:00
eust-w
566802093e 🐛 Wait for Fanyu Capture selector options 2026-08-31 16:47:46 +08:00
eust-w
b7eb013782 🐛 Stabilize Fanyu browser acceptance selectors 2026-08-31 14:42:10 +08:00