Repository navigation
v0.7.2 — model-driven verified trên đúng build
Bản đầu tiên chứng minh được model tự chọn tool đúng thứ tự, trên đúng package version và tarball hash.
Model-driven: verified
Một session thật (profile pfe-model, provider deepseek, model deepseek-flash) nhận yêu cầu nghiệp vụ và tự chọn:
project_code_index -> project_context_pack -> project_impact_analysis -> project_verify_flow
4/4 tool trả ok, thứ tự đúng, 0 lỗi. Record artifacts/review/20261120-141107-model-session.json mang đủ package_version, installed_version, tarball_sha256, provider, model, session_sha256, prompt_sha256, stop_reason, policy.
Bug model tìm ra
Lần chạy đầu, DSH từ chối output:
Error: tool "project_context_pack" returned invalid output:
"value.impacted_symbols[0].evidence_kind" is not a declared property
Core đã trả evidence_kind/why_included/target/related_routes từ 0.7.1 nhưng schema tool chưa khai báo. Tool báo success, rồi DSH validate và chặn — model gọi được mà không nhận gì. Nay 6/6 tool output validate sạch.
Sửa ở bản này
| Mục | Thay đổi |
|---|---|
| Schema tool | khai báo đủ field cho entry_points, related_routes, impacted_symbols, related_tests, dependencies, downstream_modules |
| Vector orphan | xoá file để lại 7 row mồ côi; thêm purge_orphans quét LEFT JOIN entities |
| Impact | thêm target/target_kind; evidence_refs[].relation hết rỗng |
| Vector naming | backend_kind() trả hashing_lexical; output có backend/semantic/label |
| Entry point | def main() đơn độc mang possible_entry_point=true, confidence structural |
--repo |
nhận "path with spaces", 'path with spaces', bare token |
| coreRoot | resolve lại khi Settings đổi, không cần restart |
| Provenance | source_commit và evidence_commit tách đúng |
Cài
dsh plugin --profile <name> add https://github.com/Hieupt1904/project-flow-explainer/releases/download/v0.7.2/dsh-project-flow-explainer.tgzKiểm chứng
| Hạng mục | Kết quả |
|---|---|
| Python tests | 174 pass |
| Node tests | 89 pass |
| DSH registry smoke | 18/18, profile_identity=true |
| Model-driven | verified, 4 tool, thứ tự đúng, 0 lỗi |
| Policy | OK, 128 file |
| CI | success |
model_driven chỉ verified nhờ record mang đúng package_version + tarball_sha256; record của build khác bị đưa vào model_records_rejected.
Còn blocked: Harness panel UI — BLOCKED_UI_API_UNVERIFIED.