test(contracts): rvt-ifc-usdc-lineage Slice L1b — cloud publication 契約與協議測試(tasks 2.5–2.7,L1 全結) - #657
Merged
Conversation
…2.5-2.7) Slice L1b of rvt-ifc-usdc-lineage completes L1 (owner ruling R-2026-08-19): - 2.5: promote cloud-lineage-publication request/response schemas to tests/contracts/ as byte-identical copies (guarded by a byte-equal test against the change originals plus an archive-surviving deep-equal binding); 73 cloud fixtures (33 carried from the change examples, 40 authored) covering locator authority charset, four stable refs, unique versionId query, no-presigned/no-element-rows, three metrics, zero denominator, bounded warning codes, both events - 2.6: protocol_validators.py + test_cloud_publication_protocol.py (261 tests): HMAC raw-body canonicalization with golden vectors and a dummy test secret, canonical Unix-seconds timestamp header, inclusive +/-300s skew, header/body event match, 201/200 ACK vs malformed/202 protocol failure, pattern-rejects-offset proof for all four wire timestamp paths without a format plugin, table-driven timestamp validity, the nine HTTP/code/retryable triples with cross-swaps, pre-validation error event_id rules, and a guard that the MySQL DDL stays REFERENCE ONLY - 2.7: 20-row negative-case correspondence table in the lineage README; 19 covered (5 newly authored incl. stale-authorization-decision semantic rule), 1 honestly scoped to task 5.4 (full force-release rule) with a minimal capability-vocabulary rejection landed - runner: bare-oneOf narrowing exemption in the additionalProperties walker (verified: all five L1a schemas keep identical verdicts) and additive must_contain support in the expectations checker - tasks.md 2.5-2.7 checked (8/48); ledger advanced to L2 Verified: full pytest tests 1627 passed / 9 skipped (prior baseline 1082); openspec strict valid; repository lifecycle three sources agree; lifecycle non_deferred=6; agent-governance-check all pass. Schemas under openspec/changes remain untouched; no runtime wiring (blocked until L2 per ruling). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AgjUk3pyddn3kfByaWfY7G
monkey1sai-blip
approved these changes
Aug 19, 2026
monkey1sai-blip
left a comment
Collaborator
There was a problem hiding this comment.
{"kind":"ai-bim-automated-approve-only","version":1,"automated":true,"repo":"monkey1sai/AI-BIM-governance","prNumber":657,"headOid":"3f93efd2f45d96c410115f75730a945593cc925f","baseOid":"cb92a2bf99a4cbb7ba3c67ec17bfcf2996721972","action":"approve-only"}
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.
Summary
rvt-ifc-usdc-lineageSlice L1b(tasks 2.5–2.7),L1 全結(裁決 R-2026-08-19):tests/contracts/(byte-equal 測試守護+archive 後仍存活的 deep-equal 綁定);73 個 fixtures(33 個自 change examples 搬入零漂移+40 個新作),覆蓋 locator authority ASCII 字元集、四個 stable refs、唯一?versionId=、no-presigned/no-element-rows、三組 metrics、zero denominator、bounded warning codes、兩種 eventsprotocol_validators.py+261 tests——HMAC raw-body canonicalization(golden vectors、dummy test secret)、canonical Unix-seconds timestamp header、±300s inclusive skew、header/body event match、201/200 ACK vs malformed/202、四個 wire timestamp path 的 pattern-rejects-offset 證明(不掛 format plugin)、表驅動 timestamp 有效性、九組 HTTP/code/retryable 三元組(spec/README/response-schema 三源交叉綁定)+cross-swaps、pre-validation error event_id 規則、MySQL DDL 維持REFERENCE ONLY守護測試must_contain支援(既有 182 筆不動)current_slice前移至 L2不含 runtime 接線(L2 前禁止);
openspec/changes/下的 schema 原檔未動。Change Classification
rvt-ifc-usdc-lineagetasks 2.5–2.7AI Coding Governance
rvt-ifc-usdc-lineage(#354 開案)tasks 2.5–2.7 為需求正本Verification(本機實跑)
工作方法:三個子代理起草(E:2.5/F:2.6/G:整合+2.7 對照),每個對交付物跑獨立 selfcheck(F 含 13 組 mutation probe 全被抓、G 含 6 組),coordinator 整合寫檔並以全套 pytest 驗收。
Known gaps / risks
re$接受尾端換行 quirk:schema 依 ECMA-262 正典不改(ECMA 引擎下本就嚴格),語意層(validate_cloud_publication_scenario+protocol validators)封口;README 明載 3.x runtime validator 必須掛語意層。🤖 Generated with Claude Code
https://claude.ai/code/session_01AgjUk3pyddn3kfByaWfY7G