CLI fixture-ui doctor + Spec 012 T004 - #30
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
ⓘ Your Qodo trial ends soon. Ask your workspace admin to set up billing to keep reviews running after the trial. Manage billing |
|
Warning Review limit reachedNext included review available in 9 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Comment |
PR Summary by QodoAdd fixture UI doctor CLI with privacy validation
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1. Incomplete MESC boundary test
|
| - [ ] T002 Admit released artifact (BLOCKED — MESC_RELEASED_ARTIFACT) | ||
| - [ ] T003 Pack + SBOM + evaluation bind (BLOCKED) | ||
| - [ ] T004 Architecture refuse MESC Python import (prep allowed; implement with admit) | ||
| - [x] T004 Architecture refuse MESC Python import (mesc_boundary_012 test) |
There was a problem hiding this comment.
1. Incomplete mesc boundary test 🐞 Bug ≡ Correctness
T004 is marked complete, but mesc_boundary_012 only scans crates/*/Cargo.toml with a narrow line heuristic, so Python runtime imports/invocations and the required shared-database/shared-key boundaries remain unenforced. This records the architecture safeguard as complete while prohibited integrations can still enter the workspace undetected.
Agent Prompt
## Issue description
Spec 012 T004 is marked complete even though `mesc_boundary_012` does not enforce the full architecture boundary. The current test scans only direct crate manifests with a string heuristic, leaving Python imports/runtime invocation, root/workspace dependency declarations, shared databases, and shared keys unchecked.
## Issue Context
The governing Spec 012 requirement refuses linking/importing the MESC Python package, shared DBs, and shared keys. Either expand the architecture checks to cover all required integration paths and bypass forms, or leave T004 unchecked until that enforcement exists and is active in CI.
## Fix Focus Areas
- specs/012-mesc-artifact-integration/tasks.md[3-7]
- specs/012-mesc-artifact-integration/spec.md[12-16]
- crates/medscale-core/tests/mesc_boundary_012.rs[6-36]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Summary
medscale fixture-ui doctoremits FixtureUiViewModel JSON (synthetic-only)Test plan
Made with Cursor