AgentSkillsCN

repo-a-coordinator-smoke

运行并调试 Repo A DDC 节点/协调器的冒烟测试工作流。适用于更改协调器端点、作业获取/提交流程、运行时注册,或必须通过本地协调器执行来验证的后端调度路径时使用。

SKILL.md
--- frontmatter
name: repo-a-coordinator-smoke
description: Run and debug Repo A DDC node/coordinator smoke workflows. Use when changing coordinator endpoints, job fetch/submit flow, runtime registration, or backend dispatch paths that must be verified with local coordinator execution.

Repo A DDC Coordinator Smoke

Use this skill for local coordinator+node runtime validation.

Workflow

  1. Launch local coordinator stub.
  2. Start node runtime with verbose policy path.
  3. Confirm one embeddings flow completes.
  4. Verify telemetry emits expected lifecycle markers.

Canonical Smoke Commands

Run from <PRIVATE_REPO_A> root:

bash
uvicorn packages.coordinator.app.main:app --port 8787 --reload

In a second shell:

bash
python -m repo_a_node --policy config/device_policy.json --verbose

Smoke Expectations

  • Coordinator endpoints reachable: /v1/register, /v1/fetch_job, /v1/submit.
  • Runtime registration succeeds.
  • At least one job completes and telemetry includes job.end.
  • Credit preview logs are emitted without payout actions.

Reference

  • references/smoke-signals.md