Repository navigation
fix(perception): report WorkbenchPool stats as unmonitored (#537 C0-09) - #624
Merged
Merged
Conversation
… NORMAL WorkbenchPool has no resource manager or VRAM writer, yet get_stats() returned a fixed current_level="NORMAL" (#537 C0-09). Report current_level="UNKNOWN" with resource_monitor_status="not_wired", matching the AsyncDispatcher monitor fields from C0-05, and print the status in the --workbench text report. No degradation controller is wired. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add failure_degradation_537.md §21 and the WorkbenchPool note in the degradation contract, point the §6/§13/§19.3 rows at it, and add a GPU case that runs the real pool on CUDA. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex r1 MINOR: a STOPPING-only NORMAL would have passed. Add a STOPPING case (batcher not released) and assert the FAILED wait succeeds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fresh capture (--run-probe --require-complete, gpu0 lease) at implementation head 5194852, clean tree. - implementation: d04e0183a9cb36d1 -> 46d37ec50b215f21. 317 -> 317 files; only src/saccade/perception/dispatcher.py (WorkbenchPool.get_stats reports UNKNOWN/not_wired) and scripts/ops/run_8stream_perception.py (--workbench report prints monitor=) changed. - decision_surface, environment, identity_semantics, runtime_inputs: recomputed, unchanged. - probe re-run, not reused: behavior digest 2dabed0b unchanged. Equal probe output is not an equivalence claim; equivalence stays unproven. The outgoing canonical is archived append-only as runtime_identity.2026-10-23.d04e0183a9cb36d1.json (byte-identical to origin/main). --mode attested exits 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
獨立審查紀錄(#550 §0A 固定格式)Codex r1Codex r2verdict: READY-TO-MERGE |
…tity docs(runtime): republish the runtime coordinate for #537 C0-09
Owner
Author
§0A merge self-check(head
|
raylei50653
marked this pull request as ready for review
October 23, 2026 10:44
This was referenced Oct 23, 2026
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.
#537 C0-09:WorkbenchPool stats 明列「未接監控」,不再固定回 NORMAL
方案紀錄:依 #550 §0A 開工條件記錄在 #537 comment(候選 A/B/C,選 B)。範圍沿用
failure_degradation_537.md§19.3 的分工:只修正回報,不接上降級 controller。風險:高(dispatcher.py、run_8stream_perception.py是decision_relevant)。修改
WorkbenchPool.get_stats():current_level由固定的"NORMAL"改為"UNKNOWN",並新增resource_monitor_status="not_wired"、resource_monitor_error=""。欄位和 C0-05 後的 AsyncDispatcher 一致;not_wired(沒接監控)和unavailable(監控失敗)不同。所有 pool 狀態回同一組值。run_8stream_perception.py --workbench的報告加印monitor=<status>。_WorkbenchWorker或 batcher。failure_degradation_537.md新增 §21,§6/§13/§19.3 對應列指向 §21;architecture_degradation.md§7 加 WorkbenchPool 說明;docs/architecture/README.md索引。驗證
tests/unit/test_workbench_pool_monitor_contract_537.py(3 個案例):UNKNOWN/not_wired/空錯誤;--workbenchcaller 報告含level=UNKNOWN monitor=not_wired,不出現level=NORMAL。gpu:真實 WorkbenchPool/Workbench/BatchingTRTDetector 在 CUDA 上送出 3 個結果時與 stop 後都回UNKNOWN/not_wired(只有 TRT engine 是 fake)。monitor=(1)、status 改成available(2)、只在 STOPPING 回 NORMAL(1)。gpu標記(本測試 + D2-GPU-1 GPU 契約 + R-1 native smoke):16 passed(resctl gpu0,@d34b0a6a;之後的變更只有 host 測試與文件)。pre_push@5194852f(只有實作、沒有座標):6005 passed、4 failed。4 個失敗都是 identity 落後的預期中間態(test_runtime_identity_staleness.py2 個、test_research_lock.py2 個)。座標 promote 後這兩檔 60 passed;pre_push@ 座標 head 見 stacked PR。獨立審查
d34b0a6a:READY-WITH-CHANGES,1 MINOR(測試漏 STOPPING)→cd5ba0dd補上,並新增第 5 個 mutation。5194852f:READY-TO-MERGE,沒有 findings。Runtime identity
座標由 stacked #625(base 是本分支)提供,合併進本分支後一起原子落地。
不在範圍
WorkbenchPool 仍沒有任何資源降級能力;
--workbench仍 unsupported(#538),不取得 online-service qualification、不部署。not_wired只說明沒有監控,不是健康判定。C0-01/02、C0-10、O0、health CLI、#538 其餘項目不變。本機原始輸出(repo 外):
~/.local/state/saccade/evidence/537-c0-09/20261023T174827/,sha256 見 stacked PR。Refs #537
🤖 Generated with Claude Code