远程开发代理任务执行
remote-development-agents
在 beep-worker、tbk-worker、dankserver 或 tom-pc-1 上运行开发和编码代理工作。用于选择工作机、选择其 T3 或 SSH 通道、启动有界任务(bounded job)、观察现有远程任务,或收集其结果。涵盖各主机特定的就绪状态、YubiKey 访问、凭证边界和持久化任务回执。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 80
- Forks
- 14
01 前言 Front Matter
- name
- remote-development-agents
- description
- Run development and coding-agent work on beep-worker, tbk-worker, dankserver or tom-pc-1. Use for selecting a worker, choosing its T3 or SSH route, launching a bounded job, observing an existing remote job, or collecting its result. Covers host-specific readiness, YubiKey access, credential boundaries and durable job receipts.
02 资源文件 2
- 参考文档references/hosts.md13.5 KB
- 参考文档references/jobs.md5.7 KB
03 SKILL.md 正文
Remote development agents
Use the existing worker, account and limits; this skill does not provision hosts, grant credentials, expose services, authorize delegation or authorize a merge. The user's task and the repository's instructions still determine allowed work.
Read host profiles, then job operations. Resolve these relative to this skill's real path, including when it is installed globally through a symlink. The versioned source belongs to Beep; each target checkout supplies its own rules.
Workflow
- Select and verify the target. Confirm hostname, ordinary worker account,
current readiness and limits. Do not treat a dated setup receipt as a current
health check. Do not send work to
tbk-ubuntu: its development target is the separatetbk-workerguest. Dankserver admits one substantive job at a time under its smaller budget; its profile records provider proof and quota holds. - Pick the route, then connect without administrative forwarding. A host
whose T3 environment is linked (its row in the profiles table names a T3
route and
t3_environment_linkslists it) is driven from this T3 session:orchestrator_capabilitieswith thatenvironmentId, thendelegate_taskwithtarget.environmentId(andprojectId) ort3_thread_launchwithenvironmentId;t3_thread_send,t3_thread_waitandt3_thread_readcarry the same id. Untilgoals/t3code-fleet-rolloutlinks a host, or for the shell steps a T3 thread cannot do, use the profile's canonical workstation SSH wrapper. Announce hardware touches; serialize requests to the physical key. Resume a pending terminal instead of opening another. Retry expired authentication at most three times, never an uncertain mutation. Administration uses a separate shell and only the approved identity. Close that shell before running an agent. Never attach an agent to a privileged Docker socket or inherit an administrative SSH agent. - Establish ownership. Read the remote checkout's
AGENTS.md, branch, dirty state, remote, existing jobs and task ledger. Preserve others' changes. Use an isolated worktree when the task requires one; do not silently take over an occupied checkout or an existing agent conversation. - Prepare a bounded brief. Name the exact checkout, objective, permitted
edits, acceptance checks, publication boundary and receipt location. Use
gpt-6.1-solwith medium reasoning for substantive Codex work. Check the current approved provider routing before choosing another lane; a normal failure is not a reason to switch models or buy additional usage. - Launch and capture identity. Start one substantive job at a time in the
admitted shared user slice, with finite runtime and explicit limits. Record
its systemd unit, the repository's durable job ID, or (on the T3 route) the
taskIdand threadlinkthatdelegate_taskreturned, immediately. Remove administrative and secret-service environment variables from the child to prevent ambient inheritance; this does not revoke worker-owned vault access. Fail closed if the user manager or required slice is unavailable. - Observe the same job. Poll its recorded identity, not a replacement
invocation: on the T3 route, wait for the completion to wake you, then
task_statusort3_thread_readwith the recordedenvironmentId. A disconnected SSH session does not mean the job failed. Inspect exit status, resource failures, changed files and the requested acceptance evidence. Keep provider quota, authentication, inference and tool execution as separate claims. Stop only a job owned by this task. - Return evidence and close access. Report host, checkout/commit, job ID, outcome, checks and remaining limits. Save sanitized receipts before cleaning up the transient unit. Keep worktrees and credentials until their applicable retention/retirement workflow permits removal. Update the task ledger. Use Beep's Yeet workflow for Beep publication; pushing, mergeability and merging are separate states.
What a worker lane may run
bun run beep compute profile detects the worker profile from the memory
ceiling; dankserver's slice resolves to it. On worker, only
expectation-rewrite, package-scoped lint (with lint effect-vitest --files
over the diff's test files) and repo-sanity run locally.
Every other gate is hosted-only: the scheduler refuses it and
yeet final-check skips it as compute-profile=worker. Publish with
bun run beep yeet open --body-file <md>; yeet publish redirects to the
same posture and labels the PR compute-profile-worker. Both catalog
pre-commit hooks are skipped, and the hosted Catalog Regeneration job
rewrites the shards while the PR is a draft. --force-local runs fallow
and coverage one task at a time, and the receipt records it; the other
hosted-only gates are refused there. Per-host table and forced-gate budgets:
docs/runbooks/agent-pools.md "Compute profiles".
Credentials and recovery
All three worker accounts can read every item in BEEP_SECRETS through their
approved op shim. Jobs run as that same account and can also read its protected
service-account store. Mode 0600 and environment cleanup do not isolate secrets
from same-user jobs. Shared-vault administrative, deployment and review-signing
credentials retain their upstream powers; use only what the task authorizes.
D40 records the operator-approved broad grant and how to revoke or narrow it.
Do not describe task-use restrictions as technical credential denial.
- Use the host's approved
opshim fromPATH; verification reads go to/dev/null. On an agent-side failure runop-doctoronce, then stop that path if the exact operation still fails. Do not repair it through desktop sign-in. - Never print environments, raw vault items, authentication files or process argument lists. Probe only required presence, permissions or status fields.
- For sensitive human text, read the globally installed
plasma-sensitive-entryskill. Local YubiKey wrappers, remote wrappers and approved agent secret routes take precedence. No secrets in chat or prompts. - Keep development servers on loopback. Any forwarding or network exception must fit the task's authorization and the host profile. A working SSH session does not authorize public exposure or access to other fleet machines.
- On a tbk protective stop, follow its runbook and leave the guest stopped. Never relax the guard, start the VM directly or restart staking services.
Examples
- “Run the package checks on tbk-worker”: use ordinary guest access, verify its shared slice, launch one bounded job, and return its exact exit/check receipt.
- “Continue the build after SSH disconnected”: inspect the original unit or Yeet job ID and resulting files before deciding whether any retry is needed.
- “Use dankserver for an agent”: use the dedicated worker login and its qualified route from its profile; verify the current host budget and provider status. The administrative login and an installed CLI alone are insufficient.
04 同仓库更多 Skills
alchemy-provider
Bring up a new Alchemy cloud provider (its own `@alchemy.run/<provider>` package under packages/<provider>) end to end — credentials, a distilled SDK, resources, bindings, live tests, and the patch loop that feeds live-test failures back into distilled — or extend an existing provider with a new service, or bring an existing provider up to the bar (gap audit, then waves). Use for "add a <X> provider", "create an alchemy provider for <X>", "port <X> to alchemy", "add <service> to the <X> provider", "bring the <X> provider up to par", or any work that needs a distilled SDK plus Alchemy resources tested against a live API.
alchemy-domain
Build backends with @alchemy.run/domain (domain-driven design on Effect) - turn requirements into aggregates, commands, events, rejections, views, policies, sagas, projections, streams, queries, external systems and Apis; lay them out in a monorepo (domain / server / web packages, kind-suffixed files); test them with stories; host them on Durable Objects (Cloudflare, Rivet or Effect Cluster) with alchemy; and drive them from a foldkit frontend. Use when designing or changing an @alchemy.run/domain model, adding a building block, wiring hosting or a frontend, or reviewing such code.
update-harnesses
Update every agent harness on every fleet host: T3 Code, Codex, Claude Code, Grok Build, Kimi Code, Junie, Cursor Agent and Muse on DankStation, beep-worker, dankserver, tbk-worker, tom-pc-1-wsl and the grok-bot VM, plus the desktop apps (ChatGPT and Claude Desktop on DankStation and grok-bot; Cursor and Kimi Desktop on DankStation). Use on `/update-harnesses`, when a harness is out of date somewhere, or to audit which versions and install methods each host runs.
auth-environments
Sign Claude Code in to a chosen Claude subscription on every linked T3 fleet host (grok-bot, beep-worker, dankserver, tbk-worker, tom-pc-1-wsl). Use when a Claude account hits its weekly limit, when `bun run beep accounts` shows the fleet's account used up, or on `/auth-environments`. Opens each host's OAuth page and a masked KDE code dialog together and verifies the admitted account.
shadcn 技能来源校验
shadcn
用于 shadcn 技能不可变来源(provenance)的固定装置(fixture)。
QA 库存判定
qa-inventory-judge
暂无简介