Skip to content

feat: validate strategy release target identity - #269

Merged
Pigbibi merged 2 commits into
mainfrom
feat/strategy-release-target-schema
Aug 25, 2026
Merged

feat: validate strategy release target identity#269
Pigbibi merged 2 commits into
mainfrom
feat/strategy-release-target-schema

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • accept an optional but complete immutable strategy release identity in RUNTIME_TARGET_JSON
  • reject partial, malformed, or unexpected release fields
  • retain compatibility for legacy targets during the read-only migration

Verification

  • jq empty schemas/runtime-target.schema.json
  • uv run --project python python -m unittest discover -s python/tests -p test_runtime_settings.py

This PR does not add a release identity to any target and does not deploy runtime settings.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi

Pigbibi commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

验证说明:本 PR 的本地受限测试已通过(117 tests)。GitHub Python CI 的失败发生在严格跨项目依赖矩阵检查,报告的是多个其他仓库既有的 QPK/策略 pin 漂移;本 PR 只改 runtime target schema、校验器和对应测试,未更新这些依赖。为避免把无关的大范围 pin 修复混入发布身份契约,本 PR 保持未合入,待矩阵单独恢复一致后再合入。

@Pigbibi
Pigbibi merged commit 12bc523 into main Aug 25, 2026
6 checks passed
@Pigbibi
Pigbibi deleted the feat/strategy-release-target-schema branch August 25, 2026 13: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