feat(scope): add portable V2 contracts and bounded binary transport - #12
Merged
Conversation
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.
摘要
scope.fetch_waveform、单通道和多通道 capture 增加 descriptor 显式 opt-in 的有界二进制传输;旧 descriptor、内建 driver 和 legacy 路径保持不变。INSTRbackend;启用 construction latch、四维 binary budget、恢复/验证和 poisoned session 边界。scope.screenshot_v2的核心 response/operation 上限提高到8 MiB / 8 MiB / 1 / 0,仍固定一次查询、零重同步与严格 framing/PNG 校验。兼容性与边界
ScopeDriver方法签名、legacy capability、CLI 成功返回、run plan 或 artifact 成功 schema;新行为必须由 descriptor/profile 明确 opt-in。query_binary()自动获得 bounded opt-in。验证
.venv/bin/python -m pytest -q→1793 passed, 1 skipped, 131 subtests passed.venv/bin/python -m ruff check ..venv/bin/python -m pip check--help、run schema、run template --list、lock statusgit diff --check master...HEAD未连接仪器,未修改插件仓库。