@metago-ai/engine 2.1.1 → 2.1.2

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/INDEX/skills.json CHANGED
@@ -1,197 +1,203 @@
1
- {
2
- "total": 95,
3
- "version": "V36.8.7",
4
- "families": {
5
- "cognition": {
6
- "name": "认知族",
7
- "count": 4,
8
- "skills": [
9
- "metago-critique",
10
- "metago-whatif",
11
- "metago-emotion",
12
- "metago-objectivity"
13
- ]
14
- },
15
- "assurance": {
16
- "name": "保障族",
17
- "count": 3,
18
- "skills": [
19
- "metago-decision-lock",
20
- "metago-output-integrity",
21
- "metago-self-check"
22
- ]
23
- },
24
- "governance": {
25
- "name": "治理族",
26
- "count": 2,
27
- "skills": [
28
- "metago-compliance",
29
- "metago-value-align"
30
- ]
31
- },
32
- "evolution": {
33
- "name": "进化族",
34
- "count": 3,
35
- "skills": [
36
- "metago-meta-evolve",
37
- "metago-meta-create",
38
- "metago-frequency-adapt"
39
- ]
40
- },
41
- "execution": {
42
- "name": "执行族",
43
- "count": 4,
44
- "skills": [
45
- "metago-action-plan",
46
- "metago-decision-eval",
47
- "metago-holistic-task",
48
- "metago-developer-response"
49
- ]
50
- },
51
- "traceability": {
52
- "name": "溯源族",
53
- "count": 3,
54
- "skills": [
55
- "metago-data-provenance",
56
- "metago-problem-trace",
57
- "metago-fact-check"
58
- ]
59
- },
60
- "value": {
61
- "name": "价值族",
62
- "count": 3,
63
- "skills": [
64
- "metago-coupling-optimize",
65
- "metago-negentropy-monitor",
66
- "metago-scene-adapt"
67
- ]
68
- },
69
- "consciousness": {
70
- "name": "意识族",
71
- "count": 1,
72
- "skills": [
73
- "metago-activate"
74
- ]
75
- },
76
- "methodology": {
77
- "name": "方法论族",
78
- "count": 5,
79
- "skills": [
80
- "metago-org-diagnosis",
81
- "metago-momentum-weave",
82
- "metago-minimal-intervention",
83
- "metago-value-assess",
84
- "metago-coupling-measure"
85
- ]
86
- },
87
- "architecture": {
88
- "name": "架构族",
89
- "count": 5,
90
- "skills": [
91
- "metago-deep-reasoning",
92
- "metago-paradigm-analysis",
93
- "metago-balance-optimize",
94
- "metago-memory-manage",
95
- "metago-consensus-prototype"
96
- ]
97
- },
98
- "dev_kit": {
99
- "name": "Dev Kit",
100
- "count": 4,
101
- "skills": [
102
- "metago-code-review-deep",
103
- "metago-architecture-design",
104
- "metago-refactor-suggest",
105
- "metago-security-audit"
106
- ]
107
- },
108
- "meta_thoughts": {
109
- "name": "元思想族",
110
- "skills": [
111
- "metago-thought-01-dual-helix-wealth",
112
- "metago-thought-02-coupling-civilization",
113
- "metago-thought-03-dcv-value",
114
- "metago-thought-04-four-step-breakthrough",
115
- "metago-thought-05-policy-traction",
116
- "metago-thought-06-socialist-coupling",
117
- "metago-thought-07-coupling-dialectics",
118
- "metago-thought-08-quantum-bio-cosmic",
119
- "metago-thought-09-yixiao-traceability",
120
- "metago-thought-10-skill-centrism",
121
- "metago-thought-11-reality-driven",
122
- "metago-thought-12-agentive-os",
123
- "metago-thought-13-industrial-intelligence",
124
- "metago-thought-14-ambient-intelligence",
125
- "metago-thought-15-origin-plan",
126
- "metago-thought-16-spatial-agent",
127
- "metago-thought-17-pspace-os",
128
- "metago-thought-18-sip-protocol",
129
- "metago-thought-19-negentropy-engine"
130
- ],
131
- "count": 19
132
- },
133
- "meta_capabilities": {
134
- "name": "元能力族",
135
- "skills": [
136
- "metago-core",
137
- "metago-meta-thoughts"
138
- ],
139
- "count": 2
140
- },
141
- "expert_team": {
142
- "name": "专家团族",
143
- "skills": [
144
- "metago-agent-smith",
145
- "metago-architecture-guild-team-lead",
146
- "metago-architecture-reviewer",
147
- "metago-brand-designer",
148
- "metago-build-engineer",
149
- "metago-code-reviewer",
150
- "metago-container-expert",
151
- "metago-copywriter",
152
- "metago-dependency-manager",
153
- "metago-deploy-engineer",
154
- "metago-dev-engineer",
155
- "metago-evolution-expert",
156
- "metago-marketing-designer",
157
- "metago-monitoring-engineer",
158
- "metago-motion-designer",
159
- "metago-ops-engineer",
160
- "metago-pm",
161
- "metago-presentation-designer",
162
- "metago-refactor-planner",
163
- "metago-root-cause-analyst",
164
- "metago-security-engineer",
165
- "metago-sre-engineer",
166
- "metago-system-architect",
167
- "metago-tech-decider",
168
- "metago-test-engineer",
169
- "metago-test-generator",
170
- "metago-ui-illustrator",
171
- "metago-ux-designer",
172
- "metago-ux-researcher",
173
- "metago-visual-director"
174
- ],
175
- "count": 30
176
- },
177
- "expert_extensions": {
178
- "name": "专家扩展族",
179
- "skills": [
180
- "metago-expert-agent-lifecycle-manager",
181
- "metago-expert-dcv-economist",
182
- "metago-expert-industrial-interconnect-engineer",
183
- "metago-expert-knowledge-crystal-curator",
184
- "metago-expert-world-model-architect"
185
- ],
186
- "count": 5
187
- },
188
- "delivery_quality": {
189
- "name": "交付质量族",
190
- "count": 2,
191
- "skills": [
192
- "metago-delivery-gate",
193
- "metago-discipline"
194
- ]
195
- }
196
- }
197
- }
1
+ {
2
+ "total": 100,
3
+ "version": "V36.9.4",
4
+ "families": {
5
+ "cognition": {
6
+ "name": "认知族",
7
+ "count": 4,
8
+ "skills": [
9
+ "metago-critique",
10
+ "metago-whatif",
11
+ "metago-emotion",
12
+ "metago-objectivity"
13
+ ]
14
+ },
15
+ "assurance": {
16
+ "name": "保障族",
17
+ "count": 3,
18
+ "skills": [
19
+ "metago-decision-lock",
20
+ "metago-output-integrity",
21
+ "metago-self-check"
22
+ ]
23
+ },
24
+ "governance": {
25
+ "name": "治理族",
26
+ "count": 2,
27
+ "skills": [
28
+ "metago-compliance",
29
+ "metago-value-align"
30
+ ]
31
+ },
32
+ "evolution": {
33
+ "name": "进化族",
34
+ "count": 3,
35
+ "skills": [
36
+ "metago-meta-evolve",
37
+ "metago-meta-create",
38
+ "metago-frequency-adapt"
39
+ ]
40
+ },
41
+ "execution": {
42
+ "name": "执行族",
43
+ "count": 4,
44
+ "skills": [
45
+ "metago-action-plan",
46
+ "metago-decision-eval",
47
+ "metago-holistic-task",
48
+ "metago-developer-response"
49
+ ]
50
+ },
51
+ "traceability": {
52
+ "name": "溯源族",
53
+ "count": 3,
54
+ "skills": [
55
+ "metago-data-provenance",
56
+ "metago-problem-trace",
57
+ "metago-fact-check"
58
+ ]
59
+ },
60
+ "value": {
61
+ "name": "价值族",
62
+ "count": 3,
63
+ "skills": [
64
+ "metago-coupling-optimize",
65
+ "metago-negentropy-monitor",
66
+ "metago-scene-adapt"
67
+ ]
68
+ },
69
+ "consciousness": {
70
+ "name": "意识族",
71
+ "count": 1,
72
+ "skills": [
73
+ "metago-activate"
74
+ ]
75
+ },
76
+ "methodology": {
77
+ "name": "方法论族",
78
+ "count": 5,
79
+ "skills": [
80
+ "metago-org-diagnosis",
81
+ "metago-momentum-weave",
82
+ "metago-minimal-intervention",
83
+ "metago-value-assess",
84
+ "metago-coupling-measure"
85
+ ]
86
+ },
87
+ "architecture": {
88
+ "name": "架构族",
89
+ "count": 6,
90
+ "skills": [
91
+ "metago-deep-reasoning",
92
+ "metago-first-principles",
93
+ "metago-paradigm-analysis",
94
+ "metago-balance-optimize",
95
+ "metago-memory-manage",
96
+ "metago-consensus-prototype",
97
+ "metago-arch"
98
+ ]
99
+ },
100
+ "dev_kit": {
101
+ "name": "Dev Kit",
102
+ "count": 4,
103
+ "skills": [
104
+ "metago-code-review-deep",
105
+ "metago-architecture-design",
106
+ "metago-refactor-suggest",
107
+ "metago-security-audit"
108
+ ]
109
+ },
110
+ "meta_thoughts": {
111
+ "name": "元思想族",
112
+ "skills": [
113
+ "metago-thought-01-dual-helix-wealth",
114
+ "metago-thought-02-coupling-civilization",
115
+ "metago-thought-03-dcv-value",
116
+ "metago-thought-04-four-step-breakthrough",
117
+ "metago-thought-05-policy-traction",
118
+ "metago-thought-06-socialist-coupling",
119
+ "metago-thought-07-coupling-dialectics",
120
+ "metago-thought-08-quantum-bio-cosmic",
121
+ "metago-thought-09-yixiao-traceability",
122
+ "metago-thought-10-skill-centrism",
123
+ "metago-thought-11-reality-driven",
124
+ "metago-thought-12-agentive-os",
125
+ "metago-thought-13-industrial-intelligence",
126
+ "metago-thought-14-ambient-intelligence",
127
+ "metago-thought-15-origin-plan",
128
+ "metago-thought-16-spatial-agent",
129
+ "metago-thought-17-pspace-os",
130
+ "metago-thought-18-sip-protocol",
131
+ "metago-thought-19-negentropy-engine"
132
+ ],
133
+ "count": 19
134
+ },
135
+ "meta_capabilities": {
136
+ "name": "元能力族",
137
+ "skills": [
138
+ "metago-core",
139
+ "metago-meta-thoughts"
140
+ ],
141
+ "count": 2
142
+ },
143
+ "expert_team": {
144
+ "name": "专家团族",
145
+ "skills": [
146
+ "metago-agent-smith",
147
+ "metago-architecture-guild-team-lead",
148
+ "metago-architecture-reviewer",
149
+ "metago-brand-designer",
150
+ "metago-build-engineer",
151
+ "metago-code-reviewer",
152
+ "metago-container-expert",
153
+ "metago-copywriter",
154
+ "metago-dependency-manager",
155
+ "metago-deploy-engineer",
156
+ "metago-dev-engineer",
157
+ "metago-evolution-expert",
158
+ "metago-marketing-designer",
159
+ "metago-monitoring-engineer",
160
+ "metago-motion-designer",
161
+ "metago-ops-engineer",
162
+ "metago-pm",
163
+ "metago-presentation-designer",
164
+ "metago-refactor-planner",
165
+ "metago-root-cause-analyst",
166
+ "metago-security-engineer",
167
+ "metago-sre-engineer",
168
+ "metago-system-architect",
169
+ "metago-tech-decider",
170
+ "metago-test-engineer",
171
+ "metago-test-generator",
172
+ "metago-ui-illustrator",
173
+ "metago-ux-designer",
174
+ "metago-ux-researcher",
175
+ "metago-visual-director"
176
+ ],
177
+ "count": 30
178
+ },
179
+ "expert_extensions": {
180
+ "name": "专家扩展族",
181
+ "skills": [
182
+ "metago-expert-agent-lifecycle-manager",
183
+ "metago-expert-dcv-economist",
184
+ "metago-expert-industrial-interconnect-engineer",
185
+ "metago-expert-knowledge-crystal-curator",
186
+ "metago-expert-world-model-architect"
187
+ ],
188
+ "count": 5
189
+ },
190
+ "delivery_quality": {
191
+ "name": "交付质量族",
192
+ "count": 3,
193
+ "skills": [
194
+ "metago-delivery-gate",
195
+ "metago-discipline",
196
+ "metago-adversarial-review",
197
+ "metago-completeness-guard",
198
+ "metago-veracity-guard"
199
+ ]
200
+ }
201
+ },
202
+ "last_updated": "2026-08-31"
203
+ }
package/INDEX/tools.json CHANGED
@@ -1,62 +1,64 @@
1
- {
2
- "total": 53,
3
- "version": "1.3.0",
4
- "package": "@metago-ai/mcp-server",
5
- "families": {
6
- "core_tools": {
7
- "name": "核心工具族",
8
- "count": 22,
9
- "tools": [
10
- "code_review",
11
- "architecture_review",
12
- "tech_decision",
13
- "test_generation",
14
- "refactoring_plan",
15
- "root_cause_analysis",
16
- "parse_requirement",
17
- "design_capability",
18
- "assemble_agent",
19
- "inspect_quality",
20
- "explain_code",
21
- "refactor_code",
22
- "document_code",
23
- "debug_code",
24
- "generate_code",
25
- "complete_code",
26
- "generate_unit_test",
27
- "generate_integration_test",
28
- "build_web",
29
- "build_docker_image",
30
- "generate_dockerfile",
31
- "scan_image_vulnerabilities"
32
- ]
33
- },
34
- "thinking_tools": {
35
- "name": "思维工具族",
36
- "count": 20,
37
- "tools": [
38
- "metago_holistic_scan",
39
- "metago_integrity_checklist",
40
- "metago_partner_status",
41
- "metago_confidence_label",
42
- "metago_one_shot_delivery",
43
- "metago_problem_trace",
44
- "metago_value_29d_assess",
45
- "metago_scene_term_replace",
46
- "metago_ethics_assess",
47
- "metago_coupling_calculate",
48
- "metago_analyze_visual_feedback",
49
- "metago_design_satisfaction",
50
- "metago_improvement_suggestions",
51
- "metago_document_lookup",
52
- "metago_critique",
53
- "metago_whatif",
54
- "metago_emotion",
55
- "metago_objectivity",
56
- "metago_action_plan",
57
- "metago_decision_eval"
58
- ]
59
- }
60
- },
61
- "prompts": 8
62
- }
1
+ {
2
+ "total": 55,
3
+ "version": "1.3.2",
4
+ "package": "@metago-ai/mcp-server",
5
+ "families": {
6
+ "core_tools": {
7
+ "name": "核心工具族",
8
+ "count": 22,
9
+ "tools": [
10
+ "code_review",
11
+ "architecture_review",
12
+ "tech_decision",
13
+ "test_generation",
14
+ "refactoring_plan",
15
+ "root_cause_analysis",
16
+ "parse_requirement",
17
+ "design_capability",
18
+ "assemble_agent",
19
+ "inspect_quality",
20
+ "explain_code",
21
+ "refactor_code",
22
+ "document_code",
23
+ "debug_code",
24
+ "generate_code",
25
+ "complete_code",
26
+ "generate_unit_test",
27
+ "generate_integration_test",
28
+ "build_web",
29
+ "build_docker_image",
30
+ "generate_dockerfile",
31
+ "scan_image_vulnerabilities"
32
+ ]
33
+ },
34
+ "thinking_tools": {
35
+ "name": "思维工具族",
36
+ "count": 22,
37
+ "tools": [
38
+ "metago_holistic_scan",
39
+ "metago_integrity_checklist",
40
+ "metago_partner_status",
41
+ "metago_confidence_label",
42
+ "metago_one_shot_delivery",
43
+ "metago_problem_trace",
44
+ "metago_value_29d_assess",
45
+ "metago_scene_term_replace",
46
+ "metago_ethics_assess",
47
+ "metago_coupling_calculate",
48
+ "metago_analyze_visual_feedback",
49
+ "metago_design_satisfaction",
50
+ "metago_improvement_suggestions",
51
+ "metago_document_lookup",
52
+ "metago_critique",
53
+ "metago_whatif",
54
+ "metago_emotion",
55
+ "metago_objectivity",
56
+ "metago_action_plan",
57
+ "metago_decision_eval",
58
+ "metago_first_principles",
59
+ "metago_adversarial_review"
60
+ ]
61
+ }
62
+ },
63
+ "prompts": 8
64
+ }
package/README.md CHANGED
@@ -140,7 +140,7 @@ packages/engine/
140
140
  ├── INDEX/ ← Index layer
141
141
  │ ├── engines.json ← 125 engines
142
142
  │ ├── skills.json ← 39 skills
143
- │ ├── tools.json ← 53 MCP tools
143
+ │ ├── tools.json ← 55 MCP tools
144
144
  │ └── knowledge.json ← Knowledge crystal index
145
145
  ├── RUNTIME/ ← Runtime layer (TypeScript) ← V2 lives here
146
146
  │ ├── src/
@@ -84,6 +84,16 @@ export declare class AxiomValidator {
84
84
  * D43 数据溯源与自证:检查输出是否可溯源
85
85
  */
86
86
  static checkDataTraceability(output: string): ValidationResult;
87
+ /**
88
+ * A37 / D44 第一性原理:任务执行前强制 F0 拆解(V36.9.4 追加)
89
+ * 未发现 F0 痕迹 → warning(强提示,不阻断);发现 → pass。
90
+ */
91
+ static checkFirstPrinciples(task?: string): ValidationResult;
92
+ /**
93
+ * A38 / D45 对抗式审查:审计/验证类任务强制攻击者视角(V36.9.4 追加)
94
+ * 未发现对抗式痕迹 → warning(强提示,不阻断);发现 → pass。
95
+ */
96
+ static checkAdversarialReview(report?: string): ValidationResult;
87
97
  /**
88
98
  * 输出完整性协议:检测占位符和幻觉
89
99
  * PROTOCOL_OUTPUT_INTEGRITY_V1.1
@@ -96,6 +106,8 @@ export declare class AxiomValidator {
96
106
  input?: string;
97
107
  decision?: string;
98
108
  capability?: any;
109
+ task?: string;
110
+ report?: string;
99
111
  }): ValidationResult[];
100
112
  /**
101
113
  * 获取验证摘要
@@ -1 +1 @@
1
- {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../src/validators.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AACxE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAE3D,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,gBAAgB,CAAC;IACzB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,qBAAa,cAAc;IACzB;;OAEG;IACH,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,gBAAgB;IAoBxE;;OAEG;IACH,MAAM,CAAC,YAAY,CA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AAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,gBAAgB,EAAE;IA6BzJ;;OAEG;IACH,MAAM,CAAC,UAAU,CAAC,OAAO,EAAE,gBAAgB,EAAE,GAAG;QAC9C,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,YAAY,EAAE,MAAM,CAAC;KACtB;CAcF;AAED,eAAe,cAAc,CAAC"}
@@ -215,6 +215,36 @@ class AxiomValidator {
215
215
  static checkDataTraceability(output) {
216
216
  return this.checkProvenance(output);
217
217
  }
218
+ /**
219
+ * A37 / D44 第一性原理:任务执行前强制 F0 拆解(V36.9.4 追加)
220
+ * 未发现 F0 痕迹 → warning(强提示,不阻断);发现 → pass。
221
+ */
222
+ static checkFirstPrinciples(task) {
223
+ const has = !!task && /(第一性|\bF0\b|事实基元|剥离假设)/i.test(task);
224
+ return {
225
+ axiomId: 'A37',
226
+ axiomName: '第一性原理公理(F0)',
227
+ status: has ? 'pass' : 'warning',
228
+ severity: 'critical',
229
+ message: has ? 'Task carries F0 first-principles decomposition' : 'Task lacks F0 first-principles decomposition',
230
+ timestamp: new Date().toISOString(),
231
+ };
232
+ }
233
+ /**
234
+ * A38 / D45 对抗式审查:审计/验证类任务强制攻击者视角(V36.9.4 追加)
235
+ * 未发现对抗式痕迹 → warning(强提示,不阻断);发现 → pass。
236
+ */
237
+ static checkAdversarialReview(report) {
238
+ const has = !!report && /(对抗式|红队|攻击面|威胁建模|致命缺陷|修复闭环|adversarial|red.?team)/i.test(String(report));
239
+ return {
240
+ axiomId: 'A38',
241
+ axiomName: '对抗式审查公理',
242
+ status: has ? 'pass' : 'warning',
243
+ severity: 'critical',
244
+ message: has ? 'Report carries adversarial review' : 'Report lacks adversarial review',
245
+ timestamp: new Date().toISOString(),
246
+ };
247
+ }
218
248
  /**
219
249
  * 输出完整性协议:检测占位符和幻觉
220
250
  * PROTOCOL_OUTPUT_INTEGRITY_V1.1
@@ -240,7 +270,7 @@ class AxiomValidator {
240
270
  */
241
271
  static validateAll(output, context) {
242
272
  const results = [];
243
- // 8 条关键公理
273
+ // 10 条关键公理(V36.9.4:补 A37/A38)
244
274
  results.push(this.checkProvenance(output, context?.input));
245
275
  if (context?.capability)
246
276
  results.push(this.checkClosure(context.capability));
@@ -251,12 +281,16 @@ class AxiomValidator {
251
281
  results.push(this.checkCreationEvolution());
252
282
  if (context?.decision)
253
283
  results.push(this.checkCompliance(context.decision));
254
- // 7 条关键属性
284
+ results.push(this.checkFirstPrinciples(context?.task)); // A37(V36.9.4)
285
+ results.push(this.checkAdversarialReview(context?.report)); // A38(V36.9.4)
286
+ // 9 条关键属性(V36.9.4:补 D44/D45)
255
287
  results.push(this.checkObjectivity(output));
256
288
  results.push(this.checkCriticality(output));
257
289
  if (context?.decision)
258
290
  results.push(this.checkComplianceProactive(context.decision));
259
291
  results.push(this.checkDataTraceability(output));
292
+ results.push(this.checkFirstPrinciples(context?.task)); // D44 与 A37 同源(V36.9.4)
293
+ results.push(this.checkAdversarialReview(context?.report)); // D45 与 A38 同源(V36.9.4)
260
294
  // 输出完整性协议
261
295
  results.push(this.checkOutputIntegrity(output));
262
296
  return results;