semantic-atlas 4.1.2 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/semantic-atlas/SKILL.md +23 -3
- package/.agents/skills/semantic-atlas/references/map-authoring.md +16 -1
- package/README.md +25 -10
- package/README.zh-CN.md +22 -9
- package/dist/application/map-application.d.ts +1 -0
- package/dist/application/map-application.d.ts.map +1 -1
- package/dist/application/map-application.js +61 -15
- package/dist/application/map-application.js.map +1 -1
- package/dist/cli/run-cli.js +3 -1
- package/dist/cli/run-cli.js.map +1 -1
- package/dist/contracts/cli.d.ts +13 -20
- package/dist/contracts/cli.d.ts.map +1 -1
- package/dist/contracts/flow-navigation.d.ts +21 -11
- package/dist/contracts/flow-navigation.d.ts.map +1 -1
- package/dist/contracts/observation.d.ts +3 -3
- package/dist/contracts/query-context.d.ts +34 -0
- package/dist/contracts/query-context.d.ts.map +1 -0
- package/dist/contracts/query-context.js +2 -0
- package/dist/contracts/query-context.js.map +1 -0
- package/dist/contracts/query-location.d.ts +14 -0
- package/dist/contracts/query-location.d.ts.map +1 -0
- package/dist/contracts/query-location.js +2 -0
- package/dist/contracts/query-location.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/map/business-graph.d.ts +0 -2
- package/dist/map/business-graph.d.ts.map +1 -1
- package/dist/map/business-graph.js +0 -15
- package/dist/map/business-graph.js.map +1 -1
- package/dist/query/context-query-service.d.ts +14 -2
- package/dist/query/context-query-service.d.ts.map +1 -1
- package/dist/query/context-query-service.js +111 -15
- package/dist/query/context-query-service.js.map +1 -1
- package/dist/query/flow-navigation-service.d.ts +1 -2
- package/dist/query/flow-navigation-service.d.ts.map +1 -1
- package/dist/query/flow-navigation-service.js +0 -21
- package/dist/query/flow-navigation-service.js.map +1 -1
- package/dist/query/query-source-locator.d.ts +19 -0
- package/dist/query/query-source-locator.d.ts.map +1 -0
- package/dist/query/query-source-locator.js +125 -0
- package/dist/query/query-source-locator.js.map +1 -0
- package/docs/architecture.md +49 -33
- package/docs/evaluation.md +37 -0
- package/docs/map-format.md +54 -27
- package/docs/product-contract.md +33 -18
- package/package.json +1 -1
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { readFile, stat } from "node:fs/promises";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import { isMap, isScalar, isSeq, LineCounter, parseDocument } from "yaml";
|
|
4
|
+
/** Own one instance per query so source positions and caches share its lifetime. */
|
|
5
|
+
export class QuerySourceLocator {
|
|
6
|
+
repositoryRoot;
|
|
7
|
+
maps = new Map();
|
|
8
|
+
files = new Map();
|
|
9
|
+
constructor(repositoryRoot) {
|
|
10
|
+
this.repositoryRoot = repositoryRoot;
|
|
11
|
+
}
|
|
12
|
+
async node(node) {
|
|
13
|
+
const source = await this.mapSource(node.documentPath);
|
|
14
|
+
const declaration = source && findById(source.root, "nodes", node.id);
|
|
15
|
+
return declaration && this.location(node.documentPath, source, declaration, "id");
|
|
16
|
+
}
|
|
17
|
+
async flow(flow) {
|
|
18
|
+
const source = await this.mapSource(flow.documentPath);
|
|
19
|
+
const declaration = source && findById(source.root, "flows", flow.id);
|
|
20
|
+
return declaration && this.location(flow.documentPath, source, declaration, "id");
|
|
21
|
+
}
|
|
22
|
+
async step(flow, stepId) {
|
|
23
|
+
const source = await this.mapSource(flow.documentPath);
|
|
24
|
+
const flowDeclaration = source && findById(source.root, "flows", flow.id);
|
|
25
|
+
const declaration = flowDeclaration && findById(flowDeclaration, "steps", stepId);
|
|
26
|
+
return declaration && this.location(flow.documentPath, source, declaration, "id");
|
|
27
|
+
}
|
|
28
|
+
async relation(relation) {
|
|
29
|
+
const source = await this.mapSource(relation.documentPath);
|
|
30
|
+
const declaration = source &&
|
|
31
|
+
findUniqueMap(source.root, "relations", (item) => scalarText(item, "from") === relation.from &&
|
|
32
|
+
scalarText(item, "type") === relation.type &&
|
|
33
|
+
scalarText(item, "to") === relation.to);
|
|
34
|
+
return declaration && this.location(relation.documentPath, source, declaration, "from");
|
|
35
|
+
}
|
|
36
|
+
async anchor(anchor) {
|
|
37
|
+
if (anchor.kind === "search") {
|
|
38
|
+
return { ...anchor, resolution: "hint" };
|
|
39
|
+
}
|
|
40
|
+
const file = anchor.kind === "symbol" ? anchor.file : anchor.value;
|
|
41
|
+
if (!file)
|
|
42
|
+
return { ...anchor, resolution: "hint" };
|
|
43
|
+
const metadata = await this.fileMetadata(file);
|
|
44
|
+
const expectedKind = anchor.kind === "directory" ? metadata?.isDirectory() : metadata?.isFile();
|
|
45
|
+
if (!expectedKind)
|
|
46
|
+
return { ...anchor, resolution: "missing" };
|
|
47
|
+
// A directory or symbol remains a hint: a file entry is not a declaration position.
|
|
48
|
+
if (anchor.kind === "directory" || anchor.kind === "symbol") {
|
|
49
|
+
return { ...anchor, resolution: "hint" };
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
...anchor,
|
|
53
|
+
resolution: "located",
|
|
54
|
+
location: { file, line: 1, column: 1 },
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
mapSource(file) {
|
|
58
|
+
let source = this.maps.get(file);
|
|
59
|
+
if (!source) {
|
|
60
|
+
source = this.readMapSource(file);
|
|
61
|
+
this.maps.set(file, source);
|
|
62
|
+
}
|
|
63
|
+
return source;
|
|
64
|
+
}
|
|
65
|
+
async readMapSource(file) {
|
|
66
|
+
const content = await readExistingFile(path.resolve(this.repositoryRoot, file));
|
|
67
|
+
if (content === undefined)
|
|
68
|
+
return undefined;
|
|
69
|
+
const lines = new LineCounter();
|
|
70
|
+
const document = parseDocument(content, { lineCounter: lines });
|
|
71
|
+
if (document.errors.length > 0 || !isMap(document.contents))
|
|
72
|
+
return undefined;
|
|
73
|
+
return { root: document.contents, lines };
|
|
74
|
+
}
|
|
75
|
+
fileMetadata(file) {
|
|
76
|
+
let metadata = this.files.get(file);
|
|
77
|
+
if (!metadata) {
|
|
78
|
+
metadata = stat(path.resolve(this.repositoryRoot, file)).catch((error) => {
|
|
79
|
+
if (isMissingPath(error))
|
|
80
|
+
return undefined;
|
|
81
|
+
throw error;
|
|
82
|
+
});
|
|
83
|
+
this.files.set(file, metadata);
|
|
84
|
+
}
|
|
85
|
+
return metadata;
|
|
86
|
+
}
|
|
87
|
+
location(file, source, declaration, identityKey) {
|
|
88
|
+
const key = declaration.items.find((pair) => isScalar(pair.key) && pair.key.value === identityKey)?.key;
|
|
89
|
+
if (!isScalar(key) || !key.range)
|
|
90
|
+
return undefined;
|
|
91
|
+
const position = source.lines.linePos(key.range[0]);
|
|
92
|
+
return { file, line: position.line, column: position.col };
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function findById(parent, collection, id) {
|
|
96
|
+
return findUniqueMap(parent, collection, (item) => scalarText(item, "id") === id);
|
|
97
|
+
}
|
|
98
|
+
function findUniqueMap(parent, collection, matches) {
|
|
99
|
+
const sequence = parent.get(collection, true);
|
|
100
|
+
if (!isSeq(sequence))
|
|
101
|
+
return undefined;
|
|
102
|
+
const declarations = sequence.items.filter(isMap).filter(matches);
|
|
103
|
+
return declarations.length === 1 ? declarations[0] : undefined;
|
|
104
|
+
}
|
|
105
|
+
function scalarText(item, key) {
|
|
106
|
+
const value = item.get(key);
|
|
107
|
+
return typeof value === "string" ? value.trim() : undefined;
|
|
108
|
+
}
|
|
109
|
+
async function readExistingFile(file) {
|
|
110
|
+
try {
|
|
111
|
+
return await readFile(file, "utf8");
|
|
112
|
+
}
|
|
113
|
+
catch (error) {
|
|
114
|
+
if (isMissingPath(error))
|
|
115
|
+
return undefined;
|
|
116
|
+
throw error;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function isMissingPath(error) {
|
|
120
|
+
return (typeof error === "object" &&
|
|
121
|
+
error !== null &&
|
|
122
|
+
"code" in error &&
|
|
123
|
+
(error.code === "ENOENT" || error.code === "ENOTDIR"));
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=query-source-locator.js.map
|
|
@@ -0,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AAE,CAAC,CAAC,CAAC,SAAS,CAAC;AAC9D,CAAC;AAED,KAAK,UAAU,gBAAgB,CAAC,IAAY;IAC1C,IAAI,CAAC;QACH,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACtC,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,aAAa,CAAC,KAAK,CAAC;YAAE,OAAO,SAAS,CAAC;QAC3C,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC;AAED,SAAS,aAAa,CAAC,KAAc;IACnC,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,MAAM,IAAI,KAAK;QACf,CAAC,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC,CACtD,CAAC;AACJ,CAAC"}
|
package/docs/architecture.md
CHANGED
|
@@ -120,28 +120,38 @@ product evidence decide whether the described business path is current.
|
|
|
120
120
|
Holds normalized immutable nodes, relations, flows, aliases, containment
|
|
121
121
|
indexes, and incoming/outgoing relation indexes for one command. It exposes
|
|
122
122
|
domain operations in terms of business concepts and scenario paths rather than
|
|
123
|
-
file layout or parser objects.
|
|
124
|
-
|
|
123
|
+
file layout or parser objects. 流程导航与局部查询分别使用图中的归属、关系和步骤引用,
|
|
124
|
+
按各自职责派生目录或业务摘要。
|
|
125
125
|
|
|
126
126
|
### ContextQueryService
|
|
127
127
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
128
|
+
按稳定 ID、名称或别名解析概念,歧义时显式报告候选。`query` 返回单独的 `selected`、
|
|
129
|
+
祖先与直接子概念 ID,并复用 `summarize` 提供查询摘要:唯一概念详情、显式关系和
|
|
130
|
+
流程所属/步骤引用位置。所选概念不再重复放入 `concepts`。
|
|
131
|
+
|
|
132
|
+
`summarize` 以选定概念为种子,先取直接关系,再补充直接关系涉及的共享数据、接口与
|
|
133
|
+
规则的其他非归属关系;普通动作不继续递归。关联摘要保留类型、业务原因、端点 ID 与
|
|
134
|
+
维护位置,相关流程只提供 ID、名称、所属场景与具体引用。`scope: "recorded"` 约束其
|
|
135
|
+
含义为已记录知识,不推导当前变更影响。完整步骤由指定 ID 的 `flows` 单独投影。
|
|
136
|
+
|
|
137
|
+
### QuerySourceLocator
|
|
138
|
+
|
|
139
|
+
每次查询创建一个定位器,缓存生命周期限定在本次调用。定位器读取当前 YAML AST,
|
|
140
|
+
按概念/流程/步骤 ID 及关系三元组找到唯一声明,从解析器行列计数取得 `map` 位置;
|
|
141
|
+
没有位置时保留文件。位置为查询派生信息,不写回业务文件,不进入持久模型。
|
|
142
|
+
|
|
143
|
+
源码锚点使用文件元数据确认路径是否存在及类型。文件和文档的 `located` 指向文件
|
|
144
|
+
开头;存在的符号、目录及搜索线索保持 `hint`,预期本地路径不存在或类型不符为
|
|
145
|
+
`missing`。文件绑定符号保留 `file` 与 `value`,声明位置和行为由调用 Agent 使用
|
|
146
|
+
仓库工具核实;不扫描文本猜代码行号。跨项目搜索提示也不自动变成跨仓关系。
|
|
135
147
|
|
|
136
148
|
### ConceptSearchService
|
|
137
149
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
`
|
|
142
|
-
|
|
143
|
-
no graph expansion or source-evidence judgment; callers pass the selected stable
|
|
144
|
-
ID to `ContextQueryService`.
|
|
150
|
+
用自然语言查询对所有概念的名称、别名、稳定 ID 和说明做本地词面排序,最多返回五个
|
|
151
|
+
候选。分数处于 `0–1`,同分按稳定 ID 排列,只表达本次查询的相对相关度。服务负责
|
|
152
|
+
候选检索,不判断业务正确性,也不扩展关系或确认源码。
|
|
153
|
+
`MapApplication` 在排序后只给第一候选附上 `summarize` 摘要,用 `contextFor` 明确
|
|
154
|
+
所属;搜索服务本身不持有位置或扩展逻辑。调用者选定其他候选时按稳定 ID 读取。
|
|
145
155
|
|
|
146
156
|
### MapProjector 与流程导航
|
|
147
157
|
|
|
@@ -291,8 +301,11 @@ AI 根据业务含义选择结果;没有语义向量索引,不将分数解
|
|
|
291
301
|
浏览器的级联菜单与 AI 的 `flows` 命令使用同一目录,AI 可以直接读取任意编号。
|
|
292
302
|
菜单从标题旁左对齐向右展开,鼠标悬停整行时只更新右侧列,保留当前行 DOM 和焦点,
|
|
293
303
|
避免名称点击被展开打断。键盘和触屏保留明确的展开操作,窄屏在菜单内横向滚动。
|
|
294
|
-
|
|
295
|
-
|
|
304
|
+
内部流程导航继续服务 Viewer;CLI 将指定图投影为本层步骤、转换与父/子流程 ID,
|
|
305
|
+
步骤只引用概念 ID,同一响应的 `concepts` 唯一提供详情与源码锚点;没有锚点时如实为空。
|
|
306
|
+
`search --flows` 复用现有词面检索,返回流程候选与命中步骤位置。`MapApplication` 只用
|
|
307
|
+
第一候选的场景及命中步骤概念形成摘要,以该流程 ID 标出 `contextFor`;普通 `search`
|
|
308
|
+
以第一概念 ID 标出摘要归属。没有命中时省略 `contextFor`,摘要为空。
|
|
296
309
|
目录支持共享子流程;循环引用保留一个可达入口,菜单沿当前路径停止重复展开。
|
|
297
310
|
|
|
298
311
|
### ManagedSkillsInstaller
|
|
@@ -483,8 +496,11 @@ semantic-atlas reconcile candidates [--repo <path>]
|
|
|
483
496
|
semantic-atlas --version
|
|
484
497
|
```
|
|
485
498
|
|
|
486
|
-
|
|
487
|
-
|
|
499
|
+
查询命令 `search`(含 `--flows`)、`context`、`flows` 在成功或错误结果包含仓库信息时,
|
|
500
|
+
只保留 `repository.root`,不输出全库地图文件列表;存在定位的条目各自带 `map`。
|
|
501
|
+
CLI 边界将这三类命令序列化为紧凑 JSON;其他命令保持原有输出形式。
|
|
502
|
+
`validate` 和 `render` 等地图命令继续报告所用仓库及文档集合。
|
|
503
|
+
`project add` defaults to the current directory, validates the complete
|
|
488
504
|
map, and reports `added` or `already_exists`. Parameterless `web` reads the
|
|
489
505
|
registered list; `web --repo` uses only its explicit temporary paths. `web`
|
|
490
506
|
reports its loopback URL and repository count without exposing roots to the
|
|
@@ -492,24 +508,24 @@ browser. Observation commands report the derived repository identity, while
|
|
|
492
508
|
package lifecycle commands remain repository-independent. Machine output uses
|
|
493
509
|
a versioned envelope with a stable success or error discriminant.
|
|
494
510
|
|
|
495
|
-
`search --flows`
|
|
496
|
-
|
|
511
|
+
`search --flows` 按流程去重返回命中步骤与维护位置;随附摘要只属于 `contextFor`
|
|
512
|
+
指向的第一候选,不表示已选定业务。`flows <id>` 只展开指定图的完整本层内容及局部
|
|
513
|
+
关联摘要,省略编号时只提供目录。流程中的概念和父/子流程以 ID 引用。
|
|
497
514
|
|
|
498
515
|
`validate`、`search`、`flows`、`context`、`render` 与 `web` 均支持
|
|
499
516
|
`--project <name-or-id>`,从登记目录解析目标,与当前工作目录无关;它与显式 `--repo`
|
|
500
517
|
互斥。两项均未提供时,地图命令仍使用当前目录,`web` 仍使用完整登记清单。
|
|
501
518
|
|
|
502
|
-
`search`
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
through scenario containment or direct step concept references.
|
|
519
|
+
`search` 从所有概念类型返回最多五个候选;成功的空结果表示词汇不足以命中。
|
|
520
|
+
每项有 `rank`、本次查询相对 `score`、稳定身份、概念类型、所属文档、`matchedFields`
|
|
521
|
+
和当前声明的 `map`。第一候选的概念 ID 为 `contextFor`,调用者仍负责选择符合业务
|
|
522
|
+
的候选。精确 ID、名称或别名命中记为 `1`,同分按稳定 ID 排列。
|
|
523
|
+
|
|
524
|
+
`context` 的兼容选择器有多个匹配时返回歧义,调用者再用稳定 ID 选择。概念缺失是
|
|
525
|
+
有界地图结果,引导 Agent 转向当前证据调查。成功时返回所选概念、祖先与直接子概念
|
|
526
|
+
身份、已记录局部关系与流程引用摘要;不会展开所有后代场景或完整相关流程。具体字段
|
|
527
|
+
及有界扩展语义见
|
|
528
|
+
[查询投影](map-format.md#context-projection)。
|
|
513
529
|
|
|
514
530
|
`setup`, `upgrade`, and `--version` do not discover a repository or load a
|
|
515
531
|
business map. Their results expose the package version and managed Skill paths
|
package/docs/evaluation.md
CHANGED
|
@@ -24,6 +24,43 @@ not the Skill's activation boundary.
|
|
|
24
24
|
The evaluation observes investigation cost, but cost does not substitute for
|
|
25
25
|
correctness.
|
|
26
26
|
|
|
27
|
+
## AI 查询验收
|
|
28
|
+
|
|
29
|
+
以真实业务问题检查首次查询能否支持下一步调查:命中有当前维护位置,相关概念有
|
|
30
|
+
源码入口、规则与备注,关系类型和业务说明能解释关联原因,流程引用能定位可能需要
|
|
31
|
+
核对的图与步骤。保留 YAML 作为持久来源;查询仅在当前调用派生摘要与位置。
|
|
32
|
+
|
|
33
|
+
对同一候选分别检查概念搜索、流程搜索、`context` 和指定 `flows`:
|
|
34
|
+
|
|
35
|
+
- 搜索最多列五个候选,各自有维护位置;摘要只属于 `contextFor` 的第一候选,不把
|
|
36
|
+
其他候选的邻域混入。调用者选择其他业务时,应按 ID 取得其资料,而非默认第一项。
|
|
37
|
+
- `concepts` 按 ID 唯一提供详情;`context.selected` 不重复放入概念表。关系和步骤
|
|
38
|
+
使用 ID 引用,完整本层步骤只在明确读取流程时展开;普通流程摘要保留引用位置。
|
|
39
|
+
- 关联覆盖直接关系,以及共享数据、接口、规则的其他已记录使用方;无关业务不因
|
|
40
|
+
普通动作邻接而递归加入。`scope: "recorded"` 不得被当作影响范围已经完整的证明。
|
|
41
|
+
- YAML 行列能定位当前声明,并在文件移动声明后跟随变化。代码符号仍是文件与声明
|
|
42
|
+
提示,缺失路径可识别,不以猜测的行号或 `located` 证明业务正确性。
|
|
43
|
+
- 查询使用紧凑 JSON,`repository` 只含 `root`;不重复全库地图目录。概念、业务规则、
|
|
44
|
+
关系原因、维护位置和必要入口仍完整可得,不能只以响应变短证明查询质量。
|
|
45
|
+
|
|
46
|
+
CLI 断言与代表性实际调用证明字段、定位和扩展契约。还需在新上下文中给予自然业务
|
|
47
|
+
请求,让 AI 自行选入口、打开当前源码、判断关联与需同步的图,再由独立验收核实
|
|
48
|
+
结论。字段齐全不证明 AI 已正确使用;未执行新上下文或长期试用时,明确保留该边界。
|
|
49
|
+
跨项目线索需要分别查询和查源码,不以本轮结果证明已建立跨仓关系模型。
|
|
50
|
+
|
|
51
|
+
2026-11-24 当前源码候选完成了一次新上下文的真实业务调查。执行者只接收自然业务
|
|
52
|
+
请求,自行使用 `search --flows`、`flows`、`context` 与当前源码,找出请求所涉的既有
|
|
53
|
+
复用路径,并区分需要核实的协作与只有业务规则变化时才需维护的关联图。搜索把较宽
|
|
54
|
+
的场景排在更贴合问题的细图之前;执行者按业务含义选择了后一个候选,没有把第一
|
|
55
|
+
候选的 `contextFor` 摘要当作已确认目标。维护行号与文件绑定符号帮助定位资料和
|
|
56
|
+
实现,地图中未记录的关系仍通过源码补齐。
|
|
57
|
+
|
|
58
|
+
同一候选的完整 `release:verify` 通过,包含 173 项测试及构建、渲染、打包与安装后
|
|
59
|
+
产品验证。自动检查证明当前字段与产品回归,新上下文调查证明该任务中实际发生了
|
|
60
|
+
自主候选选择、源码核实与有边界的维护判断。该任务没有实施业务修改,不能据此证明
|
|
61
|
+
图更新后的实际效果、所有查询的排序质量或长期调查收益;一次成功也不构成稳定性
|
|
62
|
+
统计结论。私有业务资料与原始运行证据保留在所属任务中,公共记录只保留脱敏结果。
|
|
63
|
+
|
|
27
64
|
## 讲解质量验收
|
|
28
65
|
|
|
29
66
|
先检查图的边界:独立业务可直接成为多张平级图,不要求专门的项目全貌或共同父图;
|
package/docs/map-format.md
CHANGED
|
@@ -366,6 +366,7 @@ stable ID for ties. Each candidate contains:
|
|
|
366
366
|
- `rank` within the returned list;
|
|
367
367
|
- a `0–1` score that compares relevance only within the current query;
|
|
368
368
|
- stable ID, name, kind, and supplying document ID;
|
|
369
|
+
- `map`,定位候选在当前 YAML 中的声明;
|
|
369
370
|
- `matchedFields` drawn from `name`, `alias`, `id`, and `summary`.
|
|
370
371
|
|
|
371
372
|
The deterministic local matcher applies Unicode NFKC and lowercase
|
|
@@ -376,8 +377,12 @@ threshold are omitted, so no sufficiently related vocabulary produces a
|
|
|
376
377
|
successful empty result rather than a concept error. Scores are ranking signals,
|
|
377
378
|
not correctness probabilities or map truth scores.
|
|
378
379
|
|
|
379
|
-
|
|
380
|
-
|
|
380
|
+
搜索同时返回第一候选的局部业务摘要,以字符串 `contextFor` 标明其概念 ID。
|
|
381
|
+
`results` 仍包含其他候选的排序和维护位置;摘要不混入它们各自的邻域。第一候选只是
|
|
382
|
+
词面排序结果,调用者依据业务含义决定目标;其他候选更合适时按其 ID 读取 `context`。
|
|
383
|
+
无命中时省略 `contextFor`,摘要列表为空。摘要结构见[查询投影](#context-projection)。
|
|
384
|
+
|
|
385
|
+
The earlier compatibility selector remains
|
|
381
386
|
available and resolves in this order:
|
|
382
387
|
|
|
383
388
|
1. exact stable ID;
|
|
@@ -395,24 +400,38 @@ when no candidate is sufficient.
|
|
|
395
400
|
|
|
396
401
|
## Context Projection
|
|
397
402
|
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
403
|
+
`search`、`search --flows`、`context` 与指定 ID 的 `flows` 共用局部业务摘要。
|
|
404
|
+
查询结果使用紧凑 JSON,`repository` 只保留 `root`;不附地图文件目录。
|
|
405
|
+
完整 YAML 仍是持久业务来源,以下位置与关联摘要在每次查询中派生。
|
|
406
|
+
|
|
407
|
+
| 字段 | 含义与读取方式 |
|
|
408
|
+
| --- | --- |
|
|
409
|
+
| `scope: "recorded"` | 仅反映当前地图显式记录的关系,不代表已确认影响或完整依赖 |
|
|
410
|
+
| `concepts` | 按 ID 唯一的概念详情:`id`、`kind`、`name`、`summary`、可选 `notes`、源码 `anchors` 和维护位置 `map`;规则沿 `invariant` 概念及 `constrained_by` 表达 |
|
|
411
|
+
| `relations` | `from`、`type`、`to`、`summary`、可选 `notes` 和 `map`;端点用 ID 引用概念,保留关联原因 |
|
|
412
|
+
| `flows` | 流程的 `id`、`name`、所属 `scenario` ID、`map` 与 `references`;仅为所属/引用摘要,不展开步骤与转换 |
|
|
413
|
+
| `flows[].references` | 相关概念的 `concept` ID、引用它的 `step` ID 和步骤 `map`,供调查及同步图时定位 |
|
|
414
|
+
|
|
415
|
+
摘要先取查询种子的所有直接关系,再沿直接关系涉及的共享 `data`、`interface` 和
|
|
416
|
+
`invariant`,补充它们的其他非 `part_of` 关系。它会暴露共享订单的读写者、同一事件的
|
|
417
|
+
生产者与消费者、同一规则约束的其他动作;不会沿普通动作继续无限递归,也不把归属
|
|
418
|
+
解释成执行先后。流程摘要覆盖这些业务概念所属的场景或直接引用它们的步骤。
|
|
419
|
+
哪些关系与当前修改相关,仍由调用者核实源码与业务证据。
|
|
420
|
+
|
|
421
|
+
`context <id-or-term>` 在摘要外返回 `selector`、`matchedBy`、所选概念详情 `selected`、
|
|
422
|
+
按顺序排列的祖先 ID `ancestors` 和直接子概念 ID `children`。祖先与子概念详情纳入
|
|
423
|
+
`concepts`,所选概念不再在其中重复。归属链只补充身份与导航,不自动展开所有后代
|
|
424
|
+
的业务或流程;需要时按返回 ID 继续查询。
|
|
425
|
+
|
|
426
|
+
各 `map` 为 `{file, line?, column?}`:`file` 相对 `repository.root`,一基行列从本次
|
|
427
|
+
读取的 YAML AST 派生,指向概念/流程/步骤的 `id` 或关系的 `from`。无法取得位置
|
|
428
|
+
时仅保留文件,不编造行列。该位置是维护声明的入口,不是代码位置,也不持久化。
|
|
429
|
+
|
|
430
|
+
源码锚点保持[原有字段](#navigation-anchors),额外的 `resolution` 只表达导航状态。
|
|
431
|
+
存在的 `file`/`document` 标为 `located`,`location` 指向文件第一行;目录、符号和
|
|
432
|
+
`search` 保留 `hint`。绑定符号的 `file` 与 `value` 继续交给调用者查当前声明,不猜
|
|
433
|
+
代码行号;预期本地路径缺失或类型不符时标为 `missing`。这些状态不确认业务行为,
|
|
434
|
+
也不从跨项目线索推导新的关系模型。
|
|
416
435
|
|
|
417
436
|
## 同分支编辑与业务定位
|
|
418
437
|
|
|
@@ -431,11 +450,19 @@ AI 不必先从总览进入。已知编号直接 `flows <flow-id>`;未知时
|
|
|
431
450
|
## 流程搜索与直接读取
|
|
432
451
|
|
|
433
452
|
`search <query> --flows` 直接返回最多五个业务流程候选,包含 `id`、`name`、`summary`、
|
|
434
|
-
`scenarioId
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
453
|
+
`scenarioId`、相对分数和命中字段。每个候选有流程 `map` 与 `matchedSteps`,命中步骤
|
|
454
|
+
带 ID、名称、可选概念 ID 和维护位置。匹配流程名称、所属场景业务别名、步骤及其引用
|
|
455
|
+
业务的名称和说明,使用本地词面检索。没有 `--flows` 时仍搜索业务概念。
|
|
456
|
+
|
|
457
|
+
`contextFor` 为第一流程候选的 ID,摘要基于其所属场景及命中步骤引用的概念;它不表示
|
|
458
|
+
已选定业务。其他候选更合适时,可按 `scenarioId` 读取概念上下文,或按流程 ID 读取
|
|
459
|
+
完整流程。搜索不附每个候选的完整邻域,也不重复输出各图的全部步骤。
|
|
460
|
+
|
|
461
|
+
`flows <flow-id>` 读取该图的完整本层细节。`data.selected` 包含 `id`、`name`、`summary`、
|
|
462
|
+
所属 `scenario` ID、`map`、入口 `startsAt`、可选 `notes`、父流程 ID `parents`、步骤
|
|
463
|
+
`steps` 和带标签转换 `transitions`。步骤保留 `kind`、`name`、`summary`、可选 `notes`
|
|
464
|
+
及 `map`;`concept` 为可选概念 ID,`childFlows` 为子流程 ID 列表。概念详情从同一
|
|
465
|
+
响应 `concepts` 查,父图和子图按 ID 需要时再读。指定编号时不附全量目录或其他流程
|
|
466
|
+
完整内容。省略编号时只返回
|
|
467
|
+
`data.navigation`,它与人的级联菜单共用同一目录,AI 不必先读它。
|
|
441
468
|
没有匹配的编号返回 `FLOW_NOT_FOUND`,不会自动换成名字相近的业务。
|
package/docs/product-contract.md
CHANGED
|
@@ -4,10 +4,8 @@ This page defines the accepted initial product. It answers what Semantic Atlas
|
|
|
4
4
|
must improve, how agents and people use it, and which results establish
|
|
5
5
|
that the product works.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
authoring guidance. Exact publication identity lives in the corresponding GitHub Release;
|
|
10
|
-
longitudinal acceptance remains in progress.**
|
|
7
|
+
**状态:当前 5.0.0 源码已实现紧凑查询、业务关系与维护位置输出。YAML 持久格式保持
|
|
8
|
+
不变;查询 JSON 的字段变化见下文。发布身份以对应 GitHub Release 为准,长期验收仍在进行。**
|
|
11
9
|
|
|
12
10
|
## Purpose
|
|
13
11
|
|
|
@@ -69,6 +67,28 @@ it reads or writes, which invariant constrains it, and which interfaces cross
|
|
|
69
67
|
its boundary. These relations guide source investigation when user wording and
|
|
70
68
|
implementation vocabulary differ.
|
|
71
69
|
|
|
70
|
+
### AI 查询与按需读取
|
|
71
|
+
|
|
72
|
+
首次定位应足以判断业务入口:搜索候选带当前 YAML 的维护位置,第一候选随附唯一
|
|
73
|
+
概念详情、源码入口、显式业务关系及相关图的引用位置;`contextFor` 明确摘要所属的
|
|
74
|
+
候选 ID。最多五个候选仍由 Agent 按业务含义选择,第一候选及其词面分数不代表
|
|
75
|
+
已经确定目标。选中其他候选后,按稳定 ID 读取相应概念或流程。
|
|
76
|
+
|
|
77
|
+
已知概念用 `context` 直达所选业务与其关联;已知流程用 `flows <id>` 直接读本层完整
|
|
78
|
+
步骤和转换。普通查询中的相关流程保留所属/引用摘要,完整细节按需读取。响应通过
|
|
79
|
+
ID 连接概念、关系和流程,避免在步骤和关系中重复概念与锚点;查询不列全库文件,
|
|
80
|
+
使用紧凑 JSON,`repository` 只报告选中的 `root`。
|
|
81
|
+
|
|
82
|
+
关联解释来自 `relations` 的类型、业务 `summary` 与端点,流程的 `references` 说明
|
|
83
|
+
哪些步骤引用了相关概念。查询覆盖直接关系及共享数据、接口、规则的其他已记录使用方,
|
|
84
|
+
帮助 Agent 判断哪些业务与图需要核实;不无限扩展动作邻域。`scope: "recorded"` 明示
|
|
85
|
+
范围:记录了关联不等于当前变更一定有影响,未返回也不证明没有使用方。跨项目线索
|
|
86
|
+
仍由 Agent 转到对应仓库核实,本轮不引入跨仓关系模型。
|
|
87
|
+
|
|
88
|
+
维护位置从当前 YAML 派生,不改变持久模型。代码符号保留文件和声明提示,CLI 不猜
|
|
89
|
+
代码行号;导航状态只说明路径可进入或缺失,不代替当前行为核实。字段与定位语义
|
|
90
|
+
由[查询投影](map-format.md#context-projection)定义。
|
|
91
|
+
|
|
72
92
|
### Human inspection
|
|
73
93
|
|
|
74
94
|
A person views deterministic projections of the same tracked map to discuss
|
|
@@ -244,9 +264,8 @@ The initial product delivers one coherent path:
|
|
|
244
264
|
query, with a deterministic query-relative score and stable IDs.
|
|
245
265
|
5. Select a concept by stable ID, while retaining the existing exact and partial
|
|
246
266
|
selector behavior for compatibility.
|
|
247
|
-
6.
|
|
248
|
-
|
|
249
|
-
business flows.
|
|
267
|
+
6. 返回有维护位置的局部业务摘要、概念与锚点、直接关系及共享数据/接口/规则的其他
|
|
268
|
+
已记录使用方;相关图提供引用位置,指定流程时才展开完整本层步骤。
|
|
250
269
|
7. Render deterministic interactive human-readable projections from the same
|
|
251
270
|
graph as a portable HTML artifact or loopback Web session, with linked
|
|
252
271
|
business process diagrams.
|
|
@@ -291,9 +310,8 @@ the following:
|
|
|
291
310
|
|
|
292
311
|
- tracked example and real-project map files load and validate through the
|
|
293
312
|
public CLI;
|
|
294
|
-
-
|
|
295
|
-
|
|
296
|
-
and outgoing relationships, navigation anchors, and related flows;
|
|
313
|
+
- 搜索候选与指定概念/流程查询返回预期业务身份、维护位置、代码入口、带原因的
|
|
314
|
+
已记录关联及相关图引用;候选摘要所属明确,概念不重复,完整流程按需读取;
|
|
297
315
|
- the renderer produces readable business process diagrams from the
|
|
298
316
|
same normalized map and links shared business concepts between them;
|
|
299
317
|
- a package-managed Agent Skill activates for business-changing work with or
|
|
@@ -314,14 +332,11 @@ human-intervention evidence as acceptance conditions.
|
|
|
314
332
|
|
|
315
333
|
## Current Delivery State
|
|
316
334
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
unavailable states without changing the tracked YAML business-map source.
|
|
323
|
-
Target-repository sharing and longitudinal acceptance remain separate verified
|
|
324
|
-
stages.
|
|
335
|
+
当前源码版本为 `semantic-atlas@5.0.0`。项目登记、只读阅读器、观察与历史校准能力继续
|
|
336
|
+
保留;本次将 AI 查询改为唯一概念详情、带原因的关联、相关图引用及当前 YAML 位置,
|
|
337
|
+
完整步骤按需读取。查询 JSON 的重复嵌套对象与全量文件目录已移除,因此使用主版本
|
|
338
|
+
标明输出契约变化;业务文件仍使用原有 YAML,无需迁移。公开发行和本机安装分别核验,
|
|
339
|
+
长期真实任务验收仍按下文证据标准进行。
|
|
325
340
|
|
|
326
341
|
## Current Public Release
|
|
327
342
|
|