Skip to content

harden fork governance and security gates - #9

Merged
KDB-Wind merged 6 commits into
mainfrom
agent/governance-six-stage
Aug 12, 2026
Merged

harden fork governance and security gates#9
KDB-Wind merged 6 commits into
mainfrom
agent/governance-six-stage

Conversation

@KDB-Wind

Copy link
Copy Markdown
Owner

变更概览

  • 修复前端 Critical/High 依赖,并升级 Vite/Vitest 相关工具链
  • 修复 CodeQL 指出的 SSRF、鉴权绕过和 CSV 转义问题,补充定向安全测试
  • 强化生产凭据 fail-fast、集成测试隔离、CODEOWNERS 与 Actions 最小权限
  • 新增 CycloneDX SBOM、Trivy SCA、受保护集成测试和覆盖率基线
  • 新增只读 DeepSeek V4 Flash 第一层手动审查;官方 Codex 保持按需第二层审查
  • 更新治理审阅、外部人工操作和单维护者边界文档

影响与边界

  • DeepSeek Review 仅由 /deepseek-review 手动触发,使用 max variant,无 contents: write,不能推送或合并
  • 真实 GitHub ruleset、CodeQL/Dependabot 告警闭合、受保护 Environment 与集成基础设施仍需远端验证
  • 审计原始包、本机 .codex/.opencode/ 和 verification 目录未纳入本 PR

本地验证

  • ./mvnw -B -ntp spotless:check verify
  • 后端默认测试:248 passed,1 skipped
  • 前端:18/18 tests、coverage、lint、tsc -b、build
  • npm audit --audit-level=high
  • Actionlint 全量 workflow 校验
  • 所有 Actions 使用 40 位 SHA
  • SSE 脚本 bash -n
  • git diff --check

@KDB-Wind

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1e8079d146

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@KDB-Wind
KDB-Wind marked this pull request as ready for review August 12, 2026 14:02
@KDB-Wind

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f400a747cb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@KDB-Wind
KDB-Wind merged commit 5e6c5b1 into main Aug 12, 2026
9 checks passed
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.

2 participants