Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions skills/numericbridge/references/request.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

Methods: [acceptance](../../precision-compare/references/acceptance.md), [community lookup](workflow.md#route-community-results).

## Dispatch handoff

A version-pinned `<numericbridge-task>` carries the task configuration and the grants
for this case. It does not define the execution procedure.

| Field | How to use it |
| --- | --- |
| `mode="prepare-only"` | Prepare locally only. Do not connect to runners, probe remote hosts, or allocate devices, even if one side or an optional field is filled. |
| `mode="verify-before-run"` | With both `a-access` and `b-access` present, verify the handoff before executing. Use only the specified authorized accounts or queues and cards or quotas. If either runner entry is missing, stay in preparation mode. |
| `routine-setup` = `allow` | Authorizes the [environment stage](workflow.md#prepare-the-environment) within the specified resources, including case-private workspace, compatible cache or environment reuse, approved pinned public models and dependencies, and permitted node-local compiler scratch. It does not authorize changes to shared software or bypassing host/network rules. |
| `background-run` = `allow` | Authorizes [bounded continuation](../../precision-compare/references/automation.md#bind-and-run) of the same case in the granted resources, using a platform-approved supervisor or queue. It does not grant more resources, unbounded retries, or permission to send a contribution. |
| `extra-limits` | Apply any narrower operator restrictions together with platform, queue, network and budget limits. If no extra time cap is given, use applicable platform limits and the workflow's bounded execution; do not demand a new user cap just to start an otherwise authorized run. |
| `evidence-transfer` | If explicitly filled, apply only the stated fields and destinations and the minimal exchange rules below. An empty field grants no private transfer. This never grants submission consent. |

An empty runtime grant adds no permission; a separate explicit grant still
applies within its scope. Establish no new authorization from a preparation-only
prompt. Preserve settled grants and restrictions on resume; recheck only changes.

```xml
<request file="request.json">
<confirm>
Expand Down
2 changes: 2 additions & 0 deletions skills/numericbridge/references/workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ Methods: [framework adaptation](../../framework-adapt/SKILL.md), [pinned public
```xml
<stage id="environment">
<action>Prepare each side independently. Reuse valid readiness evidence.</action>
<ownership>Model, workspace and output paths, runtime and launch commands are environment-stage outputs, not required handoff inputs. Discover approved workspaces, caches, modules and images; reuse what matches. Within the grant, check write access and quota and prepare what is missing in an isolated case directory without overwriting existing files. Do not ask again for routine setup already covered.</ownership>
<blocker>Try reasonable in-scope alternatives and advance the independent side before asking for the smallest missing permission or decision. Record the affected side, evidence, and what would unblock it. Do not clean unrelated files or modify shared environments.</blocker>
<fallback when="Hugging Face connectivity failure and public download authorized">If permitted by host policy, try https://hf-mirror.com or ModelScope without credentials. Use the exact pinned revision on hf-mirror; on ModelScope use only a verified mapped snapshot. Verify all required files against the original official pinned manifest before loading. Do not prompt again for an in-scope fallback.</fallback>
<check when="vLLM on 910C or B200">Use the shared native launcher for fixed model files, explicit device namespace, process occupancy, runtime imports and visibility. Bind an already authorized node-local scratch root before launch for private compiler temp/cache and IPC; check workspace and scratch bytes and inodes separately. Do not use a shared filesystem for compiler scratch. Environment success does not show native readiness.</check>
<check when="not verified">Check device, native path and capture in the first formal batch. Retain valid samples.</check>
Expand Down