forked from longtao.wu/droboticflow
✨ Enforce operator release manifests and AI lifecycle
This commit is contained in:
parent
316b493dba
commit
d99ebf1045
@ -82,7 +82,7 @@ Drobodata is a workflow orchestration platform for embodied AI and vision pipeli
|
||||
- `npm run acceptance:xplatform`: X-platform operator-chain acceptance against an explicit real dataset; requires `XPLATFORM_SOURCE_PATH`, explicit `XPLATFORM_RULES_JSON`, all `XPLATFORM_MIN_*` counts, quality/slicing thresholds, and a storage connection selector when the source or upload path is `bos://...`; count and segment values must be exact safe positive integers
|
||||
- `python3 scripts/wjzh_operator_regression.py --preflight-only`: preflight the production-style WJZH real-data operator regression against a live API; requires explicit `SOURCE_PATH`, `UPLOAD_ROOT_PREFIX`, storage connection selector, target video filenames, route/filter values, real Robotics dataset paths, incremental seed metadata, quality thresholds, video timing, and `SAMPLING_RULES_JSON`; integer timing values must be exact safe positive integers
|
||||
|
||||
Builtin operator metadata is declared once in `internal/api/builtin_operators_catalog.json`. The API embeds and validates that catalog before seeding `/api/operators`, while `scripts/generate_operator_docs.py` defaults to that same local catalog and only contacts a live API when `--api-base-url` is provided. Runtime deployment fields such as the active operator-runner image are injected at startup or reconciliation time.
|
||||
Builtin operator source is organized under `operator-repos/builtin/<slug>/`. Each directory has an `operator.json` contract and a committed `release.json` release manifest. The release manifest is the production image truth: it records the digest-pinned CCR image, source commit, source tree hash, environment release evidence, and acceptance evidence. `repository.json` and `internal/api/builtin_operators_catalog.json` are generated from `operator.json + release.json`; changing only the catalog or only the generated repository manifest is blocked by `npm run operators:manifests:check` and `npm run operators:images:check`. Reconciliation updates live builtin operators from the current environment entry in `release.json` and uses registry lookup only to verify that the digest still exists.
|
||||
|
||||
The Python operator-runner keeps missing optional hyperparams on catalog defaults, but explicit invalid overrides fail the node instead of silently falling back. JSON hyperparams such as `EXPECTED_JSON`, `FIELD_MAP_JSON`, `RULES_JSON`, and `SOURCE_STATE_JSON` must parse as valid JSON. Field maps must be JSON objects with non-empty string source/destination fields and cannot collapse or overwrite output fields; source-state checkpoints must contain valid string fingerprints and exact positive integer directory depth; sampling rules must be JSON arrays whose rules include `id`, `field`, `operator`, `value`, and finite numeric `(0, 100]` `samplePercent` values; boolean `samplePercent` values are rejected instead of being coerced to `1` or `0`. Comparison operators must be supported, boolean hyperparams such as `REQUIRE_INTRINSICS` accept only explicit true/false spellings, source `DATA_SOURCE` accepts only `INLINE`, `LOCAL`, `BOS`, or `UPSTREAM` when present, `SCAN_MODE` accepts only `FULL` or `INCREMENTAL` when present, `INCREMENTAL_UNIT` accepts only `OBJECT` or `DIRECTORY` when present, and `SEGMENT_DURATION_SECONDS` / `INCREMENTAL_DIRECTORY_DEPTH` must be exact safe positive integers.
|
||||
|
||||
@ -131,7 +131,7 @@ Explicit startup values are validated before API/worker startup, before Kubernet
|
||||
|
||||
Development and acceptance entrypoints resolve API endpoints through shared helpers instead of each script carrying its own localhost default. Node/Vite entrypoints use `scripts/lib/service-endpoints.mjs`, Python operational scripts use `scripts/lib/droboticflow_env.py`, and shell wrappers use `scripts/lib/service-endpoints.sh`. `BASE_URL` is accepted by browser-oriented acceptance scripts, while deployment/reconcile wrappers preserve `API_BASE_URL` as their primary environment variable. Explicit endpoint values must be absolute `http://` or `https://` URLs so malformed values fail before Vite, curl, Playwright, or urllib requests are attempted. Browser-side `VITE_API_BASE_URL` follows the same rule, with the empty value reserved for same-origin API requests.
|
||||
|
||||
The frontend never reads the AI key directly. Workflow generation and operator generation are proxied through the Go API so secrets stay on the server side.
|
||||
The frontend never reads the AI key directly. Workflow generation and operator generation are proxied through the Go API so secrets stay on the server side. AI-generated operators use an explicit publication lifecycle: `draft -> built -> verified -> published`. Generated drafts can be saved and exercised only in sandbox workflows; production workflows, templates, runs, and AI workflow generation accept only published AI operators with repository, digest, fixture, test, and acceptance evidence.
|
||||
The settings page can update K8s access details, the worker defaults, the global `timezone`, `provider`, `baseURL`, `model`, and the server-side AI key. `GET /api/settings` only returns whether secrets exist via `k8s.hasKubeconfig` / `ai.hasAPIKey`; it does not echo plaintext kubeconfig or API keys back to the browser. When session auth is required, `/api/settings`, `/api/users`, database browser routes, object-storage management routes, Mongo connection tests, and external business-DB token management are organization-admin surfaces; creating a user or setting a password requires a non-blank password value, user names cannot be blank, and account status must be `active` or `disabled`. Business roles are modeled around embodied-AI data production: `admin` owns organization/system governance, `pipeline_engineer` owns operators/templates/workflow design and AI-assisted generation, `data_operator` owns project execution, run control, production monitoring, and storage browsing, `qa_reviewer` owns workflow audit decisions and post-package sampling acceptance, and `compliance_auditor` is read-only for monitoring, data assets, and audit traceability. Legacy `operator` and `auditor` users remain accepted for migration compatibility. Project mutations reject blank names and unknown statuses; project status must be `active` or `archived`. Workflow and template mutations reject blank names and unknown metadata enum values before persistence. Operator mutations reject blank metadata, unknown operator/port enum values, duplicate port IDs, and invalid resource defaults before persistence. Reusable storage/Mongo connection list/get routes and workflow storage browse helpers require admin, pipeline engineer, data operator, or legacy operator role so workflow editors and production operators can select real connections without exposing connection or bucket metadata to reviewers. Creating, updating, deleting, or testing connections remains admin-only. Model-backed AI generation requires admin, pipeline engineer, or legacy operator role. Non-admin pages use `/api/public/settings`, which exposes only `timezone`, and users can update only their own sidebar `name` / `email` through `/api/users/me`. Worker polling and concurrency values are positive-integer gated in the browser, the shared settings payload builder, and the API, so values such as `0`, `1.5`, `60s`, or blank strings fail instead of being ignored. Default CPU/MEM resource values are trimmed and validated as positive Kubernetes resource quantities when settings are saved, and default GPU must be a positive integer when present. Timestamps in the UI are rendered in the configured IANA timezone with compact minute-level formatting for cards, lists, and summaries, while logs keep finer granularity when needed. OSS-related bucket and path settings belong on OSS operators in workflows, not in the global system settings page. Scan workflows can now reference reusable BOS storage connections via `scanConfig.connectionId`, so endpoint and AK/SK are stored once in `/api/storage/connections` and resolved by the API/worker at preview and execution time instead of being duplicated into each workflow; if a scan config or connection omits endpoint, both API preview and worker execution use the validated `BOS_ENDPOINT` startup value when it is set, otherwise real BOS requests fail with an explicit missing-endpoint error.
|
||||
|
||||
The API now includes a cookie-session account foundation for organization-based access. Auth endpoints cover bootstrap, login, logout, current session, and super-admin organization/user management. Existing local deployments remain compatible by default; public LoadBalancer deploys require `DROBOTICFLOW_REQUIRE_SESSION_AUTH=true` so browser business APIs keep role checks. Session-authenticated unsafe requests, including logout, use a double-submit `droboticflow_csrf` cookie plus `X-Droboticflow-CSRF-Token` header. Browser JSON, object-storage preview, and multipart object upload requests share the same credentials and CSRF header path; object-storage preview byte-count headers are accepted only when they are exact safe non-negative integers. Worker control endpoints under `/worker-api` require an admin, pipeline engineer, data operator, or legacy operator session, or an API token when session auth is not enforced. Bundled acceptance and reconcile scripts can log in with `DROBOTICFLOW_ACCEPTANCE_EMAIL` / `DROBOTICFLOW_ACCEPTANCE_PASSWORD` and will send CSRF headers on writes. Do not embed `DROBOTICFLOW_API_TOKEN` into frontend builds; it is intended for machine-to-machine calls only.
|
||||
|
||||
@ -2,9 +2,9 @@
|
||||
|
||||
本文档回答一个非常具体的问题:
|
||||
|
||||
平台已经支持 `POST /api/ai/operators/generate` 生成算子定义,那么怎样把这份 AI 输出变成一篇可维护、可验收、可长期留存的正式 Markdown 文档?
|
||||
平台已经支持 `POST /api/ai/operators/generate` 生成算子定义,那么怎样把这份 AI 输出变成一个可维护、可验收、可长期留存的正式算子?
|
||||
|
||||
结论是:不要直接把 AI 返回结果当最终文档,而是把它当第一版元数据草稿。
|
||||
结论是:不要直接把 AI 返回结果当正式实现,而是把它当第一版元数据和协议草稿。AI 生成算子默认是 `draft`,只能进入沙盒 workflow;只有走完 `draft -> built -> verified -> published` 生命周期后,才能进入生产 workflow。
|
||||
|
||||
## 1. AI 输出能解决什么
|
||||
|
||||
@ -19,11 +19,22 @@ AI 生成接口最适合做三件事:
|
||||
- 真实运行时依赖确认
|
||||
- 大文件/大 JSON 的数据路径设计
|
||||
- 幂等和外部副作用设计
|
||||
- 领域业务逻辑实现
|
||||
- Docker 镜像构建和 CCR digest 发布
|
||||
- 真实 fixture、单测、workflow 验收证据
|
||||
- 真实工作流验收
|
||||
|
||||
AI 生成的脚手架会标记:
|
||||
|
||||
- `generationSource: "ai"`
|
||||
- `publicationStatus: "draft"`
|
||||
- `runtimeContract.implementationStatus: "draft-requires-real-logic"`
|
||||
|
||||
这类算子不会被 AI workflow 生成器用于生产 workflow,也不能在生产画布中保存或运行。需要验证草稿时,先把 workflow 切换到 `sandbox`。
|
||||
|
||||
## 2. 推荐流程
|
||||
|
||||
### 第一步:先拿 AI 生成结构化定义
|
||||
### 第一步:生成 draft 草稿
|
||||
|
||||
请求示例:
|
||||
|
||||
@ -42,8 +53,10 @@ AI 生成接口最适合做三件事:
|
||||
- `outputs`
|
||||
- `hyperparams`
|
||||
- `skillDefinition`
|
||||
- `publicationStatus: "draft"`
|
||||
- `generationSource: "ai"`
|
||||
|
||||
### 第二步:人工补齐缺失信息
|
||||
### 第二步:实现真实代码并进入 built
|
||||
|
||||
AI 输出之后,必须人工核对至少五件事:
|
||||
|
||||
@ -53,7 +66,39 @@ AI 输出之后,必须人工核对至少五件事:
|
||||
4. 镜像、依赖和资源要求是否明确
|
||||
5. 失败模式和验收方式是否清楚
|
||||
|
||||
### 第三步:生成第一版 Markdown
|
||||
达到 `built` 至少需要:
|
||||
|
||||
- 独立代码仓库或算子目录
|
||||
- 可追溯 commit
|
||||
- Dockerfile
|
||||
- CCR image tag
|
||||
- `publicationEvidence.repositoryURL`
|
||||
- `publicationEvidence.repositoryCommit`
|
||||
- `publicationEvidence.image`
|
||||
|
||||
### 第三步:完成 verified 验证
|
||||
|
||||
达到 `verified` 至少需要:
|
||||
|
||||
- digest-pinned `imageId`
|
||||
- 真实 fixture checksum
|
||||
- 单测或验收命令
|
||||
- 输入输出 artifact 契约验证
|
||||
|
||||
平台会检查 `publicationEvidence.imageId` 必须包含 `@sha256:`,不能只填 tag。
|
||||
|
||||
### 第四步:完成 published 发布
|
||||
|
||||
达到 `published` 至少需要:
|
||||
|
||||
- 已满足 `verified`
|
||||
- 至少一次真实 workflow run 证据
|
||||
- `publicationEvidence.acceptanceWorkflowId`
|
||||
- `publicationEvidence.acceptanceRunId`
|
||||
|
||||
生产 workflow、生产模板、workflow 运行、AI workflow 自动生成只允许使用 `published` 的 AI 算子。`draft`、`built`、`verified` 都只能在 `sandbox` 中验证。
|
||||
|
||||
### 第五步:生成第一版 Markdown
|
||||
|
||||
如果你已经拿到了单个 operator JSON,可以直接运行:
|
||||
|
||||
@ -73,7 +118,7 @@ python3 scripts/generate_operator_docs.py --input-json /path/to/generated-operat
|
||||
|
||||
- `docs/custom-operators/instances/`
|
||||
|
||||
### 第四步:把生成稿改成“正式文档”
|
||||
### 第六步:把生成稿改成“正式文档”
|
||||
|
||||
生成稿只是基于元数据自动铺开的第一版,你还需要补:
|
||||
|
||||
@ -89,14 +134,14 @@ python3 scripts/generate_operator_docs.py --input-json /path/to/generated-operat
|
||||
- [自定义算子实现模板](./templates/自定义算子实现模板.md)
|
||||
- [自定义算子验收模板](./templates/自定义算子验收模板.md)
|
||||
|
||||
### 第五步:注册并回归
|
||||
### 第七步:注册并回归
|
||||
|
||||
当文档和实现都达到可维护标准,再去:
|
||||
|
||||
- 算子管理页注册
|
||||
- 或者通过 `/api/operators` 创建
|
||||
|
||||
然后至少完成一次真实工作流回归。
|
||||
然后至少完成一次真实工作流回归,并把对应 project/workflow/run 证据写回 `publicationEvidence`。
|
||||
|
||||
## 3. 生成稿最常见的问题
|
||||
|
||||
@ -151,7 +196,16 @@ python3 scripts/generate_operator_docs.py --input-json /path/to/generated-operat
|
||||
|
||||
如果一篇文档答不完这八个问题,它通常还不能算正式可维护文档。
|
||||
|
||||
## 5. 推荐配套物
|
||||
## 5. 发布状态边界
|
||||
|
||||
| 状态 | 允许进入生产 workflow | 允许进入沙盒 workflow | 最低证据 |
|
||||
| --- | --- | --- | --- |
|
||||
| `draft` | 否 | 是 | AI 生成元数据、协议草稿 |
|
||||
| `built` | 否 | 是 | repo、commit、Dockerfile、CCR image tag |
|
||||
| `verified` | 否 | 是 | digest imageId、fixture checksum、测试命令 |
|
||||
| `published` | 是 | 是 | verified 证据和真实 workflow run 证据 |
|
||||
|
||||
## 6. 推荐配套物
|
||||
|
||||
每个正式自定义算子,建议同时保留:
|
||||
|
||||
|
||||
@ -233,7 +233,7 @@ http://<node-ip>:30080
|
||||
- Session-authenticated unsafe requests, including logout, require `X-Droboticflow-CSRF-Token` to match the readable `droboticflow_csrf` cookie. The bundled frontend sets this header automatically.
|
||||
- `IMAGE_TAG` defaults to the current git short SHA in build, deploy, and render scripts only when explicit registry coordinates are configured. Set it explicitly for release names or rollback-friendly tags.
|
||||
- `scripts/live-workflow-acceptance.sh` requires `WORKFLOW_ACCEPTANCE_SOURCE_PATH`, a real path visible to operator-runner Jobs. The `真实数据源` runner infers filesystem/PVC paths as `LOCAL` and `bos://bucket/prefix` paths as `BOS`; if no real source is configured, the source node fails instead of emitting an empty manifest. Set `WORKFLOW_ACCEPTANCE_REQUIRE_EXPLICIT_ENDPOINT=true` for deployed-environment workflow acceptance so missing `BASE_URL` / `API_BASE_URL` fails instead of falling back to localhost. The script can exercise session-authenticated deployments when `DROBOTICFLOW_ACCEPTANCE_EMAIL` and `DROBOTICFLOW_ACCEPTANCE_PASSWORD` are set; it logs in, persists cookies, and sends the CSRF header on write requests.
|
||||
- `scripts/reconcile-system-data.sh` delegates to `scripts/reconcile_system_data.py` and uses the same protected-client behavior. Set `DROBOTICFLOW_API_TOKEN` for token-protected APIs when session auth is not enforced. For public session-auth deployments, set `DROBOTICFLOW_ACCEPTANCE_EMAIL` and `DROBOTICFLOW_ACCEPTANCE_PASSWORD` to an organization admin account because the reconcile flow updates settings, users, templates, and operators. Builtin operators are read from the live `/api/operators` catalog and refreshed to `OPERATOR_RUNNER_IMAGE`; the script does not carry a separate builtin catalog. POC acceptance routes are narrower: `/api/acceptance/poc-operator-result` accepts the shared `DROBOTICFLOW_API_TOKEN` under session auth because it only writes fixed POC acceptance run artifacts, and `/api/acceptance/poc-gpu-workflow` only creates a bounded GPU-preflight workflow/run under the configured workspace mount. Normal project/workflow/settings writes still require a user session.
|
||||
- `scripts/reconcile-system-data.sh` delegates to `scripts/reconcile_system_data.py` and uses the same protected-client behavior. Set `DROBOTICFLOW_API_TOKEN` for token-protected APIs when session auth is not enforced. For public session-auth deployments, set `DROBOTICFLOW_ACCEPTANCE_EMAIL` and `DROBOTICFLOW_ACCEPTANCE_PASSWORD` to an organization admin account because the reconcile flow updates settings, users, templates, and operators. Builtin operators are read from the live `/api/operators` catalog and refreshed to the digest-pinned CCR image declared in `operator-repos/builtin/<slug>/release.json` for the target environment; registry lookup only verifies that the committed digest still exists. POC acceptance routes are narrower: `/api/acceptance/poc-operator-result` accepts the shared `DROBOTICFLOW_API_TOKEN` under session auth because it only writes fixed POC acceptance run artifacts, and `/api/acceptance/poc-gpu-workflow` only creates a bounded GPU-preflight workflow/run under the configured workspace mount. Normal project/workflow/settings writes still require a user session.
|
||||
- `scripts/object-storage-acceptance.mjs` runs browser create, preview, rename, upload, delete, and optional video playback checks against a live storage connection. It never rewrites storage connection metadata; provide `OBJECT_STORAGE_CONNECTION_ID`, `OBJECT_STORAGE_CONNECTION_NAME`, or `OBJECT_STORAGE_BUCKET` explicitly. `OBJECT_STORAGE_ACCEPTANCE_PAYLOAD_FILE` is required and must point to a non-empty real UTF-8 text or JSON payload used for create/upload/preview checks; set `OBJECT_STORAGE_ACCEPTANCE_CONTENT_TYPE` when auto-detection is not enough. Set `OBJECT_STORAGE_VIDEO_KEY` only when an existing playable object should be validated. `PLAYWRIGHT_IGNORE_HTTPS_ERRORS` must be an explicit boolean spelling when set. The script supports `DROBOTICFLOW_API_TOKEN` for token-protected non-session APIs and `DROBOTICFLOW_ACCEPTANCE_EMAIL` / `DROBOTICFLOW_ACCEPTANCE_PASSWORD` for session-authenticated browser access; session-auth object-storage management checks require an organization admin account.
|
||||
- `scripts/playwright-preview-operators-check.mjs` runs browser/operator preview acceptance with caller-supplied payloads and real source paths. Provide `PREVIEW_CHECK_CSV_PAYLOAD_FILE`, `PREVIEW_CHECK_TEXT_PAYLOAD_FILE`, `PREVIEW_CHECK_JSON_PAYLOAD_FILE`, `PREVIEW_CHECK_JSON_EXTRACT_FIELD`, `PREVIEW_CHECK_JSON_FILTER_FIELD`, `PREVIEW_CHECK_JSON_FIELD_MAP_JSON`, `PREVIEW_CHECK_SCAN_SOURCE_PATH`, `PREVIEW_CHECK_ROSBAG_SOURCE_PATH`, and `PREVIEW_CHECK_LEROBOT_SOURCE_PATH`. The script no longer generates built-in CSV/text/JSON/ROSBag/LeRobot data. Optional `PREVIEW_CHECK_SCAN_MIN_FILES` must be an exact safe positive integer.
|
||||
- `scripts/xplatform-live-acceptance.py` runs the X-platform chain only when the caller provides the real source path plus explicit acceptance criteria. Provide `XPLATFORM_RULES_JSON`, all `XPLATFORM_MIN_*` counts, finite normalized `XPLATFORM_MIN_CLARITY`, `XPLATFORM_MAX_SHAKE`, and `XPLATFORM_MAX_HAND_OCCLUSION`, finite positive `XPLATFORM_CLARITY_SCALE` and `XPLATFORM_FRAME_INTERVAL_SECONDS`, and exact safe positive integer values for `XPLATFORM_SEGMENT_DURATION_SECONDS` and every `XPLATFORM_MIN_*` count; the script has no built-in sampling rule or threshold fallback.
|
||||
|
||||
@ -361,7 +361,7 @@ scripts/configure-poc-dcloud-secret.sh
|
||||
|
||||
The script also accepts `DCLOUD_FAT_AUTH_TOKEN`/`DCLOUD_API_TOKEN` or `DCLOUD_FAT_COOKIE`/`DCLOUD_COOKIE` instead of username/password. When username/password auth is used, set `DCLOUD_FAT_SIGNIN_URL` for SSO-hosted FAT login endpoints such as `https://sso-fat.d-robotics.cc/api/signin`; otherwise the runtime falls back to `${DCLOUD_FAT_BASE_URL}/${DCLOUD_FAT_SIGNIN_ENDPOINT:-/api/signin}`. JWT-style auth tokens are decoded locally and rejected when the `exp` claim is missing, invalid, or already expired. The script writes canonical secret keys through `kubectl apply -f -` without placing secret values in kubectl command-line arguments. Use `POC_DCLOUD_SECRET_DRY_RUN=true scripts/configure-poc-dcloud-secret.sh` to validate the configured key set without printing values or touching the cluster.
|
||||
|
||||
Every builtin operator directory also carries a local repository manifest at `backend/operators/builtin/<slug>/repository.json`. Regenerate the manifests with `npm run operators:manifests` after catalog or runtime metadata changes, and enforce drift checks with `npm run operators:manifests:check`. Each manifest records the operator entrypoint, runtime dependencies, strict POC external requirements, optional external API source/route metadata, and the no-mock/no-simulation/no-hardcoded-output acceptance policy. The POC acceptance Job promotes this static check into top-level `operatorRepository*` evidence fields, and the platform import gate refuses a `fullExternalAcceptance=true` payload when repository coverage is incomplete or policy violations are present. A strict full POC acceptance run must include `bos,mongo`; D-Cloud FAT API operators are intentionally absent from the current builtin catalog.
|
||||
Every builtin operator directory carries a local release manifest at `operator-repos/builtin/<slug>/release.json` and a generated repository manifest at `operator-repos/builtin/<slug>/repository.json`. The release manifest is the production image truth: it records the digest-pinned CCR image, source commit, source tree hash, environment release evidence, and acceptance evidence. Regenerate repository manifests with `npm run operators:manifests` after contract changes, and enforce drift checks with `npm run operators:manifests:check` plus `npm run operators:images:check`. These checks require every builtin operator to have a matching `release.json`, require `release.json.imageId == repository.json.imageId == catalog.imageId`, and fail when the operator source tree changes without a refreshed release manifest. The POC acceptance Job promotes this static check into top-level `operatorRepository*` evidence fields, and the platform import gate refuses a `fullExternalAcceptance=true` payload when repository coverage is incomplete or policy violations are present. A strict full POC acceptance run must include `bos,mongo`; D-Cloud FAT API operators are intentionally absent from the current builtin catalog.
|
||||
|
||||
The POC static operator-layout check derives the builtin operator count from the deployed runner image's `backend/operators/builtin/*/operator.json` files. It fails when no builtin metadata exists, when any operator lacks `repository.json`, when repository manifests do not match their paired metadata, or when builtin operator IDs/names are duplicated. Do not add fixed operator-count assertions to the acceptance Job; adding or removing a real builtin operator should update the catalog, metadata, generated repository manifest, docs, and tests together.
|
||||
|
||||
@ -428,9 +428,9 @@ export DROBOTICFLOW_ACCEPTANCE_PASSWORD=<admin-password>
|
||||
API_BASE_URL=http://<node-ip>:30080 ./scripts/reconcile-system-data.sh
|
||||
```
|
||||
|
||||
`scripts/reconcile-system-data.sh` is only the environment wrapper. The Python implementation reads the current builtin operator catalog from `/api/operators` and updates those live records to the requested `OPERATOR_RUNNER_IMAGE`; it does not carry a second static builtin-operator list. The cleanup step skips builtin operators even when their image tag is `:latest`, so old custom/demo operators can be removed without tombstoning platform-provided builtins.
|
||||
`scripts/reconcile-system-data.sh` is only the environment wrapper. The Python implementation reads the current builtin operator catalog from `/api/operators` and updates those live records to the digest-pinned image declared by `operator-repos/builtin/<slug>/release.json` for the target environment. Registry lookup is a validation step only: if the registry digest differs from the committed release manifest, reconcile fails instead of silently replacing the source of truth. The cleanup step skips builtin operators even when their image tag is `:latest`, so old custom/demo operators can be removed without tombstoning platform-provided builtins.
|
||||
|
||||
The source catalog for platform-provided builtin operators is `internal/api/builtin_operators_catalog.json`. The API embeds this file, validates required fields and duplicate IDs/names at startup, and injects only runtime deployment fields such as the current operator-runner image and timestamps. `scripts/generate_operator_docs.py` defaults to the same local file and contacts a live API only when `--api-base-url` is provided, so adding or changing a builtin operator should update the catalog first instead of editing separate Go and Python maps.
|
||||
The source of truth for platform-provided builtin operators is `operator-repos/builtin/<slug>/operator.json` plus `operator-repos/builtin/<slug>/release.json`. `internal/api/builtin_operators_catalog.json` is a generated API seed artifact and must not be hand-edited as the only change. The API embeds the generated catalog and still validates required fields and duplicate IDs/names at startup. `scripts/generate_operator_docs.py` defaults to the local generated catalog and contacts a live API only when `--api-base-url` is provided, so adding or changing a builtin operator should update the operator repo directory, refresh the release manifest after image publication, and regenerate the catalog/manifests.
|
||||
|
||||
The Python operator-runner keeps the video quality and data-filter fallback thresholds aligned with that catalog. If an old workflow node is missing `MIN_CLARITY`, `MAX_SHAKE`, or `MAX_HAND_OCCLUSION`, runtime falls back to `0.8`, `0.1`, and `0.1`; it should not silently accept every video with `0.0/1.0/1.0`. If a workflow node explicitly sets any of those thresholds, the value must be finite, numeric, and in `[0, 1]`; invalid values fail the node instead of being silently replaced with defaults.
|
||||
|
||||
|
||||
@ -141,9 +141,9 @@ Reconcile persistent system data after rollout:
|
||||
K8S_ENDPOINT=https://<api-server>:6443 ./scripts/reconcile-system-data.sh http://<node-ip>:30080
|
||||
```
|
||||
|
||||
The reconcile wrapper delegates to `scripts/reconcile_system_data.py`. It removes legacy demo records, updates cluster settings through the real API, and derives builtin operators from the live `/api/operators` catalog before refreshing their runner image; it no longer maintains a separate hardcoded builtin-operator catalog.
|
||||
The reconcile wrapper delegates to `scripts/reconcile_system_data.py`. It removes legacy demo records, updates cluster settings through the real API, and derives builtin operators from the live `/api/operators` catalog before refreshing each builtin to the digest-pinned image declared in `operator-repos/builtin/<slug>/release.json` for the target environment. Registry digest lookup is used only as a guardrail: a mismatch between the committed release manifest and the live registry digest blocks reconciliation instead of becoming an implicit production truth.
|
||||
|
||||
Builtin operator metadata is declared in `internal/api/builtin_operators_catalog.json` and embedded by the API. Startup validation rejects malformed or duplicate catalog entries before they can drift into the database, and documentation generation defaults to the same local catalog; live API export requires an explicit `--api-base-url`.
|
||||
Builtin operator source lives in `operator-repos/builtin/<slug>/operator.json` and the paired `release.json`. `internal/api/builtin_operators_catalog.json` is generated from those source and release files before being embedded by the API. Startup validation rejects malformed or duplicate generated catalog entries before they can drift into the database, and documentation generation defaults to the local generated catalog; live API export requires an explicit `--api-base-url`.
|
||||
|
||||
Run GPU acceptance on a real GPU cluster:
|
||||
|
||||
|
||||
@ -60,21 +60,24 @@ type GeneratedOperatorPort struct {
|
||||
}
|
||||
|
||||
type GeneratedOperator struct {
|
||||
Name string `json:"name"`
|
||||
Category string `json:"category"`
|
||||
Description string `json:"description"`
|
||||
Version string `json:"version,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
ImageID string `json:"imageId,omitempty"`
|
||||
ContainerCommand []string `json:"containerCommand,omitempty"`
|
||||
ContainerArgs []string `json:"containerArgs,omitempty"`
|
||||
RuntimeContract map[string]any `json:"runtimeContract,omitempty"`
|
||||
Resources *domain.OperatorResources `json:"resources,omitempty"`
|
||||
Inputs []GeneratedOperatorPort `json:"inputs"`
|
||||
Outputs []GeneratedOperatorPort `json:"outputs"`
|
||||
Hyperparams []domain.HyperParam `json:"hyperparams"`
|
||||
SkillDefinition string `json:"skillDefinition"`
|
||||
Implementation *GeneratedOperatorImplementation `json:"implementation,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Category string `json:"category"`
|
||||
Description string `json:"description"`
|
||||
Version string `json:"version,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
ImageID string `json:"imageId,omitempty"`
|
||||
ContainerCommand []string `json:"containerCommand,omitempty"`
|
||||
ContainerArgs []string `json:"containerArgs,omitempty"`
|
||||
RuntimeContract map[string]any `json:"runtimeContract,omitempty"`
|
||||
Resources *domain.OperatorResources `json:"resources,omitempty"`
|
||||
Inputs []GeneratedOperatorPort `json:"inputs"`
|
||||
Outputs []GeneratedOperatorPort `json:"outputs"`
|
||||
Hyperparams []domain.HyperParam `json:"hyperparams"`
|
||||
SkillDefinition string `json:"skillDefinition"`
|
||||
PublicationStatus domain.OperatorPublicationStatus `json:"publicationStatus,omitempty"`
|
||||
GenerationSource domain.OperatorGenerationSource `json:"generationSource,omitempty"`
|
||||
PublicationEvidence *domain.OperatorPublicationEvidence `json:"publicationEvidence,omitempty"`
|
||||
Implementation *GeneratedOperatorImplementation `json:"implementation,omitempty"`
|
||||
}
|
||||
|
||||
type GeneratedOperatorImplementation struct {
|
||||
@ -101,21 +104,24 @@ type generatedHyperParamPayload struct {
|
||||
|
||||
func (generated *GeneratedOperator) UnmarshalJSON(data []byte) error {
|
||||
type generatedOperatorPayload struct {
|
||||
Name string `json:"name"`
|
||||
Category string `json:"category"`
|
||||
Description string `json:"description"`
|
||||
Version string `json:"version,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
ImageID string `json:"imageId,omitempty"`
|
||||
ContainerCommand []string `json:"containerCommand,omitempty"`
|
||||
ContainerArgs []string `json:"containerArgs,omitempty"`
|
||||
RuntimeContract map[string]any `json:"runtimeContract,omitempty"`
|
||||
Resources *domain.OperatorResources `json:"resources,omitempty"`
|
||||
Inputs []GeneratedOperatorPort `json:"inputs"`
|
||||
Outputs []GeneratedOperatorPort `json:"outputs"`
|
||||
Hyperparams []generatedHyperParamPayload `json:"hyperparams"`
|
||||
SkillDefinition string `json:"skillDefinition"`
|
||||
Implementation *GeneratedOperatorImplementation `json:"implementation,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Category string `json:"category"`
|
||||
Description string `json:"description"`
|
||||
Version string `json:"version,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
ImageID string `json:"imageId,omitempty"`
|
||||
ContainerCommand []string `json:"containerCommand,omitempty"`
|
||||
ContainerArgs []string `json:"containerArgs,omitempty"`
|
||||
RuntimeContract map[string]any `json:"runtimeContract,omitempty"`
|
||||
Resources *domain.OperatorResources `json:"resources,omitempty"`
|
||||
Inputs []GeneratedOperatorPort `json:"inputs"`
|
||||
Outputs []GeneratedOperatorPort `json:"outputs"`
|
||||
Hyperparams []generatedHyperParamPayload `json:"hyperparams"`
|
||||
SkillDefinition string `json:"skillDefinition"`
|
||||
PublicationStatus domain.OperatorPublicationStatus `json:"publicationStatus,omitempty"`
|
||||
GenerationSource domain.OperatorGenerationSource `json:"generationSource,omitempty"`
|
||||
PublicationEvidence *domain.OperatorPublicationEvidence `json:"publicationEvidence,omitempty"`
|
||||
Implementation *GeneratedOperatorImplementation `json:"implementation,omitempty"`
|
||||
}
|
||||
|
||||
var payload generatedOperatorPayload
|
||||
@ -132,21 +138,24 @@ func (generated *GeneratedOperator) UnmarshalJSON(data []byte) error {
|
||||
})
|
||||
}
|
||||
*generated = GeneratedOperator{
|
||||
Name: payload.Name,
|
||||
Category: payload.Category,
|
||||
Description: payload.Description,
|
||||
Version: payload.Version,
|
||||
Image: payload.Image,
|
||||
ImageID: payload.ImageID,
|
||||
ContainerCommand: payload.ContainerCommand,
|
||||
ContainerArgs: payload.ContainerArgs,
|
||||
RuntimeContract: payload.RuntimeContract,
|
||||
Resources: payload.Resources,
|
||||
Inputs: payload.Inputs,
|
||||
Outputs: payload.Outputs,
|
||||
Hyperparams: hyperparams,
|
||||
SkillDefinition: payload.SkillDefinition,
|
||||
Implementation: payload.Implementation,
|
||||
Name: payload.Name,
|
||||
Category: payload.Category,
|
||||
Description: payload.Description,
|
||||
Version: payload.Version,
|
||||
Image: payload.Image,
|
||||
ImageID: payload.ImageID,
|
||||
ContainerCommand: payload.ContainerCommand,
|
||||
ContainerArgs: payload.ContainerArgs,
|
||||
RuntimeContract: payload.RuntimeContract,
|
||||
Resources: payload.Resources,
|
||||
Inputs: payload.Inputs,
|
||||
Outputs: payload.Outputs,
|
||||
Hyperparams: hyperparams,
|
||||
SkillDefinition: payload.SkillDefinition,
|
||||
PublicationStatus: payload.PublicationStatus,
|
||||
GenerationSource: payload.GenerationSource,
|
||||
PublicationEvidence: payload.PublicationEvidence,
|
||||
Implementation: payload.Implementation,
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@ -513,6 +522,9 @@ Schema: {"name":"short operator name","category":"AI|IO|CV|MATH|HUMAN|FLOW","des
|
||||
if generated.RuntimeContract == nil {
|
||||
generated.RuntimeContract = map[string]any{}
|
||||
}
|
||||
generated.RuntimeContract["implementationStatus"] = "draft-requires-real-logic"
|
||||
generated.PublicationStatus = domain.OperatorPublicationStatusDraft
|
||||
generated.GenerationSource = domain.OperatorGenerationSourceAI
|
||||
if generated.Implementation == nil {
|
||||
implementation := buildGeneratedOperatorImplementation(generated)
|
||||
generated.Implementation = &implementation
|
||||
@ -528,6 +540,8 @@ func normalizeGeneratedOperator(generated *GeneratedOperator, description string
|
||||
generated.Version = normalizeGeneratedVersion(generated.Version)
|
||||
generated.Image = strings.TrimSpace(generated.Image)
|
||||
generated.ImageID = strings.TrimSpace(generated.ImageID)
|
||||
generated.PublicationStatus = domain.OperatorPublicationStatusDraft
|
||||
generated.GenerationSource = domain.OperatorGenerationSourceAI
|
||||
generated.ContainerCommand = normalizeGeneratedCommand(generated.ContainerCommand, []string{"python", "/app/src/operator.py"})
|
||||
generated.ContainerArgs = normalizeGeneratedCommand(generated.ContainerArgs, nil)
|
||||
normalizeGeneratedPorts(generated.Inputs)
|
||||
@ -818,6 +832,11 @@ func ApplyOperatorGenerationSettings(generated *GeneratedOperator, settings doma
|
||||
if generated.RuntimeContract == nil {
|
||||
generated.RuntimeContract = map[string]any{}
|
||||
}
|
||||
generated.PublicationStatus = domain.OperatorPublicationStatusDraft
|
||||
generated.GenerationSource = domain.OperatorGenerationSourceAI
|
||||
generated.RuntimeContract["implementationStatus"] = "draft-requires-real-logic"
|
||||
generated.RuntimeContract["publicationStatus"] = string(domain.OperatorPublicationStatusDraft)
|
||||
generated.RuntimeContract["generationSource"] = string(domain.OperatorGenerationSourceAI)
|
||||
implementation := buildGeneratedOperatorImplementationWithSettings(*generated, settings)
|
||||
generated.Implementation = &implementation
|
||||
generated.RuntimeContract["generatedRepository"] = generated.Implementation
|
||||
@ -1024,21 +1043,24 @@ func generatedOperatorMetadata(generated GeneratedOperator, suggestedImage strin
|
||||
imageID = image
|
||||
}
|
||||
return map[string]any{
|
||||
"name": generated.Name,
|
||||
"type": "custom",
|
||||
"category": generated.Category,
|
||||
"description": generated.Description,
|
||||
"version": generated.Version,
|
||||
"image": image,
|
||||
"imageId": imageID,
|
||||
"containerCommand": generated.ContainerCommand,
|
||||
"containerArgs": generated.ContainerArgs,
|
||||
"runtimeContract": cloneContractWithoutImplementation(generated.RuntimeContract),
|
||||
"inputs": generated.Inputs,
|
||||
"outputs": generated.Outputs,
|
||||
"hyperparams": generated.Hyperparams,
|
||||
"resources": generated.Resources,
|
||||
"skillDefinition": generated.SkillDefinition,
|
||||
"name": generated.Name,
|
||||
"type": "custom",
|
||||
"category": generated.Category,
|
||||
"description": generated.Description,
|
||||
"version": generated.Version,
|
||||
"image": image,
|
||||
"imageId": imageID,
|
||||
"containerCommand": generated.ContainerCommand,
|
||||
"containerArgs": generated.ContainerArgs,
|
||||
"runtimeContract": cloneContractWithoutImplementation(generated.RuntimeContract),
|
||||
"inputs": generated.Inputs,
|
||||
"outputs": generated.Outputs,
|
||||
"hyperparams": generated.Hyperparams,
|
||||
"resources": generated.Resources,
|
||||
"skillDefinition": generated.SkillDefinition,
|
||||
"publicationStatus": domain.OperatorPublicationStatusDraft,
|
||||
"generationSource": domain.OperatorGenerationSourceAI,
|
||||
"publicationEvidence": generated.PublicationEvidence,
|
||||
}
|
||||
}
|
||||
|
||||
@ -1095,11 +1117,10 @@ def _runtime_params():
|
||||
|
||||
|
||||
def run_business_logic(input_manifest, params, output_dir):
|
||||
"""Replace this function with real domain logic.
|
||||
"""Draft-only protocol adapter.
|
||||
|
||||
The generated adapter is intentionally runnable so protocol, lineage and
|
||||
artifact collection can be tested before the business algorithm is filled in.
|
||||
Production acceptance must replace this function with real processing.
|
||||
Replace this function with real domain logic, tests and fixture-backed
|
||||
acceptance before publishing the operator.
|
||||
"""
|
||||
summary_path = output_dir / "summary.json"
|
||||
summary = {
|
||||
@ -1108,18 +1129,14 @@ def run_business_logic(input_manifest, params, output_dir):
|
||||
"outputs": OUTPUT_PORTS,
|
||||
"params": params,
|
||||
"inputManifest": input_manifest,
|
||||
"implementationStatus": "requires-business-logic",
|
||||
"implementationStatus": "draft-requires-real-logic",
|
||||
"publicationStatus": "draft",
|
||||
}
|
||||
_write_json(summary_path, summary)
|
||||
return [
|
||||
{
|
||||
"name": "summary.json",
|
||||
"path": str(summary_path),
|
||||
"type": "json",
|
||||
"sha256": _sha256(summary_path),
|
||||
"sizeBytes": summary_path.stat().st_size,
|
||||
}
|
||||
]
|
||||
raise RuntimeError(
|
||||
f"{OPERATOR_NAME} is an AI-generated draft operator. "
|
||||
"Implement real domain logic and publish verified CCR digest before production use."
|
||||
)
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
@ -290,6 +290,33 @@ func (server *server) handleOperatorImageArchiveImport(writer http.ResponseWrite
|
||||
imageID := imageRepository + "@" + strings.TrimSpace(importResult.Digest)
|
||||
payload.Image = imageID
|
||||
payload.ImageID = imageID
|
||||
if payload.GenerationSource == "" {
|
||||
if runtimeContractMarksAIGenerated(payload.RuntimeContract) {
|
||||
payload.GenerationSource = domain.OperatorGenerationSourceAI
|
||||
} else {
|
||||
payload.GenerationSource = domain.OperatorGenerationSourceManual
|
||||
}
|
||||
}
|
||||
if payload.PublicationStatus == "" {
|
||||
if payload.GenerationSource == domain.OperatorGenerationSourceAI {
|
||||
payload.PublicationStatus = domain.OperatorPublicationStatusDraft
|
||||
} else {
|
||||
payload.PublicationStatus = domain.OperatorPublicationStatusPublished
|
||||
}
|
||||
}
|
||||
if issues := validateOperatorPublicationLifecycle(domain.OperatorRecord{
|
||||
Name: payload.Name,
|
||||
Type: payload.Type,
|
||||
Image: payload.Image,
|
||||
ImageID: payload.ImageID,
|
||||
RuntimeContract: payload.RuntimeContract,
|
||||
PublicationStatus: payload.PublicationStatus,
|
||||
GenerationSource: payload.GenerationSource,
|
||||
PublicationEvidence: payload.PublicationEvidence,
|
||||
}); len(issues) > 0 {
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
server.assignTenant(request, &payload.OrganizationID)
|
||||
item, err := server.store.CreateOperator(request.Context(), payload)
|
||||
if err != nil {
|
||||
@ -371,6 +398,16 @@ func parseOperatorArchiveImportPayload(request *http.Request) (domain.CreateOper
|
||||
payload.Resources = &resources
|
||||
}
|
||||
}
|
||||
payload.PublicationStatus = normalizeOperatorPublicationStatus(domain.OperatorPublicationStatus(request.FormValue("publicationStatus")))
|
||||
payload.GenerationSource = normalizeOperatorGenerationSource(domain.OperatorGenerationSource(request.FormValue("generationSource")))
|
||||
if raw := strings.TrimSpace(request.FormValue("publicationEvidence")); raw != "" {
|
||||
var evidence domain.OperatorPublicationEvidence
|
||||
if err := json.Unmarshal([]byte(raw), &evidence); err != nil {
|
||||
issues = append(issues, validationIssue{Field: "publicationEvidence", Message: "publicationEvidence must be valid JSON"})
|
||||
} else {
|
||||
payload.PublicationEvidence = &evidence
|
||||
}
|
||||
}
|
||||
payload.Inputs = normalizePortDefinitions(payload.Inputs)
|
||||
payload.Outputs = normalizePortDefinitions(payload.Outputs)
|
||||
payload.ContainerCommand = normalizeContainerCommand(payload.ContainerCommand)
|
||||
|
||||
@ -341,6 +341,7 @@ func sanitizeWorkflow(item *domain.WorkflowRecord) *domain.WorkflowRecord {
|
||||
return nil
|
||||
}
|
||||
copy := *item
|
||||
copy.ExecutionScope = normalizeWorkflowExecutionScope(copy.ExecutionScope)
|
||||
copy.Nodes = cloneWorkflowNodes(item.Nodes)
|
||||
copy.ScanConfig = sanitizeScanConfig(copy.ScanConfig)
|
||||
return ©
|
||||
@ -353,6 +354,7 @@ func sanitizeWorkflows(items []domain.WorkflowRecord) []domain.WorkflowRecord {
|
||||
sanitized := make([]domain.WorkflowRecord, 0, len(items))
|
||||
for _, item := range items {
|
||||
copy := item
|
||||
copy.ExecutionScope = normalizeWorkflowExecutionScope(copy.ExecutionScope)
|
||||
copy.Nodes = cloneWorkflowNodes(item.Nodes)
|
||||
copy.ScanConfig = sanitizeScanConfig(copy.ScanConfig)
|
||||
sanitized = append(sanitized, copy)
|
||||
@ -1013,6 +1015,7 @@ func sanitizeTemplate(item *domain.TemplateRecord) *domain.TemplateRecord {
|
||||
return nil
|
||||
}
|
||||
copy := *item
|
||||
copy.ExecutionScope = normalizeWorkflowExecutionScope(copy.ExecutionScope)
|
||||
copy.Nodes = cloneWorkflowNodes(item.Nodes)
|
||||
copy.ScanConfig = sanitizeScanConfig(copy.ScanConfig)
|
||||
return ©
|
||||
@ -1025,6 +1028,7 @@ func sanitizeTemplates(items []domain.TemplateRecord) []domain.TemplateRecord {
|
||||
sanitized := make([]domain.TemplateRecord, 0, len(items))
|
||||
for _, item := range items {
|
||||
copy := item
|
||||
copy.ExecutionScope = normalizeWorkflowExecutionScope(copy.ExecutionScope)
|
||||
copy.Nodes = cloneWorkflowNodes(item.Nodes)
|
||||
copy.ScanConfig = sanitizeScanConfig(copy.ScanConfig)
|
||||
sanitized = append(sanitized, copy)
|
||||
@ -1037,6 +1041,8 @@ func sanitizeOperator(item *domain.OperatorRecord) *domain.OperatorRecord {
|
||||
return nil
|
||||
}
|
||||
copy := *item
|
||||
copy.GenerationSource = effectiveOperatorGenerationSource(copy)
|
||||
copy.PublicationStatus = effectiveOperatorPublicationStatus(copy)
|
||||
return ©
|
||||
}
|
||||
|
||||
@ -1421,6 +1427,7 @@ func (server *server) handleAIWorkflowGenerate(writer http.ResponseWriter, reque
|
||||
renderError(writer, http.StatusInternalServerError, err)
|
||||
return
|
||||
}
|
||||
operators = filterAIPublishedWorkflowOperators(operators)
|
||||
if len(operators) == 0 {
|
||||
renderValidationError(writer, validationIssue{Field: "operators", Message: "at least one operator is required to generate a workflow"})
|
||||
return
|
||||
@ -1437,6 +1444,18 @@ func (server *server) handleAIWorkflowGenerate(writer http.ResponseWriter, reque
|
||||
renderJSON(writer, http.StatusOK, item)
|
||||
}
|
||||
|
||||
func filterAIPublishedWorkflowOperators(items []domain.OperatorRecord) []domain.OperatorRecord {
|
||||
filtered := make([]domain.OperatorRecord, 0, len(items))
|
||||
for _, item := range items {
|
||||
if effectiveOperatorGenerationSource(item) == domain.OperatorGenerationSourceAI &&
|
||||
effectiveOperatorPublicationStatus(item) != domain.OperatorPublicationStatusPublished {
|
||||
continue
|
||||
}
|
||||
filtered = append(filtered, item)
|
||||
}
|
||||
return filtered
|
||||
}
|
||||
|
||||
func (server *server) handleDashboard(writer http.ResponseWriter, request *http.Request) {
|
||||
if server.tenantEnforced(request) {
|
||||
projects, err := server.listProjectsForRequest(request.Context(), request)
|
||||
@ -2406,6 +2425,19 @@ func validWorkflowKind(value domain.WorkflowKind) bool {
|
||||
return value == "" || value == domain.WorkflowKindStandard || value == domain.WorkflowKindScan
|
||||
}
|
||||
|
||||
func normalizeWorkflowExecutionScope(value domain.WorkflowExecutionScope) domain.WorkflowExecutionScope {
|
||||
switch domain.WorkflowExecutionScope(strings.ToLower(strings.TrimSpace(string(value)))) {
|
||||
case domain.WorkflowExecutionScopeSandbox:
|
||||
return domain.WorkflowExecutionScopeSandbox
|
||||
default:
|
||||
return domain.WorkflowExecutionScopeProduction
|
||||
}
|
||||
}
|
||||
|
||||
func validWorkflowExecutionScope(value domain.WorkflowExecutionScope) bool {
|
||||
return value == domain.WorkflowExecutionScopeProduction || value == domain.WorkflowExecutionScopeSandbox
|
||||
}
|
||||
|
||||
func normalizeWorkflowKind(value domain.WorkflowKind) domain.WorkflowKind {
|
||||
return domain.WorkflowKind(strings.TrimSpace(string(value)))
|
||||
}
|
||||
@ -2555,6 +2587,10 @@ func (server *server) handleProjectWorkflowsCreate(writer http.ResponseWriter, r
|
||||
if !validWorkflowKind(payload.Kind) {
|
||||
issues = append(issues, validationIssue{Field: "kind", Message: "kind must be standard or scan"})
|
||||
}
|
||||
payload.ExecutionScope = normalizeWorkflowExecutionScope(payload.ExecutionScope)
|
||||
if !validWorkflowExecutionScope(payload.ExecutionScope) {
|
||||
issues = append(issues, validationIssue{Field: "executionScope", Message: "executionScope must be production or sandbox"})
|
||||
}
|
||||
if len(issues) > 0 {
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
@ -2605,6 +2641,10 @@ func (server *server) handleProjectWorkflowsCreate(writer http.ResponseWriter, r
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
if issues := server.validateWorkflowOperatorPublication(request.Context(), payload.Nodes, payload.ExecutionScope); len(issues) > 0 {
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
item, err := server.store.CreateWorkflow(request.Context(), payload)
|
||||
if err != nil {
|
||||
renderError(writer, http.StatusInternalServerError, err)
|
||||
@ -2684,21 +2724,22 @@ func (server *server) handleWorkflowNodeSourceStateDelete(writer http.ResponseWr
|
||||
}
|
||||
|
||||
type workflowPatch struct {
|
||||
Name *string `json:"name"`
|
||||
Description *string `json:"description"`
|
||||
Type *domain.WorkflowType `json:"type"`
|
||||
Kind *domain.WorkflowKind `json:"kind"`
|
||||
ScanConfig *domain.ScanConfig `json:"scanConfig"`
|
||||
Hyperparams *[]domain.HyperParam `json:"hyperparams"`
|
||||
MaxConcurrentRuns *int `json:"maxConcurrentRuns"`
|
||||
NodeTimeoutSeconds *int `json:"nodeTimeoutSeconds"`
|
||||
RunTimeoutSeconds *int `json:"runTimeoutSeconds"`
|
||||
MaxRetryAttempts *int `json:"maxRetryAttempts"`
|
||||
RetryBackoffSeconds *int `json:"retryBackoffSeconds"`
|
||||
Schedule *domain.WorkflowSchedule `json:"schedule"`
|
||||
Nodes *[]domain.WorkflowNode `json:"nodes"`
|
||||
Edges *[]domain.WorkflowEdge `json:"edges"`
|
||||
Status *domain.WorkflowStatus `json:"status"`
|
||||
Name *string `json:"name"`
|
||||
Description *string `json:"description"`
|
||||
Type *domain.WorkflowType `json:"type"`
|
||||
Kind *domain.WorkflowKind `json:"kind"`
|
||||
ExecutionScope *domain.WorkflowExecutionScope `json:"executionScope"`
|
||||
ScanConfig *domain.ScanConfig `json:"scanConfig"`
|
||||
Hyperparams *[]domain.HyperParam `json:"hyperparams"`
|
||||
MaxConcurrentRuns *int `json:"maxConcurrentRuns"`
|
||||
NodeTimeoutSeconds *int `json:"nodeTimeoutSeconds"`
|
||||
RunTimeoutSeconds *int `json:"runTimeoutSeconds"`
|
||||
MaxRetryAttempts *int `json:"maxRetryAttempts"`
|
||||
RetryBackoffSeconds *int `json:"retryBackoffSeconds"`
|
||||
Schedule *domain.WorkflowSchedule `json:"schedule"`
|
||||
Nodes *[]domain.WorkflowNode `json:"nodes"`
|
||||
Edges *[]domain.WorkflowEdge `json:"edges"`
|
||||
Status *domain.WorkflowStatus `json:"status"`
|
||||
}
|
||||
|
||||
func scanConfigRequestFromWorkflow(name string, description string, schedule *domain.WorkflowSchedule, scanConfig *domain.ScanConfig) scanConfigRequest {
|
||||
@ -3003,6 +3044,58 @@ func validateWorkflowTopology(nodes []domain.WorkflowNode, edges []domain.Workfl
|
||||
return issues
|
||||
}
|
||||
|
||||
func (server *server) validateWorkflowOperatorPublication(ctx context.Context, nodes []domain.WorkflowNode, scope domain.WorkflowExecutionScope) []validationIssue {
|
||||
if normalizeWorkflowExecutionScope(scope) == domain.WorkflowExecutionScopeSandbox {
|
||||
return nil
|
||||
}
|
||||
issues := make([]validationIssue, 0)
|
||||
for _, node := range nodes {
|
||||
operatorID := strings.TrimSpace(node.Data.OperatorID)
|
||||
var source domain.OperatorGenerationSource
|
||||
var status domain.OperatorPublicationStatus
|
||||
if operatorID != "" {
|
||||
operator, err := server.store.GetOperator(ctx, operatorID)
|
||||
if err != nil {
|
||||
issues = append(issues, validationIssue{Field: "nodes", Message: "failed to load operator " + operatorID})
|
||||
continue
|
||||
}
|
||||
if operator != nil {
|
||||
source = effectiveOperatorGenerationSource(*operator)
|
||||
status = effectiveOperatorPublicationStatus(*operator)
|
||||
}
|
||||
}
|
||||
if source == "" {
|
||||
source = normalizeOperatorGenerationSource(node.Data.GenerationSource)
|
||||
}
|
||||
if status == "" {
|
||||
status = normalizeOperatorPublicationStatus(node.Data.PublicationStatus)
|
||||
}
|
||||
if source != domain.OperatorGenerationSourceAI {
|
||||
continue
|
||||
}
|
||||
if status == "" {
|
||||
status = domain.OperatorPublicationStatusDraft
|
||||
}
|
||||
if status == domain.OperatorPublicationStatusPublished {
|
||||
continue
|
||||
}
|
||||
code := "operator_not_published"
|
||||
if status == domain.OperatorPublicationStatusDraft {
|
||||
code = "ai_operator_draft_production_blocked"
|
||||
}
|
||||
label := strings.TrimSpace(node.Data.Label)
|
||||
if label == "" {
|
||||
label = node.ID
|
||||
}
|
||||
issues = append(issues, validationIssue{
|
||||
Field: "nodes",
|
||||
Code: code,
|
||||
Message: "生产工作流不能使用未发布的 AI 生成算子:" + label + "。请在沙盒工作流验证,或补齐真实代码、单测、CCR digest 和验收证据后发布。",
|
||||
})
|
||||
}
|
||||
return issues
|
||||
}
|
||||
|
||||
func (server *server) handleWorkflowsUpdate(writer http.ResponseWriter, request *http.Request) {
|
||||
item, err := server.store.GetWorkflow(request.Context(), chi.URLParam(request, "id"))
|
||||
if err != nil {
|
||||
@ -3048,6 +3141,14 @@ func (server *server) handleWorkflowsUpdate(writer http.ResponseWriter, request
|
||||
}
|
||||
item.Kind = kind
|
||||
}
|
||||
if payload.ExecutionScope != nil {
|
||||
item.ExecutionScope = normalizeWorkflowExecutionScope(*payload.ExecutionScope)
|
||||
if !validWorkflowExecutionScope(item.ExecutionScope) {
|
||||
renderValidationError(writer, validationIssue{Field: "executionScope", Message: "executionScope must be production or sandbox"})
|
||||
return
|
||||
}
|
||||
}
|
||||
item.ExecutionScope = normalizeWorkflowExecutionScope(item.ExecutionScope)
|
||||
if payload.Status != nil {
|
||||
status := normalizeWorkflowStatus(*payload.Status)
|
||||
if !validWorkflowStatus(status) {
|
||||
@ -3140,6 +3241,10 @@ func (server *server) handleWorkflowsUpdate(writer http.ResponseWriter, request
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
if issues := server.validateWorkflowOperatorPublication(request.Context(), item.Nodes, item.ExecutionScope); len(issues) > 0 {
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
item.UpdatedAt = nowISO()
|
||||
if err := server.store.UpsertWorkflow(request.Context(), *item); err != nil {
|
||||
renderError(writer, http.StatusInternalServerError, err)
|
||||
@ -3234,6 +3339,10 @@ func (server *server) handleWorkflowRun(writer http.ResponseWriter, request *htt
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
if issues := server.validateWorkflowOperatorPublication(request.Context(), workflow.Nodes, normalizeWorkflowExecutionScope(workflow.ExecutionScope)); len(issues) > 0 {
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
run, err := server.store.CreateRun(request.Context(), chi.URLParam(request, "id"), payload.Trigger)
|
||||
if err != nil {
|
||||
if strings.Contains(err.Error(), "not found") {
|
||||
@ -3324,6 +3433,10 @@ func (server *server) handleRunsRerunSubtree(writer http.ResponseWriter, request
|
||||
renderJSON(writer, http.StatusNotFound, map[string]string{"error": "Node not found"})
|
||||
return
|
||||
}
|
||||
if issues := server.validateWorkflowOperatorPublication(request.Context(), workflow.Nodes, normalizeWorkflowExecutionScope(workflow.ExecutionScope)); len(issues) > 0 {
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
|
||||
subtree := rerunSubtreeNodeSet(workflow.Edges, payload.NodeID)
|
||||
baselineSet := rerunBaselineNodeSet(workflow.Edges, subtree)
|
||||
@ -3411,6 +3524,10 @@ func (server *server) handleTemplatesCreate(writer http.ResponseWriter, request
|
||||
if !validWorkflowKind(payload.Kind) {
|
||||
issues = append(issues, validationIssue{Field: "kind", Message: "kind must be standard or scan"})
|
||||
}
|
||||
payload.ExecutionScope = normalizeWorkflowExecutionScope(payload.ExecutionScope)
|
||||
if !validWorkflowExecutionScope(payload.ExecutionScope) {
|
||||
issues = append(issues, validationIssue{Field: "executionScope", Message: "executionScope must be production or sandbox"})
|
||||
}
|
||||
if configIssues := validateWorkflowExecutionConfig(payload.MaxConcurrentRuns, payload.NodeTimeoutSeconds, payload.RunTimeoutSeconds, payload.MaxRetryAttempts, payload.RetryBackoffSeconds); len(configIssues) > 0 {
|
||||
issues = append(issues, configIssues...)
|
||||
}
|
||||
@ -3445,6 +3562,10 @@ func (server *server) handleTemplatesCreate(writer http.ResponseWriter, request
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
if issues := server.validateWorkflowOperatorPublication(request.Context(), payload.Nodes, payload.ExecutionScope); len(issues) > 0 {
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
item, err := server.store.CreateTemplate(request.Context(), payload)
|
||||
if err != nil {
|
||||
renderError(writer, http.StatusInternalServerError, err)
|
||||
@ -3470,20 +3591,21 @@ func (server *server) handleTemplatesGet(writer http.ResponseWriter, request *ht
|
||||
}
|
||||
|
||||
type templatePatch struct {
|
||||
Name *string `json:"name"`
|
||||
Description *string `json:"description"`
|
||||
Type *domain.WorkflowType `json:"type"`
|
||||
Kind *domain.WorkflowKind `json:"kind"`
|
||||
ScanConfig *domain.ScanConfig `json:"scanConfig"`
|
||||
Hyperparams *[]domain.HyperParam `json:"hyperparams"`
|
||||
MaxConcurrentRuns *int `json:"maxConcurrentRuns"`
|
||||
NodeTimeoutSeconds *int `json:"nodeTimeoutSeconds"`
|
||||
RunTimeoutSeconds *int `json:"runTimeoutSeconds"`
|
||||
MaxRetryAttempts *int `json:"maxRetryAttempts"`
|
||||
RetryBackoffSeconds *int `json:"retryBackoffSeconds"`
|
||||
Schedule *domain.WorkflowSchedule `json:"schedule"`
|
||||
Nodes *[]domain.WorkflowNode `json:"nodes"`
|
||||
Edges *[]domain.WorkflowEdge `json:"edges"`
|
||||
Name *string `json:"name"`
|
||||
Description *string `json:"description"`
|
||||
Type *domain.WorkflowType `json:"type"`
|
||||
Kind *domain.WorkflowKind `json:"kind"`
|
||||
ExecutionScope *domain.WorkflowExecutionScope `json:"executionScope"`
|
||||
ScanConfig *domain.ScanConfig `json:"scanConfig"`
|
||||
Hyperparams *[]domain.HyperParam `json:"hyperparams"`
|
||||
MaxConcurrentRuns *int `json:"maxConcurrentRuns"`
|
||||
NodeTimeoutSeconds *int `json:"nodeTimeoutSeconds"`
|
||||
RunTimeoutSeconds *int `json:"runTimeoutSeconds"`
|
||||
MaxRetryAttempts *int `json:"maxRetryAttempts"`
|
||||
RetryBackoffSeconds *int `json:"retryBackoffSeconds"`
|
||||
Schedule *domain.WorkflowSchedule `json:"schedule"`
|
||||
Nodes *[]domain.WorkflowNode `json:"nodes"`
|
||||
Edges *[]domain.WorkflowEdge `json:"edges"`
|
||||
}
|
||||
|
||||
func (server *server) handleTemplatesUpdate(writer http.ResponseWriter, request *http.Request) {
|
||||
@ -3530,6 +3652,14 @@ func (server *server) handleTemplatesUpdate(writer http.ResponseWriter, request
|
||||
}
|
||||
item.Kind = kind
|
||||
}
|
||||
if payload.ExecutionScope != nil {
|
||||
item.ExecutionScope = normalizeWorkflowExecutionScope(*payload.ExecutionScope)
|
||||
if !validWorkflowExecutionScope(item.ExecutionScope) {
|
||||
renderValidationError(writer, validationIssue{Field: "executionScope", Message: "executionScope must be production or sandbox"})
|
||||
return
|
||||
}
|
||||
}
|
||||
item.ExecutionScope = normalizeWorkflowExecutionScope(item.ExecutionScope)
|
||||
if payload.Hyperparams != nil {
|
||||
item.Hyperparams = *payload.Hyperparams
|
||||
}
|
||||
@ -3610,6 +3740,10 @@ func (server *server) handleTemplatesUpdate(writer http.ResponseWriter, request
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
if issues := server.validateWorkflowOperatorPublication(request.Context(), item.Nodes, item.ExecutionScope); len(issues) > 0 {
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
item.UpdatedAt = nowISO()
|
||||
if err := server.store.UpsertTemplate(request.Context(), *item); err != nil {
|
||||
renderError(writer, http.StatusInternalServerError, err)
|
||||
@ -3658,6 +3792,7 @@ func normalizeOperatorType(value string) string {
|
||||
}
|
||||
|
||||
var operatorVersionPattern = regexp.MustCompile(`^[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$`)
|
||||
var operatorImageDigestPattern = regexp.MustCompile(`^.+@sha256:[a-f0-9]{64}$`)
|
||||
|
||||
func normalizeOperatorVersion(value string, fallback string) string {
|
||||
normalized := strings.TrimSpace(value)
|
||||
@ -3677,6 +3812,141 @@ func validateOperatorVersion(version string) []validationIssue {
|
||||
return nil
|
||||
}
|
||||
|
||||
func normalizeOperatorPublicationStatus(value domain.OperatorPublicationStatus) domain.OperatorPublicationStatus {
|
||||
return domain.OperatorPublicationStatus(strings.ToLower(strings.TrimSpace(string(value))))
|
||||
}
|
||||
|
||||
func validOperatorPublicationStatus(value domain.OperatorPublicationStatus) bool {
|
||||
return value == "" ||
|
||||
value == domain.OperatorPublicationStatusDraft ||
|
||||
value == domain.OperatorPublicationStatusBuilt ||
|
||||
value == domain.OperatorPublicationStatusVerified ||
|
||||
value == domain.OperatorPublicationStatusPublished
|
||||
}
|
||||
|
||||
func normalizeOperatorGenerationSource(value domain.OperatorGenerationSource) domain.OperatorGenerationSource {
|
||||
return domain.OperatorGenerationSource(strings.ToLower(strings.TrimSpace(string(value))))
|
||||
}
|
||||
|
||||
func validOperatorGenerationSource(value domain.OperatorGenerationSource) bool {
|
||||
return value == "" || value == domain.OperatorGenerationSourceManual || value == domain.OperatorGenerationSourceAI
|
||||
}
|
||||
|
||||
func runtimeContractMarksAIGenerated(contract map[string]any) bool {
|
||||
if contract == nil {
|
||||
return false
|
||||
}
|
||||
if source, ok := contract["generationSource"].(string); ok && strings.EqualFold(strings.TrimSpace(source), string(domain.OperatorGenerationSourceAI)) {
|
||||
return true
|
||||
}
|
||||
if _, ok := contract["generatedRepository"]; ok {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func effectiveOperatorGenerationSource(item domain.OperatorRecord) domain.OperatorGenerationSource {
|
||||
source := normalizeOperatorGenerationSource(item.GenerationSource)
|
||||
if source != "" {
|
||||
return source
|
||||
}
|
||||
if runtimeContractMarksAIGenerated(item.RuntimeContract) {
|
||||
return domain.OperatorGenerationSourceAI
|
||||
}
|
||||
return domain.OperatorGenerationSourceManual
|
||||
}
|
||||
|
||||
func effectiveOperatorPublicationStatus(item domain.OperatorRecord) domain.OperatorPublicationStatus {
|
||||
status := normalizeOperatorPublicationStatus(item.PublicationStatus)
|
||||
if status != "" {
|
||||
return status
|
||||
}
|
||||
if effectiveOperatorGenerationSource(item) == domain.OperatorGenerationSourceAI {
|
||||
return domain.OperatorPublicationStatusDraft
|
||||
}
|
||||
return domain.OperatorPublicationStatusPublished
|
||||
}
|
||||
|
||||
func publicationEvidenceValue(evidence *domain.OperatorPublicationEvidence, key string) string {
|
||||
if evidence == nil {
|
||||
return ""
|
||||
}
|
||||
switch key {
|
||||
case "repositoryURL":
|
||||
return strings.TrimSpace(evidence.RepositoryURL)
|
||||
case "repositoryCommit":
|
||||
return strings.TrimSpace(evidence.RepositoryCommit)
|
||||
case "image":
|
||||
return strings.TrimSpace(evidence.Image)
|
||||
case "imageId":
|
||||
return strings.TrimSpace(evidence.ImageID)
|
||||
case "fixtureChecksum":
|
||||
return strings.TrimSpace(evidence.FixtureChecksum)
|
||||
case "testCommand":
|
||||
return strings.TrimSpace(evidence.TestCommand)
|
||||
case "acceptanceWorkflowId":
|
||||
return strings.TrimSpace(evidence.AcceptanceWorkflowID)
|
||||
case "acceptanceRunId":
|
||||
return strings.TrimSpace(evidence.AcceptanceRunID)
|
||||
default:
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
||||
func validateOperatorPublicationLifecycle(item domain.OperatorRecord) []validationIssue {
|
||||
issues := make([]validationIssue, 0)
|
||||
source := effectiveOperatorGenerationSource(item)
|
||||
status := effectiveOperatorPublicationStatus(item)
|
||||
if !validOperatorGenerationSource(source) {
|
||||
issues = append(issues, validationIssue{Field: "generationSource", Message: "generationSource must be manual or ai"})
|
||||
}
|
||||
if !validOperatorPublicationStatus(status) {
|
||||
issues = append(issues, validationIssue{Field: "publicationStatus", Message: "publicationStatus must be draft, built, verified, or published"})
|
||||
}
|
||||
if source != domain.OperatorGenerationSourceAI {
|
||||
return issues
|
||||
}
|
||||
if status == domain.OperatorPublicationStatusDraft {
|
||||
return issues
|
||||
}
|
||||
evidence := item.PublicationEvidence
|
||||
if publicationEvidenceValue(evidence, "repositoryURL") == "" {
|
||||
issues = append(issues, validationIssue{Field: "publicationEvidence.repositoryUrl", Message: "repositoryUrl is required for non-draft AI operators"})
|
||||
}
|
||||
if publicationEvidenceValue(evidence, "repositoryCommit") == "" {
|
||||
issues = append(issues, validationIssue{Field: "publicationEvidence.repositoryCommit", Message: "repositoryCommit is required for non-draft AI operators"})
|
||||
}
|
||||
if strings.TrimSpace(item.Image) == "" && publicationEvidenceValue(evidence, "image") == "" {
|
||||
issues = append(issues, validationIssue{Field: "image", Message: "image is required for non-draft AI operators"})
|
||||
}
|
||||
if status == domain.OperatorPublicationStatusBuilt {
|
||||
return issues
|
||||
}
|
||||
imageID := strings.TrimSpace(item.ImageID)
|
||||
if imageID == "" {
|
||||
imageID = publicationEvidenceValue(evidence, "imageId")
|
||||
}
|
||||
if !operatorImageDigestPattern.MatchString(imageID) {
|
||||
issues = append(issues, validationIssue{Field: "imageId", Message: "verified AI operators require digest-pinned imageId"})
|
||||
}
|
||||
if publicationEvidenceValue(evidence, "fixtureChecksum") == "" {
|
||||
issues = append(issues, validationIssue{Field: "publicationEvidence.fixtureChecksum", Message: "fixtureChecksum is required for verified AI operators"})
|
||||
}
|
||||
if publicationEvidenceValue(evidence, "testCommand") == "" {
|
||||
issues = append(issues, validationIssue{Field: "publicationEvidence.testCommand", Message: "testCommand is required for verified AI operators"})
|
||||
}
|
||||
if status == domain.OperatorPublicationStatusVerified {
|
||||
return issues
|
||||
}
|
||||
if publicationEvidenceValue(evidence, "acceptanceWorkflowId") == "" {
|
||||
issues = append(issues, validationIssue{Field: "publicationEvidence.acceptanceWorkflowId", Message: "acceptanceWorkflowId is required for published AI operators"})
|
||||
}
|
||||
if publicationEvidenceValue(evidence, "acceptanceRunId") == "" {
|
||||
issues = append(issues, validationIssue{Field: "publicationEvidence.acceptanceRunId", Message: "acceptanceRunId is required for published AI operators"})
|
||||
}
|
||||
return issues
|
||||
}
|
||||
|
||||
func validOperatorType(value string) bool {
|
||||
return value == "builtin" || value == "custom"
|
||||
}
|
||||
@ -3862,6 +4132,22 @@ func (server *server) handleOperatorsCreate(writer http.ResponseWriter, request
|
||||
payload.ContainerArgs = normalizeContainerCommand(payload.ContainerArgs)
|
||||
payload.SkillDefinition = strings.TrimSpace(payload.SkillDefinition)
|
||||
payload.Resources = normalizeOperatorResources(payload.Resources)
|
||||
payload.GenerationSource = normalizeOperatorGenerationSource(payload.GenerationSource)
|
||||
if payload.GenerationSource == "" {
|
||||
if runtimeContractMarksAIGenerated(payload.RuntimeContract) {
|
||||
payload.GenerationSource = domain.OperatorGenerationSourceAI
|
||||
} else {
|
||||
payload.GenerationSource = domain.OperatorGenerationSourceManual
|
||||
}
|
||||
}
|
||||
payload.PublicationStatus = normalizeOperatorPublicationStatus(payload.PublicationStatus)
|
||||
if payload.PublicationStatus == "" {
|
||||
if payload.GenerationSource == domain.OperatorGenerationSourceAI {
|
||||
payload.PublicationStatus = domain.OperatorPublicationStatusDraft
|
||||
} else {
|
||||
payload.PublicationStatus = domain.OperatorPublicationStatusPublished
|
||||
}
|
||||
}
|
||||
if payload.ImageID == "" {
|
||||
payload.ImageID = payload.Image
|
||||
}
|
||||
@ -3869,6 +4155,19 @@ func (server *server) handleOperatorsCreate(writer http.ResponseWriter, request
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
if issues := validateOperatorPublicationLifecycle(domain.OperatorRecord{
|
||||
Name: payload.Name,
|
||||
Type: payload.Type,
|
||||
Image: payload.Image,
|
||||
ImageID: payload.ImageID,
|
||||
RuntimeContract: payload.RuntimeContract,
|
||||
PublicationStatus: payload.PublicationStatus,
|
||||
GenerationSource: payload.GenerationSource,
|
||||
PublicationEvidence: payload.PublicationEvidence,
|
||||
}); len(issues) > 0 {
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
if payload.Type != "custom" {
|
||||
renderValidationError(writer, validationIssue{Field: "type", Message: "type must be custom when registering an operator"})
|
||||
return
|
||||
@ -3899,22 +4198,25 @@ func (server *server) handleOperatorsGet(writer http.ResponseWriter, request *ht
|
||||
}
|
||||
|
||||
type operatorPatch struct {
|
||||
Name *string `json:"name"`
|
||||
Type *string `json:"type"`
|
||||
Category *string `json:"category"`
|
||||
Description *string `json:"description"`
|
||||
Inputs *[]domain.PortDefinition `json:"inputs"`
|
||||
Outputs *[]domain.PortDefinition `json:"outputs"`
|
||||
ConfigSchema *map[string]any `json:"configSchema"`
|
||||
Version *string `json:"version"`
|
||||
Image *string `json:"image"`
|
||||
ImageID *string `json:"imageId"`
|
||||
ContainerCommand *[]string `json:"containerCommand"`
|
||||
ContainerArgs *[]string `json:"containerArgs"`
|
||||
RuntimeContract *map[string]any `json:"runtimeContract"`
|
||||
SkillDefinition *string `json:"skillDefinition"`
|
||||
Hyperparams *[]domain.HyperParam `json:"hyperparams"`
|
||||
Resources *domain.OperatorResources `json:"resources"`
|
||||
Name *string `json:"name"`
|
||||
Type *string `json:"type"`
|
||||
Category *string `json:"category"`
|
||||
Description *string `json:"description"`
|
||||
Inputs *[]domain.PortDefinition `json:"inputs"`
|
||||
Outputs *[]domain.PortDefinition `json:"outputs"`
|
||||
ConfigSchema *map[string]any `json:"configSchema"`
|
||||
Version *string `json:"version"`
|
||||
Image *string `json:"image"`
|
||||
ImageID *string `json:"imageId"`
|
||||
ContainerCommand *[]string `json:"containerCommand"`
|
||||
ContainerArgs *[]string `json:"containerArgs"`
|
||||
RuntimeContract *map[string]any `json:"runtimeContract"`
|
||||
SkillDefinition *string `json:"skillDefinition"`
|
||||
Hyperparams *[]domain.HyperParam `json:"hyperparams"`
|
||||
Resources *domain.OperatorResources `json:"resources"`
|
||||
PublicationStatus *domain.OperatorPublicationStatus `json:"publicationStatus"`
|
||||
GenerationSource *domain.OperatorGenerationSource `json:"generationSource"`
|
||||
PublicationEvidence *domain.OperatorPublicationEvidence `json:"publicationEvidence"`
|
||||
}
|
||||
|
||||
func (server *server) handleOperatorsUpdate(writer http.ResponseWriter, request *http.Request) {
|
||||
@ -3994,6 +4296,29 @@ func (server *server) handleOperatorsUpdate(writer http.ResponseWriter, request
|
||||
if payload.Resources != nil {
|
||||
next.Resources = normalizeOperatorResources(payload.Resources)
|
||||
}
|
||||
if payload.GenerationSource != nil {
|
||||
next.GenerationSource = normalizeOperatorGenerationSource(*payload.GenerationSource)
|
||||
}
|
||||
if next.GenerationSource == "" {
|
||||
if runtimeContractMarksAIGenerated(next.RuntimeContract) {
|
||||
next.GenerationSource = domain.OperatorGenerationSourceAI
|
||||
} else {
|
||||
next.GenerationSource = domain.OperatorGenerationSourceManual
|
||||
}
|
||||
}
|
||||
if payload.PublicationStatus != nil {
|
||||
next.PublicationStatus = normalizeOperatorPublicationStatus(*payload.PublicationStatus)
|
||||
}
|
||||
if next.PublicationStatus == "" {
|
||||
if next.GenerationSource == domain.OperatorGenerationSourceAI {
|
||||
next.PublicationStatus = domain.OperatorPublicationStatusDraft
|
||||
} else {
|
||||
next.PublicationStatus = domain.OperatorPublicationStatusPublished
|
||||
}
|
||||
}
|
||||
if payload.PublicationEvidence != nil {
|
||||
next.PublicationEvidence = payload.PublicationEvidence
|
||||
}
|
||||
if normalizeOperatorType(next.Type) == "custom" {
|
||||
next.Version = normalizeOperatorVersion(next.Version, "v1")
|
||||
if next.ImageID == "" {
|
||||
@ -4004,6 +4329,10 @@ func (server *server) handleOperatorsUpdate(writer http.ResponseWriter, request
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
if issues := validateOperatorPublicationLifecycle(next); len(issues) > 0 {
|
||||
renderValidationError(writer, issues...)
|
||||
return
|
||||
}
|
||||
next.UpdatedAt = nowISO()
|
||||
if err := server.store.UpsertOperator(request.Context(), next); err != nil {
|
||||
renderError(writer, http.StatusInternalServerError, err)
|
||||
|
||||
@ -5599,9 +5599,11 @@ func TestAIOperatorGenerateAppliesOperatorGenerationSettings(t *testing.T) {
|
||||
t.Fatalf("expected operator generation to succeed, got %d body=%s", recorder.Code, recorder.Body.String())
|
||||
}
|
||||
var response struct {
|
||||
Name string `json:"name"`
|
||||
RuntimeContract map[string]any `json:"runtimeContract"`
|
||||
Implementation struct {
|
||||
Name string `json:"name"`
|
||||
RuntimeContract map[string]any `json:"runtimeContract"`
|
||||
PublicationStatus domain.OperatorPublicationStatus `json:"publicationStatus"`
|
||||
GenerationSource domain.OperatorGenerationSource `json:"generationSource"`
|
||||
Implementation struct {
|
||||
RepositoryName string `json:"repositoryName"`
|
||||
RepositoryURL string `json:"repositoryURL"`
|
||||
BuildCommands []string `json:"buildCommands"`
|
||||
@ -5628,6 +5630,12 @@ func TestAIOperatorGenerateAppliesOperatorGenerationSettings(t *testing.T) {
|
||||
if !ok || codeRepository["url"] != response.Implementation.RepositoryURL {
|
||||
t.Fatalf("expected runtime contract codeRepository to reference generated repo, got %#v", response.RuntimeContract["codeRepository"])
|
||||
}
|
||||
if response.RuntimeContract["implementationStatus"] != "draft-requires-real-logic" {
|
||||
t.Fatalf("expected generated operator to be draft-only, got %#v", response.RuntimeContract)
|
||||
}
|
||||
if response.GenerationSource != domain.OperatorGenerationSourceAI || response.PublicationStatus != domain.OperatorPublicationStatusDraft {
|
||||
t.Fatalf("expected generated operator lifecycle to default to ai/draft, got source=%q status=%q", response.GenerationSource, response.PublicationStatus)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSettingsRejectsAIKeyWithoutExplicitRuntimeConfig(t *testing.T) {
|
||||
@ -9084,6 +9092,156 @@ func TestProjectWorkflowAPIRejectsDuplicateIncomingEdgesPerInputPort(t *testing.
|
||||
}
|
||||
}
|
||||
|
||||
func aiDraftOperatorWorkflowNodes(operatorID string) []domain.WorkflowNode {
|
||||
return []domain.WorkflowNode{
|
||||
{
|
||||
ID: "source",
|
||||
Type: "operator",
|
||||
Data: domain.WorkflowNodeData{
|
||||
Label: "真实数据源",
|
||||
Category: "IO",
|
||||
Description: "source",
|
||||
Outputs: []domain.PortDefinition{{ID: "out-1", Name: "file", Type: domain.PortTypeFile}},
|
||||
},
|
||||
Position: domain.Position{X: 0, Y: 0},
|
||||
},
|
||||
{
|
||||
ID: "ai-draft",
|
||||
Type: "operator",
|
||||
Data: domain.WorkflowNodeData{
|
||||
Label: "AI 草稿算子",
|
||||
Category: "AI",
|
||||
Description: "draft",
|
||||
OperatorID: operatorID,
|
||||
Inputs: []domain.PortDefinition{{ID: "in-1", Name: "file", Type: domain.PortTypeFile}},
|
||||
Outputs: []domain.PortDefinition{{ID: "out-1", Name: "result", Type: domain.PortTypeJSON}},
|
||||
},
|
||||
Position: domain.Position{X: 200, Y: 0},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func aiDraftOperatorWorkflowEdges() []domain.WorkflowEdge {
|
||||
return []domain.WorkflowEdge{{ID: "edge-source-ai", Source: "source", SourceHandle: "out-1", Target: "ai-draft", TargetHandle: "in-1"}}
|
||||
}
|
||||
|
||||
func createAIDraftOperatorForWorkflowTest(t *testing.T, dataStore store.Store) *domain.OperatorRecord {
|
||||
t.Helper()
|
||||
operator, err := dataStore.CreateOperator(context.Background(), domain.CreateOperatorInput{
|
||||
Name: "AI 草稿算子",
|
||||
Type: "custom",
|
||||
Category: "AI",
|
||||
Description: "draft",
|
||||
Inputs: []domain.PortDefinition{{ID: "in-1", Name: "file", Type: domain.PortTypeFile}},
|
||||
Outputs: []domain.PortDefinition{{ID: "out-1", Name: "result", Type: domain.PortTypeJSON}},
|
||||
RuntimeContract: map[string]any{"generatedRepository": map[string]any{"repositoryName": "operator-ai-draft"}},
|
||||
GenerationSource: domain.OperatorGenerationSourceAI,
|
||||
PublicationStatus: domain.OperatorPublicationStatusDraft,
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatalf("create ai draft operator: %v", err)
|
||||
}
|
||||
return operator
|
||||
}
|
||||
|
||||
func TestProductionWorkflowRejectsAIDraftOperator(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
dataStore := store.NewMemoryStore()
|
||||
operator := createAIDraftOperatorForWorkflowTest(t, dataStore)
|
||||
project, err := dataStore.CreateProject(ctx, domain.CreateProjectInput{Name: "AI 草稿生产阻断", Description: "production block"})
|
||||
if err != nil {
|
||||
t.Fatalf("create project: %v", err)
|
||||
}
|
||||
payload, err := json.Marshal(domain.CreateWorkflowInput{
|
||||
Name: "生产工作流",
|
||||
Description: "must reject draft",
|
||||
Type: domain.WorkflowTypeBatch,
|
||||
Nodes: aiDraftOperatorWorkflowNodes(operator.ID),
|
||||
Edges: aiDraftOperatorWorkflowEdges(),
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatalf("marshal payload: %v", err)
|
||||
}
|
||||
|
||||
recorder := httptest.NewRecorder()
|
||||
NewHandler(dataStore, nil).ServeHTTP(
|
||||
recorder,
|
||||
httptest.NewRequest(http.MethodPost, "/api/projects/"+project.ID+"/workflows", bytes.NewReader(payload)),
|
||||
)
|
||||
if recorder.Code != http.StatusBadRequest {
|
||||
t.Fatalf("expected production workflow validation failure, got %d body=%s", recorder.Code, recorder.Body.String())
|
||||
}
|
||||
if !strings.Contains(recorder.Body.String(), "ai_operator_draft_production_blocked") {
|
||||
t.Fatalf("expected AI draft production block code, body=%s", recorder.Body.String())
|
||||
}
|
||||
}
|
||||
|
||||
func TestSandboxWorkflowAllowsAIDraftOperator(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
dataStore := store.NewMemoryStore()
|
||||
operator := createAIDraftOperatorForWorkflowTest(t, dataStore)
|
||||
project, err := dataStore.CreateProject(ctx, domain.CreateProjectInput{Name: "AI 草稿沙盒", Description: "sandbox allowed"})
|
||||
if err != nil {
|
||||
t.Fatalf("create project: %v", err)
|
||||
}
|
||||
payload, err := json.Marshal(domain.CreateWorkflowInput{
|
||||
Name: "沙盒工作流",
|
||||
Description: "allow draft",
|
||||
Type: domain.WorkflowTypeBatch,
|
||||
ExecutionScope: domain.WorkflowExecutionScopeSandbox,
|
||||
Nodes: aiDraftOperatorWorkflowNodes(operator.ID),
|
||||
Edges: aiDraftOperatorWorkflowEdges(),
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatalf("marshal payload: %v", err)
|
||||
}
|
||||
|
||||
recorder := httptest.NewRecorder()
|
||||
NewHandler(dataStore, nil).ServeHTTP(
|
||||
recorder,
|
||||
httptest.NewRequest(http.MethodPost, "/api/projects/"+project.ID+"/workflows", bytes.NewReader(payload)),
|
||||
)
|
||||
if recorder.Code != http.StatusCreated {
|
||||
t.Fatalf("expected sandbox workflow creation to succeed, got %d body=%s", recorder.Code, recorder.Body.String())
|
||||
}
|
||||
if !strings.Contains(recorder.Body.String(), `"executionScope":"sandbox"`) {
|
||||
t.Fatalf("expected sandbox scope in response, body=%s", recorder.Body.String())
|
||||
}
|
||||
}
|
||||
|
||||
func TestWorkflowRunRejectsAIDraftOperatorInProduction(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
dataStore := store.NewMemoryStore()
|
||||
operator := createAIDraftOperatorForWorkflowTest(t, dataStore)
|
||||
project, err := dataStore.CreateProject(ctx, domain.CreateProjectInput{Name: "AI 草稿运行阻断", Description: "run block"})
|
||||
if err != nil {
|
||||
t.Fatalf("create project: %v", err)
|
||||
}
|
||||
workflow, err := dataStore.CreateWorkflow(ctx, domain.CreateWorkflowInput{
|
||||
ProjectID: project.ID,
|
||||
Name: "旧生产工作流",
|
||||
Description: "legacy direct insert",
|
||||
Type: domain.WorkflowTypeBatch,
|
||||
Nodes: aiDraftOperatorWorkflowNodes(operator.ID),
|
||||
Edges: aiDraftOperatorWorkflowEdges(),
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatalf("create workflow: %v", err)
|
||||
}
|
||||
|
||||
recorder := httptest.NewRecorder()
|
||||
NewHandler(dataStore, nil).ServeHTTP(
|
||||
recorder,
|
||||
httptest.NewRequest(http.MethodPost, "/api/workflows/"+workflow.ID+"/run", bytes.NewReader([]byte(`{"trigger":"manual"}`))),
|
||||
)
|
||||
if recorder.Code != http.StatusBadRequest {
|
||||
t.Fatalf("expected run validation failure, got %d body=%s", recorder.Code, recorder.Body.String())
|
||||
}
|
||||
if !strings.Contains(recorder.Body.String(), "ai_operator_draft_production_blocked") {
|
||||
t.Fatalf("expected AI draft production block code, body=%s", recorder.Body.String())
|
||||
}
|
||||
}
|
||||
|
||||
func TestWorkflowUpdateRejectsDuplicateIncomingEdgesPerInputPort(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
dataStore := store.NewMemoryStore()
|
||||
|
||||
@ -56,6 +56,13 @@ const (
|
||||
WorkflowStatusFailed WorkflowStatus = "failed"
|
||||
)
|
||||
|
||||
type WorkflowExecutionScope string
|
||||
|
||||
const (
|
||||
WorkflowExecutionScopeProduction WorkflowExecutionScope = "production"
|
||||
WorkflowExecutionScopeSandbox WorkflowExecutionScope = "sandbox"
|
||||
)
|
||||
|
||||
type WorkflowType string
|
||||
|
||||
const (
|
||||
@ -144,27 +151,30 @@ type HyperParam struct {
|
||||
}
|
||||
|
||||
type WorkflowNodeData struct {
|
||||
Label string `json:"label" bson:"label"`
|
||||
Category string `json:"category" bson:"category"`
|
||||
Description string `json:"description" bson:"description"`
|
||||
Inputs []PortDefinition `json:"inputs" bson:"inputs"`
|
||||
Outputs []PortDefinition `json:"outputs" bson:"outputs"`
|
||||
OperatorID string `json:"operatorId,omitempty" bson:"operatorId,omitempty"`
|
||||
OperatorVersion string `json:"operatorVersion,omitempty" bson:"operatorVersion,omitempty"`
|
||||
OperatorImageID string `json:"operatorImageId,omitempty" bson:"operatorImageId,omitempty"`
|
||||
Image string `json:"image,omitempty" bson:"image,omitempty"`
|
||||
ContainerCommand []string `json:"containerCommand,omitempty" bson:"containerCommand,omitempty"`
|
||||
ContainerArgs []string `json:"containerArgs,omitempty" bson:"containerArgs,omitempty"`
|
||||
RuntimeContract map[string]any `json:"runtimeContract,omitempty" bson:"runtimeContract,omitempty"`
|
||||
SkillDefinition string `json:"skillDefinition,omitempty" bson:"skillDefinition,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty" bson:"hyperparams,omitempty"`
|
||||
ConnectionID string `json:"connectionId,omitempty" bson:"connectionId,omitempty"`
|
||||
Bucket string `json:"bucket,omitempty" bson:"bucket,omitempty"`
|
||||
Prefix string `json:"prefix,omitempty" bson:"prefix,omitempty"`
|
||||
Pattern string `json:"pattern,omitempty" bson:"pattern,omitempty"`
|
||||
CPU string `json:"cpu,omitempty" bson:"cpu,omitempty"`
|
||||
Memory string `json:"memory,omitempty" bson:"memory,omitempty"`
|
||||
GPU string `json:"gpu,omitempty" bson:"gpu,omitempty"`
|
||||
Label string `json:"label" bson:"label"`
|
||||
Category string `json:"category" bson:"category"`
|
||||
Description string `json:"description" bson:"description"`
|
||||
Inputs []PortDefinition `json:"inputs" bson:"inputs"`
|
||||
Outputs []PortDefinition `json:"outputs" bson:"outputs"`
|
||||
OperatorID string `json:"operatorId,omitempty" bson:"operatorId,omitempty"`
|
||||
OperatorVersion string `json:"operatorVersion,omitempty" bson:"operatorVersion,omitempty"`
|
||||
OperatorImageID string `json:"operatorImageId,omitempty" bson:"operatorImageId,omitempty"`
|
||||
Image string `json:"image,omitempty" bson:"image,omitempty"`
|
||||
ContainerCommand []string `json:"containerCommand,omitempty" bson:"containerCommand,omitempty"`
|
||||
ContainerArgs []string `json:"containerArgs,omitempty" bson:"containerArgs,omitempty"`
|
||||
RuntimeContract map[string]any `json:"runtimeContract,omitempty" bson:"runtimeContract,omitempty"`
|
||||
SkillDefinition string `json:"skillDefinition,omitempty" bson:"skillDefinition,omitempty"`
|
||||
PublicationStatus OperatorPublicationStatus `json:"publicationStatus,omitempty" bson:"publicationStatus,omitempty"`
|
||||
GenerationSource OperatorGenerationSource `json:"generationSource,omitempty" bson:"generationSource,omitempty"`
|
||||
PublicationEvidence *OperatorPublicationEvidence `json:"publicationEvidence,omitempty" bson:"publicationEvidence,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty" bson:"hyperparams,omitempty"`
|
||||
ConnectionID string `json:"connectionId,omitempty" bson:"connectionId,omitempty"`
|
||||
Bucket string `json:"bucket,omitempty" bson:"bucket,omitempty"`
|
||||
Prefix string `json:"prefix,omitempty" bson:"prefix,omitempty"`
|
||||
Pattern string `json:"pattern,omitempty" bson:"pattern,omitempty"`
|
||||
CPU string `json:"cpu,omitempty" bson:"cpu,omitempty"`
|
||||
Memory string `json:"memory,omitempty" bson:"memory,omitempty"`
|
||||
GPU string `json:"gpu,omitempty" bson:"gpu,omitempty"`
|
||||
}
|
||||
|
||||
type WorkflowNode struct {
|
||||
@ -204,27 +214,60 @@ type OperatorResources struct {
|
||||
GPULimit string `json:"gpuLimit,omitempty" bson:"gpuLimit,omitempty"`
|
||||
}
|
||||
|
||||
type OperatorPublicationStatus string
|
||||
|
||||
const (
|
||||
OperatorPublicationStatusDraft OperatorPublicationStatus = "draft"
|
||||
OperatorPublicationStatusBuilt OperatorPublicationStatus = "built"
|
||||
OperatorPublicationStatusVerified OperatorPublicationStatus = "verified"
|
||||
OperatorPublicationStatusPublished OperatorPublicationStatus = "published"
|
||||
)
|
||||
|
||||
type OperatorGenerationSource string
|
||||
|
||||
const (
|
||||
OperatorGenerationSourceManual OperatorGenerationSource = "manual"
|
||||
OperatorGenerationSourceAI OperatorGenerationSource = "ai"
|
||||
)
|
||||
|
||||
type OperatorPublicationEvidence struct {
|
||||
RepositoryURL string `json:"repositoryUrl,omitempty" bson:"repositoryUrl,omitempty"`
|
||||
RepositoryCommit string `json:"repositoryCommit,omitempty" bson:"repositoryCommit,omitempty"`
|
||||
Image string `json:"image,omitempty" bson:"image,omitempty"`
|
||||
ImageID string `json:"imageId,omitempty" bson:"imageId,omitempty"`
|
||||
FixtureChecksum string `json:"fixtureChecksum,omitempty" bson:"fixtureChecksum,omitempty"`
|
||||
TestCommand string `json:"testCommand,omitempty" bson:"testCommand,omitempty"`
|
||||
AcceptanceProjectID string `json:"acceptanceProjectId,omitempty" bson:"acceptanceProjectId,omitempty"`
|
||||
AcceptanceWorkflowID string `json:"acceptanceWorkflowId,omitempty" bson:"acceptanceWorkflowId,omitempty"`
|
||||
AcceptanceRunID string `json:"acceptanceRunId,omitempty" bson:"acceptanceRunId,omitempty"`
|
||||
VerifiedAt string `json:"verifiedAt,omitempty" bson:"verifiedAt,omitempty"`
|
||||
VerifiedBy string `json:"verifiedBy,omitempty" bson:"verifiedBy,omitempty"`
|
||||
}
|
||||
|
||||
type OperatorRecord struct {
|
||||
ID string `json:"id" bson:"id"`
|
||||
OrganizationID string `json:"organizationId,omitempty" bson:"organizationId,omitempty"`
|
||||
Name string `json:"name" bson:"name"`
|
||||
Type string `json:"type" bson:"type"`
|
||||
Category string `json:"category" bson:"category"`
|
||||
Description string `json:"description" bson:"description"`
|
||||
Inputs []PortDefinition `json:"inputs" bson:"inputs"`
|
||||
Outputs []PortDefinition `json:"outputs" bson:"outputs"`
|
||||
ConfigSchema map[string]any `json:"configSchema,omitempty" bson:"configSchema,omitempty"`
|
||||
Version string `json:"version,omitempty" bson:"version,omitempty"`
|
||||
Image string `json:"image,omitempty" bson:"image,omitempty"`
|
||||
ImageID string `json:"imageId,omitempty" bson:"imageId,omitempty"`
|
||||
ContainerCommand []string `json:"containerCommand,omitempty" bson:"containerCommand,omitempty"`
|
||||
ContainerArgs []string `json:"containerArgs,omitempty" bson:"containerArgs,omitempty"`
|
||||
RuntimeContract map[string]any `json:"runtimeContract,omitempty" bson:"runtimeContract,omitempty"`
|
||||
SkillDefinition string `json:"skillDefinition,omitempty" bson:"skillDefinition,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty" bson:"hyperparams,omitempty"`
|
||||
Resources *OperatorResources `json:"resources,omitempty" bson:"resources,omitempty"`
|
||||
CreatedAt string `json:"createdAt" bson:"createdAt"`
|
||||
UpdatedAt string `json:"updatedAt" bson:"updatedAt"`
|
||||
ID string `json:"id" bson:"id"`
|
||||
OrganizationID string `json:"organizationId,omitempty" bson:"organizationId,omitempty"`
|
||||
Name string `json:"name" bson:"name"`
|
||||
Type string `json:"type" bson:"type"`
|
||||
Category string `json:"category" bson:"category"`
|
||||
Description string `json:"description" bson:"description"`
|
||||
Inputs []PortDefinition `json:"inputs" bson:"inputs"`
|
||||
Outputs []PortDefinition `json:"outputs" bson:"outputs"`
|
||||
ConfigSchema map[string]any `json:"configSchema,omitempty" bson:"configSchema,omitempty"`
|
||||
Version string `json:"version,omitempty" bson:"version,omitempty"`
|
||||
Image string `json:"image,omitempty" bson:"image,omitempty"`
|
||||
ImageID string `json:"imageId,omitempty" bson:"imageId,omitempty"`
|
||||
ContainerCommand []string `json:"containerCommand,omitempty" bson:"containerCommand,omitempty"`
|
||||
ContainerArgs []string `json:"containerArgs,omitempty" bson:"containerArgs,omitempty"`
|
||||
RuntimeContract map[string]any `json:"runtimeContract,omitempty" bson:"runtimeContract,omitempty"`
|
||||
SkillDefinition string `json:"skillDefinition,omitempty" bson:"skillDefinition,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty" bson:"hyperparams,omitempty"`
|
||||
Resources *OperatorResources `json:"resources,omitempty" bson:"resources,omitempty"`
|
||||
PublicationStatus OperatorPublicationStatus `json:"publicationStatus,omitempty" bson:"publicationStatus,omitempty"`
|
||||
GenerationSource OperatorGenerationSource `json:"generationSource,omitempty" bson:"generationSource,omitempty"`
|
||||
PublicationEvidence *OperatorPublicationEvidence `json:"publicationEvidence,omitempty" bson:"publicationEvidence,omitempty"`
|
||||
CreatedAt string `json:"createdAt" bson:"createdAt"`
|
||||
UpdatedAt string `json:"updatedAt" bson:"updatedAt"`
|
||||
}
|
||||
|
||||
type BuiltinOperatorDeletionRecord struct {
|
||||
@ -248,49 +291,51 @@ type WorkflowSchedule struct {
|
||||
}
|
||||
|
||||
type WorkflowRecord struct {
|
||||
ID string `json:"id" bson:"id"`
|
||||
OrganizationID string `json:"organizationId,omitempty" bson:"organizationId,omitempty"`
|
||||
ProjectID string `json:"projectId" bson:"projectId"`
|
||||
Name string `json:"name" bson:"name"`
|
||||
Description string `json:"description" bson:"description"`
|
||||
Type WorkflowType `json:"type" bson:"type"`
|
||||
Kind WorkflowKind `json:"kind,omitempty" bson:"kind,omitempty"`
|
||||
ScanConfig *ScanConfig `json:"scanConfig,omitempty" bson:"scanConfig,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty" bson:"hyperparams,omitempty"`
|
||||
MaxConcurrentRuns int `json:"maxConcurrentRuns,omitempty" bson:"maxConcurrentRuns,omitempty"`
|
||||
NodeTimeoutSeconds int `json:"nodeTimeoutSeconds,omitempty" bson:"nodeTimeoutSeconds,omitempty"`
|
||||
RunTimeoutSeconds int `json:"runTimeoutSeconds,omitempty" bson:"runTimeoutSeconds,omitempty"`
|
||||
MaxRetryAttempts int `json:"maxRetryAttempts,omitempty" bson:"maxRetryAttempts,omitempty"`
|
||||
RetryBackoffSeconds int `json:"retryBackoffSeconds,omitempty" bson:"retryBackoffSeconds,omitempty"`
|
||||
Schedule *WorkflowSchedule `json:"schedule,omitempty" bson:"schedule,omitempty"`
|
||||
Nodes []WorkflowNode `json:"nodes" bson:"nodes"`
|
||||
Edges []WorkflowEdge `json:"edges" bson:"edges"`
|
||||
Status WorkflowStatus `json:"status" bson:"status"`
|
||||
LastRunID string `json:"lastRunId,omitempty" bson:"lastRunId,omitempty"`
|
||||
LastRunAt string `json:"lastRunAt,omitempty" bson:"lastRunAt,omitempty"`
|
||||
CreatedAt string `json:"createdAt" bson:"createdAt"`
|
||||
UpdatedAt string `json:"updatedAt" bson:"updatedAt"`
|
||||
ID string `json:"id" bson:"id"`
|
||||
OrganizationID string `json:"organizationId,omitempty" bson:"organizationId,omitempty"`
|
||||
ProjectID string `json:"projectId" bson:"projectId"`
|
||||
Name string `json:"name" bson:"name"`
|
||||
Description string `json:"description" bson:"description"`
|
||||
Type WorkflowType `json:"type" bson:"type"`
|
||||
Kind WorkflowKind `json:"kind,omitempty" bson:"kind,omitempty"`
|
||||
ExecutionScope WorkflowExecutionScope `json:"executionScope,omitempty" bson:"executionScope,omitempty"`
|
||||
ScanConfig *ScanConfig `json:"scanConfig,omitempty" bson:"scanConfig,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty" bson:"hyperparams,omitempty"`
|
||||
MaxConcurrentRuns int `json:"maxConcurrentRuns,omitempty" bson:"maxConcurrentRuns,omitempty"`
|
||||
NodeTimeoutSeconds int `json:"nodeTimeoutSeconds,omitempty" bson:"nodeTimeoutSeconds,omitempty"`
|
||||
RunTimeoutSeconds int `json:"runTimeoutSeconds,omitempty" bson:"runTimeoutSeconds,omitempty"`
|
||||
MaxRetryAttempts int `json:"maxRetryAttempts,omitempty" bson:"maxRetryAttempts,omitempty"`
|
||||
RetryBackoffSeconds int `json:"retryBackoffSeconds,omitempty" bson:"retryBackoffSeconds,omitempty"`
|
||||
Schedule *WorkflowSchedule `json:"schedule,omitempty" bson:"schedule,omitempty"`
|
||||
Nodes []WorkflowNode `json:"nodes" bson:"nodes"`
|
||||
Edges []WorkflowEdge `json:"edges" bson:"edges"`
|
||||
Status WorkflowStatus `json:"status" bson:"status"`
|
||||
LastRunID string `json:"lastRunId,omitempty" bson:"lastRunId,omitempty"`
|
||||
LastRunAt string `json:"lastRunAt,omitempty" bson:"lastRunAt,omitempty"`
|
||||
CreatedAt string `json:"createdAt" bson:"createdAt"`
|
||||
UpdatedAt string `json:"updatedAt" bson:"updatedAt"`
|
||||
}
|
||||
|
||||
type TemplateRecord struct {
|
||||
ID string `json:"id" bson:"id"`
|
||||
OrganizationID string `json:"organizationId,omitempty" bson:"organizationId,omitempty"`
|
||||
Name string `json:"name" bson:"name"`
|
||||
Description string `json:"description" bson:"description"`
|
||||
Type WorkflowType `json:"type" bson:"type"`
|
||||
Kind WorkflowKind `json:"kind,omitempty" bson:"kind,omitempty"`
|
||||
ScanConfig *ScanConfig `json:"scanConfig,omitempty" bson:"scanConfig,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty" bson:"hyperparams,omitempty"`
|
||||
MaxConcurrentRuns int `json:"maxConcurrentRuns,omitempty" bson:"maxConcurrentRuns,omitempty"`
|
||||
NodeTimeoutSeconds int `json:"nodeTimeoutSeconds,omitempty" bson:"nodeTimeoutSeconds,omitempty"`
|
||||
RunTimeoutSeconds int `json:"runTimeoutSeconds,omitempty" bson:"runTimeoutSeconds,omitempty"`
|
||||
MaxRetryAttempts int `json:"maxRetryAttempts,omitempty" bson:"maxRetryAttempts,omitempty"`
|
||||
RetryBackoffSeconds int `json:"retryBackoffSeconds,omitempty" bson:"retryBackoffSeconds,omitempty"`
|
||||
Schedule *WorkflowSchedule `json:"schedule,omitempty" bson:"schedule,omitempty"`
|
||||
Nodes []WorkflowNode `json:"nodes" bson:"nodes"`
|
||||
Edges []WorkflowEdge `json:"edges" bson:"edges"`
|
||||
CreatedAt string `json:"createdAt" bson:"createdAt"`
|
||||
UpdatedAt string `json:"updatedAt" bson:"updatedAt"`
|
||||
ID string `json:"id" bson:"id"`
|
||||
OrganizationID string `json:"organizationId,omitempty" bson:"organizationId,omitempty"`
|
||||
Name string `json:"name" bson:"name"`
|
||||
Description string `json:"description" bson:"description"`
|
||||
Type WorkflowType `json:"type" bson:"type"`
|
||||
Kind WorkflowKind `json:"kind,omitempty" bson:"kind,omitempty"`
|
||||
ExecutionScope WorkflowExecutionScope `json:"executionScope,omitempty" bson:"executionScope,omitempty"`
|
||||
ScanConfig *ScanConfig `json:"scanConfig,omitempty" bson:"scanConfig,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty" bson:"hyperparams,omitempty"`
|
||||
MaxConcurrentRuns int `json:"maxConcurrentRuns,omitempty" bson:"maxConcurrentRuns,omitempty"`
|
||||
NodeTimeoutSeconds int `json:"nodeTimeoutSeconds,omitempty" bson:"nodeTimeoutSeconds,omitempty"`
|
||||
RunTimeoutSeconds int `json:"runTimeoutSeconds,omitempty" bson:"runTimeoutSeconds,omitempty"`
|
||||
MaxRetryAttempts int `json:"maxRetryAttempts,omitempty" bson:"maxRetryAttempts,omitempty"`
|
||||
RetryBackoffSeconds int `json:"retryBackoffSeconds,omitempty" bson:"retryBackoffSeconds,omitempty"`
|
||||
Schedule *WorkflowSchedule `json:"schedule,omitempty" bson:"schedule,omitempty"`
|
||||
Nodes []WorkflowNode `json:"nodes" bson:"nodes"`
|
||||
Edges []WorkflowEdge `json:"edges" bson:"edges"`
|
||||
CreatedAt string `json:"createdAt" bson:"createdAt"`
|
||||
UpdatedAt string `json:"updatedAt" bson:"updatedAt"`
|
||||
}
|
||||
|
||||
type LogEntryRecord struct {
|
||||
@ -797,60 +842,65 @@ type CreateMongoConnectionInput struct {
|
||||
}
|
||||
|
||||
type CreateWorkflowInput struct {
|
||||
OrganizationID string `json:"organizationId,omitempty"`
|
||||
ProjectID string `json:"projectId"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
Type WorkflowType `json:"type"`
|
||||
Kind WorkflowKind `json:"kind,omitempty"`
|
||||
ScanConfig *ScanConfig `json:"scanConfig,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty"`
|
||||
MaxConcurrentRuns int `json:"maxConcurrentRuns,omitempty"`
|
||||
NodeTimeoutSeconds int `json:"nodeTimeoutSeconds,omitempty"`
|
||||
RunTimeoutSeconds int `json:"runTimeoutSeconds,omitempty"`
|
||||
MaxRetryAttempts int `json:"maxRetryAttempts,omitempty"`
|
||||
RetryBackoffSeconds int `json:"retryBackoffSeconds,omitempty"`
|
||||
Nodes []WorkflowNode `json:"nodes"`
|
||||
Edges []WorkflowEdge `json:"edges"`
|
||||
Schedule *WorkflowSchedule `json:"schedule,omitempty"`
|
||||
OrganizationID string `json:"organizationId,omitempty"`
|
||||
ProjectID string `json:"projectId"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
Type WorkflowType `json:"type"`
|
||||
Kind WorkflowKind `json:"kind,omitempty"`
|
||||
ExecutionScope WorkflowExecutionScope `json:"executionScope,omitempty"`
|
||||
ScanConfig *ScanConfig `json:"scanConfig,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty"`
|
||||
MaxConcurrentRuns int `json:"maxConcurrentRuns,omitempty"`
|
||||
NodeTimeoutSeconds int `json:"nodeTimeoutSeconds,omitempty"`
|
||||
RunTimeoutSeconds int `json:"runTimeoutSeconds,omitempty"`
|
||||
MaxRetryAttempts int `json:"maxRetryAttempts,omitempty"`
|
||||
RetryBackoffSeconds int `json:"retryBackoffSeconds,omitempty"`
|
||||
Nodes []WorkflowNode `json:"nodes"`
|
||||
Edges []WorkflowEdge `json:"edges"`
|
||||
Schedule *WorkflowSchedule `json:"schedule,omitempty"`
|
||||
}
|
||||
|
||||
type CreateTemplateInput struct {
|
||||
OrganizationID string `json:"organizationId,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
Type WorkflowType `json:"type"`
|
||||
Kind WorkflowKind `json:"kind,omitempty"`
|
||||
ScanConfig *ScanConfig `json:"scanConfig,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty"`
|
||||
MaxConcurrentRuns int `json:"maxConcurrentRuns,omitempty"`
|
||||
NodeTimeoutSeconds int `json:"nodeTimeoutSeconds,omitempty"`
|
||||
RunTimeoutSeconds int `json:"runTimeoutSeconds,omitempty"`
|
||||
MaxRetryAttempts int `json:"maxRetryAttempts,omitempty"`
|
||||
RetryBackoffSeconds int `json:"retryBackoffSeconds,omitempty"`
|
||||
Schedule *WorkflowSchedule `json:"schedule,omitempty"`
|
||||
Nodes []WorkflowNode `json:"nodes"`
|
||||
Edges []WorkflowEdge `json:"edges"`
|
||||
OrganizationID string `json:"organizationId,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
Type WorkflowType `json:"type"`
|
||||
Kind WorkflowKind `json:"kind,omitempty"`
|
||||
ExecutionScope WorkflowExecutionScope `json:"executionScope,omitempty"`
|
||||
ScanConfig *ScanConfig `json:"scanConfig,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty"`
|
||||
MaxConcurrentRuns int `json:"maxConcurrentRuns,omitempty"`
|
||||
NodeTimeoutSeconds int `json:"nodeTimeoutSeconds,omitempty"`
|
||||
RunTimeoutSeconds int `json:"runTimeoutSeconds,omitempty"`
|
||||
MaxRetryAttempts int `json:"maxRetryAttempts,omitempty"`
|
||||
RetryBackoffSeconds int `json:"retryBackoffSeconds,omitempty"`
|
||||
Schedule *WorkflowSchedule `json:"schedule,omitempty"`
|
||||
Nodes []WorkflowNode `json:"nodes"`
|
||||
Edges []WorkflowEdge `json:"edges"`
|
||||
}
|
||||
|
||||
type CreateOperatorInput struct {
|
||||
OrganizationID string `json:"organizationId,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Category string `json:"category"`
|
||||
Description string `json:"description"`
|
||||
Inputs []PortDefinition `json:"inputs"`
|
||||
Outputs []PortDefinition `json:"outputs"`
|
||||
ConfigSchema map[string]any `json:"configSchema,omitempty"`
|
||||
Version string `json:"version,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
ImageID string `json:"imageId,omitempty"`
|
||||
ContainerCommand []string `json:"containerCommand,omitempty"`
|
||||
ContainerArgs []string `json:"containerArgs,omitempty"`
|
||||
RuntimeContract map[string]any `json:"runtimeContract,omitempty"`
|
||||
SkillDefinition string `json:"skillDefinition,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty"`
|
||||
Resources *OperatorResources `json:"resources,omitempty"`
|
||||
OrganizationID string `json:"organizationId,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Category string `json:"category"`
|
||||
Description string `json:"description"`
|
||||
Inputs []PortDefinition `json:"inputs"`
|
||||
Outputs []PortDefinition `json:"outputs"`
|
||||
ConfigSchema map[string]any `json:"configSchema,omitempty"`
|
||||
Version string `json:"version,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
ImageID string `json:"imageId,omitempty"`
|
||||
ContainerCommand []string `json:"containerCommand,omitempty"`
|
||||
ContainerArgs []string `json:"containerArgs,omitempty"`
|
||||
RuntimeContract map[string]any `json:"runtimeContract,omitempty"`
|
||||
SkillDefinition string `json:"skillDefinition,omitempty"`
|
||||
Hyperparams []HyperParam `json:"hyperparams,omitempty"`
|
||||
Resources *OperatorResources `json:"resources,omitempty"`
|
||||
PublicationStatus OperatorPublicationStatus `json:"publicationStatus,omitempty"`
|
||||
GenerationSource OperatorGenerationSource `json:"generationSource,omitempty"`
|
||||
PublicationEvidence *OperatorPublicationEvidence `json:"publicationEvidence,omitempty"`
|
||||
}
|
||||
|
||||
type CreateUserInput struct {
|
||||
|
||||
@ -464,26 +464,29 @@ func (store *MemoryStore) CreateOperator(_ context.Context, input domain.CreateO
|
||||
defer store.mu.Unlock()
|
||||
now := nowISO()
|
||||
item := domain.OperatorRecord{
|
||||
ID: domain.NewID("operator"),
|
||||
OrganizationID: input.OrganizationID,
|
||||
Name: input.Name,
|
||||
Type: input.Type,
|
||||
Category: input.Category,
|
||||
Description: input.Description,
|
||||
Inputs: clone(input.Inputs),
|
||||
Outputs: clone(input.Outputs),
|
||||
ConfigSchema: clone(input.ConfigSchema),
|
||||
Version: input.Version,
|
||||
Image: input.Image,
|
||||
ImageID: input.ImageID,
|
||||
ContainerCommand: clone(input.ContainerCommand),
|
||||
ContainerArgs: clone(input.ContainerArgs),
|
||||
RuntimeContract: clone(input.RuntimeContract),
|
||||
SkillDefinition: input.SkillDefinition,
|
||||
Hyperparams: clone(input.Hyperparams),
|
||||
Resources: clone(input.Resources),
|
||||
CreatedAt: now,
|
||||
UpdatedAt: now,
|
||||
ID: domain.NewID("operator"),
|
||||
OrganizationID: input.OrganizationID,
|
||||
Name: input.Name,
|
||||
Type: input.Type,
|
||||
Category: input.Category,
|
||||
Description: input.Description,
|
||||
Inputs: clone(input.Inputs),
|
||||
Outputs: clone(input.Outputs),
|
||||
ConfigSchema: clone(input.ConfigSchema),
|
||||
Version: input.Version,
|
||||
Image: input.Image,
|
||||
ImageID: input.ImageID,
|
||||
ContainerCommand: clone(input.ContainerCommand),
|
||||
ContainerArgs: clone(input.ContainerArgs),
|
||||
RuntimeContract: clone(input.RuntimeContract),
|
||||
SkillDefinition: input.SkillDefinition,
|
||||
Hyperparams: clone(input.Hyperparams),
|
||||
Resources: clone(input.Resources),
|
||||
PublicationStatus: input.PublicationStatus,
|
||||
GenerationSource: input.GenerationSource,
|
||||
PublicationEvidence: clone(input.PublicationEvidence),
|
||||
CreatedAt: now,
|
||||
UpdatedAt: now,
|
||||
}
|
||||
store.operators[item.ID] = clone(item)
|
||||
cloned := clone(item)
|
||||
@ -585,6 +588,7 @@ func (store *MemoryStore) CreateWorkflow(_ context.Context, input domain.CreateW
|
||||
Description: input.Description,
|
||||
Type: input.Type,
|
||||
Kind: input.Kind,
|
||||
ExecutionScope: input.ExecutionScope,
|
||||
ScanConfig: clone(input.ScanConfig),
|
||||
Hyperparams: clone(input.Hyperparams),
|
||||
MaxConcurrentRuns: input.MaxConcurrentRuns,
|
||||
@ -691,6 +695,7 @@ func (store *MemoryStore) CreateTemplate(_ context.Context, input domain.CreateT
|
||||
Description: input.Description,
|
||||
Type: templateType,
|
||||
Kind: input.Kind,
|
||||
ExecutionScope: input.ExecutionScope,
|
||||
ScanConfig: clone(input.ScanConfig),
|
||||
Hyperparams: clone(input.Hyperparams),
|
||||
MaxConcurrentRuns: input.MaxConcurrentRuns,
|
||||
|
||||
@ -324,26 +324,29 @@ func (store *MongoStore) GetOperator(ctx context.Context, id string) (*domain.Op
|
||||
func (store *MongoStore) CreateOperator(ctx context.Context, input domain.CreateOperatorInput) (*domain.OperatorRecord, error) {
|
||||
now := nowISO()
|
||||
item := domain.OperatorRecord{
|
||||
ID: domain.NewID("operator"),
|
||||
OrganizationID: input.OrganizationID,
|
||||
Name: input.Name,
|
||||
Type: input.Type,
|
||||
Category: input.Category,
|
||||
Description: input.Description,
|
||||
Inputs: input.Inputs,
|
||||
Outputs: input.Outputs,
|
||||
ConfigSchema: input.ConfigSchema,
|
||||
Version: input.Version,
|
||||
Image: input.Image,
|
||||
ImageID: input.ImageID,
|
||||
ContainerCommand: input.ContainerCommand,
|
||||
ContainerArgs: input.ContainerArgs,
|
||||
RuntimeContract: input.RuntimeContract,
|
||||
SkillDefinition: input.SkillDefinition,
|
||||
Hyperparams: input.Hyperparams,
|
||||
Resources: input.Resources,
|
||||
CreatedAt: now,
|
||||
UpdatedAt: now,
|
||||
ID: domain.NewID("operator"),
|
||||
OrganizationID: input.OrganizationID,
|
||||
Name: input.Name,
|
||||
Type: input.Type,
|
||||
Category: input.Category,
|
||||
Description: input.Description,
|
||||
Inputs: input.Inputs,
|
||||
Outputs: input.Outputs,
|
||||
ConfigSchema: input.ConfigSchema,
|
||||
Version: input.Version,
|
||||
Image: input.Image,
|
||||
ImageID: input.ImageID,
|
||||
ContainerCommand: input.ContainerCommand,
|
||||
ContainerArgs: input.ContainerArgs,
|
||||
RuntimeContract: input.RuntimeContract,
|
||||
SkillDefinition: input.SkillDefinition,
|
||||
Hyperparams: input.Hyperparams,
|
||||
Resources: input.Resources,
|
||||
PublicationStatus: input.PublicationStatus,
|
||||
GenerationSource: input.GenerationSource,
|
||||
PublicationEvidence: input.PublicationEvidence,
|
||||
CreatedAt: now,
|
||||
UpdatedAt: now,
|
||||
}
|
||||
if err := store.UpsertOperator(ctx, item); err != nil {
|
||||
return nil, err
|
||||
@ -423,6 +426,7 @@ func (store *MongoStore) CreateWorkflow(ctx context.Context, input domain.Create
|
||||
Description: input.Description,
|
||||
Type: input.Type,
|
||||
Kind: input.Kind,
|
||||
ExecutionScope: input.ExecutionScope,
|
||||
ScanConfig: input.ScanConfig,
|
||||
Hyperparams: input.Hyperparams,
|
||||
MaxConcurrentRuns: input.MaxConcurrentRuns,
|
||||
@ -509,6 +513,7 @@ func (store *MongoStore) CreateTemplate(ctx context.Context, input domain.Create
|
||||
Description: input.Description,
|
||||
Type: templateType,
|
||||
Kind: input.Kind,
|
||||
ExecutionScope: input.ExecutionScope,
|
||||
ScanConfig: input.ScanConfig,
|
||||
Hyperparams: input.Hyperparams,
|
||||
MaxConcurrentRuns: input.MaxConcurrentRuns,
|
||||
|
||||
@ -136,6 +136,76 @@ func NewRuntime(dataStore store.Store, namespace string, imagePullSecretName str
|
||||
}, nil
|
||||
}
|
||||
|
||||
func runtimeOperatorGeneratedByAI(item domain.OperatorRecord) bool {
|
||||
source := strings.ToLower(strings.TrimSpace(string(item.GenerationSource)))
|
||||
if source == string(domain.OperatorGenerationSourceAI) {
|
||||
return true
|
||||
}
|
||||
if item.RuntimeContract == nil {
|
||||
return false
|
||||
}
|
||||
if sourceValue, ok := item.RuntimeContract["generationSource"].(string); ok && strings.EqualFold(strings.TrimSpace(sourceValue), string(domain.OperatorGenerationSourceAI)) {
|
||||
return true
|
||||
}
|
||||
_, generated := item.RuntimeContract["generatedRepository"]
|
||||
return generated
|
||||
}
|
||||
|
||||
func runtimeOperatorPublishedStatus(item domain.OperatorRecord) domain.OperatorPublicationStatus {
|
||||
status := domain.OperatorPublicationStatus(strings.ToLower(strings.TrimSpace(string(item.PublicationStatus))))
|
||||
if status != "" {
|
||||
return status
|
||||
}
|
||||
if runtimeOperatorGeneratedByAI(item) {
|
||||
return domain.OperatorPublicationStatusDraft
|
||||
}
|
||||
return domain.OperatorPublicationStatusPublished
|
||||
}
|
||||
|
||||
func runtimeNodeGeneratedByAI(node domain.WorkflowNode) bool {
|
||||
return strings.EqualFold(strings.TrimSpace(string(node.Data.GenerationSource)), string(domain.OperatorGenerationSourceAI))
|
||||
}
|
||||
|
||||
func runtimeNodePublishedStatus(node domain.WorkflowNode) domain.OperatorPublicationStatus {
|
||||
status := domain.OperatorPublicationStatus(strings.ToLower(strings.TrimSpace(string(node.Data.PublicationStatus))))
|
||||
if status != "" {
|
||||
return status
|
||||
}
|
||||
if runtimeNodeGeneratedByAI(node) {
|
||||
return domain.OperatorPublicationStatusDraft
|
||||
}
|
||||
return domain.OperatorPublicationStatusPublished
|
||||
}
|
||||
|
||||
func (runtime *Runtime) workflowPublicationBlocker(ctx context.Context, workflow *domain.WorkflowRecord) string {
|
||||
if workflow == nil || workflow.ExecutionScope == domain.WorkflowExecutionScopeSandbox {
|
||||
return ""
|
||||
}
|
||||
for _, node := range workflow.Nodes {
|
||||
sourceAI := runtimeNodeGeneratedByAI(node)
|
||||
status := runtimeNodePublishedStatus(node)
|
||||
if operatorID := strings.TrimSpace(node.Data.OperatorID); operatorID != "" {
|
||||
operator, err := runtime.store.GetOperator(ctx, operatorID)
|
||||
if err != nil {
|
||||
return "工作流图非法:无法读取算子发布状态。"
|
||||
}
|
||||
if operator != nil {
|
||||
sourceAI = runtimeOperatorGeneratedByAI(*operator)
|
||||
status = runtimeOperatorPublishedStatus(*operator)
|
||||
}
|
||||
}
|
||||
if !sourceAI || status == domain.OperatorPublicationStatusPublished {
|
||||
continue
|
||||
}
|
||||
label := strings.TrimSpace(node.Data.Label)
|
||||
if label == "" {
|
||||
label = node.ID
|
||||
}
|
||||
return "生产工作流不能使用未发布的 AI 生成算子:" + label + "。请在沙盒工作流验证,或发布后再运行。"
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func defaultDispatchOwner() string {
|
||||
hostname, err := os.Hostname()
|
||||
if err != nil || strings.TrimSpace(hostname) == "" {
|
||||
@ -1627,6 +1697,15 @@ func (runtime *Runtime) processRun(ctx context.Context, claimed *domain.RunRecor
|
||||
appendLog(currentRun, logEntry("ERROR", message, "system"))
|
||||
return currentRun, runtime.store.UpsertRun(ctx, *currentRun)
|
||||
}
|
||||
if message := runtime.workflowPublicationBlocker(ctx, workflow); message != "" {
|
||||
currentRun := claimed
|
||||
currentRun.Status = domain.RunStatusFailed
|
||||
currentRun.EndedAt = nowISO()
|
||||
currentRun.Error = message
|
||||
currentRun.UpdatedAt = nowISO()
|
||||
appendLog(currentRun, logEntry("ERROR", message, "system"))
|
||||
return currentRun, runtime.store.UpsertRun(ctx, *currentRun)
|
||||
}
|
||||
|
||||
currentRun, err := runtime.store.GetRun(ctx, claimed.ID)
|
||||
if err != nil {
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-act-policy-train` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-act-policy-train:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-act-policy-train@sha256:d24b5417b2eab1abf5bb07a1d66d38306ea5545226d3f2a3e34bb5aee184f4f2`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_act_policy_train`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/act_policy_train/release.json
Normal file
30
operator-repos/builtin/act_policy_train/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:d24b5417b2eab1abf5bb07a1d66d38306ea5545226d3f2a3e34bb5aee184f4f2",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:d24b5417b2eab1abf5bb07a1d66d38306ea5545226d3f2a3e34bb5aee184f4f2",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-act-policy-train:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-act-policy-train@sha256:d24b5417b2eab1abf5bb07a1d66d38306ea5545226d3f2a3e34bb5aee184f4f2",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-act-policy-train:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-act-policy-train@sha256:d24b5417b2eab1abf5bb07a1d66d38306ea5545226d3f2a3e34bb5aee184f4f2",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-act-policy-train",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "act_policy_train",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "5c08cbb92c75c5ad30af05eed5c8cf2d06d3bc1edd28d23d16dcd79f09ee8e0f",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "act_policy_train",
|
||||
"preferredSlug": "act_policy_train",
|
||||
"pythonImport": "operator-repos/builtin/act_policy_train/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/act_policy_train",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -77,6 +79,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/act_policy_train/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/act_policy_train",
|
||||
"sourceTreeSha256": "5c08cbb92c75c5ad30af05eed5c8cf2d06d3bc1edd28d23d16dcd79f09ee8e0f",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-action-state-quality-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-action-state-quality-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-action-state-quality-validate@sha256:96055934c67458386848e774725ea4328cb0b1fe157e77a23e8586659e7b538d`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_action_state_quality_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:96055934c67458386848e774725ea4328cb0b1fe157e77a23e8586659e7b538d",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:96055934c67458386848e774725ea4328cb0b1fe157e77a23e8586659e7b538d",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-action-state-quality-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-action-state-quality-validate@sha256:96055934c67458386848e774725ea4328cb0b1fe157e77a23e8586659e7b538d",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-action-state-quality-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-action-state-quality-validate@sha256:96055934c67458386848e774725ea4328cb0b1fe157e77a23e8586659e7b538d",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-action-state-quality-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "action_state_quality_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "7764f2915d1e3bd129d331216f4b50e225cd924af13fb64c08934e39b3e5c53c",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "action_state_quality_validate",
|
||||
"preferredSlug": "action_state_quality_validate",
|
||||
"pythonImport": "operator-repos/builtin/action_state_quality_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/action_state_quality_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -75,6 +77,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/action_state_quality_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/action_state_quality_validate",
|
||||
"sourceTreeSha256": "7764f2915d1e3bd129d331216f4b50e225cd924af13fb64c08934e39b3e5c53c",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-agibot-world2026-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-agibot-world2026-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-agibot-world2026-validate@sha256:622499759d3ae4bb0bbcbd51069fb2525510f41d3a42a474e30b7d21d9df41b8`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_agibot_world2026_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:622499759d3ae4bb0bbcbd51069fb2525510f41d3a42a474e30b7d21d9df41b8",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:622499759d3ae4bb0bbcbd51069fb2525510f41d3a42a474e30b7d21d9df41b8",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-agibot-world2026-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-agibot-world2026-validate@sha256:622499759d3ae4bb0bbcbd51069fb2525510f41d3a42a474e30b7d21d9df41b8",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-agibot-world2026-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-agibot-world2026-validate@sha256:622499759d3ae4bb0bbcbd51069fb2525510f41d3a42a474e30b7d21d9df41b8",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-agibot-world2026-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "agibot_world2026_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "526c446e1bf7ce83abfb3dc74c8dc5ee48914b93b7bb7e9558609f65cd36b616",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "agibot_world2026_validate",
|
||||
"preferredSlug": "agibot_world2026_validate",
|
||||
"pythonImport": "operator-repos/builtin/agibot_world2026_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/agibot_world2026_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -77,6 +79,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/agibot_world2026_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/agibot_world2026_validate",
|
||||
"sourceTreeSha256": "526c446e1bf7ce83abfb3dc74c8dc5ee48914b93b7bb7e9558609f65cd36b616",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-aloha-hdf5-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-aloha-hdf5-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-aloha-hdf5-validate@sha256:e90db43b9bf900fec24f36546724121bab2a329f9ab7b48f579e84a53eb045a8`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_aloha_hdf5_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/aloha_hdf5_validate/release.json
Normal file
30
operator-repos/builtin/aloha_hdf5_validate/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:e90db43b9bf900fec24f36546724121bab2a329f9ab7b48f579e84a53eb045a8",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:e90db43b9bf900fec24f36546724121bab2a329f9ab7b48f579e84a53eb045a8",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-aloha-hdf5-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-aloha-hdf5-validate@sha256:e90db43b9bf900fec24f36546724121bab2a329f9ab7b48f579e84a53eb045a8",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-aloha-hdf5-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-aloha-hdf5-validate@sha256:e90db43b9bf900fec24f36546724121bab2a329f9ab7b48f579e84a53eb045a8",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-aloha-hdf5-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "aloha_hdf5_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "14feb8cce781276edab0eba6b3e3fb7a95cade41a3a731ae49432fefbbda2b8b",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "aloha_hdf5_validate",
|
||||
"preferredSlug": "aloha_hdf5_validate",
|
||||
"pythonImport": "operator-repos/builtin/aloha_hdf5_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/aloha_hdf5_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -77,6 +79,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/aloha_hdf5_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/aloha_hdf5_validate",
|
||||
"sourceTreeSha256": "14feb8cce781276edab0eba6b3e3fb7a95cade41a3a731ae49432fefbbda2b8b",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-audit-sample` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-audit-sample:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-audit-sample@sha256:2a89baaae19e6c2c33980f41921020043888dc48db23cbc69c7de6f4670c9fc2`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_audit_sampling`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/audit_sample/release.json
Normal file
30
operator-repos/builtin/audit_sample/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:2a89baaae19e6c2c33980f41921020043888dc48db23cbc69c7de6f4670c9fc2",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:2a89baaae19e6c2c33980f41921020043888dc48db23cbc69c7de6f4670c9fc2",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-audit-sample:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-audit-sample@sha256:2a89baaae19e6c2c33980f41921020043888dc48db23cbc69c7de6f4670c9fc2",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-audit-sample:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-audit-sample@sha256:2a89baaae19e6c2c33980f41921020043888dc48db23cbc69c7de6f4670c9fc2",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-audit-sample",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "audit_sample",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "6c6229b723872c85a2c05ccfa450e08978f384787014e771b08702b2feac159c",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "audit_sample",
|
||||
"preferredSlug": "audit_sample",
|
||||
"pythonImport": "operator-repos/builtin/audit_sample/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/audit_sample",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -73,6 +75,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/audit_sample/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/audit_sample",
|
||||
"sourceTreeSha256": "6c6229b723872c85a2c05ccfa450e08978f384787014e771b08702b2feac159c",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-bop-dataset-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bop-dataset-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bop-dataset-validate@sha256:6b99f50e0777e02df933fb196666f6bace7c251fcdfedf1630844525905d5c1b`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_bop_dataset_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/bop_dataset_validate/release.json
Normal file
30
operator-repos/builtin/bop_dataset_validate/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:6b99f50e0777e02df933fb196666f6bace7c251fcdfedf1630844525905d5c1b",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:6b99f50e0777e02df933fb196666f6bace7c251fcdfedf1630844525905d5c1b",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bop-dataset-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bop-dataset-validate@sha256:6b99f50e0777e02df933fb196666f6bace7c251fcdfedf1630844525905d5c1b",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bop-dataset-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bop-dataset-validate@sha256:6b99f50e0777e02df933fb196666f6bace7c251fcdfedf1630844525905d5c1b",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-bop-dataset-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "bop_dataset_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "8eccb61ebfd5559143588caa5d286365ed4acea9e0c351042f41bf2c936f568c",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "bop_dataset_validate",
|
||||
"preferredSlug": "bop_dataset_validate",
|
||||
"pythonImport": "operator-repos/builtin/bop_dataset_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/bop_dataset_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -79,6 +81,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/bop_dataset_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/bop_dataset_validate",
|
||||
"sourceTreeSha256": "8eccb61ebfd5559143588caa5d286365ed4acea9e0c351042f41bf2c936f568c",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-bos-incremental-scan` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bos-incremental-scan:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bos-incremental-scan@sha256:9077ae0f63cdf0fe76ce363ea08b84f071b2fc3c0ef516bd797a8d63eba91249`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_source`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/bos_incremental_scan/release.json
Normal file
30
operator-repos/builtin/bos_incremental_scan/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:9077ae0f63cdf0fe76ce363ea08b84f071b2fc3c0ef516bd797a8d63eba91249",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:9077ae0f63cdf0fe76ce363ea08b84f071b2fc3c0ef516bd797a8d63eba91249",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bos-incremental-scan:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bos-incremental-scan@sha256:9077ae0f63cdf0fe76ce363ea08b84f071b2fc3c0ef516bd797a8d63eba91249",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bos-incremental-scan:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bos-incremental-scan@sha256:9077ae0f63cdf0fe76ce363ea08b84f071b2fc3c0ef516bd797a8d63eba91249",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-bos-incremental-scan",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "bos_incremental_scan",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "ea63f6a532a721c44abb2677f81383b3f4fa9558a8710689888c6a4dadc653d0",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "bos_incremental_scan",
|
||||
"preferredSlug": "bos_incremental_scan",
|
||||
"pythonImport": "operator-repos/builtin/bos_incremental_scan/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/bos_incremental_scan",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -73,6 +75,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/bos_incremental_scan/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/bos_incremental_scan",
|
||||
"sourceTreeSha256": "ea63f6a532a721c44abb2677f81383b3f4fa9558a8710689888c6a4dadc653d0",
|
||||
"strictPocAcceptanceExternals": [
|
||||
"bos"
|
||||
],
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-bridgedata-tfds-manifest-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bridgedata-tfds-manifest-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bridgedata-tfds-manifest-validate@sha256:18c89efc04d3ca65154c07851231c16953900016178d6183041850e6e7f7e2a0`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_bridgedata_tfds_manifest_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:18c89efc04d3ca65154c07851231c16953900016178d6183041850e6e7f7e2a0",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:18c89efc04d3ca65154c07851231c16953900016178d6183041850e6e7f7e2a0",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bridgedata-tfds-manifest-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bridgedata-tfds-manifest-validate@sha256:18c89efc04d3ca65154c07851231c16953900016178d6183041850e6e7f7e2a0",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bridgedata-tfds-manifest-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-bridgedata-tfds-manifest-validate@sha256:18c89efc04d3ca65154c07851231c16953900016178d6183041850e6e7f7e2a0",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-bridgedata-tfds-manifest-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "bridgedata_tfds_manifest_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "1065844e7e844c0ed7772433cd988350c6914813da533879762a5754de7a6c11",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "bridgedata_tfds_manifest_validate",
|
||||
"preferredSlug": "bridgedata_tfds_manifest_validate",
|
||||
"pythonImport": "operator-repos/builtin/bridgedata_tfds_manifest_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/bridgedata_tfds_manifest_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -77,6 +79,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/bridgedata_tfds_manifest_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/bridgedata_tfds_manifest_validate",
|
||||
"sourceTreeSha256": "1065844e7e844c0ed7772433cd988350c6914813da533879762a5754de7a6c11",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-calvin-episode-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-calvin-episode-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-calvin-episode-validate@sha256:bc90a289bb258dc0f74fd1a33d2baa5ca53182e78eed23c42106205325ae9a48`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_calvin_episode_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/calvin_episode_validate/release.json
Normal file
30
operator-repos/builtin/calvin_episode_validate/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:bc90a289bb258dc0f74fd1a33d2baa5ca53182e78eed23c42106205325ae9a48",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:bc90a289bb258dc0f74fd1a33d2baa5ca53182e78eed23c42106205325ae9a48",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-calvin-episode-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-calvin-episode-validate@sha256:bc90a289bb258dc0f74fd1a33d2baa5ca53182e78eed23c42106205325ae9a48",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-calvin-episode-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-calvin-episode-validate@sha256:bc90a289bb258dc0f74fd1a33d2baa5ca53182e78eed23c42106205325ae9a48",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-calvin-episode-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "calvin_episode_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "ac9da075f50ac2993cd98ebb26e33b3a9b676870862fa022cfe0f27a7e5e590f",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "calvin_episode_validate",
|
||||
"preferredSlug": "calvin_episode_validate",
|
||||
"pythonImport": "operator-repos/builtin/calvin_episode_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/calvin_episode_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -77,6 +79,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/calvin_episode_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/calvin_episode_validate",
|
||||
"sourceTreeSha256": "ac9da075f50ac2993cd98ebb26e33b3a9b676870862fa022cfe0f27a7e5e590f",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-camera-calibration-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-camera-calibration-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-camera-calibration-validate@sha256:b43c83210cdd287d8234ff4e137586b1e5d671945ef72308246e9cceb8d7cae7`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_camera_calibration_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:b43c83210cdd287d8234ff4e137586b1e5d671945ef72308246e9cceb8d7cae7",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:b43c83210cdd287d8234ff4e137586b1e5d671945ef72308246e9cceb8d7cae7",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-camera-calibration-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-camera-calibration-validate@sha256:b43c83210cdd287d8234ff4e137586b1e5d671945ef72308246e9cceb8d7cae7",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-camera-calibration-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-camera-calibration-validate@sha256:b43c83210cdd287d8234ff4e137586b1e5d671945ef72308246e9cceb8d7cae7",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-camera-calibration-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "camera_calibration_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "db9013fa4ad0209480433a92e698cbb34d74c9ff5749989df6b2e0661c9abf06",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "camera_calibration_validate",
|
||||
"preferredSlug": "camera_calibration_validate",
|
||||
"pythonImport": "operator-repos/builtin/camera_calibration_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/camera_calibration_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -77,6 +79,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/camera_calibration_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/camera_calibration_validate",
|
||||
"sourceTreeSha256": "db9013fa4ad0209480433a92e698cbb34d74c9ff5749989df6b2e0661c9abf06",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-coco-annotation-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-coco-annotation-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-coco-annotation-validate@sha256:538e5ffdc881f6f93ae55b84c216b57954bbf662a1d1a34588ed4981eb8ab57d`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_coco_annotation_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/coco_annotation_validate/release.json
Normal file
30
operator-repos/builtin/coco_annotation_validate/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:538e5ffdc881f6f93ae55b84c216b57954bbf662a1d1a34588ed4981eb8ab57d",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:538e5ffdc881f6f93ae55b84c216b57954bbf662a1d1a34588ed4981eb8ab57d",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-coco-annotation-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-coco-annotation-validate@sha256:538e5ffdc881f6f93ae55b84c216b57954bbf662a1d1a34588ed4981eb8ab57d",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-coco-annotation-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-coco-annotation-validate@sha256:538e5ffdc881f6f93ae55b84c216b57954bbf662a1d1a34588ed4981eb8ab57d",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-coco-annotation-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "coco_annotation_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "4592bb3dbed03872b577a40d429d498a1815ea402d463e8c812c3dd471c4329a",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "coco_annotation_validate",
|
||||
"preferredSlug": "coco_annotation_validate",
|
||||
"pythonImport": "operator-repos/builtin/coco_annotation_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/coco_annotation_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -75,6 +77,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/coco_annotation_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/coco_annotation_validate",
|
||||
"sourceTreeSha256": "4592bb3dbed03872b577a40d429d498a1815ea402d463e8c812c3dd471c4329a",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-conditional-route` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-conditional-route:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-conditional-route@sha256:0de386aacb81c0658bac316e50689d3fa56bc7403865ce3237262e1dda0ff5a4`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_condition_router`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/conditional_route/release.json
Normal file
30
operator-repos/builtin/conditional_route/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:0de386aacb81c0658bac316e50689d3fa56bc7403865ce3237262e1dda0ff5a4",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:0de386aacb81c0658bac316e50689d3fa56bc7403865ce3237262e1dda0ff5a4",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-conditional-route:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-conditional-route@sha256:0de386aacb81c0658bac316e50689d3fa56bc7403865ce3237262e1dda0ff5a4",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-conditional-route:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-conditional-route@sha256:0de386aacb81c0658bac316e50689d3fa56bc7403865ce3237262e1dda0ff5a4",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-conditional-route",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "conditional_route",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "f4d5bb7574115f8021ea7f0bedeb348ecc2e25c3801fd2ad37ef1fb691c5ffb7",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "conditional_route",
|
||||
"preferredSlug": "conditional_route",
|
||||
"pythonImport": "operator-repos/builtin/conditional_route/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/conditional_route",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -73,6 +75,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/conditional_route/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/conditional_route",
|
||||
"sourceTreeSha256": "f4d5bb7574115f8021ea7f0bedeb348ecc2e25c3801fd2ad37ef1fb691c5ffb7",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-csv-to-json` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-csv-to-json:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-csv-to-json@sha256:9137bbc331c43d783ac20b3316c606612d96c1e725c95bfdac02f6de6d163c7f`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_csv_to_json`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/csv_to_json/release.json
Normal file
30
operator-repos/builtin/csv_to_json/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:9137bbc331c43d783ac20b3316c606612d96c1e725c95bfdac02f6de6d163c7f",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:9137bbc331c43d783ac20b3316c606612d96c1e725c95bfdac02f6de6d163c7f",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-csv-to-json:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-csv-to-json@sha256:9137bbc331c43d783ac20b3316c606612d96c1e725c95bfdac02f6de6d163c7f",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-csv-to-json:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-csv-to-json@sha256:9137bbc331c43d783ac20b3316c606612d96c1e725c95bfdac02f6de6d163c7f",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-csv-to-json",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "csv_to_json",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "7da33dc758c574b4d8606d5eced3a9c1d2da01e1e56778eb1c9a626223435046",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "csv_to_json",
|
||||
"preferredSlug": "csv_to_json",
|
||||
"pythonImport": "operator-repos/builtin/csv_to_json/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/csv_to_json",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -73,6 +75,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/csv_to_json/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/csv_to_json",
|
||||
"sourceTreeSha256": "7da33dc758c574b4d8606d5eced3a9c1d2da01e1e56778eb1c9a626223435046",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-dataset-provenance-audit` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-provenance-audit:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-provenance-audit@sha256:641ef1697d6e61773dc587c9142a50b920738107974f7ffbacf2512302aee98f`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_dataset_provenance_audit`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/dataset_provenance_audit/release.json
Normal file
30
operator-repos/builtin/dataset_provenance_audit/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:641ef1697d6e61773dc587c9142a50b920738107974f7ffbacf2512302aee98f",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:641ef1697d6e61773dc587c9142a50b920738107974f7ffbacf2512302aee98f",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-provenance-audit:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-provenance-audit@sha256:641ef1697d6e61773dc587c9142a50b920738107974f7ffbacf2512302aee98f",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-provenance-audit:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-provenance-audit@sha256:641ef1697d6e61773dc587c9142a50b920738107974f7ffbacf2512302aee98f",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-dataset-provenance-audit",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "dataset_provenance_audit",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "424803a0463b873f666a6b72713279e66d559dc9d01347d1541c5d7458bef7fc",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "dataset_provenance_audit",
|
||||
"preferredSlug": "dataset_provenance_audit",
|
||||
"pythonImport": "operator-repos/builtin/dataset_provenance_audit/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/dataset_provenance_audit",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -77,6 +79,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/dataset_provenance_audit/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/dataset_provenance_audit",
|
||||
"sourceTreeSha256": "424803a0463b873f666a6b72713279e66d559dc9d01347d1541c5d7458bef7fc",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-dataset-schema-contract-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-schema-contract-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-schema-contract-validate@sha256:9dfcb8cf18e09069e14db67c8649352071fcdf44b1d537465d38aff532f5ba48`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_dataset_schema_contract_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:9dfcb8cf18e09069e14db67c8649352071fcdf44b1d537465d38aff532f5ba48",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:9dfcb8cf18e09069e14db67c8649352071fcdf44b1d537465d38aff532f5ba48",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-schema-contract-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-schema-contract-validate@sha256:9dfcb8cf18e09069e14db67c8649352071fcdf44b1d537465d38aff532f5ba48",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-schema-contract-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-schema-contract-validate@sha256:9dfcb8cf18e09069e14db67c8649352071fcdf44b1d537465d38aff532f5ba48",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-dataset-schema-contract-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "dataset_schema_contract_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "06565a074f1eeb98fdfd8ac5967f34175657a52da8769867fcd3e5fea79cb00f",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "dataset_schema_contract_validate",
|
||||
"preferredSlug": "dataset_schema_contract_validate",
|
||||
"pythonImport": "operator-repos/builtin/dataset_schema_contract_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/dataset_schema_contract_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -79,6 +81,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/dataset_schema_contract_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/dataset_schema_contract_validate",
|
||||
"sourceTreeSha256": "06565a074f1eeb98fdfd8ac5967f34175657a52da8769867fcd3e5fea79cb00f",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-dataset-split-leakage-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-split-leakage-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-split-leakage-validate@sha256:2dde8d42ac5001e4727b6061c54970c136f7588c1bde04fa7b5e3473e49aaac4`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_dataset_split_leakage_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:2dde8d42ac5001e4727b6061c54970c136f7588c1bde04fa7b5e3473e49aaac4",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:2dde8d42ac5001e4727b6061c54970c136f7588c1bde04fa7b5e3473e49aaac4",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-split-leakage-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-split-leakage-validate@sha256:2dde8d42ac5001e4727b6061c54970c136f7588c1bde04fa7b5e3473e49aaac4",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-split-leakage-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-split-leakage-validate@sha256:2dde8d42ac5001e4727b6061c54970c136f7588c1bde04fa7b5e3473e49aaac4",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-dataset-split-leakage-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "dataset_split_leakage_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "f63488e876c71744042d4d55e9d1260ff76365388c2b8f26807759a96f45602d",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "dataset_split_leakage_validate",
|
||||
"preferredSlug": "dataset_split_leakage_validate",
|
||||
"pythonImport": "operator-repos/builtin/dataset_split_leakage_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/dataset_split_leakage_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -75,6 +77,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/dataset_split_leakage_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/dataset_split_leakage_validate",
|
||||
"sourceTreeSha256": "f63488e876c71744042d4d55e9d1260ff76365388c2b8f26807759a96f45602d",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-dataset-split-manifest` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-split-manifest:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-split-manifest@sha256:b2bcd44ccaa4b3c2b9a22d4f10a5d8101a0e19e249e693a501e1e506887fe1da`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_dataset_split_manifest`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/dataset_split_manifest/release.json
Normal file
30
operator-repos/builtin/dataset_split_manifest/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:b2bcd44ccaa4b3c2b9a22d4f10a5d8101a0e19e249e693a501e1e506887fe1da",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:b2bcd44ccaa4b3c2b9a22d4f10a5d8101a0e19e249e693a501e1e506887fe1da",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-split-manifest:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-split-manifest@sha256:b2bcd44ccaa4b3c2b9a22d4f10a5d8101a0e19e249e693a501e1e506887fe1da",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-split-manifest:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dataset-split-manifest@sha256:b2bcd44ccaa4b3c2b9a22d4f10a5d8101a0e19e249e693a501e1e506887fe1da",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-dataset-split-manifest",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "dataset_split_manifest",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "db6c32cbbe8d5058148c695204ea0e4e24b5b5ecb784e2087c8a80173864616f",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "dataset_split_manifest",
|
||||
"preferredSlug": "dataset_split_manifest",
|
||||
"pythonImport": "operator-repos/builtin/dataset_split_manifest/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/dataset_split_manifest",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -75,6 +77,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/dataset_split_manifest/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/dataset_split_manifest",
|
||||
"sourceTreeSha256": "db6c32cbbe8d5058148c695204ea0e4e24b5b5ecb784e2087c8a80173864616f",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-dexycb-dataset-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dexycb-dataset-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dexycb-dataset-validate@sha256:b412bc8d84fa31ff1233f13c0758156013ec03e9cd1092e9871b8bb8b4b9e6f1`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_dexycb_dataset_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/dexycb_dataset_validate/release.json
Normal file
30
operator-repos/builtin/dexycb_dataset_validate/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:b412bc8d84fa31ff1233f13c0758156013ec03e9cd1092e9871b8bb8b4b9e6f1",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:b412bc8d84fa31ff1233f13c0758156013ec03e9cd1092e9871b8bb8b4b9e6f1",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dexycb-dataset-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dexycb-dataset-validate@sha256:b412bc8d84fa31ff1233f13c0758156013ec03e9cd1092e9871b8bb8b4b9e6f1",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dexycb-dataset-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-dexycb-dataset-validate@sha256:b412bc8d84fa31ff1233f13c0758156013ec03e9cd1092e9871b8bb8b4b9e6f1",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-dexycb-dataset-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "dexycb_dataset_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "89b5075134d656df53a4409a0a6853bf8bc570450b4359134fb6198fb6d49ae7",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "dexycb_dataset_validate",
|
||||
"preferredSlug": "dexycb_dataset_validate",
|
||||
"pythonImport": "operator-repos/builtin/dexycb_dataset_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/dexycb_dataset_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -79,6 +81,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/dexycb_dataset_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/dexycb_dataset_validate",
|
||||
"sourceTreeSha256": "89b5075134d656df53a4409a0a6853bf8bc570450b4359134fb6198fb6d49ae7",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-diffusion-policy-train` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-diffusion-policy-train:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-diffusion-policy-train@sha256:78d74d404ed7e98c19518e28315a897313c8583c6f6b0eb191e36eabcc8a2f33`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_diffusion_policy_train`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/diffusion_policy_train/release.json
Normal file
30
operator-repos/builtin/diffusion_policy_train/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:78d74d404ed7e98c19518e28315a897313c8583c6f6b0eb191e36eabcc8a2f33",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:78d74d404ed7e98c19518e28315a897313c8583c6f6b0eb191e36eabcc8a2f33",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-diffusion-policy-train:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-diffusion-policy-train@sha256:78d74d404ed7e98c19518e28315a897313c8583c6f6b0eb191e36eabcc8a2f33",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-diffusion-policy-train:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-diffusion-policy-train@sha256:78d74d404ed7e98c19518e28315a897313c8583c6f6b0eb191e36eabcc8a2f33",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-diffusion-policy-train",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "diffusion_policy_train",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "3bc4a677156f84993d011960260ac715b768a7f62acbd89392e097c93f63d60a",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "diffusion_policy_train",
|
||||
"preferredSlug": "diffusion_policy_train",
|
||||
"pythonImport": "operator-repos/builtin/diffusion_policy_train/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/diffusion_policy_train",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -77,6 +79,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/diffusion_policy_train/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/diffusion_policy_train",
|
||||
"sourceTreeSha256": "3bc4a677156f84993d011960260ac715b768a7f62acbd89392e097c93f63d60a",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-directory-scan` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-directory-scan:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-directory-scan@sha256:f591c68e5a9f63ed1203347dedfddfe7f9f8786266d69af1fbdab74bc4eece9f`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_directory_scan`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/directory_scan/release.json
Normal file
30
operator-repos/builtin/directory_scan/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:f591c68e5a9f63ed1203347dedfddfe7f9f8786266d69af1fbdab74bc4eece9f",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:f591c68e5a9f63ed1203347dedfddfe7f9f8786266d69af1fbdab74bc4eece9f",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-directory-scan:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-directory-scan@sha256:f591c68e5a9f63ed1203347dedfddfe7f9f8786266d69af1fbdab74bc4eece9f",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-directory-scan:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-directory-scan@sha256:f591c68e5a9f63ed1203347dedfddfe7f9f8786266d69af1fbdab74bc4eece9f",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-directory-scan",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "directory_scan",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "3f307b7c03fbb921b0ed96422824a839bb180c422483addfa20a997dc0dd245f",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "directory_scan",
|
||||
"preferredSlug": "directory_scan",
|
||||
"pythonImport": "operator-repos/builtin/directory_scan/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/directory_scan",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -73,6 +75,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/directory_scan/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/directory_scan",
|
||||
"sourceTreeSha256": "3f307b7c03fbb921b0ed96422824a839bb180c422483addfa20a997dc0dd245f",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-droid-raw-episode-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-droid-raw-episode-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-droid-raw-episode-validate@sha256:eea450070b6b1fa4fbd80c9f1e476eacba25683791b0b40320639c65cc5fa418`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_droid_raw_episode_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:eea450070b6b1fa4fbd80c9f1e476eacba25683791b0b40320639c65cc5fa418",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:eea450070b6b1fa4fbd80c9f1e476eacba25683791b0b40320639c65cc5fa418",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-droid-raw-episode-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-droid-raw-episode-validate@sha256:eea450070b6b1fa4fbd80c9f1e476eacba25683791b0b40320639c65cc5fa418",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-droid-raw-episode-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-droid-raw-episode-validate@sha256:eea450070b6b1fa4fbd80c9f1e476eacba25683791b0b40320639c65cc5fa418",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-droid-raw-episode-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "droid_raw_episode_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "ffd0b2d169ec83200679e5ea564b58de931551916fb791a3318d947ab962bd95",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "droid_raw_episode_validate",
|
||||
"preferredSlug": "droid_raw_episode_validate",
|
||||
"pythonImport": "operator-repos/builtin/droid_raw_episode_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/droid_raw_episode_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -77,6 +79,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/droid_raw_episode_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/droid_raw_episode_validate",
|
||||
"sourceTreeSha256": "ffd0b2d169ec83200679e5ea564b58de931551916fb791a3318d947ab962bd95",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-embodiment-metadata-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-embodiment-metadata-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-embodiment-metadata-validate@sha256:47df5e78b0fd62bf046f8340b7af5d4cef3bc38efaa2b10a3a7ee028adc62ebc`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_embodiment_metadata_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:47df5e78b0fd62bf046f8340b7af5d4cef3bc38efaa2b10a3a7ee028adc62ebc",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:47df5e78b0fd62bf046f8340b7af5d4cef3bc38efaa2b10a3a7ee028adc62ebc",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-embodiment-metadata-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-embodiment-metadata-validate@sha256:47df5e78b0fd62bf046f8340b7af5d4cef3bc38efaa2b10a3a7ee028adc62ebc",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-embodiment-metadata-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-embodiment-metadata-validate@sha256:47df5e78b0fd62bf046f8340b7af5d4cef3bc38efaa2b10a3a7ee028adc62ebc",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-embodiment-metadata-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "embodiment_metadata_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "9269a19848532a2cf7db8917386ad734ec2a3c121c892c3988a7be27a681b35f",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "embodiment_metadata_validate",
|
||||
"preferredSlug": "embodiment_metadata_validate",
|
||||
"pythonImport": "operator-repos/builtin/embodiment_metadata_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/embodiment_metadata_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -75,6 +77,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/embodiment_metadata_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/embodiment_metadata_validate",
|
||||
"sourceTreeSha256": "9269a19848532a2cf7db8917386ad734ec2a3c121c892c3988a7be27a681b35f",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-episode-boundary-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-episode-boundary-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-episode-boundary-validate@sha256:9e7782f3fe626f858138fd066ca2911d02cc4bfe6ab933065b4ebfedaff544ba`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_episode_boundary_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:9e7782f3fe626f858138fd066ca2911d02cc4bfe6ab933065b4ebfedaff544ba",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:9e7782f3fe626f858138fd066ca2911d02cc4bfe6ab933065b4ebfedaff544ba",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-episode-boundary-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-episode-boundary-validate@sha256:9e7782f3fe626f858138fd066ca2911d02cc4bfe6ab933065b4ebfedaff544ba",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-episode-boundary-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-episode-boundary-validate@sha256:9e7782f3fe626f858138fd066ca2911d02cc4bfe6ab933065b4ebfedaff544ba",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-episode-boundary-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "episode_boundary_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "6b0e82d981685f2726746ed7f4eb9b0314f090c986768dea96ba3d30943bbadd",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "episode_boundary_validate",
|
||||
"preferredSlug": "episode_boundary_validate",
|
||||
"pythonImport": "operator-repos/builtin/episode_boundary_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/episode_boundary_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -75,6 +77,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/episode_boundary_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/episode_boundary_validate",
|
||||
"sourceTreeSha256": "6b0e82d981685f2726746ed7f4eb9b0314f090c986768dea96ba3d30943bbadd",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-force-torque-sensor-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-force-torque-sensor-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-force-torque-sensor-validate@sha256:d7e4558fd8fad892f328af10f21eaa8ca3f8122fd7fe209184b99c5f51a7a22a`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_force_torque_sensor_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:d7e4558fd8fad892f328af10f21eaa8ca3f8122fd7fe209184b99c5f51a7a22a",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:d7e4558fd8fad892f328af10f21eaa8ca3f8122fd7fe209184b99c5f51a7a22a",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-force-torque-sensor-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-force-torque-sensor-validate@sha256:d7e4558fd8fad892f328af10f21eaa8ca3f8122fd7fe209184b99c5f51a7a22a",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-force-torque-sensor-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-force-torque-sensor-validate@sha256:d7e4558fd8fad892f328af10f21eaa8ca3f8122fd7fe209184b99c5f51a7a22a",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-force-torque-sensor-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "force_torque_sensor_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "c5dc44114d99d365bdc005b9778d7d090cb46dfd49be98e8ef8ffd9c67ea8a35",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "force_torque_sensor_validate",
|
||||
"preferredSlug": "force_torque_sensor_validate",
|
||||
"pythonImport": "operator-repos/builtin/force_torque_sensor_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/force_torque_sensor_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -79,6 +81,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/force_torque_sensor_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/force_torque_sensor_validate",
|
||||
"sourceTreeSha256": "c5dc44114d99d365bdc005b9778d7d090cb46dfd49be98e8ef8ffd9c67ea8a35",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-furniturebench-pkl-demonstration-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-furniturebench-pkl-demonstration-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-furniturebench-pkl-demonstration-validate@sha256:6633bd68e09a6a82997e46bd6f02a0a3b27f77ba40aab0094239cd11317f7c8c`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_furniturebench_pkl_demonstration_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:6633bd68e09a6a82997e46bd6f02a0a3b27f77ba40aab0094239cd11317f7c8c",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:6633bd68e09a6a82997e46bd6f02a0a3b27f77ba40aab0094239cd11317f7c8c",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-furniturebench-pkl-demonstration-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-furniturebench-pkl-demonstration-validate@sha256:6633bd68e09a6a82997e46bd6f02a0a3b27f77ba40aab0094239cd11317f7c8c",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-furniturebench-pkl-demonstration-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-furniturebench-pkl-demonstration-validate@sha256:6633bd68e09a6a82997e46bd6f02a0a3b27f77ba40aab0094239cd11317f7c8c",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-furniturebench-pkl-demonstration-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "furniturebench_pkl_demonstration_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "32dd9a2117de19660ef2021f317381e3183ee63b1f84e1cc97fb31a8991338e2",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "furniturebench_pkl_demonstration_validate",
|
||||
"preferredSlug": "furniturebench_pkl_demonstration_validate",
|
||||
"pythonImport": "operator-repos/builtin/furniturebench_pkl_demonstration_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/furniturebench_pkl_demonstration_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -77,6 +79,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/furniturebench_pkl_demonstration_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/furniturebench_pkl_demonstration_validate",
|
||||
"sourceTreeSha256": "32dd9a2117de19660ef2021f317381e3183ee63b1f84e1cc97fb31a8991338e2",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-graspnet-dataset-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-graspnet-dataset-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-graspnet-dataset-validate@sha256:c4ec92cc4e87e5df975377608f02ba54de0570d0235dd36840d4a311875c060a`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_graspnet_dataset_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:c4ec92cc4e87e5df975377608f02ba54de0570d0235dd36840d4a311875c060a",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:c4ec92cc4e87e5df975377608f02ba54de0570d0235dd36840d4a311875c060a",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-graspnet-dataset-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-graspnet-dataset-validate@sha256:c4ec92cc4e87e5df975377608f02ba54de0570d0235dd36840d4a311875c060a",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-graspnet-dataset-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-graspnet-dataset-validate@sha256:c4ec92cc4e87e5df975377608f02ba54de0570d0235dd36840d4a311875c060a",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-graspnet-dataset-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "graspnet_dataset_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "837bf4b66bee3b3457546e0bb2d7812b3bc7d83e13a17ec77df4864f2460ab29",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "graspnet_dataset_validate",
|
||||
"preferredSlug": "graspnet_dataset_validate",
|
||||
"pythonImport": "operator-repos/builtin/graspnet_dataset_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/graspnet_dataset_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -81,6 +83,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/graspnet_dataset_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/graspnet_dataset_validate",
|
||||
"sourceTreeSha256": "837bf4b66bee3b3457546e0bb2d7812b3bc7d83e13a17ec77df4864f2460ab29",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-hand-object-pose-validate` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hand-object-pose-validate:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hand-object-pose-validate@sha256:f91c6c745f098d7a592c3738b4e9bbb4a2be1604605da5ccd539ef90b010deed`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_hand_object_pose_validate`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:f91c6c745f098d7a592c3738b4e9bbb4a2be1604605da5ccd539ef90b010deed",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:f91c6c745f098d7a592c3738b4e9bbb4a2be1604605da5ccd539ef90b010deed",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hand-object-pose-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hand-object-pose-validate@sha256:f91c6c745f098d7a592c3738b4e9bbb4a2be1604605da5ccd539ef90b010deed",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hand-object-pose-validate:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hand-object-pose-validate@sha256:f91c6c745f098d7a592c3738b4e9bbb4a2be1604605da5ccd539ef90b010deed",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-hand-object-pose-validate",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "hand_object_pose_validate",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "431ff789b95ce8bae6773d8c0112604ee344a4af1ac377d1214c10fe8a6be62d",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "hand_object_pose_validate",
|
||||
"preferredSlug": "hand_object_pose_validate",
|
||||
"pythonImport": "operator-repos/builtin/hand_object_pose_validate/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/hand_object_pose_validate",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -79,6 +81,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/hand_object_pose_validate/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/hand_object_pose_validate",
|
||||
"sourceTreeSha256": "431ff789b95ce8bae6773d8c0112604ee344a4af1ac377d1214c10fe8a6be62d",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-hdf5-demonstration-summary` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hdf5-demonstration-summary:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hdf5-demonstration-summary@sha256:3d82e565a006c7c300d45ebfffaa1098d1d6b3e8bcdffd1b8a361d0768b7e08f`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_hdf5_demonstration_summary`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:3d82e565a006c7c300d45ebfffaa1098d1d6b3e8bcdffd1b8a361d0768b7e08f",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:3d82e565a006c7c300d45ebfffaa1098d1d6b3e8bcdffd1b8a361d0768b7e08f",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hdf5-demonstration-summary:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hdf5-demonstration-summary@sha256:3d82e565a006c7c300d45ebfffaa1098d1d6b3e8bcdffd1b8a361d0768b7e08f",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hdf5-demonstration-summary:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hdf5-demonstration-summary@sha256:3d82e565a006c7c300d45ebfffaa1098d1d6b3e8bcdffd1b8a361d0768b7e08f",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-hdf5-demonstration-summary",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "hdf5_demonstration_summary",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "37215bb9913aed1b2fdb3fcacd00a41a8b963fea0627daf81d553e183546bc8e",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "hdf5_demonstration_summary",
|
||||
"preferredSlug": "hdf5_demonstration_summary",
|
||||
"pythonImport": "operator-repos/builtin/hdf5_demonstration_summary/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/hdf5_demonstration_summary",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -75,6 +77,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/hdf5_demonstration_summary/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/hdf5_demonstration_summary",
|
||||
"sourceTreeSha256": "37215bb9913aed1b2fdb3fcacd00a41a8b963fea0627daf81d553e183546bc8e",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
独立 builtin 算子目录。该目录是 `operator-builtin-hf-dataset-probe` 的生产运行权威来源,包含镜像构建、运行契约、源码和验收输入定义。
|
||||
|
||||
- 镜像:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hf-dataset-probe:builtin`
|
||||
- Digest:`ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hf-dataset-probe@sha256:8ec0202d73059352be727b28c12daf9a6bdfd77e7e9ea3332d658efde66654c4`
|
||||
- 发布镜像:以 `release.json` 中的 digest-pinned CCR imageId 为准
|
||||
- Repository manifest:`repository.json`
|
||||
- Runtime handler:`builtin_hf_dataset_probe`
|
||||
- Source:`src/operator.py`
|
||||
|
||||
|
||||
30
operator-repos/builtin/hf_dataset_probe/release.json
Normal file
30
operator-repos/builtin/hf_dataset_probe/release.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"acceptance": {
|
||||
"artifactId": "",
|
||||
"projectId": "",
|
||||
"runId": "",
|
||||
"verifiedAt": "",
|
||||
"workflowId": ""
|
||||
},
|
||||
"builtAt": "",
|
||||
"digest": "sha256:8ec0202d73059352be727b28c12daf9a6bdfd77e7e9ea3332d658efde66654c4",
|
||||
"environmentReleases": {
|
||||
"poc": {
|
||||
"digest": "sha256:8ec0202d73059352be727b28c12daf9a6bdfd77e7e9ea3332d658efde66654c4",
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hf-dataset-probe:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hf-dataset-probe@sha256:8ec0202d73059352be727b28c12daf9a6bdfd77e7e9ea3332d658efde66654c4",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"tag": "builtin"
|
||||
}
|
||||
},
|
||||
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hf-dataset-probe:builtin",
|
||||
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-hf-dataset-probe@sha256:8ec0202d73059352be727b28c12daf9a6bdfd77e7e9ea3332d658efde66654c4",
|
||||
"kanikoJob": "",
|
||||
"operatorId": "operator-builtin-hf-dataset-probe",
|
||||
"registry": "ccr-29eug8s3-pub.cnc.bj.baidubce.com",
|
||||
"schemaVersion": "droboticflow.operator.release/v1",
|
||||
"slug": "hf_dataset_probe",
|
||||
"sourceCommit": "316b493dba4d3d1a32366d43686656b36fd2d2a1",
|
||||
"sourceTreeSha256": "9f56a0b8ebaf759e05cc1928253234c9e71f9d0e91262d3e0910d3bbe164fa5a",
|
||||
"tag": "builtin"
|
||||
}
|
||||
@ -27,6 +27,8 @@
|
||||
"operatorSlug": "hf_dataset_probe",
|
||||
"preferredSlug": "hf_dataset_probe",
|
||||
"pythonImport": "operator-repos/builtin/hf_dataset_probe/src/operator.py:run",
|
||||
"releaseManifest": "release.json",
|
||||
"releaseSchemaVersion": "droboticflow.operator.release/v1",
|
||||
"repositoryId": "builtin/hf_dataset_probe",
|
||||
"runtimeContract": {
|
||||
"acceptance": {
|
||||
@ -73,6 +75,7 @@
|
||||
"runtimeSource": "operator-repos/builtin/hf_dataset_probe/src/operator.py",
|
||||
"schemaVersion": "droboticflow.operator.repository/v1",
|
||||
"sourceRoot": "operator-repos/builtin/hf_dataset_probe",
|
||||
"sourceTreeSha256": "9f56a0b8ebaf759e05cc1928253234c9e71f9d0e91262d3e0910d3bbe164fa5a",
|
||||
"strictPocAcceptanceExternals": [],
|
||||
"type": "builtin"
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user