Skip to content

W2-C1: 内网调度器 v0——Job Contract 消费+短票据签发+egress allowlist+无状态约束执法 #412

Description

@randypanding

父意图: #402 | Spec: specs/IR-0006/spec.md v1 | 波次: W2 | 依赖: W1 退出判据(判定层可写可验 + self-cloud-pool 已申报)

任务

服务器侧 Go 调度器 v0:消费 Job Contract、worker 池内短票据签发(TTL≤波次)、egress allowlist、无状态约束执法。卡上声明 capabilities 与 placement(自建域);判定与验收仍锚 GitHub(INV-02)。

AC(Given-When-Then)

  • AC-5a (spec): Given providers.yaml 已含 self-cloud-pool 条目(W1-C1),When 调度器 v0 在云内网运行,Then worker 不直连公网(egress allowlist 执法实测:非 allowlist 目的连接被拒)且持状态负载被拒置(无状态约束断言)。
  • AC-5b (api): Given 调度器为可删除执行层(INV-02),When 按 removal 声明移除,Then gate/org-gate/conductor 判定语义不变(removal 断言记录)。短票据签发/收回事件按 schema v1 进统一账本。

blastRadius(预测)

云内网执行面: 服务器调度器(自建域,非 Git); .github: providers.yaml 条目注记

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

state:done卡完成(AC 验证过 + PR 合并)type:card工作卡(wave-planner 产出)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions