Skip to content

fix(contract): OpenAPI 契约漂移修复 + 成功码大小写统一 + 契约门禁防空转 - #2159

Merged
DeliciousBuding merged 1 commit into
masterfrom
chore/cleanup-round-16
Aug 31, 2026
Merged

fix(contract): OpenAPI 契约漂移修复 + 成功码大小写统一 + 契约门禁防空转#2159
DeliciousBuding merged 1 commit into
masterfrom
chore/cleanup-round-16

Conversation

@DeliciousBuding

Copy link
Copy Markdown
Collaborator

Harvey(OpenAPI 契约审计)修复项:P1-2/P1-3/P1-4/P1-5/P1-6 + P2-1(部分)/P2-2/P2-4/P2-6。\n\n- contacts/search q→id、sync cursor→after_seq、payload string、attachments multipart 字段、六个列表端点 query 参数补全、edge checkpoint 两路径\n- 成功 envelope code 大小写统一为小写 ok(hub health + edge writeSuccess),客户端与测试 helper 兼容双大小写\n- verify-shared-rest-contract 默认目录修正 + 0 路径 fail-closed\n- events.md 内部计数矛盾修正\n\n验证:edge/hub 单测全绿;yaml 解析 + openapi-contract + doc-ssot 全过。

@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: 5653207e-e3a5-4458-8254-9bceaab184dd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

- openapi: contacts/search 参数 q→id(对齐实现与前端 SSOT);messages/sync cursor→after_seq;AgentRunEvent.payload object→string;attachments multipart 补 hash/original_name;/client/sessions/{id}/messages 补 before_seq/limit;audit-events/market/mcp/skills/execution-targets 补全实现已有 query 参数;新增 edge /v1/runs/{runId}/checkpoint(+/file) 两路径
- 成功码大小写:hub health Ready 用 errcode.OK.Code;edge writeSuccess "OK"→"ok";桌面 edgeClient 与全部 edge 测试 helper 双大小写兼容
- api/events.md 30→31 常量自相矛盾修正
- verify-shared-rest-contract:默认目录改 app/shared/src/hub(此前 CI 扫 0 路径空转),0 路径直接 FAIL

Co-authored-by: Cursor <cursor@vectorcontrol.tech>
@DeliciousBuding
DeliciousBuding merged commit 6e8a54e into master Aug 31, 2026
45 checks passed
@DeliciousBuding
DeliciousBuding deleted the chore/cleanup-round-16 branch August 31, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant