Repository navigation
feat: bind per-check AI acceptance evidence to fixed gate versions - #572
codezzzsleep wants to merge 17 commits into
Conversation
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Resolve the overlap with upstream PR mdiri-ai#683 while preserving its canonical workspace journal and named-script capture. Carry the exact current-main delivery helper and lifecycle regressions so the current-main integration retains the existing behavior. Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
|
Updated the original branch to The backend CI log explicitly records Could you please review the updated implementation when convenient? |
|
I reviewed #1376 at
I ran four valid fingerprintless #1376-style examples through the actual #572 validator: all four return HTTP 422 with Please coordinate one public representation and its upgrade behavior before both changes are combined. If #1376 is accepted as the persistence/shape-validation first step, #572's frozen-version verification should target that accepted contract as a focused follow-up. Reports saved by the first step need explicit read, review and reuse coverage after the follow-up; they must retain their meaning without being silently discarded or assigned invented verified fingerprints. |
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
Signed-off-by: Ci Nie <codezzzsleep@gmail.com>
AI acceptance reports could silently discard per-check evidence references. Checks can now optionally cite fixed gate evidence through
checks[].evidenceRefs, preserving its kind, persisted ID and fingerprint. Unknown, malformed, cross-task or changed references fail before a new decision is written; desktop and cloud reviewers receive the sameevidenceRefOptionscontract.Committed direct-acceptance retries also treat an omitted
evidenceRefsfield and an empty array as equivalent. The comparison uses a copy and preserves the stored report and single approval decision. Changes to actual references, fingerprints, evidence text, summary or verdict still conflict.The supported gate kinds are
file,url,commit,text,checkandimage. Existing text-only reports, attachments without reliable historical digests, assigned-reviewer separation and private execution access retain their existing behavior. No required field or migration is added. Deploy the Hub first, then the desktop; older Hub/client combinations retain text-only reports. References establish stored identity/version, rather than model judgment accuracy. Related to #428.Validation of repair head
413dd0d2on Linux, Python 3.12.3 and Node 22.23.5:22def5d8, producing tree98d37333. The actual release shard 205/441 executestest_acceptance_evidence_refsand reportsQUALITY GATE PASSED; its loader includes all 60 desktop/cloud acceptance cases. All 22 manifest assertions and all 19 rework lifecycle cases pass on that same merge.[PASS] test_acceptance_evidence_refs (7.9s),[PASS] test_changed_lint (0.8s),[PASS] test_release_schema_history (3.5s)andQUALITY GATE PASSED.The backend release entry retains the original desktop/cloud acceptance suites and verifies that each case is selected once. The queued-PR lint baseline repair and its regressions remain included; ordinary explicit bases, unrelated-context behavior and new violations retain their checks.
The author closed #1376 in favor of the frozen gate evidence format in #572. Each reference uses
kind,ref,fingerprintand optionalnote.Follow-up at
e799b527The result merges cleanly with main
a47ad581. The shared task request reader displays structured dispatch conflict messages and carries the structured acceptance validation code on HTTP 422. The regression covers both responses and their retry semantics.Linux validation on the combined current-main tree passed 288 focused desktop tests and 120 focused Hub tests. Public source, third-party, documentation and pinned secret checks passed on this PR branch.