test(api): capability audit no longer counts the deleted dead panel as app-visible (BUG-1342)
The audit scans frontend app/components source. Its only Case Validation hit was evidence-audit-panel.tsx, never mounted and deleted in #63, so the topic is truthfully gone and case_validator's UX level is thin. Product owner chose option A on issue #63 (Claude fixes directly). Staging gate run 1824 was red on this test. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LutgzyJqNhPpZy1nFsJtN3
This commit is contained in:
@@ -36085,3 +36085,4 @@
|
||||
- 相关记录:BUG-1247(首页卡片入口已删)。
|
||||
- 复发自:无。
|
||||
- 修复版本:分支 `codex/frontend-dead-code-20261013`,尚未合入 staging。
|
||||
- 合入后回归(2026-10-14):staging 门禁 run 1824 红在 `tests/test_api_server_security.py::test_capability_audit_scans_registry_and_local_sources`。能力审计扫描前端页面与组件源码判断「界面可见」,唯一命中「案例校验」的是本单删掉的从未挂载的内部面板,删后该项不再可见、对应体验评级由 excellent 变 thin。两处期望按三栏改为如实结果(产品负责人在 issue #63 选 A,由 Claude 直接修)。验收时只跑了被改的两份 Python 测试、没跑全量,是验收侧漏检。防复发补充:删前端组件的单,验收必须跑 Python 全量(审计会扫前端源码)。
|
||||
|
||||
Reference in New Issue
Block a user