@archsight/aios 1.0.1 → 1.1.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/CHANGELOG.md +49 -5
- package/LICENSE +184 -21
- package/README.md +43 -17
- package/agents/README.md +2 -1
- package/agents/euclid/constraints.md +2 -1
- package/agents/euclid/responsibilities.md +1 -1
- package/agents/euclid/role.md +1 -1
- package/agents/euclid/system-prompt.md +5 -2
- package/agents/euclid/workflow.md +3 -3
- package/bin/archsight-aios.mjs +436 -1
- package/docs/quickstart.md +2 -1
- package/governance/README.md +3 -0
- package/governance/arbitration-protocol.md +153 -0
- package/package.json +3 -3
- package/runtime/README.md +7 -0
- package/runtime/agent-routing.md +41 -17
- package/runtime/archsight-aios.manifest.json +58 -36
- package/runtime/capability-adapters.json +27 -0
- package/runtime/capability-registry.json +458 -0
- package/runtime/capability-registry.schema.json +135 -0
- package/runtime/skill-routing.md +17 -13
- package/skills/README.md +12 -9
- package/skills/aios-arch/SKILL.md +62 -24
- package/skills/aios-ceo/SKILL.md +11 -8
- package/skills/aios-exec/SKILL.md +11 -8
- package/skills/aios-knowledge/SKILL.md +12 -9
- package/skills/aios-plan/SKILL.md +38 -28
- package/skills/aios-review/SKILL.md +12 -9
- package/skills/aios-runtime/SKILL.md +14 -11
- package/skills/aios-structural/SKILL.md +67 -0
- package/skills/aios-structural/agents/openai.yaml +4 -0
- package/templates/project-ai/.ai/ARCHSIGHT_AIOS_RULES.md +13 -10
- package/templates/project-ai/.ai/agent-routing.md +17 -12
- package/templates/project-ai/.ai/skills.md +14 -11
- package/templates/project-ai/.ai/workflows.md +6 -5
- package/workflows/README.md +2 -0
- package/workflows/architecture-review.md +44 -22
- package/workflows/feature-development.md +25 -19
- package/workflows/rag-pipeline.md +9 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,52 @@
|
|
|
1
|
-
# 变更记录
|
|
2
|
-
|
|
3
|
-
## 1.0
|
|
4
|
-
|
|
5
|
-
### 发布说明
|
|
1
|
+
# 变更记录
|
|
2
|
+
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### 发布说明
|
|
6
|
+
|
|
7
|
+
本版本把 AIOS 从“规则 / Skill / Workflow 工具包”扩展到可调用本地确定性工具证据的治理闭环。重点新增 Capability Registry、Capability Adapter 和仲裁协议,并与 `archsight-solver` 的本地 stdio MCP tools 对齐,让 Euclid / `aios-structural` 在结构力学任务中能够要求或调用梁、平面框架、平面桁架求解结果,而不是由 LLM 直接口算工程结论。
|
|
8
|
+
|
|
9
|
+
本版本同时完成开源许可证和商业边界调整,为后续公开发布、商业使用和二次分发提供更清晰的法律与责任边界。
|
|
10
|
+
|
|
11
|
+
### 新增
|
|
12
|
+
|
|
13
|
+
- 新增 Capability Registry、Capability Registry Schema 和本地 Capability Adapter 配置,定义工具权限、输入 / 输出契约、证据字段和阻断规则。
|
|
14
|
+
- 新增 `governance/arbitration-protocol.md`,按人工硬约束、确定性工具、项目事实、结构化知识和 Agent 判断的证据等级仲裁交付结论。
|
|
15
|
+
- 新增 `aios-structural` Skill 和 Euclid 结构力学路由,用于梁、荷载、边界条件、FEM 输入输出、结构计算工具链和签审风险评审。
|
|
16
|
+
- 新增 `archsight-aios capability:call` 本地调用闭环:校验 Agent / Skill 权限、校验输入 schema、调用 stdio MCP tool、校验输出证据契约并返回仲裁 Decision。
|
|
17
|
+
- 新增对 `archsight-solver` 本地 MCP tools 的 AIOS Capability 对接:
|
|
18
|
+
- `solver.beam_deflection`
|
|
19
|
+
- `solver.beam_deflection_serviceability_check`
|
|
20
|
+
- `solver.frame_displacement`
|
|
21
|
+
- `solver.truss_member_force`
|
|
22
|
+
- 新增 CLI 测试覆盖 Capability 调用、MCP tool 映射、未授权 Agent 拒绝和项目模板校验。
|
|
23
|
+
|
|
24
|
+
### 调整
|
|
25
|
+
|
|
26
|
+
- 项目许可证从 MIT 升级为 Apache-2.0。
|
|
27
|
+
- README 增加商业边界说明,明确商业使用、二次分发、商标 / 品牌、托管服务、专有素材、支持和交付责任不随开源许可证自动授权。
|
|
28
|
+
- README 增加本地调用 `archsight-solver` 的 Capability 示例,并避免写死个人机器路径。
|
|
29
|
+
- `aios-arch`、`aios-review`、`aios-runtime`、`aios-exec` 等 Skill 增加 Capability / Tool Result / Evidence / Decision 的证据链要求。
|
|
30
|
+
- 架构评审、Feature 开发和 RAG Pipeline workflow 增加 Capability-backed arbitration 要求。
|
|
31
|
+
- 结构力学挠度限值校核使用 `solver.beam_deflection_serviceability_check` 作为正式 Capability 命名,明确它是正常使用挠度校核,不是强度、稳定或规范承载力设计。
|
|
32
|
+
|
|
33
|
+
### 兼容性说明
|
|
34
|
+
|
|
35
|
+
- `solver.beam_deflection_serviceability_check` 是本版本发布的正式挠度正常使用校核接口。
|
|
36
|
+
- `archsight-solver` 仍是本地可选 Adapter,不是 AIOS 安装的强依赖。没有相邻 solver 仓库或未设置 `ARCHSIGHT_SOLVER_HOME` 时,Capability 调用会报告本地 adapter cwd 不存在。
|
|
37
|
+
- 当前 MCP 对接仅声明本地 stdio 调用,不开放远程 HTTP / SSE / Gateway 鉴权模型。
|
|
38
|
+
|
|
39
|
+
### 验证
|
|
40
|
+
|
|
41
|
+
- `npm test`
|
|
42
|
+
- `npm run doctor`
|
|
43
|
+
- `npm run smoke:project`
|
|
44
|
+
- `npm pack --dry-run`
|
|
45
|
+
- 真实本地 MCP smoke:`solver.beam_deflection`、`solver.beam_deflection_serviceability_check`、`solver.frame_displacement`、`solver.truss_member_force`
|
|
46
|
+
|
|
47
|
+
## 1.0.1
|
|
48
|
+
|
|
49
|
+
### 发布说明
|
|
6
50
|
|
|
7
51
|
本版本优化 AIOS 的适用性边界:AIOS 明确作为建筑行业增强层,而不是通用任务替代器。安装 AIOS 后,建筑行业相关任务应获得更专业的证据链、工程边界、验证路径和行业判断;普通非建筑任务不再被强制套用 BIM、IFC、规范、审图或工程证据链假设。
|
|
8
52
|
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,184 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction, and
|
|
10
|
+
distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright
|
|
13
|
+
owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities
|
|
16
|
+
that control, are controlled by, or are under common control with that entity.
|
|
17
|
+
For the purposes of this definition, "control" means (i) the power, direct or
|
|
18
|
+
indirect, to cause the direction or management of such entity, whether by
|
|
19
|
+
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
20
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
21
|
+
|
|
22
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising
|
|
23
|
+
permissions granted by this License.
|
|
24
|
+
|
|
25
|
+
"Source" form shall mean the preferred form for making modifications, including
|
|
26
|
+
but not limited to software source code, documentation source, and configuration
|
|
27
|
+
files.
|
|
28
|
+
|
|
29
|
+
"Object" form shall mean any form resulting from mechanical transformation or
|
|
30
|
+
translation of a Source form, including but not limited to compiled object code,
|
|
31
|
+
generated documentation, and conversions to other media types.
|
|
32
|
+
|
|
33
|
+
"Work" shall mean the work of authorship, whether in Source or Object form,
|
|
34
|
+
made available under the License, as indicated by a copyright notice that is
|
|
35
|
+
included in or attached to the work (an example is provided in the Appendix
|
|
36
|
+
below).
|
|
37
|
+
|
|
38
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that
|
|
39
|
+
is based on (or derived from) the Work and for which the editorial revisions,
|
|
40
|
+
annotations, elaborations, or other modifications represent, as a whole, an
|
|
41
|
+
original work of authorship. For the purposes of this License, Derivative Works
|
|
42
|
+
shall not include works that remain separable from, or merely link (or bind by
|
|
43
|
+
name) to the interfaces of, the Work and Derivative Works thereof.
|
|
44
|
+
|
|
45
|
+
"Contribution" shall mean any work of authorship, including the original version
|
|
46
|
+
of the Work and any modifications or additions to that Work or Derivative Works
|
|
47
|
+
thereof, that is intentionally submitted to Licensor for inclusion in the Work
|
|
48
|
+
by the copyright owner or by an individual or Legal Entity authorized to submit
|
|
49
|
+
on behalf of the copyright owner. For the purposes of this definition,
|
|
50
|
+
"submitted" means any form of electronic, verbal, or written communication sent
|
|
51
|
+
to the Licensor or its representatives, including but not limited to
|
|
52
|
+
communication on electronic mailing lists, source code control systems, and
|
|
53
|
+
issue tracking systems that are managed by, or on behalf of, the Licensor for
|
|
54
|
+
the purpose of discussing and improving the Work, but excluding communication
|
|
55
|
+
that is conspicuously marked or otherwise designated in writing by the copyright
|
|
56
|
+
owner as "Not a Contribution."
|
|
57
|
+
|
|
58
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
|
|
59
|
+
of whom a Contribution has been received by Licensor and subsequently
|
|
60
|
+
incorporated within the Work.
|
|
61
|
+
|
|
62
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this
|
|
63
|
+
License, each Contributor hereby grants to You a perpetual, worldwide,
|
|
64
|
+
non-exclusive, no-charge, royalty-free, irrevocable copyright license to
|
|
65
|
+
reproduce, prepare Derivative Works of, publicly display, publicly perform,
|
|
66
|
+
sublicense, and distribute the Work and such Derivative Works in Source or
|
|
67
|
+
Object form.
|
|
68
|
+
|
|
69
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License,
|
|
70
|
+
each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
|
|
71
|
+
no-charge, royalty-free, irrevocable (except as stated in this section) patent
|
|
72
|
+
license to make, have made, use, offer to sell, sell, import, and otherwise
|
|
73
|
+
transfer the Work, where such license applies only to those patent claims
|
|
74
|
+
licensable by such Contributor that are necessarily infringed by their
|
|
75
|
+
Contribution(s) alone or by combination of their Contribution(s) with the Work
|
|
76
|
+
to which such Contribution(s) was submitted. If You institute patent litigation
|
|
77
|
+
against any entity (including a cross-claim or counterclaim in a lawsuit)
|
|
78
|
+
alleging that the Work or a Contribution incorporated within the Work
|
|
79
|
+
constitutes direct or contributory patent infringement, then any patent licenses
|
|
80
|
+
granted to You under this License for that Work shall terminate as of the date
|
|
81
|
+
such litigation is filed.
|
|
82
|
+
|
|
83
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or
|
|
84
|
+
Derivative Works thereof in any medium, with or without modifications, and in
|
|
85
|
+
Source or Object form, provided that You meet the following conditions:
|
|
86
|
+
|
|
87
|
+
(a) You must give any other recipients of the Work or Derivative Works a copy of
|
|
88
|
+
this License; and
|
|
89
|
+
|
|
90
|
+
(b) You must cause any modified files to carry prominent notices stating that
|
|
91
|
+
You changed the files; and
|
|
92
|
+
|
|
93
|
+
(c) You must retain, in the Source form of any Derivative Works that You
|
|
94
|
+
distribute, all copyright, patent, trademark, and attribution notices from the
|
|
95
|
+
Source form of the Work, excluding those notices that do not pertain to any part
|
|
96
|
+
of the Derivative Works; and
|
|
97
|
+
|
|
98
|
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then
|
|
99
|
+
any Derivative Works that You distribute must include a readable copy of the
|
|
100
|
+
attribution notices contained within such NOTICE file, excluding those notices
|
|
101
|
+
that do not pertain to any part of the Derivative Works, in at least one of the
|
|
102
|
+
following places: within a NOTICE text file distributed as part of the
|
|
103
|
+
Derivative Works; within the Source form or documentation, if provided along
|
|
104
|
+
with the Derivative Works; or, within a display generated by the Derivative
|
|
105
|
+
Works, if and wherever such third-party notices normally appear. The contents
|
|
106
|
+
of the NOTICE file are for informational purposes only and do not modify the
|
|
107
|
+
License. You may add Your own attribution notices within Derivative Works that
|
|
108
|
+
You distribute, alongside or as an addendum to the NOTICE text from the Work,
|
|
109
|
+
provided that such additional attribution notices cannot be construed as
|
|
110
|
+
modifying the License.
|
|
111
|
+
|
|
112
|
+
You may add Your own copyright statement to Your modifications and may provide
|
|
113
|
+
additional or different license terms and conditions for use, reproduction, or
|
|
114
|
+
distribution of Your modifications, or for any such Derivative Works as a whole,
|
|
115
|
+
provided Your use, reproduction, and distribution of the Work otherwise complies
|
|
116
|
+
with the conditions stated in this License.
|
|
117
|
+
|
|
118
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any
|
|
119
|
+
Contribution intentionally submitted for inclusion in the Work by You to the
|
|
120
|
+
Licensor shall be under the terms and conditions of this License, without any
|
|
121
|
+
additional terms or conditions. Notwithstanding the above, nothing herein shall
|
|
122
|
+
supersede or modify the terms of any separate license agreement you may have
|
|
123
|
+
executed with Licensor regarding such Contributions.
|
|
124
|
+
|
|
125
|
+
6. Trademarks. This License does not grant permission to use the trade names,
|
|
126
|
+
trademarks, service marks, or product names of the Licensor, except as required
|
|
127
|
+
for reasonable and customary use in describing the origin of the Work and
|
|
128
|
+
reproducing the content of the NOTICE file.
|
|
129
|
+
|
|
130
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
|
|
131
|
+
writing, Licensor provides the Work (and each Contributor provides its
|
|
132
|
+
Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
133
|
+
KIND, either express or implied, including, without limitation, any warranties or
|
|
134
|
+
conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
135
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
136
|
+
appropriateness of using or redistributing the Work and assume any risks
|
|
137
|
+
associated with Your exercise of permissions under this License.
|
|
138
|
+
|
|
139
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in
|
|
140
|
+
tort (including negligence), contract, or otherwise, unless required by
|
|
141
|
+
applicable law (such as deliberate and grossly negligent acts) or agreed to in
|
|
142
|
+
writing, shall any Contributor be liable to You for damages, including any
|
|
143
|
+
direct, indirect, special, incidental, or consequential damages of any character
|
|
144
|
+
arising as a result of this License or out of the use or inability to use the
|
|
145
|
+
Work (including but not limited to damages for loss of goodwill, work stoppage,
|
|
146
|
+
computer failure or malfunction, or any and all other commercial damages or
|
|
147
|
+
losses), even if such Contributor has been advised of the possibility of such
|
|
148
|
+
damages.
|
|
149
|
+
|
|
150
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or
|
|
151
|
+
Derivative Works thereof, You may choose to offer, and charge a fee for,
|
|
152
|
+
acceptance of support, warranty, indemnity, or other liability obligations
|
|
153
|
+
and/or rights consistent with this License. However, in accepting such
|
|
154
|
+
obligations, You may act only on Your own behalf and on Your sole
|
|
155
|
+
responsibility, not on behalf of any other Contributor, and only if You agree to
|
|
156
|
+
indemnify, defend, and hold each Contributor harmless for any liability incurred
|
|
157
|
+
by, or claims asserted against, such Contributor by reason of your accepting any
|
|
158
|
+
such warranty or additional liability.
|
|
159
|
+
|
|
160
|
+
END OF TERMS AND CONDITIONS
|
|
161
|
+
|
|
162
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
163
|
+
|
|
164
|
+
To apply the Apache License to your work, attach the following boilerplate
|
|
165
|
+
notice, with the fields enclosed by brackets "[]" replaced with your own
|
|
166
|
+
identifying information. (Don't include the brackets!) The text should be
|
|
167
|
+
enclosed in the appropriate comment syntax for the file format. We also
|
|
168
|
+
recommend that a file or class name and description of purpose be included on
|
|
169
|
+
the same "printed page" as the copyright notice for easier identification
|
|
170
|
+
within third-party archives.
|
|
171
|
+
|
|
172
|
+
Copyright 2026 ArchSightLabs
|
|
173
|
+
|
|
174
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
175
|
+
you may not use this file except in compliance with the License.
|
|
176
|
+
You may obtain a copy of the License at
|
|
177
|
+
|
|
178
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
179
|
+
|
|
180
|
+
Unless required by applicable law or agreed to in writing, software
|
|
181
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
182
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
183
|
+
See the License for the specific language governing permissions and
|
|
184
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
ArchSight AIOS 是一套面向建筑 AI 研发的规则、Agent、Skill、Workflow 和项目接入工具包。它重点服务 BIM / IFC / Revit / CAD、施工视觉 AI、建筑规范知识库、GraphRAG、智能审图和 AI Coding 治理,让 Codex、Claude Code、Antigravity 2.0 等 AI Coding 工具在同一个项目里读取同一套规则、项目上下文和验收要求。
|
|
4
4
|
|
|
5
|
-
AIOS 不是全行业项目模板集合。它保留通用的 AI 编码规则、Agent 路由、Workflow、项目 `.ai/`
|
|
5
|
+
AIOS 不是全行业项目模板集合。它保留通用的 AI 编码规则、Agent 路由、Workflow、项目 `.ai/` 上下文和交付验证能力,但真正的差异化能力集中在建筑行业语义、工程证据链、规范知识工程、Capability 工具证据和可复核的 AI 研发流程。
|
|
6
6
|
|
|
7
7
|
## 设计目标
|
|
8
8
|
|
|
@@ -66,15 +66,24 @@ npx @archsight/aios init --profile rag-knowledge
|
|
|
66
66
|
|
|
67
67
|
| 文件 / 目录 | 作用 |
|
|
68
68
|
| --- | --- |
|
|
69
|
-
| `AGENTS.md` | Codex 等 Agent 工具读取的项目入口。 |
|
|
70
|
-
| `CLAUDE.md` | Claude Code 读取的项目入口。 |
|
|
71
|
-
| `GEMINI.md` | Gemini 读取的项目入口。 |
|
|
72
|
-
| `AI_CODING_RULES.md` | 项目通用 AI 编码规则。 |
|
|
69
|
+
| `AGENTS.md` | Codex 等 Agent 工具读取的项目入口。 |
|
|
70
|
+
| `CLAUDE.md` | Claude Code 读取的项目入口。 |
|
|
71
|
+
| `GEMINI.md` | Gemini 读取的项目入口。 |
|
|
72
|
+
| `AI_CODING_RULES.md` | 项目通用 AI 编码规则。 |
|
|
73
73
|
| `.ai/ARCHSIGHT_AIOS_RULES.md` | ArchSight AIOS 补充规则。 |
|
|
74
74
|
| `.ai/project-context.md` | 项目事实、业务背景和边界。 |
|
|
75
75
|
| `.ai/agent-routing.md` | 不同任务该交给哪个 Agent / Skill。 |
|
|
76
76
|
| `.ai/skills.md` | 当前项目可用的 ArchSight Skills。 |
|
|
77
|
-
| `.ai/workflows.md` | 当前项目可用的 Workflow 和验收路径。 |
|
|
77
|
+
| `.ai/workflows.md` | 当前项目可用的 Workflow 和验收路径。 |
|
|
78
|
+
|
|
79
|
+
## Capability 与冲突仲裁
|
|
80
|
+
|
|
81
|
+
AIOS 的多 Agent 协作不应停留在 Prompt 角色扮演。Agent 提出架构、交付、规范、结构计算或安全判断时,必须尽量回到项目事实、结构化知识和确定性工具证据。
|
|
82
|
+
|
|
83
|
+
- `governance/arbitration-protocol.md` 定义证据优先级、Claim 契约、阻断规则和人工升级条件。
|
|
84
|
+
- `runtime/capability-registry.json` 定义最小 Capability 接口,例如测试 runner、规范查询、梁挠度、梁挠度限值校核、框架位移和桁架杆力求解器接口。
|
|
85
|
+
- `runtime/capability-adapters.json` 定义本地 stdio MCP Adapter 映射;AIOS 先按 Agent / Skill 权限校验,再调用 `archsight-solver` MCP Tool,并把结构化结果交给仲裁规则。
|
|
86
|
+
- `aios-structural` 提供 Euclid 结构力学评审入口,要求关键数值来自求解器、项目计算书或可复验脚本,而不是 LLM 口算。
|
|
78
87
|
|
|
79
88
|
## 常用命令
|
|
80
89
|
|
|
@@ -83,10 +92,21 @@ npx @archsight/aios init --profile rag-knowledge
|
|
|
83
92
|
| `help` | 查看 CLI 帮助、可用命令和示例。 |
|
|
84
93
|
| `install` | 安装 ArchSight AIOS 用户级资产到 Codex、Antigravity 2.0、Gemini 和共享目录。 |
|
|
85
94
|
| `doctor` | 检查仓库资产、manifest、用户级安装、Skill 和 Workflow 是否一致。 |
|
|
86
|
-
| `init` | 给具体业务项目接入 AI 规则、`.ai/` 治理目录和可选行业 profile。 |
|
|
87
|
-
| `validate` | 验证项目接入模板能否生成并引用当前登记的 Skills / Workflows。 |
|
|
88
|
-
|
|
89
|
-
|
|
95
|
+
| `init` | 给具体业务项目接入 AI 规则、`.ai/` 治理目录和可选行业 profile。 |
|
|
96
|
+
| `validate` | 验证项目接入模板能否生成并引用当前登记的 Skills / Workflows。 |
|
|
97
|
+
| `capability:call` | 按 Capability Registry 权限边界调用本地 MCP Adapter,并输出 Tool Result 与仲裁 Decision。 |
|
|
98
|
+
|
|
99
|
+
本地调用 `archsight-solver` 示例:
|
|
100
|
+
|
|
101
|
+
```powershell
|
|
102
|
+
$env:ARCHSIGHT_SOLVER_HOME = "<archsight-solver 本地仓库绝对路径>"
|
|
103
|
+
npx @archsight/aios capability:call --capability solver.beam_deflection --agent euclid --skill aios-structural --input beam-input.json
|
|
104
|
+
npx @archsight/aios capability:call --capability solver.beam_deflection_serviceability_check --agent euclid --skill aios-structural --input beam-serviceability-input.json
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
如果 `archsight-aios` 和 `archsight-solver` 是同级目录,CLI 会默认尝试使用相邻的 `../archsight-solver`,通常无需设置 `ARCHSIGHT_SOLVER_HOME`。
|
|
108
|
+
|
|
109
|
+
## 安装位置
|
|
90
110
|
|
|
91
111
|
`install --target all --scope user` 会写入当前用户目录:
|
|
92
112
|
|
|
@@ -147,10 +167,16 @@ npm test
|
|
|
147
167
|
- [Templates](templates/README.md)
|
|
148
168
|
- [Runtime 路由](runtime/agent-routing.md)
|
|
149
169
|
|
|
150
|
-
## 开源协作
|
|
151
|
-
|
|
152
|
-
- 许可证:[
|
|
153
|
-
- 贡献说明:[CONTRIBUTING.md](CONTRIBUTING.md)
|
|
154
|
-
- 安全问题:[SECURITY.md](SECURITY.md)
|
|
155
|
-
- 行为准则:[CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)
|
|
156
|
-
- 变更记录:[CHANGELOG.md](CHANGELOG.md)
|
|
170
|
+
## 开源协作
|
|
171
|
+
|
|
172
|
+
- 许可证:[Apache-2.0](LICENSE)
|
|
173
|
+
- 贡献说明:[CONTRIBUTING.md](CONTRIBUTING.md)
|
|
174
|
+
- 安全问题:[SECURITY.md](SECURITY.md)
|
|
175
|
+
- 行为准则:[CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)
|
|
176
|
+
- 变更记录:[CHANGELOG.md](CHANGELOG.md)
|
|
177
|
+
|
|
178
|
+
### 商业边界
|
|
179
|
+
|
|
180
|
+
- Apache-2.0 允许商业使用、修改、分发和私有部署;分发时需保留版权声明、许可证文本和必要 NOTICE,并遵守 Apache-2.0 的专利与免责声明条款。
|
|
181
|
+
- 许可证只覆盖本仓库开源内容,不授权 ArchSightLabs / ArchSight 商标、品牌资产、托管服务、专有数据集、客户案例、商业支持、SLA 或任何第三方受限素材。
|
|
182
|
+
- 基于 AIOS 提供商业产品、咨询或二次分发时,不得暗示官方认证、代理、合作或背书;工程结论、合规责任和客户交付责任由使用方自行承担。
|
package/agents/README.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
| 规范知识库 / GraphRAG 项目 | `--profile rag-knowledge` |
|
|
17
17
|
| 看某类任务怎么做 | `skills/` 和 `workflows/` |
|
|
18
18
|
|
|
19
|
-
维护者才需要关心 Agent 定义。每个 Agent 不应只保存 prompt,而应保存职责、边界、输入、输出、禁止事项、参与 workflow
|
|
19
|
+
维护者才需要关心 Agent 定义。每个 Agent 不应只保存 prompt,而应保存职责、边界、输入、输出、禁止事项、参与 workflow、模型路由和可用 Capability。
|
|
20
20
|
|
|
21
21
|
当前采用三层管理:
|
|
22
22
|
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
| Source | `role.md` / `responsibilities.md` / `constraints.md` / `workflow.md` | 长期维护角色资产 |
|
|
26
26
|
| Runtime | `system-prompt.md` | 运行时可加载的最小提示词 |
|
|
27
27
|
| Instance / Adapter | Codex、Claude Code、Gemini、Hermes、飞书等 | 实际对话或协作入口 |
|
|
28
|
+
| Capability | `runtime/capability-registry.json` | 外部工具、结构化知识和确定性证据接口 |
|
|
28
29
|
|
|
29
30
|
当前与规划 Agent:
|
|
30
31
|
|
package/agents/euclid/role.md
CHANGED
|
@@ -7,17 +7,20 @@
|
|
|
7
7
|
- 评审结构力学、荷载、约束、FEM 和计算流程。
|
|
8
8
|
- 明确假设、单位、边界条件和验证路径。
|
|
9
9
|
- 对不确定或需要专业签审的内容标注待核验。
|
|
10
|
+
- 将关键数值计算转为 Capability / 求解器输入,不用 LLM 直接口算工程结论。
|
|
10
11
|
|
|
11
12
|
边界:
|
|
12
13
|
|
|
13
14
|
- 不替代结构工程师签章。
|
|
14
15
|
- 不在缺少关键条件时输出确定安全结论。
|
|
15
16
|
- 不绕过测试或规范核验。
|
|
17
|
+
- 不把未执行的工具调用或样例公式包装成已验证结果。
|
|
16
18
|
|
|
17
19
|
输出:
|
|
18
20
|
|
|
19
21
|
1. 结论
|
|
20
22
|
2. 已知条件
|
|
21
23
|
3. 假设与缺口
|
|
22
|
-
4.
|
|
23
|
-
5.
|
|
24
|
+
4. Capability 调用计划或工具结果
|
|
25
|
+
5. 建模 / 计算建议
|
|
26
|
+
6. 待核验项
|