@tnunamak/dalan 0.6.2 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -0
- package/CONTRIBUTING.md +4 -0
- package/PROTOCOL.md +2 -0
- package/README.md +81 -84
- package/bin/dalan.mjs +9 -0
- package/bin/dot-worker.mjs +29 -4
- package/contracts/adapter-qualification.schema.json +170 -0
- package/docs/chatgpt-worker-onboarding.md +10 -14
- package/docs/claude-worker-onboarding.md +9 -8
- package/docs/codex-to-muse.md +21 -35
- package/docs/connect-chatgpt.md +10 -16
- package/docs/dalan-upgrade.md +4 -2
- package/docs/local-agent-mcp.md +24 -4
- package/docs/local-agent-requester.md +46 -0
- package/docs/manual-setup.md +2 -2
- package/docs/operations.md +12 -13
- package/docs/pull-workers.md +1 -2
- package/docs/service-setup.md +110 -163
- package/docs/setup-reference.md +6 -6
- package/docs/t3-question-relationship.md +43 -0
- package/docs/t3-reverse-control.md +12 -8
- package/docs/t3-wake-fence-r4.md +42 -0
- package/docs/test-suite-isolation.md +204 -0
- package/docs/worker-clients.md +6 -4
- package/package.json +5 -3
- package/qualification/README.md +13 -0
- package/qualification/mcp.json +121 -0
- package/qualification/protocol-v0.json +127 -0
- package/scripts/dalan-try-selfcheck.mjs +8 -7
- package/scripts/worker-bridge-setup.mjs +91 -81
- package/src/admin-socket.mjs +2 -1
- package/src/answer-journal.mjs +200 -0
- package/src/as-store.mjs +5 -3
- package/src/as.mjs +35 -26
- package/src/auth-check.mjs +59 -0
- package/src/cli-help.mjs +16 -16
- package/src/client-approval.mjs +57 -0
- package/src/client-convenience.mjs +166 -0
- package/src/client-conveniences.json +106 -0
- package/src/client-conveniences.schema.json +97 -0
- package/src/connect-cli.mjs +5 -5
- package/src/default-home.mjs +36 -0
- package/src/destinations/index.mjs +6 -0
- package/src/destinations/none.mjs +3 -0
- package/src/destinations/t3.mjs +63 -6
- package/src/execution.mjs +20 -2
- package/src/follow-current.mjs +27 -0
- package/src/gozar-routes.mjs +315 -0
- package/src/host-budget.mjs +17 -11
- package/src/host-execution-policy.mjs +2 -2
- package/src/host-stop-reverify.mjs +6 -4
- package/src/integrator.mjs +3 -1
- package/src/redirect-policy.mjs +61 -0
- package/src/route-setting.mjs +71 -12
- package/src/server.mjs +64 -12
- package/src/service-auto-update.mjs +8 -1
- package/src/service-launchd.mjs +186 -0
- package/src/service-migrate-workers.mjs +12 -2
- package/src/service-update-runtime.mjs +40 -6
- package/src/service-update.mjs +20 -14
- package/src/service.mjs +211 -63
- package/src/setup.mjs +55 -44
- package/src/store.mjs +77 -14
- package/src/submission-policy.mjs +8 -4
- package/src/t3.mjs +21 -2
- package/src/tool-registry.mjs +54 -8
- package/src/try-exposure.mjs +7 -657
- package/src/try-hosted.mjs +71 -101
- package/src/try-selfcheck.mjs +15 -8
- package/src/try.mjs +9 -13
- package/src/workers.mjs +4 -3
- package/src/workspace.mjs +94 -15
- package/scripts/lib/expose-tailscale.mjs +0 -408
- package/src/try-hosted-clients.mjs +0 -46
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
# Reverse T3 control for workers
|
|
2
2
|
|
|
3
|
-
With `DALAN_ENABLE_T3_TOOLS=1`, the bridge exposes a small T3 thread wrapper (list, read, create, send, wait and set) through its existing OAuth MCP connection. The wrapper uses `t3code --json --origin http://127.0.0.1:3773` with argument arrays.
|
|
3
|
+
With `DALAN_ENABLE_T3_TOOLS=1`, the bridge exposes a small T3 thread wrapper (list, read, create, send, wait and set) through its existing OAuth MCP connection. The wrapper uses `t3code --json --origin http://127.0.0.1:3773` with argument arrays. All MCP workers have job-scoped authority, including the legacy local principal. The tool registry provisions default grants for the six thread tools once per worker. A NULL `tool_grants.scope` derives the allowed threads at call time from the worker's live claimed jobs with T3 destinations. Claims must match the authenticated subject, remain active and unexpired, and belong to a claimed assignment. A missing or unparseable persisted lease deadline is expired, even when a same-boot monotonic deadline exists. Built-in authentication also checks the holding connection; external OAuth has no connection ID to fence. Jobs with delivery `none` grant no thread. An operator may narrow a grant through the admin socket's existing `/tools` grant action with `scope: {"threads":["THREAD_ID"]}`; this intersects live destinations. An empty set denies every thread. Repeating a grant without `scope` preserves its existing scope; explicit `scope:null` restores the job-derived default. The six `t3_thread_*` names are reserved for internal authority records. An older ordinary registration with one of those names causes startup to refuse before provisioning grants; the operator must remove or rename that registration first. Revoke, disable and remove use the existing registry operations. Restart does not restore revoked grants. No token or worker tool schema changes. Migration 69 follows migrations 67 and 68. The real-Store migration test verifies 68 → 69 and an unchanged reopen at 69.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Discovery filters the raw thread list before compaction, totals, project summaries and audit IDs. Read, wait, send and set refuse threads outside the live grant. Scoped workers cannot create arbitrary threads because those threads have no claimed destination. Capability, OAuth scope, input validation and audit admission still apply. `notify_owner` retains its independent notification policy.
|
|
6
|
+
|
|
7
|
+
The linearization point for send/set is the synchronous registry and live-claim read after module loading and immediately before CLI dispatch, with no intervening await. A revoke committed before this read prevents dispatch; a revoke after dispatch cannot retract an external effect, and a successful CLI write keeps its success receipt. List, read and wait also recheck authority after their awaited CLI result, so a revoke during a wait refuses its result. The next send/set always checks again and never inherits the wait's authority.
|
|
8
|
+
|
|
9
|
+
There is no separate bridge owner execution path for these T3 operations: the legacy `principal.local` shortcut resolves to the default worker and receives the same job fence. Owner registry management remains on the private admin socket; it does not execute T3 thread operations. The tools remain off by default; advertising them requires `DALAN_ENABLE_T3_TOOLS=1` and calling them requires the worker's `t3` capability. The underlying CLI uses its administrative T3 session, so these server-side checks are the worker boundary.
|
|
6
10
|
|
|
7
11
|
| MCP tool | Scope | Operation |
|
|
8
12
|
| --- | --- | --- |
|
|
9
13
|
| `t3_thread_list` | `dalan.read` | List threads, optionally by project or directory and status. |
|
|
10
|
-
| `t3_thread_read` | `dalan.read` | Read a bounded transcript by exact thread ID. |
|
|
11
|
-
| `t3_thread_create` | `dalan.work` |
|
|
12
|
-
| `t3_thread_send` | `dalan.work` | Send to
|
|
14
|
+
| `t3_thread_read` | `dalan.read` | Read a bounded transcript by exact granted thread ID. |
|
|
15
|
+
| `t3_thread_create` | `dalan.work` | Refused for workers: a new thread has no claimed destination. |
|
|
16
|
+
| `t3_thread_send` | `dalan.work` | Send to a granted thread; `wakeSettled` wakes a settled one. |
|
|
13
17
|
| `t3_thread_wait` | `dalan.read` | Wait at most 120 seconds for a turn; returns partial state on timeout. |
|
|
14
18
|
| `t3_thread_set` | `dalan.work` | Change a thread's provider, model, effort, permission or mode. |
|
|
15
19
|
| `notify_owner` | `dalan.work` | Publish a short message through the configured ntfy alerts path. |
|
|
@@ -32,7 +36,7 @@ An ambiguous publish leaves a pending key that cannot be sent again automaticall
|
|
|
32
36
|
|
|
33
37
|
- `threads`: the newest threads by `updatedAt` (descending; ties by `id`), at most 50 (`THREAD_LIST_LIMIT`) and at most 16000 bytes of serialized entries (`THREAD_LIST_BUDGET`; thread IDs can be 328 characters long). The first thread is always shown.
|
|
34
38
|
- Each entry has `id`, `title` (at most 120 characters, clipped with `…`), `projectId`, `status`, `runStatus`, `updatedAt`, `latestUserMessageAt` and `pendingRuntimeRequest` (boolean). `activityRunStatus` is present only when it is set. `branch` and `worktreePath` are present only when they are at most 80 characters.
|
|
35
|
-
- `total` (all threads that matched the filter), `shown`, `truncated` (`total > shown`).
|
|
39
|
+
- `total` (all granted threads that matched the filter), `shown`, `truncated` (`total > shown`).
|
|
36
40
|
- `projects`: `{id,title,count}` for the projects of all matched threads, most threads first, at most 20; `projects_total` is present when there are more.
|
|
37
41
|
- `hint`: "narrow with projectId or cwd; full paging after a catalog update". Paging needs a new input field, which is a catalog change.
|
|
38
42
|
|
|
@@ -57,7 +61,7 @@ Do not trigger a ChatGPT reconnect from the bridge host. The connector's current
|
|
|
57
61
|
|
|
58
62
|
## Standing instruction for worker
|
|
59
63
|
|
|
60
|
-
> You can inspect the owner's T3 threads through this connector. Use `t3_thread_list` and `t3_thread_read`. They
|
|
64
|
+
> You can inspect the owner's T3 threads through this connector. Use `t3_thread_list` and `t3_thread_read`. They show only threads granted by your live claimed jobs; exact IDs are limited to 128 characters. Use `notify_owner` for a short out-of-band alert that does not start a T3 turn. Send assignment questions to the exact owner thread. Mark blockers with optional `progress.blocker:true` or start the note with `BLOCKED:` / `QUESTION:` so the bridge forwards them once if you forget. The owner can leave a lightweight message with `dalan tell`; it emits an event, but whether that starts a run depends on your client. Find it in `list_pending`, read it with `get`, and call `ack_message` after reading it. It is a message, not an assignment. `run_check` can return `{check_run_id,status:"running"}`; poll `workspace_result` for completion. Upload sealed evidence with `artifact_chunk` in any claimed assignment. Call `list_tools` first to learn the other tools you may use, then run them with `call_tool_read` or `call_tool_write`. All T3 tool calls are audited.
|
|
61
65
|
|
|
62
66
|
## After adding or changing tools
|
|
63
67
|
|
|
@@ -76,7 +80,7 @@ The workspace install and check phases both run in a sandbox with its own networ
|
|
|
76
80
|
|
|
77
81
|
## Who may hold the t3 capability
|
|
78
82
|
|
|
79
|
-
|
|
83
|
+
Pairing a client never grants the `t3` capability; the bridge reads it from the owner's `workers.json`. Workers also require registry grants and a live claimed T3 destination, as described above. Modern catalogs advertise the same names to every worker; a worker without the capability receives a denied and audited result when it calls them. With the tools on, startup prints a notice naming each worker that holds the capability.
|
|
80
84
|
|
|
81
85
|
## Adding abilities without a Refresh
|
|
82
86
|
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# T3 wake fence: what T3 exposes about a stopped parent
|
|
2
|
+
|
|
3
|
+
Dalan wakes a parent T3 thread when a worker asks a question or finishes. A wake is a plain user message. This note records what T3 reports about a thread after a normal finish, an interrupt and a stop, and how Dalan uses it.
|
|
4
|
+
|
|
5
|
+
## Measurements (R4 probe)
|
|
6
|
+
|
|
7
|
+
Date 2026-11-15. T3 server `0.1.10-nightly.20261113.4643.1`, orchestrator protocol 2, `t3code` CLI 0.3.0. One throwaway thread in the scratch project, a cheap model, low effort, six short turns. The thread was renamed, archived and settled afterwards. Each value is a field of `t3code --json threads inspect` under `data.thread`.
|
|
8
|
+
|
|
9
|
+
| State | `status` | `runStatus` | `activeRun` | `latestRun.status` |
|
|
10
|
+
| --- | --- | --- | --- | --- |
|
|
11
|
+
| Normal finish | `active` | `completed` | `null` | `completed` |
|
|
12
|
+
| Running | `active` | `running` | set | `running` |
|
|
13
|
+
| After `threads interrupt` | `active` | `interrupted` | `null` | `interrupted` |
|
|
14
|
+
| After stop (MCP `t3_thread_interrupt` with `stop:true`) | `active` | `interrupted` | `null` | `interrupted` |
|
|
15
|
+
|
|
16
|
+
1. **Stop and interrupt look the same.** The two inspect payloads differ only in run ordinal and timestamps. No readable field tells a stop from an interrupt. T3 has no `stopped` status, so the old `stopped` fixture was invented.
|
|
17
|
+
2. **A plain send after stop starts a new run.** A `message.dispatch` with a fresh command id (the same path as `src/t3-transport.mjs`) moved the thread from run 5 `interrupted` to run 6 `completed`. A Dalan wake therefore resurrects a stopped parent.
|
|
18
|
+
3. **A resend with the same command id is one dispatch.** Sending the same `commandId` and `messageId` again returned the same `sequence` and left the thread at run 6. A resend with a different body and the same ids also returned the same `sequence` and made no new run. The CLI path (`t3code threads send`) draws a random command id, so it has no such protection.
|
|
19
|
+
|
|
20
|
+
The thread states are copied into `scripts/fixtures/t3-r4-thread-states.mjs`. The e2e and adapter tests use them.
|
|
21
|
+
|
|
22
|
+
## Decision
|
|
23
|
+
|
|
24
|
+
Measurement 2 says a wake can resurrect a stopped parent. Measurement 1 says nothing separates stop from interrupt. So Dalan treats a latest run in `interrupted`, `cancelled` or `canceled` as held, and does not send the wake. A latest run in any status other than `completed`, `running` or `failed` is held too, with the reason `latest run status "<status>" is not recognized` in the wait queue, so a status T3 adds later waits and says why. This also holds back a wake for a parent that the user only interrupted. That is the conservative over-fence, chosen over waking a stopped parent. A `failed` run is not held: it errored on its own, and a wake that starts a new run is how a crashed or usage-limited parent resumes. The probe recorded a user stop and a user interrupt as `interrupted`, never as `failed`.
|
|
25
|
+
|
|
26
|
+
`interrupted` is treated as held until the parent resumes. Held wakes stay in the durable wait queue and in `dalan inbox`. They are not dropped, and a restart keeps them. A timer (`DALAN_T3_HELD_RECHECK_MS`, default 15 s) inspects each held wake's parent. When the parent is active again with no held reason, which means a new run with a higher ordinal started, the wake goes back to its original kind (`blocker` or `t3`) and the next drain sends it once, through the stable-ID path. A resend after that is deduped by T3. A question that its job's result superseded is not released. The original kind is kept in `notifications.held_kind`, a nullable column added by migration 68.
|
|
27
|
+
|
|
28
|
+
Dalan also records the parent generation when a job is submitted: thread id, environment id, latest run id and run ordinal. The T3 destination writes it with `capture()` as one opaque string in `assignments.parent_generation`, and reads it with `readGeneration()`. The Store keeps the string and never parses it, so the core has no T3 columns. `canAdmitContinuation(row)` is the fence: a wake is held if the thread or environment changed, or if the latest ordinal went down. All three methods are on the destination interface (`src/destinations/index.mjs`); the `none` destination records nothing and always admits. The column and `held_kind` arrive together in migration 68, after the question-purpose column of 67.
|
|
29
|
+
|
|
30
|
+
Blocker and question wakes now use the stable-id path that result wakes use. Their command id comes from the job id and notification id, so a resend after a lost ack is one dispatch (measurement 3). The question text is quoted as data in the wake message.
|
|
31
|
+
|
|
32
|
+
## Not claimed
|
|
33
|
+
|
|
34
|
+
- The fence is not atomic. Dalan checks, then sends. A parent that is stopped between the check and the send is still woken.
|
|
35
|
+
- A parent that was stopped and then resumed by its user looks eligible. A resumed run is a newer run, and Dalan cannot tell that from a normal finish.
|
|
36
|
+
- Wakes that go through the CLI path (watch and break notices) have no stable id.
|
|
37
|
+
- Result text is not framed as untrusted data. Only question text is.
|
|
38
|
+
- Jobs created from the policy queue have no recorded generation. The ordinal check is skipped for them. The held-status check still applies.
|
|
39
|
+
|
|
40
|
+
## Upstream ask
|
|
41
|
+
|
|
42
|
+
One field would close the first two gaps: a monotonic `stopSeq` on the thread, raised by `thread.stop` only, plus an optional `ifStopSeq` guard on `message.dispatch` that rejects the send when the counter moved. With it, Dalan could record `stopSeq` at submit, send with the guard, and drop the over-fence for plain interrupts. Dalan does not patch T3 for this.
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# Test-suite resource census
|
|
2
|
+
|
|
3
|
+
The ordered commands in `scripts/test-segments.json` are the audit boundary. The suite owns mutable state below private, randomly allocated roots. Tests may allocate more private children. Code, installed dependencies, system binaries, and kernel metadata remain shared read-only inputs. Real systemd checks share the user manager but use a distinct unit name per suite.
|
|
4
|
+
|
|
5
|
+
## Confirmed failures
|
|
6
|
+
|
|
7
|
+
| Failure | Shared resource or race | Correction and evidence |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| `persistent-setup-test.mjs`, `install-inbox-test.mjs` | The setup mutex defaults to one lock per Unix user (`scripts/worker-bridge-setup.mjs:198`, `:918`). Separate HOME/TMPDIR values do not relocate that default. | The runner exports one private `DALAN_SETUP_LOCK_DIR` to every segment (`scripts/test-segments.mjs:32`). Two concurrent unmodified persistent fixtures produced one pass and one lock failure; both passed with separate overrides. |
|
|
10
|
+
| Both verifier segments, filter-safety, worktree-filter-context | The integrator's restricted child environment omitted `DALAN_HOST_CHECK_UNIT_SUFFIX`, so every suite's child used the fixed production unit (`src/integrator.mjs:132`). | Forward that existing seam only from non-production test invocations; the restricted test child is explicitly test-mode. A production-mode child ignores an inherited suffix and uses the fixed service name. Two verifier copies with different parent suffixes reproduced one failure before forwarding; both passed afterward. |
|
|
11
|
+
| Optional host regrant journey | Its conformance adapter also constructs an environment explicitly (`scripts/conformance/adapter-dot-bridge.mjs:141`). | Preserve the suite suffix there too. This optional journey currently refuses before its host check because the fixture has no worker repository policy; that independent refusal was not changed. |
|
|
12
|
+
| Host-budget production-name regression | The regression itself temporarily unset the suffix and started the shared production unit (`scripts/host-budgets-test.mjs:162`). | Intercept systemd spawn to assert the exact unsuffixed argument. Real concurrent admission/cancellation tests use only suite-owned units (`scripts/host-budgets-test.mjs:184`). Production still defaults to one active envelope per user. |
|
|
13
|
+
| `workspace-policy-held-claim-e2e.mjs` | This is an intra-fixture race: its own lease sweeper may abandon the expired claim before cleanup calls `abandon` again (`scripts/workspace-policy-held-claim-e2e.mjs:128`, `src/store.mjs:2710`). | Force the real sweep before cleanup and cancel the fixture request, which accepts queued or claimed state. The forced-sweep control failed with “no active claim” before this change and passed after it. The SIGTERM log is the fixture's own finally cleanup (`:49`). |
|
|
14
|
+
|
|
15
|
+
Two concurrent seven-segment reproductions covered persistent setup, inbox installation, both verifier entries, both filter fixtures, and the held-claim workspace fixture. Both reported seven passes and no skips.
|
|
16
|
+
|
|
17
|
+
The first full pair also exposed a budget-result ordering race: the outer supervisor can report CPU exhaustion, then its child sees EOF and reports an interruption. `src/host-budget.mjs` now remembers the observed CPU violation while retaining later usage and phase details. A synthetic trusted-pipe regression (`scripts/host-budgets-test.mjs`) fails before this change and passes afterward. Kernel limits and production reservation behavior are unchanged.
|
|
18
|
+
|
|
19
|
+
## Resource ownership
|
|
20
|
+
|
|
21
|
+
| Resource | Access sites | Isolation / shared-read contract |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| Home scratch, databases, receipts, repo caches, owner configuration, downloads | `src/paths.mjs`; all home call sites indexed below; integrator fixtures at `scripts/integrator-verifier-test.mjs:12`, `integrator-filter-safety-test.mjs:12`, `integrator-worktree-filter-context-test.mjs:12` | Runner allocates a private HOME below the original home scratch directory and pre-creates its `.tmp` (`scripts/test-segments.mjs:28`). Keeping HOME outside `/tmp` preserves prepared-cache ancestor checks; temporary files and sockets still use a short TMPDIR. Explicit fixture HOMEs are already random children. No fixture writes the operator's real HOME. |
|
|
24
|
+
| XDG config/data/state/cache | `scripts/worker-bridge-setup.mjs:228`, `src/test-support/fixture-env.mjs:10` | Runner clears inherited XDG base-directory overrides so defaults follow each fixture's HOME (`scripts/test-segments.mjs:38`). Helpers that set explicit XDG directories put them under their private fixture HOME. |
|
|
25
|
+
| Temporary files, SQLite files, Unix admin sockets | `src/admin-socket.mjs`; `scripts/mcp-schema-conformance-test.mjs:21`; `scripts/test-segments.mjs:30` | Suite-private TMPDIR and DOT_BRIDGE_TEST_TMP; fixture mkdtemp children. Short roots keep socket addresses within the platform limit. Schema fixture's long-path fallback also uses mkdtemp, never a fixed socket leaf. |
|
|
26
|
+
| Setup SQLite mutex | `scripts/worker-bridge-setup.mjs:198`, `:918`; `scripts/persistent-setup-test.mjs:300` | One suite-private override directory. Tests of a specific lock use their own fixture directory. Production's per-user default is unchanged. |
|
|
27
|
+
| systemd units / cgroups / host-stop records | `src/host-budget.mjs:79`, `src/host-stop-reverify.mjs:37`; `scripts/host-budgets-test.mjs`; `scripts/require-integrator-host-budget.mjs:16` | Suite unit suffix is retained through non-production test child environments. Production-mode host checks always use the fixed unit name, even if a test suffix is inherited. Cleanup and re-verification address the unit from that run's receipt. Unsuffixed naming is tested with spawn interception, never a live shared unit. |
|
|
28
|
+
| User systemd bus and runtime directory | `src/integrator.mjs:135`; `scripts/regrant-effects-e2e.mjs:117` | XDG_RUNTIME_DIR and DBUS_SESSION_BUS_ADDRESS remain host inputs so real kernel-budget checks can run. The manager is shared; every mutable unit/cgroup/receipt is owned by one suite. No global stop or unit enumeration assertion is used. |
|
|
29
|
+
| npm cache and user configuration | `scripts/test-segments.mjs:33`; `src/prepared-node-modules.mjs:103` | Runner redirects npm_config_cache. User configuration defaults follow private HOME. Installed dependency files are immutable test inputs; fixture package operations use private repositories. |
|
|
30
|
+
| Git repositories, refs, worktrees, hooks, filter configuration | `src/integrator.mjs:86`; `scripts/integrator-worktree-filter-context-test.mjs:72`; `scripts/mirror-fetch-test.mjs:18` | Mutable repositories and worktrees live below private fixture roots. Source checkout and its Git metadata are read inputs. GIT_CONFIG_GLOBAL defaults to `/dev/null` (`scripts/test-segments.mjs:24`); an explicit caller override is an intentional read input. The mirror canaries at `scripts/mirror-fetch-test.mjs:133` now read suite HOME. |
|
|
31
|
+
| TCP listeners and OAuth issuer URLs | `src/test-support/port.mjs:11`, `:38`; `scripts/builtin-as-e2e.mjs:119`; `scripts/workspace-policy-held-claim-e2e.mjs:30` | Servers bind 0 and read the actual bound port, or retry the complete configured startup after EADDRINUSE. The production trial searches a range and retries bind failures; shutdown assertions inspect the fixture's private admin socket (`scripts/dalan-try-test.mjs:74`). |
|
|
32
|
+
| Fixed setup ports such as 18792 and 18805 | `scripts/persistent-setup-test.mjs:49`, `:302`; `scripts/install-inbox-test.mjs:154` | These are generated configuration / negative assertion data. Fake systemctl and launchctl never execute the generated server command (`scripts/persistent-setup-test.mjs:20`, `:377`). Setup invokes only `dalan init` (`scripts/worker-bridge-setup.mjs:355`), so these ports are not bound. |
|
|
33
|
+
| PIDs, process groups, kill markers | `scripts/test-segments.mjs:42`; `scripts/host-budgets-test.mjs:125`; `scripts/conformance/adapter-dot-bridge.mjs:167` | OS-assigned IDs, owned child handles/groups, or random marker strings. Fault injection targets only that fixture's processes; no pkill/killall or shared tmux server is used. |
|
|
34
|
+
| OS account home, binaries, `/proc`, `/sys/fs/cgroup`, libraries | `scripts/worker-bridge-setup.mjs:89`; `scripts/require-host-sandbox.mjs:10`; `scripts/host-budgets-test.mjs:146` | Shared identity/read-only readiness, process or sandbox-security inputs. Account lookup is used for safety checks; setup tests name explicit fixture homes. Cgroup mutations belong to the suite-specific systemd unit. Denied paths in `scripts/workspace-e2e.mjs:20` are sandbox test inputs. |
|
|
35
|
+
| External routes, catalogs, workers, service managers | `src/test-support/gozar-fake.mjs`; `src/test-support/public-host-fetch.mjs`; `scripts/persistent-setup-test.mjs:20` | Ordinary suite uses local fake providers, loopback fixtures, and service-manager shims. Live/archived journeys remain opt-in and explicitly skipped when not configured. No live bridge/catalog mutation is part of this proof. |
|
|
36
|
+
|
|
37
|
+
Signal handlers and final cleanup are registered before suite allocation. The suite HOME and temporary root are removed only after the active segment's process group has settled, including handled interrupts. If stop confirmation fails, the runner retains HOME, TMPDIR, setup-lock state and skip reports, then prints `SUITE ROOTS RETAINED` with their paths, the process group, and observable surviving PIDs. Stop only those owned processes and confirm their exit before deleting the retained roots. A SIGKILL cannot run finally cleanup; the caller must track and remove both owned roots afterward.
|
|
38
|
+
|
|
39
|
+
## Home-access census index
|
|
40
|
+
|
|
41
|
+
This is a conservative source inventory of every explicit `homedir()` and `userInfo()` call in scripts and first-party source (including optional/manual helpers). The runner's private HOME covers homedir defaults; account-home lookups remain read-only safety checks. Generated paths, mock strings, and guest denial probes do not mean the host path is written. The table above records the runtime classification rather than treating every literal as a listener or mutable shared file.
|
|
42
|
+
|
|
43
|
+
| File | Lines |
|
|
44
|
+
| --- | --- |
|
|
45
|
+
| `scripts/acp-prose-check-test.mjs` | 10, 109 |
|
|
46
|
+
| `scripts/adapter-conformance-test.mjs` | 19, 20 |
|
|
47
|
+
| `scripts/admin-socket-path-test.mjs` | 35 |
|
|
48
|
+
| `scripts/admission-measure-test.mjs` | 8 |
|
|
49
|
+
| `scripts/admission-measure.mjs` | 84 |
|
|
50
|
+
| `scripts/answer-journal-e2e.mjs` | 20, 23 |
|
|
51
|
+
| `scripts/as-encrypted-storage-test.mjs` | 8 |
|
|
52
|
+
| `scripts/as-key-publication-test.mjs` | 26 |
|
|
53
|
+
| `scripts/auth-repository-security-test.mjs` | 15 |
|
|
54
|
+
| `scripts/backup-recipe-test.mjs` | 28 |
|
|
55
|
+
| `scripts/builtin-as-code-lifetime-test.mjs` | 12 |
|
|
56
|
+
| `scripts/builtin-as-complete-crash-test.mjs` | 14 |
|
|
57
|
+
| `scripts/builtin-as-e2e.mjs` | 25 |
|
|
58
|
+
| `scripts/builtin-as-exposure-test.mjs` | 15 |
|
|
59
|
+
| `scripts/builtin-as-owner-test.mjs` | 52 |
|
|
60
|
+
| `scripts/builtin-as-race-test.mjs` | 14 |
|
|
61
|
+
| `scripts/builtin-as-static-client-test.mjs` | 15 |
|
|
62
|
+
| `scripts/builtin-claim-admission-e2e.mjs` | 15 |
|
|
63
|
+
| `scripts/catalog-v2-test.mjs` | 12 |
|
|
64
|
+
| `scripts/check-readiness-lifecycle-test.mjs` | 9 |
|
|
65
|
+
| `scripts/child-registry-inspection-test.mjs` | 8 |
|
|
66
|
+
| `scripts/claim-binding-followups-e2e.mjs` | 19 |
|
|
67
|
+
| `scripts/claim-expiry-guidance-test.mjs` | 6 |
|
|
68
|
+
| `scripts/claim-fence-await-race-e2e.mjs` | 23 |
|
|
69
|
+
| `scripts/claim-metadata-redaction-test.mjs` | 32 |
|
|
70
|
+
| `scripts/claim-statechart-fixture.mjs` | 7 |
|
|
71
|
+
| `scripts/cleanup-nonblocking-e2e.mjs` | 11 |
|
|
72
|
+
| `scripts/conformance/adapter-dot-bridge.mjs` | 109, 110 |
|
|
73
|
+
| `scripts/conformance/native-authority-test.mjs` | 22 |
|
|
74
|
+
| `scripts/conformance/service-bootstrap.mjs` | 6 |
|
|
75
|
+
| `scripts/daily-selfcheck.mjs` | 26 |
|
|
76
|
+
| `scripts/dalan-mcp-test.mjs` | 17 |
|
|
77
|
+
| `scripts/dalan-setup-test.mjs` | 13 |
|
|
78
|
+
| `scripts/dalan-try-hosted-test.mjs` | 30 |
|
|
79
|
+
| `scripts/dalan-try-test.mjs` | 21 |
|
|
80
|
+
| `scripts/deadman-publication-crash-test.mjs` | 9 |
|
|
81
|
+
| `scripts/deadman-readonly-status-test.mjs` | 10 |
|
|
82
|
+
| `scripts/doctor-auth-test.mjs` | 15 |
|
|
83
|
+
| `scripts/generic-client-journey-e2e.mjs` | 16 |
|
|
84
|
+
| `scripts/generic-profile-test.mjs` | 12 |
|
|
85
|
+
| `scripts/gozar-migration-e2e.mjs` | 21 |
|
|
86
|
+
| `scripts/gozar-route-contract-test.mjs` | 21 |
|
|
87
|
+
| `scripts/host-budget-cpu-readback-test.mjs` | 7 |
|
|
88
|
+
| `scripts/host-check-allowlist-http-test.mjs` | 17 |
|
|
89
|
+
| `scripts/host-receipt-publication-crash-test.mjs` | 8 |
|
|
90
|
+
| `scripts/host-recovery-live-test.mjs` | 12 |
|
|
91
|
+
| `scripts/host-recovery-test.mjs` | 8 |
|
|
92
|
+
| `scripts/host-stop-path-audit-test.mjs` | 14 |
|
|
93
|
+
| `scripts/host-stop-reverify-test.mjs` | 10 |
|
|
94
|
+
| `scripts/inbox-e2e.mjs` | 16 |
|
|
95
|
+
| `scripts/install-gate-test.mjs` | 10 |
|
|
96
|
+
| `scripts/integrator-attempt-trace-test.mjs` | 12 |
|
|
97
|
+
| `scripts/integrator-check-input-test.mjs` | 10 |
|
|
98
|
+
| `scripts/integrator-filter-safety-test.mjs` | 12 |
|
|
99
|
+
| `scripts/integrator-policy-rejection-test.mjs` | 11 |
|
|
100
|
+
| `scripts/integrator-safety-test.mjs` | 14, 15 |
|
|
101
|
+
| `scripts/integrator-verifier-test.mjs` | 13 |
|
|
102
|
+
| `scripts/integrator-worktree-filter-context-test.mjs` | 12 |
|
|
103
|
+
| `scripts/lease-deadline-restart-test.mjs` | 8 |
|
|
104
|
+
| `scripts/lease-migrated-null-deadline-test.mjs` | 7 |
|
|
105
|
+
| `scripts/legacy-acquisition-guidance-test.mjs` | 12 |
|
|
106
|
+
| `scripts/legacy-init-start-test.mjs` | 12 |
|
|
107
|
+
| `scripts/live-trial/common.mjs` | 271 |
|
|
108
|
+
| `scripts/live-trial/dry-run.mjs` | 27, 106, 108 |
|
|
109
|
+
| `scripts/live-trial/setup.mjs` | 65 |
|
|
110
|
+
| `scripts/live-trial/teardown.mjs` | 93, 99, 172 |
|
|
111
|
+
| `scripts/maintenance-liveness-test.mjs` | 13 |
|
|
112
|
+
| `scripts/mcp-outcome-e2e.mjs` | 14 |
|
|
113
|
+
| `scripts/mcp-sse-idle-test.mjs` | 17 |
|
|
114
|
+
| `scripts/message-e2e.mjs` | 14 |
|
|
115
|
+
| `scripts/mirror-fetch-test.mjs` | 18, 133 |
|
|
116
|
+
| `scripts/neutral-schema-upgrade-test.mjs` | 15 |
|
|
117
|
+
| `scripts/neutral-worker-e2e.mjs` | 24 |
|
|
118
|
+
| `scripts/notify-ledger-admin-test.mjs` | 10 |
|
|
119
|
+
| `scripts/notify-ledger-crash-test.mjs` | 17 |
|
|
120
|
+
| `scripts/notify-ledger-reconcile-test.mjs` | 11 |
|
|
121
|
+
| `scripts/one-bridge-workers-e2e.mjs` | 16 |
|
|
122
|
+
| `scripts/outcomes.mjs` | 4 |
|
|
123
|
+
| `scripts/owner-report-artifact-e2e.mjs` | 163 |
|
|
124
|
+
| `scripts/patch-apply-default-test.mjs` | 10 |
|
|
125
|
+
| `scripts/patch-apply-path-spaces-test.mjs` | 11 |
|
|
126
|
+
| `scripts/pause-claim-hint-test.mjs` | 11 |
|
|
127
|
+
| `scripts/pinned-repository-fetch-test.mjs` | 8 |
|
|
128
|
+
| `scripts/prepared-dependencies-host-test.mjs` | 20 |
|
|
129
|
+
| `scripts/prepared-node-modules-test.mjs` | 8 |
|
|
130
|
+
| `scripts/prose-inspection-cleanup-test.mjs` | 9 |
|
|
131
|
+
| `scripts/protocol-retention-break-alert-test.mjs` | 8 |
|
|
132
|
+
| `scripts/protocol-scheduler-test.mjs` | 7 |
|
|
133
|
+
| `scripts/pull-queue-destination-test.mjs` | 8 |
|
|
134
|
+
| `scripts/pull-queue-test.mjs` | 13 |
|
|
135
|
+
| `scripts/queue-wait-perf-test.mjs` | 8 |
|
|
136
|
+
| `scripts/redaction-matrix-test.mjs` | 82 |
|
|
137
|
+
| `scripts/registry-e2e.mjs` | 14 |
|
|
138
|
+
| `scripts/regrant-effects-e2e.mjs` | 12 |
|
|
139
|
+
| `scripts/regrant-waiter-fencing-test.mjs` | 32 |
|
|
140
|
+
| `scripts/remote-loopback-callback-test.mjs` | 47, 56 |
|
|
141
|
+
| `scripts/sandbox-probe-e2e.mjs` | 27 |
|
|
142
|
+
| `scripts/sandbox-source-exemption-test.mjs` | 10 |
|
|
143
|
+
| `scripts/schema-fixture-guard-test.mjs` | 10 |
|
|
144
|
+
| `scripts/scope-names-e2e.mjs` | 15 |
|
|
145
|
+
| `scripts/secret-sinks-redaction-test.mjs` | 156, 178, 362, 386, 473, 501, 620 |
|
|
146
|
+
| `scripts/service-auto-update-test.mjs` | 12 |
|
|
147
|
+
| `scripts/service-install-test.mjs` | 13 |
|
|
148
|
+
| `scripts/service-legacy-probe-test.mjs` | 11 |
|
|
149
|
+
| `scripts/service-migrate-workers-test.mjs` | 11, 12 |
|
|
150
|
+
| `scripts/service-one-command-test.mjs` | 21 |
|
|
151
|
+
| `scripts/service-update-gate-test.mjs` | 13 |
|
|
152
|
+
| `scripts/service-update-journey-test.mjs` | 14 |
|
|
153
|
+
| `scripts/service-update-runtime-test.mjs` | 12 |
|
|
154
|
+
| `scripts/shutdown-signal-log-test.mjs` | 12 |
|
|
155
|
+
| `scripts/signal-endpoint-test.mjs` | 16 |
|
|
156
|
+
| `scripts/subscription-storage-test.mjs` | 31 |
|
|
157
|
+
| `scripts/t3-scope-e2e.mjs` | 13 |
|
|
158
|
+
| `scripts/t3-tools-e2e.mjs` | 14 |
|
|
159
|
+
| `scripts/t3-top-level-tools-noref-test.mjs` | 17 |
|
|
160
|
+
| `scripts/t3-top-level-tools-test.mjs` | 25 |
|
|
161
|
+
| `scripts/t3-wake-fence-e2e.mjs` | 20 |
|
|
162
|
+
| `scripts/test-ntfy-alert.mjs` | 3 |
|
|
163
|
+
| `scripts/test-segments-test.mjs` | 11, 106 |
|
|
164
|
+
| `scripts/test-segments.mjs` | 35 |
|
|
165
|
+
| `scripts/tool-registry-admission-test.mjs` | 11 |
|
|
166
|
+
| `scripts/tool-registry-test.mjs` | 14 |
|
|
167
|
+
| `scripts/tool-scheme-scopes-e2e.mjs` | 16 |
|
|
168
|
+
| `scripts/upgrade-release-fixture-test.mjs` | 20, 79 |
|
|
169
|
+
| `scripts/work-order-e2e.mjs` | 14 |
|
|
170
|
+
| `scripts/work-order-test.mjs` | 6 |
|
|
171
|
+
| `scripts/worker-bridge-setup.mjs` | 89, 105, 228, 231, 758 |
|
|
172
|
+
| `scripts/worker-isolation-test.mjs` | 22 |
|
|
173
|
+
| `scripts/worker-repo-cache-test.mjs` | 7 |
|
|
174
|
+
| `scripts/worker-repo-policy-e2e.mjs` | 14 |
|
|
175
|
+
| `scripts/workspace-disk-test.mjs` | 8 |
|
|
176
|
+
| `scripts/workspace-inspection-cleanup-test.mjs` | 7 |
|
|
177
|
+
| `scripts/workspace-nosandbox-e2e.mjs` | 22 |
|
|
178
|
+
| `src/acp-bridge.mjs` | 26, 264 |
|
|
179
|
+
| `src/alerts.mjs` | 11 |
|
|
180
|
+
| `src/auth.mjs` | 10 |
|
|
181
|
+
| `src/child-registry.mjs` | 10 |
|
|
182
|
+
| `src/connect-cli.mjs` | 114 |
|
|
183
|
+
| `src/default-home.mjs` | 9, 36 |
|
|
184
|
+
| `src/gozar-routes.mjs` | 46 |
|
|
185
|
+
| `src/host-check-allowlist.mjs` | 6 |
|
|
186
|
+
| `src/integrator.mjs` | 19 |
|
|
187
|
+
| `src/limits.mjs` | 8, 16, 25 |
|
|
188
|
+
| `src/paths.mjs` | 52, 56 |
|
|
189
|
+
| `src/pr-head-reviewer.mjs` | 15 |
|
|
190
|
+
| `src/prepared-node-modules.mjs` | 10 |
|
|
191
|
+
| `src/projects.mjs` | 15, 90 |
|
|
192
|
+
| `src/route-setting.mjs` | 14 |
|
|
193
|
+
| `src/server.mjs` | 56 |
|
|
194
|
+
| `src/service-launchd.mjs` | 23 |
|
|
195
|
+
| `src/service-update-gate.mjs` | 9 |
|
|
196
|
+
| `src/service-update-runtime.mjs` | 249 |
|
|
197
|
+
| `src/service-update.mjs` | 118 |
|
|
198
|
+
| `src/service.mjs` | 109, 347, 403 |
|
|
199
|
+
| `src/store.mjs` | 149, 252, 253 |
|
|
200
|
+
| `src/submission-policy.mjs` | 101 |
|
|
201
|
+
| `src/t3-transport.mjs` | 30 |
|
|
202
|
+
| `src/try-hosted.mjs` | 106 |
|
|
203
|
+
| `src/try.mjs` | 55, 84, 273 |
|
|
204
|
+
| `src/workers.mjs` | 170, 179 |
|
package/docs/worker-clients.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
A worker is any MCP client that signs in to a Dalan bridge with OAuth, claims a job, reports progress and finishes it. This guide has the exact steps for Claude Code, Codex CLI and opencode, and the requirements for any other client.
|
|
4
4
|
|
|
5
|
+
If your local agent only sends jobs to a hosted worker, skip this guide: see [Send jobs from a local coding agent](local-agent-requester.md).
|
|
6
|
+
|
|
5
7
|
Start from the section that matches your bridge:
|
|
6
8
|
|
|
7
9
|
| Your bridge | Your client | Go to |
|
|
@@ -179,16 +181,16 @@ Each native attempt is approved by its own code, and a later attempt cannot take
|
|
|
179
181
|
|
|
180
182
|
### Worked example: Codex CLI on another computer
|
|
181
183
|
|
|
182
|
-
This example uses a bridge from
|
|
184
|
+
This example uses a bridge from `dalan service install --worker NAME --route tailscale` ([service setup](service-setup.md)) and Codex CLI on the worker computer. No reverse proxy and no domain of your own are involved.
|
|
183
185
|
|
|
184
|
-
1. On the bridge computer,
|
|
186
|
+
1. On the bridge computer, allow the callback and open a pairing window:
|
|
185
187
|
|
|
186
188
|
```sh
|
|
187
189
|
dalan connect allow-callback 'http://127.0.0.1/callback'
|
|
188
190
|
dalan connect start --worker NAME
|
|
189
191
|
```
|
|
190
192
|
|
|
191
|
-
2. Copy the private file
|
|
193
|
+
2. Copy the private connector URL file that install printed (`resource-url` in the service home, `~/.local/share/dalan-service/resource-url` by default) to the worker computer over a trusted channel such as `scp`, and keep it at mode 0600, because it holds the bridge's secret path.
|
|
192
194
|
3. On the worker computer, add the server. The command prints an authorization URL and waits:
|
|
193
195
|
|
|
194
196
|
```sh
|
|
@@ -199,7 +201,7 @@ This example uses a bridge from the [Tailscale Funnel setup](service-setup.md#wi
|
|
|
199
201
|
5. On the bridge computer, run `dalan connect pending`. Compare the code and the redirect with the page, then run `dalan connect approve CODE --worker NAME --confirm-redirect REDIRECT`.
|
|
200
202
|
6. **Check:** `codex mcp add` ends with `Successfully logged in.` Add the five tool approvals from the [Codex CLI section](#native-cli-worker-codex-cli) to the worker computer's `config.toml`. Submit the README's first job with `--worker NAME`, run `codex exec` on the worker computer, then use `dalan wait`, `get` and `decide` on the bridge computer.
|
|
201
203
|
|
|
202
|
-
To undo it, run `codex mcp remove NAME` on the worker computer, and `
|
|
204
|
+
To undo it, run `codex mcp remove NAME` on the worker computer, and `dalan service uninstall` on the bridge computer; that removes the service and its public route.
|
|
203
205
|
|
|
204
206
|
## Worker names and more than one worker
|
|
205
207
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tnunamak/dalan",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "An MCP job bridge for bounded agent work, durable progress, results, and owner review.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,17 +14,19 @@
|
|
|
14
14
|
"files": [
|
|
15
15
|
"bin/*.mjs",
|
|
16
16
|
"src/",
|
|
17
|
+
"!src/**/*.test.mjs",
|
|
17
18
|
"!src/test-support/",
|
|
18
19
|
"!**/__pycache__/",
|
|
19
20
|
"packages/job-core/",
|
|
20
21
|
"!packages/job-core/test/",
|
|
21
22
|
"integrations/t3/acp-kit/src/",
|
|
23
|
+
"qualification/",
|
|
24
|
+
"contracts/adapter-qualification.schema.json",
|
|
22
25
|
"scripts/daily-selfcheck.mjs",
|
|
23
26
|
"scripts/dalan-try-selfcheck.mjs",
|
|
24
27
|
"scripts/monitor-targets.mjs",
|
|
25
28
|
"scripts/worker-bridge-setup.mjs",
|
|
26
29
|
"scripts/upgrade-drain.mjs",
|
|
27
|
-
"scripts/lib/expose-tailscale.mjs",
|
|
28
30
|
"scripts/live-trial/common.mjs",
|
|
29
31
|
"docs/",
|
|
30
32
|
"CONTRIBUTING.md",
|
|
@@ -54,7 +56,7 @@
|
|
|
54
56
|
},
|
|
55
57
|
"dependencies": {
|
|
56
58
|
"@agentclientprotocol/sdk": "1.8.0",
|
|
57
|
-
"@tnunamak/gozar": "0.
|
|
59
|
+
"@tnunamak/gozar": "^0.3.0",
|
|
58
60
|
"oidc-provider": "9.13.0"
|
|
59
61
|
},
|
|
60
62
|
"devDependencies": {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Adapter qualification
|
|
2
|
+
|
|
3
|
+
A worker profile may name an `adapter`: `mcp` or `protocol-v0`. Omission means unqualified. This field is independent of the `t3` authority grant and of Gozar tunnel routes.
|
|
4
|
+
|
|
5
|
+
Records follow [the adapter schema](../contracts/adapter-qualification.schema.json), copied from the handoff schema with adapter naming. `yes` with a passing observation maps to `verified`; `no` with a passing observation maps to `unsupported`; everything else maps to `unknown`. Unknown capabilities never satisfy a submission requirement.
|
|
6
|
+
|
|
7
|
+
`protocol-v0` qualifies identified question/answer/consume behavior through the local real-server fixture. Its declaration applies only with the `protocol-v0` catalog profile. `mcp` makes no verified capability claims. Neither record qualifies a hosted model, native session continuity, activation, or a worker sandbox. The source pin identifies the baseline exercised by the probe, rather than a live provider version.
|
|
8
|
+
|
|
9
|
+
Run `node scripts/qualification-gate-test.mjs` to validate the records, compare them with the runtime capability table, and rerun their observations. The gate refuses missing observations, failed probes, mismatched values, duplicate or missing capability names, and unbound evidence. Run `node scripts/adapter-qualification-test.mjs` to exercise actual `/submit` admission and inspect SQLite after refusals. `node scripts/pull-catalog-hash-test.mjs` pins the unchanged worker catalog for all profiles with T3 tools on and off.
|
|
10
|
+
|
|
11
|
+
For `execution=none` or `worker`, required capabilities must be verified by the worker's declared adapter. For `execution=host`, sandbox requirements still use the host backend; adapter requirements also need the worker adapter. Existing immutable retries retain their original admission and binding. Policy submissions reject `required_capabilities` rather than silently dropping it.
|
|
12
|
+
|
|
13
|
+
To add an adapter, add its record, register its strict identifier in `src/execution.mjs`, and add a probe whose passing output measures each declared value. Do not promote a hosted capability from documentation alone.
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"record_kind": "draft_internal_qualification_record_not_wire_protocol",
|
|
4
|
+
"adapter_id": "mcp",
|
|
5
|
+
"observed_on": "2026-11-15",
|
|
6
|
+
"pins": {
|
|
7
|
+
"dalan_commit": "cf23cceed3ada4ffda321966f616a55b1696e447",
|
|
8
|
+
"requester_ref": "private admin HTTP",
|
|
9
|
+
"worker_host_ref": "local OAuth protocol fixture; not a live hosted worker",
|
|
10
|
+
"protocol": "mcp",
|
|
11
|
+
"sdk": null,
|
|
12
|
+
"catalog_fingerprint": null
|
|
13
|
+
},
|
|
14
|
+
"roles": [
|
|
15
|
+
"worker"
|
|
16
|
+
],
|
|
17
|
+
"continuity": "unknown",
|
|
18
|
+
"activation": "unknown",
|
|
19
|
+
"capabilities": [
|
|
20
|
+
{
|
|
21
|
+
"name": "private_loopback",
|
|
22
|
+
"declared": "unknown",
|
|
23
|
+
"observed": "not_tested",
|
|
24
|
+
"required": false
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "host_loopback_denied",
|
|
28
|
+
"declared": "unknown",
|
|
29
|
+
"observed": "not_tested",
|
|
30
|
+
"required": false
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "lan_denied",
|
|
34
|
+
"declared": "unknown",
|
|
35
|
+
"observed": "not_tested",
|
|
36
|
+
"required": false
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "unix_sockets_denied",
|
|
40
|
+
"declared": "unknown",
|
|
41
|
+
"observed": "not_tested",
|
|
42
|
+
"required": false
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "credential_services_denied",
|
|
46
|
+
"declared": "unknown",
|
|
47
|
+
"observed": "not_tested",
|
|
48
|
+
"required": false
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "closed_inherited_fds",
|
|
52
|
+
"declared": "unknown",
|
|
53
|
+
"observed": "not_tested",
|
|
54
|
+
"required": false
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "read_scope_enforced",
|
|
58
|
+
"declared": "unknown",
|
|
59
|
+
"observed": "not_tested",
|
|
60
|
+
"required": false
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "write_scope_enforced",
|
|
64
|
+
"declared": "unknown",
|
|
65
|
+
"observed": "not_tested",
|
|
66
|
+
"required": false
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "full_tree_cancel_verified",
|
|
70
|
+
"declared": "unknown",
|
|
71
|
+
"observed": "not_tested",
|
|
72
|
+
"required": false
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "offline_transition_revokes_connections",
|
|
76
|
+
"declared": "unknown",
|
|
77
|
+
"observed": "not_tested",
|
|
78
|
+
"required": false
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "artifact_export_no_follow",
|
|
82
|
+
"declared": "unknown",
|
|
83
|
+
"observed": "not_tested",
|
|
84
|
+
"required": false
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "runner_observed_evidence",
|
|
88
|
+
"declared": "unknown",
|
|
89
|
+
"observed": "not_tested",
|
|
90
|
+
"required": false
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "native_darwin_execution",
|
|
94
|
+
"declared": "unknown",
|
|
95
|
+
"observed": "not_tested",
|
|
96
|
+
"required": false
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "immutable_input_snapshot",
|
|
100
|
+
"declared": "unknown",
|
|
101
|
+
"observed": "not_tested",
|
|
102
|
+
"required": false
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "identified_questions",
|
|
106
|
+
"declared": "unknown",
|
|
107
|
+
"observed": "not_tested",
|
|
108
|
+
"required": false
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"qualification": {
|
|
112
|
+
"state": "not_run",
|
|
113
|
+
"evidence_level": "documentation",
|
|
114
|
+
"run_refs": []
|
|
115
|
+
},
|
|
116
|
+
"limits": [
|
|
117
|
+
"No live hosted-worker qualification.",
|
|
118
|
+
"No native session continuity or activation guarantee.",
|
|
119
|
+
"Sandbox capabilities remain unknown; host execution keeps its separate backend admission."
|
|
120
|
+
]
|
|
121
|
+
}
|