Repository navigation
fix(schema): align request contracts with the service, CI timeouts and small fixes (audit issues) - #727
Draft
IsraelTraigent wants to merge 12 commits into
Draft
fix(schema): align request contracts with the service, CI timeouts and small fixes (audit issues)#727IsraelTraigent wants to merge 12 commits into
IsraelTraigent wants to merge 12 commits into
Conversation
…d small fixes Related audit issues: #580, #584, #640, #641 (schema side), #645, #648, #650, #652, #671, #696 (consolidated as #723 and #724), plus #689, #697, #701, #709, #710, #711, #713 and #714. - Request schemas now match what the service already enforces: promotion policy bounds, closed evaluator update/execute/backfill bodies, annotation queue description limit and closed bodies, prompt_text limit, example-set and agent list caps, run-analytics query parameters, session finalize optimization_outcome. - Update bodies that carry only nulls are refused (root anyOf on the annotation-queue and evaluator update request schemas); the evaluator update accepts an explicit null target_type like the service. - Tightened request schemas are acknowledged in scripts/breaking_schema_allowlist.json. - promotion_policy_schema.json is bumped to 0.11.0; the CHANGELOG [7.1.0] header date matches the version-bump date. - Code: duplicate JSON keys removed and a repo-wide duplicate-key gate; compute_agent_build_digest validates source_digest; the identity-vector verifier fails when it checks nothing; analytics_validators doctests pass. - CI/tooling/docs: timeout-minutes and concurrency groups on the workflows that lacked them; ruff target-version py311; developer paths removed from a committed report; CHANGELOG wording. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
IsraelTraigent
force-pushed
the
schema-issues-20261110
branch
from
November 12, 2026 10:48
b983dc3 to
1a269a0
Compare
… import-from of the same module) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…pace edge and the hybrid sessions route Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
|
Closed in the stale-PR sweep (2026-11-24): draft, conflicting, no activity for about 12 days and no live worktree. The branch is kept; reopen if this work resumes. |
…ed paths from develop
Contributor
Author
|
If I may suggest to your claude, that it would be better to send me DM of a reminder instead of closing a relevant pr... as currently I had 40 prs... draft might took some time indeed. Anyway, working on un-drafting all prs. |
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Ticket: #723
Security note: Tightens schema and digest validation, preserves the byte-pinned verifier contract, and adds workflow timeouts and concurrency controls. Contract tightenings are documented and acknowledged by fingerprint.
Summary
Closes #723
Closes #724
Closes #689
Closes #697
Closes #701
Closes #709
Closes #710
Closes #711
Closes #713
Refs #641
Refs #714
The underlying findings in #580, #584, #640, #641, #645, #648, #650, #652, #671, and #696 were consolidated under #723 and #724. The current release changelog already carries the historical wording correction from #714. GitHub closes linked issues after the work reaches the default branch.
Compatibility and deployment
This change narrows several published request and response schemas. Annotation-queue descriptions and prompt text are measured before trimming in Schema, so padding can make some otherwise service-valid bodies fail schema validation. Update consumers that validate or generate request types from the affected contracts. The backfill reason maps and finalize outcome are optional, with bounded value shapes when supplied. The compatibility allowlist preserves develop’s records and adds 34 entries for this PR.
Previous verification receipt
Current develop integration
Refs #778 for the existing Codecov Node.js runtime warning.
Fully green: NO (Aikido skipped this draft)
Spine-Trail: st_ed0d879c8a50
Owner: IsraelTraigent
Next action: Owner review of the conflict-free draft.
Follow-up: 2026-11-27