refactor(lab): move execution to Worker and manage replay and transfer lifecycles

This commit is contained in:
DCCONSTRUCTIONS
2026-11-10 01:09:39 +03:00
parent cd34b6ce1a
commit fe5900ff3b
101 changed files with 9305 additions and 2256 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM python:3.12-slim-bookworm@sha256:935c3c5b12357a7e10caa9c1e6ca5692344d97cf229832ef584be2cec9fc03df
WORKDIR /opt/nodedc/laboratory
COPY requirements.lock ./requirements.lock
RUN python3 -m pip install --no-cache-dir --require-hashes -r requirements.lock
COPY src ./src
COPY packages/plugin-sdk/python ./plugin
COPY config ./config
ENV PYTHONPATH=/opt/nodedc/laboratory/src:/opt/nodedc/laboratory/plugin \
PYTHONNOUSERSITE=1 PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 \
MISSIONCORE_LAB_RUNTIME_ROLE=worker MISSIONCORE_LAB_RUNTIME_ROOT=/lab \
MISSIONCORE_LAB_CONFIGURATION_ROOT=/opt/nodedc/laboratory/config \
MISSIONCORE_LAB_TOKEN_FILE=/run/secrets/lab-token
RUN python3 -B -c "from k1link.laboratory.worker_server import create_app; assert callable(create_app)"
ARG NODEDC_SOURCE_TREE_SHA256
LABEL com.nodedc.product="mission-core" com.nodedc.stack="laboratory" \
com.nodedc.role="evidence-service" com.nodedc.managed-by="laboratory-deployment-v1" \
com.nodedc.source-tree.sha256="${NODEDC_SOURCE_TREE_SHA256}"
ENTRYPOINT ["python3"]
CMD ["-m", "uvicorn", "k1link.laboratory.worker_server:create_app", "--factory", "--host", "0.0.0.0", "--port", "8080", "--limit-concurrency", "8", "--no-access-log"]
+160
View File
@@ -0,0 +1,160 @@
# Worker LAB service
This deployment moves the existing LAB evidence readers, bounded visualization
preparation and evaluation adapters off the operator. It preserves their API and
viewer contracts. It does not add another scheduler, model-training orchestrator,
or UI. New packaged LAB jobs keep using the installed-package Worker executor.
## Reproducible runtime
`Dockerfile` pins the Python base image by digest; `requirements.lock` pins Python
artifacts and hashes. Build from the repository source, plugin SDK and `config`:
copy `Dockerfile` and `requirements.lock` to a bounded build context containing
`src/`, `packages/plugin-sdk/python/`, and `config/`. Seal a manifest of source
paths, sizes and SHA-256 values; pass its identity as `NODEDC_SOURCE_TREE_SHA256`.
Use the resulting immutable image digest in Compose, not a mutable `latest` tag.
The image has no models, private evidence, host credential or Docker socket.
Configure these deployment bindings, separately from artifact identities:
| Variable | Meaning |
| --- | --- |
| `LAB_IMAGE` | Built `sha256:…` image identity |
| `LAB_RUNTIME` | Existing portable Worker LAB directory, mounted at `/lab` |
| `LAB_ARCHIVE` | Dedicated LAB archive volume, `/lab-archive` |
| `LAB_AI_JOBS` | Admitted AI executor jobs/sources volume, `/ai-jobs` |
| `LAB_TGS_JOBS` | Admitted TGS executor volume, `/tgs-jobs` |
| `LAB_CONFIGURATION` | That release's verified `config/`, mounted read-only at `/lab/config` |
| `LAB_TOKEN_FILE` | Private bearer credential file, mounted read-only |
| `LAB_FFMPEG_ROOT` | Sealed Linux FFmpeg/FFprobe asset tree with `bin/ffmpeg` and `bin/ffprobe` |
| `LAB_PORT` | Host loopback port, default 19087 |
The existing deployment uses the independently verified FFmpeg 7.0.2 asset.
Validate its tree manifest/digests before binding it. It is an external portable
runtime asset, not an implicit host-installed executable. Requalification on a
new CPU/OS requires the matching Linux image/asset architecture.
Run `docker compose -f compose.yaml up -d --pull never` with those bindings.
The service is `ndc-laboratory-evidence` in project `ndc-laboratory`. It runs with a
read-only root, 2 CPU / 4 GiB / 128 PID limits, a 512 MiB tmpfs, dropped
capabilities and rotating logs. It is reachable only on host loopback; the token
is required for health and API calls. Never publish the bearer token in command
arguments or logs. Persist its host file with owner-only access.
## Volume and migration
The existing immutable archive is **not** the mutable working volume. Explicit
one-time materialization uses:
```
python -m k1link.laboratory.materialize_archive --archive /archive --target /lab
```
Run only as Worker with the archive read-only and the intended LAB volume writable.
The module verifies every file and seals `state/materialization.json`. Existing
conflicting files stop migration; they are not overwritten. Resume is by verified
content. The volume remains separate from both source releases and image layers.
For legacy catalogs ordered by mtime, preserve the reviewed original directory
metadata separately; hash-valid contents alone do not preserve result ordering.
Recorded camera preparation uses the existing Worker source CAS, never a Core
fallback. `materialize_recorded_sources` accepts a digest-bound import manifest,
checks source members and prepared-media timelines, and publishes bindings only
after validation. Replacing bindings requires the previous digest. Original
camera archives and accepted operator recordings stay preserved. Ready canonical
RRDs are indexed by `recorded-sources/canonical-recordings.json` and verified before
use. Host filesystem paths are deployment bindings, not source identities.
The legacy evidence volume layout retains `.runtime/compute-*` paths to reuse
validated readers. They are under **Worker `/lab`**, not the operator checkout.
Generated viewing products go to `/lab/presentation`; manual annotations have
separate provenance. No automatic age-based deletion is admitted.
## Operator connection
Core reads `.runtime/mission-core/laboratory-worker-gateway.json`:
```json
{
"schema_version": "missioncore.laboratory-worker-gateway/v1",
"base_url": "http://127.0.0.1:19087",
"token_file": "laboratory-worker.token"
}
```
Keep the credential separate (mode 0600 on POSIX). For a remote Worker use the
existing authenticated SSH alias with a loopback-only forward, or a verified
HTTPS endpoint. Plain remote HTTP, redirects and proxy-environment substitution
are rejected. The Mac managed SSH link uses `com.nodedc.mission-core.laboratory-worker-link`
with bounded logging and automatic reconnect; it does not change VPN/routes.
`install_operator_link.py` writes this versioned binding on macOS. It refuses to
overwrite a different existing definition. Other platforms can provide the same
loopback transport with their service manager; macOS launchd is not baked into
the Worker image.
Core forwards LAB/LiDAR requests and the perception recording/media endpoints.
Transport limits: 8 concurrent requests, 8 MiB request body, 2 GiB response,
5-second connect timeout, 60-second read timeout (360 for bounded RRD preparation).
Range, ETag, compressed points and Rerun headers are preserved. No automatic retry
of writes and no staging of whole responses on Core. Worker unavailable means
503; never run a local reader/model as fallback.
## Acceptance, rollback and lifecycle
1. Verify ownership, immutable archive, camera and supplemental evidence receipts.
2. Start the exact image; authenticate `/health`; compare existing catalog choices.
3. Run `verify_runtime.py` inside the installed container. Its tiny synthetic
clips verify that 20 selected frames stay 20 with correct Rerun timestamps.
4. Verify real camera frames, segmentation video ranges, full RRD transfer and
3D timeline chunks (start/middle/end). Inspect Play/seek in the existing UI.
5. Switch only the canonical Core service. Preserve its data and UI; never start
an alternate Core on another port.
6. Retire only archived local working files whose current hashes still match,
after the previous local process has stopped. Leave changed/unknown files and
all scans/maps/captures/accepted operator recordings. Record actual freed disk.
Rollback selects the previous verified service image/configuration on the same
volume. Do not rollback or overwrite annotations, sources or accepted results.
Keep one verified rollback release; retire only this deployment's superseded
build contexts/images after no container or active task uses them. Never use a
global Docker prune. The archive can restore explicitly selected files if needed.
The 128 GiB restore-admission budget and 40 GiB free reserve are not a hard volume
quota. Existing per-product cache publication budgets apply; exhaustion refuses
new copies rather than evicting recovery data. Active jobs and unknown ownership
block cleanup. Long-term retained experiment growth still requires explicit
retention decisions on Worker. The operator must not become the spillover disk.
## Explicit user deletion
The authenticated `POST /api/v1/laboratory/data-deletions` accepts only opaque
`owner_ids`. `MISSIONCORE_LAB_DELETION_ROOTS` is supplied by Compose, mapping
`lab`, `archive`, `ai`, `tgs` to bound volumes. All bindings must be present.
It inventories only admitted producer layouts, protects references shared with
retained owners, validates paths and deletes owned files. Failed operations are
retryable; receipts in `/lab/state/data-ownership` contain identities/status.
`/lab-archive/deleted-members.json` prevents legacy restore from resurrecting
explicitly deleted results. These are bounded metadata, not retained LAB bytes.
The archive mount is writable only because this service now owns explicit LAB
destruction. There is no age-based archive purge. Generic runtime roots, source
CAS, images, plugins and unrelated datasets are outside the deletion bindings.
The low-disk reserve must not block authorized cleanup itself. Requalification
must cover shared content, interrupted deletion and actual playback of keepers.
## Retiring the fixed LAB V1 agent
`retire_fixed_lab_v1.ps1` is the reviewed one-time migration for the standalone
EoMT+DDRNet agent. Core must first remove its setup from admission and verify that
no old job is active. The script checks the exact predecessor container ID/image,
current modular/TGS agents and absence of a separate scheduled legacy launcher.
It persists a retirement receipt under the supplied runtime root before removal.
It never prunes images, mounts, models, environments or experiment data.
Applied on Worker 006 on 8 November 2026. Do not rerun the predecessor migration
against another container. The active modular builder reads shared model assets
from `k1link.observatory.modular_model_assets`; its legacy promotion CLI is retired.
Rollback of compute admission requires a deliberate versioned registry/runtime
change; do not launch the frozen compatibility fixtures as current configuration.
See `outputs/lab-retirement-transport-20261108/REPORT.md` for IDs and evidence.
+60
View File
@@ -0,0 +1,60 @@
name: ndc-laboratory
services:
evidence:
image: ${LAB_IMAGE:?immutable LAB image required}
container_name: ndc-laboratory-evidence
restart: unless-stopped
read_only: true
init: true
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
cpus: 2
mem_limit: 4g
pids_limit: 128
ports: ["127.0.0.1:${LAB_PORT:-19087}:8080"]
environment:
MISSIONCORE_LAB_FFMPEG: /opt/ffmpeg/bin/ffmpeg
MISSIONCORE_LAB_CONFIGURATION_ROOT: /lab/config
MISSIONCORE_LAB_DELETION_ROOTS: '{"lab":"/lab","archive":"/lab-archive","ai":"/ai-jobs","tgs":"/tgs-jobs"}'
tmpfs: ["/tmp:size=536870912,mode=1777"]
volumes:
- type: bind
source: ${LAB_RUNTIME:?portable LAB volume required}
target: /lab
- type: bind
source: ${LAB_ARCHIVE:?portable LAB archive required}
target: /lab-archive
- type: bind
source: ${LAB_AI_JOBS:?AI job data required}
target: /ai-jobs
- type: bind
source: ${LAB_TGS_JOBS:?TGS job data required}
target: /tgs-jobs
- type: bind
source: ${LAB_CONFIGURATION:?versioned LAB configuration required}
target: /lab/config
read_only: true
- type: bind
source: ${LAB_TOKEN_FILE:?private token required}
target: /run/secrets/lab-token
read_only: true
- type: bind
source: ${LAB_FFMPEG_ROOT:?sealed FFmpeg runtime required}
target: /opt/ffmpeg
read_only: true
logging:
driver: json-file
options: {max-size: "10m", max-file: "2"}
labels:
com.nodedc.product: mission-core
com.nodedc.stack: laboratory
com.nodedc.role: evidence-service
com.nodedc.managed-by: laboratory-deployment-v1
networks:
default:
name: ndc-laboratory
labels:
com.nodedc.product: mission-core
com.nodedc.stack: laboratory
com.nodedc.role: transport
com.nodedc.managed-by: laboratory-deployment-v1
@@ -0,0 +1,74 @@
"""Versioned macOS operator-to-Worker transport binding; dry-run by default."""
from __future__ import annotations
import argparse
import hashlib
import json
import os
import plistlib
import re
import subprocess
import sys
from pathlib import Path
LABEL = "com.nodedc.mission-core.laboratory-worker-link"
def main():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("--worker", required=True, help="Existing SSH configuration alias")
parser.add_argument("--port", type=int, default=19087)
parser.add_argument("--worker-port", type=int, default=19087)
actions = parser.add_mutually_exclusive_group()
actions.add_argument("--apply", action="store_true")
actions.add_argument("--remove", action="store_true")
args = parser.parse_args()
if sys.platform != "darwin":
parser.error("This binding uses macOS launchd; Worker itself is platform-neutral")
if not re.fullmatch(r"[A-Za-z0-9][A-Za-z0-9._-]{0,127}", args.worker):
parser.error("Use an existing SSH alias")
if not all(1024 <= p <= 65535 for p in (args.port, args.worker_port)):
parser.error("Ports must be between 1024 and 65535")
core = Path(__file__).resolve().parents[2]
sys.path.insert(0, str(core / "src"))
from k1link.launchd_logs import bounded_launchd_output, launchd_log_path, prepare_launchd_log
log = launchd_log_path("laboratory-worker-link.log")
document = bounded_launchd_output({
"Label": LABEL,
"ProgramArguments": ["/usr/bin/ssh", "-N", "-T", "-o", "BatchMode=yes",
"-o", "StrictHostKeyChecking=yes", "-o", "ExitOnForwardFailure=yes",
"-o", "ConnectTimeout=10", "-o", "ServerAliveInterval=15",
"-o", "ServerAliveCountMax=3", "-o", "PermitLocalCommand=no",
"-o", "ForwardAgent=no", "-L",
f"127.0.0.1:{args.port}:127.0.0.1:{args.worker_port}", args.worker],
"KeepAlive": True, "RunAtLoad": True, "ThrottleInterval": 15, "ExitTimeOut": 10,
"StandardOutPath": str(log), "StandardErrorPath": str(log),
}, core)
payload = plistlib.dumps(document, sort_keys=True)
path = Path.home() / "Library/LaunchAgents" / (LABEL + ".plist")
if path.is_symlink() or (path.exists() and path.read_bytes() != payload):
raise RuntimeError("Existing link differs; preserve it and review the deployment binding")
target = f"gui/{os.getuid()}/{LABEL}"
if args.remove:
if path.exists():
loaded = subprocess.run(["launchctl", "print", target], capture_output=True)
if loaded.returncode == 0:
subprocess.run(["launchctl", "bootout", target], check=True)
path.unlink()
elif args.apply:
prepare_launchd_log(log)
path.parent.mkdir(parents=True, exist_ok=True)
if not path.exists():
with path.open("xb") as output:
output.write(payload)
path.chmod(0o600)
probe = subprocess.run(["launchctl", "print", target], capture_output=True)
if probe.returncode:
subprocess.run(["launchctl", "bootstrap", f"gui/{os.getuid()}", str(path)], check=True)
print(json.dumps({"label": LABEL, "port": args.port,
"sha256": hashlib.sha256(payload).hexdigest(),
"action": "remove" if args.remove else "apply" if args.apply else "plan"}))
if __name__ == "__main__":
main()
+452
View File
@@ -0,0 +1,452 @@
# This file was autogenerated by uv via the following command:
annotated-doc==0.0.4 \
--hash=sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320 \
--hash=sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4
# via
# fastapi
# typer
annotated-types==0.7.0 \
--hash=sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53 \
--hash=sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89
# via pydantic
anyio==4.14.2 \
--hash=sha256:9f505dda5ac9f0c8309b5e8bd445a8c2bf7246f3ce950121e45ea15bc41d1494 \
--hash=sha256:cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f
# via
# httpx
# starlette
# watchfiles
attrs==26.1.0 \
--hash=sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309 \
--hash=sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32
# via rerun-sdk
bleak==3.0.2 \
--hash=sha256:39092feb9e83f1df5ad2f88e837723c7211c982ce9e9cda6235104bc2ebe0d0d \
--hash=sha256:c2229cb8238d5876b4bd05c74bf7a1aea1f88da39d2e51ac9dfd5cc319d5265f
# via nodedc-mission-core
certifi==2026.7.22 \
--hash=sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775 \
--hash=sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55
# via
# httpcore
# httpx
cffi==2.1.1 ; platform_python_implementation != 'PyPy' \
--hash=sha256:046bfc24911b37851ee1b51aab8bffe713d89c68c6a057b09484ce9fd5f69b4e \
--hash=sha256:208f941bb9d18e768138677f0a6d2ce01f590df56043dda1df1535ac57c88517 \
--hash=sha256:210019b6c7cf07f081b4c54635c8cf744377001350e29cc0f81c4377b4797735 \
--hash=sha256:3143d81e29e1e20a9ce10901ec369012947876596f75a222235965f2b7ae832e \
--hash=sha256:4a7c934f7360e8cd64fe9efadcbd10c7c6364f531e432b9a4bf5ccbc9e0e8b50 \
--hash=sha256:68e62fe11f30d5ca8289242866f0a5291402d8529ca2178ab8afc5c9694ae890 \
--hash=sha256:7bde5e4cc5c10140859842b9d383af292b22639a4dffb725314baf45968cef80 \
--hash=sha256:811bd1e21d32de12efca32393a0ab3f5133b54fce9bd44b8bd77ab07da14bf6a \
--hash=sha256:c1453022f490d2459a11819d83ad1d586e9ff65a12ac3e705ffebd46d3685dcf \
--hash=sha256:c8c69575568085ba0b1b10c0249d779a214aea6f6522e949a0fc9fb0fcb449d0 \
--hash=sha256:dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be \
--hash=sha256:f53e442b08449d42821fa4a4fba000095af9f62742a500f978a9f557ec44339a \
--hash=sha256:f81b3b8f3d4e343550fa4baa0e479bba9f2d29ce9c2e9b51d1ce1718d7442fcf
# via cryptography
click==8.4.2 \
--hash=sha256:9a6cea6e60b17ebe0a44c5cc636d94f09bd66142c1cd7d8b4cd731c4917a15f6 \
--hash=sha256:e6f9f66136c816745b9d65817da91d61d957fb16e02e4dcd0552553c5a197b76
# via uvicorn
colorama==0.4.6 ; sys_platform == 'win32' \
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
# via
# click
# typer
cryptography==46.0.7 \
--hash=sha256:128c5edfe5e5938b86b03941e94fac9ee793a94452ad1365c9fc3f4f62216832 \
--hash=sha256:1d25aee46d0c6f1a501adcddb2d2fee4b979381346a78558ed13e50aa8a59067 \
--hash=sha256:24402210aa54baae71d99441d15bb5a1919c195398a87b563df84468160a65de \
--hash=sha256:35719dc79d4730d30f1c2b6474bd6acda36ae2dfae1e3c16f2051f215df33ce0 \
--hash=sha256:397655da831414d165029da9bc483bed2fe0e75dde6a1523ec2fe63f3c46046b \
--hash=sha256:420b1e4109cc95f0e5700eed79908cef9268265c773d3a66f7af1eef53d409ef \
--hash=sha256:42a1e5f98abb6391717978baf9f90dc28a743b7d9be7f0751a6f56a75d14065b \
--hash=sha256:462ad5cb1c148a22b2e3bcc5ad52504dff325d17daf5df8d88c17dda1f75f2a4 \
--hash=sha256:506c4ff91eff4f82bdac7633318a526b1d1309fc07ca76a3ad182cb5b686d6d3 \
--hash=sha256:5ad9ef796328c5e3c4ceed237a183f5d41d21150f972455a9d926593a1dcb308 \
--hash=sha256:5d1c02a14ceb9148cc7816249f64f623fbfee39e8c03b3650d842ad3f34d637e \
--hash=sha256:5e51be372b26ef4ba3de3c167cd3d1022934bc838ae9eaad7e644986d2a3d163 \
--hash=sha256:73510b83623e080a2c35c62c15298096e2a5dc8d51c3b4e1740211839d0dea77 \
--hash=sha256:7bbc6ccf49d05ac8f7d7b5e2e2c33830d4fe2061def88210a126d130d7f71a85 \
--hash=sha256:84d4cced91f0f159a7ddacad249cc077e63195c36aac40b4150e7a57e84fffe7 \
--hash=sha256:8a469028a86f12eb7d2fe97162d0634026d92a21f3ae0ac87ed1c4a447886c83 \
--hash=sha256:91bbcb08347344f810cbe49065914fe048949648f6bd5c2519f34619142bbe85 \
--hash=sha256:935ce7e3cfdb53e3536119a542b839bb94ec1ad081013e9ab9b7cfd478b05006 \
--hash=sha256:9694078c5d44c157ef3162e3bf3946510b857df5a3955458381d1c7cfc143ddb \
--hash=sha256:a1529d614f44b863a7b480c6d000fe93b59acee9c82ffa027cfadc77521a9f5e \
--hash=sha256:abad9dac36cbf55de6eb49badd4016806b3165d396f64925bf2999bcb67837ba \
--hash=sha256:b36a4695e29fe69215d75960b22577197aca3f7a25b9cf9d165dcfe9d80bc325 \
--hash=sha256:cbd5fb06b62bd0721e1170273d3f4d5a277044c47ca27ee257025146c34cbdd1 \
--hash=sha256:cdf1a610ef82abb396451862739e3fc93b071c844399e15b90726ef7470eeaf2 \
--hash=sha256:cdfbe22376065ffcf8be74dc9a909f032df19bc58a699456a21712d6e5eabfd0 \
--hash=sha256:d23c8ca48e44ee015cd0a54aeccdf9f09004eba9fc96f38c911011d9ff1bd457 \
--hash=sha256:e4cfd68c5f3e0bfdad0d38e023239b96a2fe84146481852dffbcca442c245aa5 \
--hash=sha256:ea42cbe97209df307fdc3b155f1b6fa2577c0defa8f1f7d3be7d31d189108ad4 \
--hash=sha256:f247c8c1a1fb45e12586afbb436ef21ff1e80670b2861a90353d9b025583d246
# via nodedc-mission-core
dbus-fast==5.0.22 ; sys_platform == 'linux' \
--hash=sha256:34dc67d7d21a12399828dd13e63b352750580beea54ea7c729e708f2d2905fef \
--hash=sha256:4ffcf16034f71a801bd2108aeffb6337d104c9459e8b1a218d16a917c8a2d2e9 \
--hash=sha256:7d1c42963235cfc015a2d2b8c5fe42b65387493b4ad4ce0ec122601c805e6742 \
--hash=sha256:855f15b7f7805171da2b82de1c317d01cfbb9fb8ac61fcc1e8dec54d8c69fab7 \
--hash=sha256:8f0bcad7f71d2304a68a5b0bc0d24c3fcc14710a2ffcf5f2a27521e3aece71ca \
--hash=sha256:98de6d2c200d8182e1fd0bdde3206fa556b8fa14ebb752a044cd8daa87b4658c \
--hash=sha256:b013437b66dc22b8d9aca5e0b0d46bf1980208a143409469fe482d9684a2a717 \
--hash=sha256:f72b77be63f7bb24cf42936ad10994d40f43fed691f857f7854b5882d6a5227c
# via bleak
fastapi==0.139.0 \
--hash=sha256:99ab7b2d92223c76d6cf10757ab3f89d45b38267fc20b2a136cf02f6beac3145 \
--hash=sha256:cf15e1e9e667ddb0ad63811e60bd11390d1aac838ca4a7a23f421807b2308189
# via nodedc-mission-core
foxglove-sdk==0.25.3 \
--hash=sha256:139bb1f2ae284673ecb17a1b47955989a58ab3a8639c1fd0f6d3f3afbbbd0fda \
--hash=sha256:18d7dd5e61afc65163438b858a70bec3a30126de1664a97358d4403e20db5eb1 \
--hash=sha256:2dbdef29d2b6115bbbc478f309ac4937fb8765b42681537db99a15282ebaac6f \
--hash=sha256:32f1066401c37538d478b4a8ecaaae4e9dd019f9f75d3ef47494bfe7d4273dee \
--hash=sha256:3d9e671be05e7539a99d84dbd254581616f7ebae8ee8430766788dd6093d58a3 \
--hash=sha256:510c7fe47c45428e9d76eddfae1b9966b7976819a3a194a00f7e8d0f4b3eacc3 \
--hash=sha256:9667615b342651b3960dd82e6a8403678c1fc701799bf0b28e41be0392eb507d \
--hash=sha256:a2a1716cade8a9dd842df18f7b1306a9931fa114f485fc552fc14c44ddba8351 \
--hash=sha256:ac881ae307ba432766e6141d9098ced2059838226d225fbeb20de1c57d782a9f \
--hash=sha256:bcc894b88188d8169973cfbb1370300f671760adea9d6e9447e5a03b2289527d \
--hash=sha256:d88faf89da6da3d904b6aa1371b809f4d9dcabb8981fcedcfafccdf07b200a49 \
--hash=sha256:dcdcb054c198e892ac271c88e685e292d1ef8f1f21a14e2d3a9de5988474e60a \
--hash=sha256:e00cdb87d0a1623cd60a66f7fd531bf492164433e313d4c7f77cb42fdd613420
# via nodedc-mission-core
h11==0.16.0 \
--hash=sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1 \
--hash=sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86
# via
# httpcore
# uvicorn
httpcore==1.0.9 \
--hash=sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55 \
--hash=sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8
# via httpx
httptools==0.8.0 \
--hash=sha256:425f83884fd6343828d8c565f046cb72b6d19063f6924093e11bcd8e1548cd09 \
--hash=sha256:5931891fb7b441b8a3853cf1b85c82c903defce084dd5f6771ca46e31bf862c5 \
--hash=sha256:6b2a32f18d97e16e90827d7a819ffa8dbd8cc245fc4e1fa9d1095b54ef4bd999 \
--hash=sha256:880490234c10f70a9830743097e8958d6e4b9f5a0ffc24515023afeef984054d \
--hash=sha256:a1afd7c9fbff0d9f5d489c4ce2768bd09c84a46ddefc7161e6aa82ae35c85745 \
--hash=sha256:b15fc622b0f869d19207c4089a501d9bcc63ca5e071ffdd2f03f922df882dcb2 \
--hash=sha256:cd96f29b4bab1d42fa6e3d008711c75e0f79e94e06827330160e3a304227f150 \
--hash=sha256:ef7c3c97f4311c7be57e2986629df89d49cb434dbff78eafcd48c2bff986b15a
# via uvicorn
httpx==0.28.1 \
--hash=sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc \
--hash=sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad
# via nodedc-mission-core
idna==3.18 \
--hash=sha256:7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2 \
--hash=sha256:ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848
# via
# anyio
# httpx
lz4==4.4.5 \
--hash=sha256:214e37cfe270948ea7eb777229e211c601a3e0875541c1035ab408fbceaddf50 \
--hash=sha256:24092635f47538b392c4eaeff14c7270d2c8e806bf4be2a6446a378591c5e69e \
--hash=sha256:2c3ea562c3af274264444819ae9b14dbbf1ab070aff214a05e97db6896c7597e \
--hash=sha256:5f0b9e53c1e82e88c10d7c180069363980136b9d7a8306c4dca4f760d60c39f0 \
--hash=sha256:6d0bf51e7745484d2092b3a51ae6eb58c3bd3ce0300cf2b2c14f76c536d5697a \
--hash=sha256:713a777de88a73425cf08eb11f742cd2c98628e79a8673d6a52e3c5f0c116f33 \
--hash=sha256:7b62f94b523c251cf32aa4ab555f14d39bd1a9df385b72443fd76d7c7fb051f5 \
--hash=sha256:a88cbb729cc333334ccfb52f070463c21560fca63afcf636a9f160a55fac3301 \
--hash=sha256:df5aa4cead2044bab83e0ebae56e0944cc7fcc1505c7787e9e1057d6d549897e
# via nodedc-mission-core
markdown-it-py==4.2.0 \
--hash=sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49 \
--hash=sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a
# via rich
mdurl==0.1.2 \
--hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \
--hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba
# via markdown-it-py
numpy==2.5.1 \
--hash=sha256:08d60c810432eb83360958dea0999ac4cfb94531ea8efcbf0b7f277c2068aeb2 \
--hash=sha256:17a25e09640602e10bc8de0e6fa2b3fd68eedd84ba6d7842dc8f32f9ab87bd0b \
--hash=sha256:2ae0ca40bcb22d6ba59c1dfd5446f49940b0f2d821fde133f10dda11f816b84e \
--hash=sha256:2c889b56fe48b1018f764b0eec8df59ab654e9148aa91faa12596043500de277 \
--hash=sha256:59fda5e192b570217ec2580c96f00e9a7e12ef6866a900eb089b62c1a32545ca \
--hash=sha256:61ac47e772e6b8ea489e1d2f441a34c5c3ac17327e7ce294cbdf535795ad4e75 \
--hash=sha256:78798bd5b9ad744056af8efa90e3b9ddaa53272a0848a483084a1cc0a13b2dc0 \
--hash=sha256:a48a113e6afea91f5608793bafa7ef2ad481fefbda87ec5069f483de61cb9fa3 \
--hash=sha256:ab451b59c5643c570974c43aef780703ef1d3b4965d2be07afd530615a9358d1 \
--hash=sha256:e824c2acf8862052246be5a44c15da1777940c60d010dd2aab897824d9c430f9 \
--hash=sha256:f7119ebff1a9829e9f431a4f9d28e703023bb6b9fe7c8f724467dbfc27c94ab3 \
--hash=sha256:f7d60026c0bdb1380e83bfa7a0419c4577ee4b9a08880afcb6dadeb74c649fa2
# via rerun-sdk
paho-mqtt==2.1.0 \
--hash=sha256:12d6e7511d4137555a3f6ea167ae846af2c7357b10bc6fa4f7c3968fc1723834 \
--hash=sha256:6db9ba9b34ed5bc6b6e3812718c7e06e2fd7444540df2455d2c51bd58808feee
# via nodedc-mission-core
pillow==12.3.0 \
--hash=sha256:0dd2064cbc55aaec028ef5fbb60fa47bb6c3e7918e07ff17935284b227a9d2df \
--hash=sha256:331b624368d4f1d069149002f25f44bc61c8919ce8ddb3c45bdad8f6e2d89510 \
--hash=sha256:3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce \
--hash=sha256:78cb2c6865a35ab8ff8b75fd122f6033b92a62c82801110e48ddd6c936a45d91 \
--hash=sha256:a2b55dd6b2a4c4b7d87ffa56bdb33fdc5fdb9a462173861a7bc097f17d91cb09 \
--hash=sha256:ba09209fbe443b4acccebe845d8a138b89a8f4fbaeedd44953490b5315d5e965 \
--hash=sha256:d9c7f76c0673154f044e9d78c8655fb4213f6ca31a836df48b40fe5d187717b9 \
--hash=sha256:dbce0b29841537a2fa4a214c2bbf14de3587c9680caa9b4e217568472490b28f \
--hash=sha256:e491916b378fba47242221bb9ead245211b70d504f495d105d17b14a24b4907c \
--hash=sha256:ffd0c5368496f41b0944be820fcb7a838aa6e623d250b01acf2643939c3f99d7
# via
# nodedc-mission-core
# rerun-sdk
psutil==7.2.2 \
--hash=sha256:0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372 \
--hash=sha256:076a2d2f923fd4821644f5ba89f059523da90dc9014e85f8e45a5774ca5bc6f9 \
--hash=sha256:1a7b04c10f32cc88ab39cbf606e117fd74721c831c98a27dc04578deb0c16979 \
--hash=sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee \
--hash=sha256:b0726cecd84f9474419d67252add4ac0cd9811b04d61123054b9fb6f57df6e9e \
--hash=sha256:b58fabe35e80b264a4e3bb23e6b96f9e45a3df7fb7eed419ac0e5947c61e47cc \
--hash=sha256:eb7e81434c8d223ec4a219b5fc1c47d0417b12be7ea866e24fb5ad6e84b3d988 \
--hash=sha256:ed0cace939114f62738d808fdcecd4c869222507e266e574799e9c0faa17d486 \
--hash=sha256:fd04ef36b4a6d599bbdb225dd1d3f51e00105f6d48a28f006da7f9822f2606d8
# via rerun-sdk
pyarrow==25.0.0 \
--hash=sha256:0721332c30fdd453fdd1fc203b2ac1f4c9db5aea28fa38d41f2574c4b068b9ec \
--hash=sha256:149730a3d1f0fb59d663a0b8aa210adfd9c17c27cd94a0d143e60daea8320d4e \
--hash=sha256:20887a762dd61dcc530f93a140840ab1f6aa7836b33270e42d627ab3cf11e537 \
--hash=sha256:3f356afe61186395c861d5cd63dc21ff7d5fa335012a4668d979257df7fea0f5 \
--hash=sha256:58d1ab556b0cea1c93fdb799b24ad58adb2f2a2788dbce782a94f64ae1a5cc9b \
--hash=sha256:5d1dbf24e151042f2fa3c129563f65d66674128868496fb008c4272b16bdf778 \
--hash=sha256:d2d697008b5ec06d75952ef260c2e9a8a0f6ccfce24266c04c9c8ade927cb3b4 \
--hash=sha256:fa1482b3da10cac2d4db6e26b81da543e237616af2ef6d466018b31ca586496f
# via rerun-sdk
pycparser==3.0 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy' \
--hash=sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29 \
--hash=sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992
# via cffi
pydantic==2.13.4 \
--hash=sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba \
--hash=sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6
# via
# fastapi
# missioncore-plugin-sdk
pydantic-core==2.46.4 \
--hash=sha256:00c603d540afdd6b80eb39f078f33ebd46211f02f33e34a32d9f053bba711de0 \
--hash=sha256:1d8ba486450b14f3b1d63bc521d410ec7565e52f887b9fb671791886436a42f7 \
--hash=sha256:3009f12e4e90b7f88b4f9adb1b0c4a3d58fe7820f3238c190047209d148026df \
--hash=sha256:3245406455a5d98187ec35530fd772b1d799b26667980872c8d4614991e2c4a2 \
--hash=sha256:3a233125ac121aa3ffba9a2b59edfc4a985a76092dc8279586ab4b71390875e7 \
--hash=sha256:4fc73cb559bdb54b1134a706a2802a4cddd27a0633f5abb7e53056268751ac6a \
--hash=sha256:56cb4851bcaf3d117eddcef4fe66afd750a50274b0da8e22be256d10e5611987 \
--hash=sha256:5b712b53160b79a5850310b912a5ef8e57e56947c8ad690c227f5c9d7e561712 \
--hash=sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1 \
--hash=sha256:8233f2947cf85404441fd7e0085f53b10c93e0ee78611099b5c7237e36aacbf7 \
--hash=sha256:8d0820e8192167f80d88d64038e609c31452eeca865b4e1d9950a27a4609b00b \
--hash=sha256:926c9541b14b12b1681dca8a0b75feb510b06c6341b70a8e500c2fdcff837cce \
--hash=sha256:9401557acd873c3a7f3eb9383edef8ac4968f9510e340f4808d427e75667e7b4 \
--hash=sha256:962ccbab7b642487b1d8b7df90ef677e03134cf1fd8880bf698649b22a69371f \
--hash=sha256:9aa768456404a8bf48a4406685ac2bec8e72b62c69313734fa3b73cf33b3a894 \
--hash=sha256:ad785e92e6dc634c21555edc8bd6b64957ab844541bcb96a1366c202951ae526 \
--hash=sha256:b2f69dec1725e79a012d920df1707de5caf7ed5e08f3be4435e25803efc47458 \
--hash=sha256:c68fcd102d71ea85c5b2dfac3f4f8476eff42a9e078fd5faefff6d145063536b \
--hash=sha256:e9c26f834c65f5752f3f06cb08cb86a913ceb7274d0db6e267808a708b46bc89 \
--hash=sha256:fbdb89b3e1c94a30cc5edfce477c6e6a5dc4d8f84665b455c27582f211a1c72c
# via pydantic
pygments==2.20.0 \
--hash=sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f \
--hash=sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176
# via rich
pyobjc-core==12.2.1 ; sys_platform == 'darwin' \
--hash=sha256:7a7b9b018402342cf32bf1956366896350fbe5c0478cb3ef59778f77abed7f07 \
--hash=sha256:a64232bb27ed101d4adc7d42b0e64a6d3331aac7bee7861c037a6777a163f10b
# via
# bleak
# pyobjc-framework-cocoa
# pyobjc-framework-corebluetooth
# pyobjc-framework-libdispatch
pyobjc-framework-cocoa==12.2.1 ; sys_platform == 'darwin' \
--hash=sha256:28b9b8bab1c36efb94744786918752d0c1842f5fbb67e7d5ca97b5f736512080 \
--hash=sha256:b94b37fe5730e5ae1fb0052912cd174e6ec329b0bfba4a012ae5db1014b5864b
# via
# pyobjc-framework-corebluetooth
# pyobjc-framework-libdispatch
pyobjc-framework-corebluetooth==12.2.1 ; sys_platform == 'darwin' \
--hash=sha256:2f8d2ed65c0e98ba044b6a7fc2f9a290a5c579a28d33a57c642f8617ccbcca0f \
--hash=sha256:7dbb285295097205bebbcb11f55161e5faa02111108fb7b17536176e31971eb0
# via bleak
pyobjc-framework-libdispatch==12.2.1 ; sys_platform == 'darwin' \
--hash=sha256:0d24eda41c6c258135077f60d410e704bc7b5a67adcb2ca463918896c7363795 \
--hash=sha256:8f41b5021ff70bc51220a79b41ebd1eacb55fe3ceb67448594f30e491a2c42a5
# via bleak
python-dotenv==1.2.2 \
--hash=sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a \
--hash=sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3
# via uvicorn
pyyaml==6.0.3 \
--hash=sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea \
--hash=sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b \
--hash=sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c \
--hash=sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd \
--hash=sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196 \
--hash=sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e \
--hash=sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28 \
--hash=sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5 \
--hash=sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc \
--hash=sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f \
--hash=sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0
# via
# nodedc-mission-core
# uvicorn
rerun-sdk==0.36.3 \
--hash=sha256:287059b7154bf3881f5b32035f5772d0556d55a0a894650fb74a2605fb39afbe \
--hash=sha256:804067d6e71747f8461104988be82543b318b583a2837935558a5e79a5e9befd \
--hash=sha256:954d8980e15e71245ac91ba7120bbaeb624df2bd7a47bbbb8856fd45174d2521 \
--hash=sha256:f84441a3e1d1d679f6fe5a319cac86ccc3992f8f88bfa72517f76d8b45bf066c
# via nodedc-mission-core
rich==14.3.4 \
--hash=sha256:07e7adb4690f68864777b1450859253bed81a99a31ac321ac1817b2313558952 \
--hash=sha256:817e02727f2b25b40ef56f5aa2217f400c8489f79ca8f46ea2b70dd5e14558a9
# via
# nodedc-mission-core
# typer
shellingham==1.5.4 \
--hash=sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686 \
--hash=sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de
# via typer
starlette==1.3.1 \
--hash=sha256:05d0213193f2fbaae60e2ecb593b4add4262ad4e46536b54abe36f11a71724e0 \
--hash=sha256:c7372aae11c3c3f26a42df7bd626cec2f47d03483d261d369516a615a53714c6
# via fastapi
typer==0.26.8 \
--hash=sha256:3512ca79ac5c11113414b36e80281b872884477722440691c89d1112e321a49c \
--hash=sha256:c244a6bd558886fe3f8780efb6bdd28bb9aff005a94eedebaa5cb32926fe2f7e
# via nodedc-mission-core
typing-extensions==4.16.0 \
--hash=sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 \
--hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5
# via
# anyio
# fastapi
# pydantic
# pydantic-core
# rerun-sdk
# starlette
# typing-inspection
# winrt-runtime
typing-inspection==0.4.2 \
--hash=sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7 \
--hash=sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464
# via
# fastapi
# pydantic
uvicorn==0.51.0 \
--hash=sha256:5d38af6cd620f2ae3849fb44fd4879e0890aa1febe8d47eb355fb45d93fe6a5b \
--hash=sha256:f6f4b69b657c312f516dd2d268ab9ae6f254b11e4bac504f37b2ab58b24dd0b0
# via nodedc-mission-core
uvloop==0.22.1 ; platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32' \
--hash=sha256:512fec6815e2dd45161054592441ef76c830eddaad55c8aa30952e6fe1ed07c0 \
--hash=sha256:51eb9bd88391483410daad430813d982010f9c9c89512321f5b60e2cddbdddd6 \
--hash=sha256:6c84bae345b9147082b17371e3dd5d42775bddce91f885499017f4607fdaf39f \
--hash=sha256:700e674a166ca5778255e0e1dc4e9d79ab2acc57b9171b79e65feba7184b3370 \
--hash=sha256:7b5b1ac819a3f946d3b2ee07f09149578ae76066d70b44df3fa990add49a82e4 \
--hash=sha256:e047cc068570bac9866237739607d1313b9253c3051ad84738cbb095be0537b2 \
--hash=sha256:fe94b4564e865d968414598eea1a6de60adba0c040ba4ed05ac1300de402cd42
# via uvicorn
watchfiles==1.2.0 \
--hash=sha256:2581a94056e55d7d0a31a823ea92bf73749c489ca2285bfdc0fbe6b2bb49d50c \
--hash=sha256:2995c176de7692b86a2e4c58d9ec718f753150a979cb4a754e2b4ffa38e70906 \
--hash=sha256:2cb93af48550faf1cea04c303107c8b75833de7013e57ce27d3b8d21d8d0f58c \
--hash=sha256:2d95ddc1eb6914154253d239089900813f6a767e174b8e6a50e7fdacb7e4236c \
--hash=sha256:41bc1199f7523b3f82843c88cbb979180c949caef0342cf90968f178e5d49b01 \
--hash=sha256:56d8641cf834c2836922899105bd3ce3d0dfc69291d52edf0b4d0436829b34c0 \
--hash=sha256:7571e4464cb6e434958f867f7f730b8ab0b75e3f8e5eac0499168486ab3c33a8 \
--hash=sha256:7a2cffd17d27d2ecbb310c2b1d8174f222a5495b1a721894afa88ec11e25b898 \
--hash=sha256:8f70d8b291ef6e88d19b1f297a6905ddb978888d9272b0d05e6f53309856bcfc \
--hash=sha256:8fa585ede612ee9f9e91b18bebf9ba11b9ae29a4e3a0d0cf6fca3e382133f0d5 \
--hash=sha256:bc13eb17538be00c874699dc0abe4ee2bc8d50bb1166a6b9e175ef3fd7eb8f26 \
--hash=sha256:c995fba777f1ea992f090f9236e9284cf7a5d1a0130dd5a3d82c598cacd76838 \
--hash=sha256:d20029a60a71a052a24c4db7673bc4de39ab89adbaccbfb5d67987c5d73f424d \
--hash=sha256:e53a384f76b631c3ae5334ce6a52f0baa3a911eb94a4eac7f160079868b716d5 \
--hash=sha256:f155b3a1b2a5fc89cdc70d47ee5d54e3b75e88efa34982028a35daef9ba00379
# via uvicorn
websockets==16.1 \
--hash=sha256:0352f5b38b40e857b6428d468fa21dbb4dd4a567d933c26d9831b4efe1b92f43 \
--hash=sha256:0c64c024ddf7a35331b21fcddb562a039c275d2c82e8c2d12939e7da23997270 \
--hash=sha256:299468cbe42e2b9981134c7c51d99387d8a7bf562b00183b3eec53f882846dad \
--hash=sha256:2bd3e12cd9afbe2baedae0b1eeade8ba64329b60fe2f9abdc966bd10fd2c2ef5 \
--hash=sha256:353f3bc6e058ac1ccab4b3588e8598837a8c04cfc8351233e6d523be675d844c \
--hash=sha256:35f41979c8623df9bd30d949d82010a8fda5c56ff12cd8508a5b7272b6d4b53a \
--hash=sha256:4e969170c3b08e1d8dabd990fef1fa702c4233aeaabec33f871806e444f6a0e4 \
--hash=sha256:6852c9f653966c16109d3b6f31181fd734f7914927e3f0fa1117af7a18c9aa21 \
--hash=sha256:70bd789afab579602968c39f21cb925466505f3edff22f0ae852bca54978a4f9 \
--hash=sha256:a24d1f35aef07d794a16c853c688e74956c50239bec37b4f2de080056046419b \
--hash=sha256:a58532c49a851bcb481e58c1be23b315c17fe2fbbed509d75aeea12f543d2c15 \
--hash=sha256:b43fcfb521ac2f34ba80b7b8ea16303e4ad82dd8af667bf40839ad3a5d37b164 \
--hash=sha256:b6aa3f7ad345cf3862c21f4fbf2ef5e14d911348476c2845e137c091fe3a3f0b \
--hash=sha256:b9f5d83f80f4d7c4bba6d97f3755ac05850c784dce0fd2ab371c4e41172f53ff \
--hash=sha256:c14b6634af01541e4efe2954fd8f263386f7aa6d37c01e55dd8109fd17661452 \
--hash=sha256:c3e99757f5baafe20fc598e202ea6f5b0b265186ad38d0a17bd8beca16296955 \
--hash=sha256:c5149dfe490ec7e5ee5dbf624c642fb725f93a5575c7f00ab594ca9eddb8dd81 \
--hash=sha256:d0fb4b46f121eccd539353baebd1083a8767a9a351109453d1d1caecd1ba40c2 \
--hash=sha256:ff9b000064b88787ba9f7a3cb2af2b68a658ca5aad76458a46469e7124b678a0
# via uvicorn
winrt-runtime==3.2.1 ; sys_platform == 'win32' \
--hash=sha256:06510db215d4f0dc45c00fbb1251c6544e91742a0ad928011db33b30677e1576 \
--hash=sha256:14562c29a087ccad38e379e585fef333e5c94166c807bdde67b508a6261aa195 \
--hash=sha256:762b3d972a2f7037f7db3acbaf379dd6d8f6cda505f71f66c6b425d1a1eae2f1 \
--hash=sha256:c8dca19e12b234ae6c3dadf1a4d0761b51e708457492c13beb666556958801ea
# via
# bleak
# winrt-windows-devices-bluetooth
# winrt-windows-devices-bluetooth-advertisement
# winrt-windows-devices-bluetooth-genericattributeprofile
# winrt-windows-devices-enumeration
# winrt-windows-devices-radios
# winrt-windows-foundation
# winrt-windows-foundation-collections
# winrt-windows-storage-streams
winrt-windows-devices-bluetooth==3.2.1 ; sys_platform == 'win32' \
--hash=sha256:18c833ec49e7076127463679e85efc59f61785ade0dc185c852586b21be1f31c \
--hash=sha256:419fd1078c7749119f6b4bbf6be4e586e03a0ed544c03b83178f1d85f1b3d148 \
--hash=sha256:9b6702c462b216c91e32388023a74d0f87210cef6fd5d93b7191e9427ce2faca \
--hash=sha256:db496d2d92742006d5a052468fc355bf7bb49e795341d695c374746113d74505
# via bleak
winrt-windows-devices-bluetooth-advertisement==3.2.1 ; sys_platform == 'win32' \
--hash=sha256:0223852a7b7fa5c8dea3c6a93473bd783df4439b1ed938d9871f947933e574cc \
--hash=sha256:447d19defd8982d39944642eb7ebe89e4e20259ec9734116cf88879fb2c514ff \
--hash=sha256:901933cc40de5eb7e5f4188897c899dd0b0f577cb2c13eab1a63c7dfe89b08c4 \
--hash=sha256:e6c66e7d4f4ca86d2c801d30efd2b9673247b59a2b4c365d9e11650303d68d89
# via bleak
winrt-windows-devices-bluetooth-genericattributeprofile==3.2.1 ; sys_platform == 'win32' \
--hash=sha256:8d4e131cf3d15fc5ad81c1bcde3509ac171298217381abed6bdf687f29871984 \
--hash=sha256:cdf6ddc375e9150d040aca67f5a17c41ceaf13a63f3668f96608bc1d045dde71 \
--hash=sha256:db05de95cd1b24a51abb69cb936a8b17e9214e015757d0b37e3a5e207ddceb3d \
--hash=sha256:ef894d21e0a805f3e114940254636a8045335fa9de766c7022af5d127dfad557
# via bleak
winrt-windows-devices-enumeration==3.2.1 ; sys_platform == 'win32' \
--hash=sha256:1db22b0292b93b0688d11ad932ad1f3629d4f471310281a2fbfe187530c2c1f3 \
--hash=sha256:2853d687803f0dd76ae1afe3648abc0453e09dff0e7eddbb84b792eddb0473ca \
--hash=sha256:a73bc88d7f510af454f2b392985501c96f39b89fd987140708ccaec1588ceebc \
--hash=sha256:df316899e39bfc0ffc1f3cb0f5ee54d04e1d167fbbcc1484d2d5121449a935cf
# via bleak
winrt-windows-devices-radios==3.2.1 ; sys_platform == 'win32' \
--hash=sha256:4c28822f9251c9d547324f596b5c2581f050254ded05e5b786c650a3502744c1 \
--hash=sha256:4dc9b9d1501846049eb79428d64ec698d6476c27a357999b78a8331072e18a0b \
--hash=sha256:a116e552a3f38607b9be558fb2e7de9b4450d1f9080069944d74d80cdda1873e \
--hash=sha256:c3e683ce682338a5a5ed465f735e223ba7a22f16d0bbea2d070962bc7657edbb
# via bleak
winrt-windows-foundation==3.2.1 ; sys_platform == 'win32' \
--hash=sha256:45550c5b6c2125cde495c409633e6b1ea5aa1677724e3b95eb8140bfccbe30c9 \
--hash=sha256:867642ccf629611733db482c4288e17b7919f743a5873450efb6d69ae09fdc2b \
--hash=sha256:94f4661d71cb35ebc52be7af112f2eeabdfa02cb05e0243bf9d6bd2cafaa6f37 \
--hash=sha256:ad2f1fcaa6c34672df45527d7c533731fdf65b67c4638c2b4aca949f6eec0656
# via bleak
winrt-windows-foundation-collections==3.2.1 ; sys_platform == 'win32' \
--hash=sha256:0eff1ad0d8d763ad17e9e7bbd0c26a62b27215016393c05b09b046d6503ae6d5 \
--hash=sha256:15704eef3125788f846f269cf54a3d89656fa09a1dc8428b70871f717d595ad6 \
--hash=sha256:550dfb8c82fe74d9e0728a2a16a9175cc9e34ca2b8ef758d69b2a398894b698b \
--hash=sha256:810ad4bd11ab4a74fdbcd3ed33b597ef7c0b03af73fc9d7986c22bcf3bd24f84
# via bleak
winrt-windows-storage-streams==3.2.1 ; sys_platform == 'win32' \
--hash=sha256:040cb94e6fb26b0d00a00e8b88b06fadf29dfe18cf24ed6cb3e69709c3613307 \
--hash=sha256:476f522722751eb0b571bc7802d85a82a3cae8b1cce66061e6e758f525e7b80f \
--hash=sha256:77c1f0e004b84347b5bd705e8f0fc63be8cd29a6093be13f1d0869d0d97b7d78 \
--hash=sha256:e4508ee135af53e4fc142876abbf4bc7c2a95edfc7d19f52b291a8499cacd6dc
# via bleak
+52
View File
@@ -0,0 +1,52 @@
param(
[Parameter(Mandatory=$true)][string]$ExpectedContainerId,
[Parameter(Mandatory=$true)][string]$RuntimeRoot,
[switch]$QueueConfirmedIdle,
[switch]$Apply
)
# One-time migration; does not prune images, model assets, sources or named volumes.
# Caller first removes V1 from Core admission and verifies no active V1 jobs.
$ErrorActionPreference = 'Stop'
$name = 'ndc-observatory-installed-lab-worker-agent'
$image = 'sha256:bfdc94ae51906cf327901951f3e03e5f9d3a2d9692593f93e16170235adbcf7a'
$old = (docker inspect $name | ConvertFrom-Json)[0]
if ($LASTEXITCODE -ne 0 -or $old.Id -ne $ExpectedContainerId -or $old.Image -ne $image) {
throw 'Fixed LAB container identity changed; refusing migration'
}
$kept = @()
foreach ($current in @('ndc-mission-core-observatory-ai-agent','ndc-observatory-m49-worker-agent')) {
$c = (docker inspect $current | ConvertFrom-Json)[0]
if ($LASTEXITCODE -ne 0 -or -not $c.State.Running) { throw 'Current agent unavailable' }
$kept += @{name=$current; id=$c.Id; image=$c.Image}
}
$tasks = @(Get-ScheduledTask | Where-Object {
($_.Actions.Arguments -join ' ') -match 'observatory-installed-labs|installed-lab-worker-agent'
})
if ($tasks.Count -gt 0) { throw 'Separate fixed LAB launcher found; review required' }
if (-not (Test-Path -LiteralPath $RuntimeRoot -PathType Container)) { throw 'Runtime root absent' }
$record = @{
schema_version='missioncore.fixed-lab-retirement/v1'
retired_setup='lab-v1-eomt-ddrnet-portable-v1'
name=$name; id=$old.Id; image=$old.Image
kept_agents=$kept
preserved='All model/runtime assets, images, source and result volumes'
applied=$false
}
if ($Apply) {
if (-not $QueueConfirmedIdle) { throw 'Core queue idle check required' }
$folder=Join-Path $RuntimeRoot 'retirements'
New-Item -ItemType Directory -Force -Path $folder | Out-Null
$receipt=Join-Path $folder 'fixed-lab-v1-20261108.json'
$record | ConvertTo-Json -Depth 8 | Set-Content -LiteralPath $receipt -Encoding UTF8
docker stop --time 30 $name | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Stop failed' }
docker rm $name | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Removal failed' }
foreach ($current in $kept) {
$c=(docker inspect $current.name | ConvertFrom-Json)[0]
if ($c.Id -ne $current.id -or -not $c.State.Running) { throw 'Current agent changed' }
}
$record.applied=$true
$record | ConvertTo-Json -Depth 8 | Set-Content -LiteralPath $receipt -Encoding UTF8
}
$record | ConvertTo-Json -Depth 8 -Compress
+63
View File
@@ -0,0 +1,63 @@
"""Bounded installed-runtime check; run inside the Worker container."""
import json
import os
import subprocess
import tempfile
from pathlib import Path
import rerun as rr
from k1link.compute.integrated_perception import _camera_proxy_file
from k1link.laboratory.execution_authority import WorkerLaboratoryAuthority
def main():
authority = WorkerLaboratoryAuthority.from_environment()
if authority is None:
raise RuntimeError("Worker-only verification")
ffmpeg = Path(os.environ["MISSIONCORE_LAB_FFMPEG"])
with tempfile.TemporaryDirectory(prefix="lab-video-check-") as scratch:
root = Path(scratch)
for rate in [15, 30]:
source = root / f"source-{rate}.mp4"
subprocess.run(
[
str(ffmpeg),
"-v",
"error",
"-f",
"lavfi",
"-i",
f"testsrc2=size=64x64:rate={rate}",
"-frames:v",
"30",
"-c:v",
"libx264",
"-threads",
"1",
str(source),
],
check=True,
timeout=20,
)
proxy = _camera_proxy_file(source, 3, 22, ffmpeg, root)
stamps = rr.AssetVideo(path=proxy).read_frame_timestamps_nanos()
if len(stamps) != 20 or any(
abs(int(t) - i * 100_000_000) > 1_000_000 for i, t in enumerate(stamps)
):
raise RuntimeError("Selected video frames or timestamps changed")
print(
json.dumps(
{
"input_rate": rate,
"selected_frames": len(stamps),
"playback_rate": 10,
"verified": True,
}
)
)
if __name__ == "__main__":
main()