You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: specsmith import fully complies for west-env and any imported project
auditor.py:
- check_req_test_consistency: skip Draft requirements from coverage check.
Auto-generated requirements are all Draft — they don't need tests yet.
Message clearly states 'Draft (coverage not required until accepted)'.
- check_tool_configuration: separate lint gaps from test gaps. Missing lint
is now a passing advisory note (fixable=True); missing test is still a
hard failure. Projects with existing CI that don't use ruff audit as Healthy.
validator.py:
- _check_architecture_reqs: accept ARCHITECTURE.md (uppercase) in addition
to architecture.md. Skip the REQ-linkage check when all requirements are
Draft — imported projects haven't been enriched yet.
importer.py:
- generate_import_config: use README summary as description (not the ugly
'Imported project (N files detected)' string).
- generate_overlay TEST_SPEC.md: use 'Covers:' (matches audit pattern);
add explicit TEST-BUILD-001 entry covering REQ-BUILD-001 so the build
requirement is always covered.
- generate_overlay ARCHITECTURE.md: include '(see REQ-XXX-001)' refs in
module descriptions and a Build section referencing REQ-BUILD-001, so
validate's architecture→requirements check passes.
doctor.py:
- _check_tool: fall back to project's .venv/bin and .venv/Scripts after
checking system PATH. Projects that use virtual environments will now
show tools as installed even if they're not on the global PATH.
Result: specsmith import on west-env now produces:
specsmith audit → Healthy. 25 checks passed.
specsmith validate → Valid. 4 checks passed.
specsmith doctor → correctly reports tools not yet installed in venv
Co-Authored-By: Oz <oz-agent@warp.dev>
0 commit comments