Skip to content

[Contracts][CODE] Generate plugin clients from producer-owned Alpha contracts #3

Description

@jinjunnn

Covers

jinjunnn/alpha-work#9:Claude Code 插件从 producer-owned、版本化 Alpha contract artifact 生成/校验 client,不复制手写 wire types。

Boundary

Plugin contract dependency/generation、consumer compile/fixture CI、unknown-version policy 和 docs。

Out of scope

在插件仓定义平台业务 schema;旧 payload 双读;release manifest、artifact registry 各自由 alpha-work#11/#2 持有。

Design notes and risks

生成产物必须可追溯版本/digest;producer breaking change 必须先使 consumer CI 失败;未来未知版本 fail closed。

Exit condition

Merged PR + generated-client drift check + consumer fixtures + docs handled。

Parent

Refs jinjunnn/alpha-work#9

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:contractsContracts, schemas, or compatibilityarea:integrationRepository, API, or external integrationtype:featureNew user or system capability

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions