feat(mlsp): Phase 3 MLSP for AI —— locate/syntax/validate/repair_targets/schema(T3.1/T3.2 + T2.6)

- src/mlsp.rs: 行分隔 JSON 协议 + 五 handler;语法唯一事实来源 = CORE_CONSTRUCTS(只加检索别名)
- repair_targets 带有界护栏策略(anchored-local / 越界必拒 abstain / max_attempts=2)
- schema 契约导出(T2.6):形参/返回/字段契约 + 升参清单 + 锚点
- marqdo mlsp 子命令:stdio 行分隔 JSON 服务
- tests/mlsp.rs 7 例全绿;全量回归零失败(含 262 gold)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-22 19:44:35 +08:00
1 parent 7a449c40b1
commit db5f0e830b
5 files changed
+414

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ pub mod interp;
pub mod lex;
pub mod linalg_ops;
pub mod load;
pub mod mlsp;
pub mod parse;
pub mod value;
#[cfg(feature = "net-host")]