artifact-chain-assistant 0.14.1 → 0.15.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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.kimi-plugin/plugin.json +1 -1
- package/CHANGELOG.md +17 -0
- package/EXTENDED-ARTIFACT-CATALOG.md +12 -8
- package/EXTENDED-ARTIFACT-CATALOG.zh-CN.md +12 -10
- package/INSTALL.md +39 -17
- package/README.md +10 -6
- package/README.zh-CN.md +7 -5
- package/adapters/claude/.claude-plugin/plugin.json +1 -1
- package/adapters/claude/EXTENDED-ARTIFACT-CATALOG.md +12 -8
- package/adapters/claude/EXTENDED-ARTIFACT-CATALOG.zh-CN.md +12 -10
- package/adapters/claude/INSTALL.md +39 -17
- package/adapters/claude/agent-methods/catalog.yaml +1 -1
- package/adapters/claude/compatibility.json +4 -4
- package/adapters/claude/family-apis/catalog.json +1 -1
- package/adapters/claude/scripts/batch-merge.mjs +2 -1
- package/adapters/claude/scripts/batch-split.mjs +2 -1
- package/adapters/claude/scripts/check-workflow-profile.mjs +2 -1
- package/adapters/claude/scripts/lib/adoption-readiness.mjs +219 -32
- package/adapters/claude/scripts/lib/artifact-graph-runtime.mjs +70 -0
- package/adapters/claude/skills/artifact-chain-bootstrap/SKILL.md +29 -21
- package/adapters/claude/templates/core/e2e_test/starter.md +28 -26
- package/adapters/codex/.codex-plugin/plugin.json +1 -1
- package/adapters/codex/EXTENDED-ARTIFACT-CATALOG.md +12 -8
- package/adapters/codex/EXTENDED-ARTIFACT-CATALOG.zh-CN.md +12 -10
- package/adapters/codex/INSTALL.md +39 -17
- package/adapters/codex/agent-methods/catalog.yaml +1 -1
- package/adapters/codex/compatibility.json +4 -4
- package/adapters/codex/family-apis/catalog.json +1 -1
- package/adapters/codex/scripts/batch-merge.mjs +2 -1
- package/adapters/codex/scripts/batch-split.mjs +2 -1
- package/adapters/codex/scripts/check-workflow-profile.mjs +2 -1
- package/adapters/codex/scripts/lib/adoption-readiness.mjs +219 -32
- package/adapters/codex/scripts/lib/artifact-graph-runtime.mjs +70 -0
- package/adapters/codex/skills/artifact-chain-bootstrap/SKILL.md +29 -21
- package/adapters/codex/templates/core/e2e_test/starter.md +28 -26
- package/adapters/kimi/.kimi-plugin/plugin.json +1 -1
- package/adapters/kimi/EXTENDED-ARTIFACT-CATALOG.md +12 -8
- package/adapters/kimi/EXTENDED-ARTIFACT-CATALOG.zh-CN.md +12 -10
- package/adapters/kimi/INSTALL.md +39 -17
- package/adapters/kimi/agent-methods/catalog.yaml +1 -1
- package/adapters/kimi/compatibility.json +4 -4
- package/adapters/kimi/family-apis/catalog.json +1 -1
- package/adapters/kimi/scripts/batch-merge.mjs +2 -1
- package/adapters/kimi/scripts/batch-split.mjs +2 -1
- package/adapters/kimi/scripts/check-workflow-profile.mjs +2 -1
- package/adapters/kimi/scripts/lib/adoption-readiness.mjs +219 -32
- package/adapters/kimi/scripts/lib/artifact-graph-runtime.mjs +70 -0
- package/adapters/kimi/skills/artifact-chain-bootstrap/SKILL.md +29 -21
- package/adapters/kimi/templates/core/e2e_test/starter.md +28 -26
- package/agent-methods/catalog.yaml +1 -1
- package/compatibility.json +4 -4
- package/family-apis/catalog.json +1 -1
- package/package.json +2 -2
- package/scripts/batch-merge.mjs +2 -1
- package/scripts/batch-split.mjs +2 -1
- package/scripts/check-workflow-profile.mjs +2 -1
- package/scripts/lib/adoption-readiness.mjs +219 -32
- package/scripts/lib/artifact-graph-runtime.mjs +70 -0
- package/site/00-matrix.html +1 -1
- package/site/01-what.html +1 -1
- package/site/02-architecture.html +1 -1
- package/site/03-concepts.html +1 -1
- package/site/04-cli.html +1 -1
- package/site/05-scenarios.html +13 -12
- package/site/06-method-registry.html +1 -1
- package/site/07-glossary.html +1 -1
- package/site/08-maintainer.html +1 -1
- package/site/09-troubleshoot.html +2 -2
- package/site/10-roadmap.html +1 -1
- package/site/index.html +2 -2
- package/skills/artifact-chain-bootstrap/SKILL.md +29 -21
- package/skills-src/artifact-chain-bootstrap/SKILL.md +29 -21
- package/templates/core/e2e_test/starter.md +28 -26
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "artifact-chain-assistant",
|
|
3
3
|
"displayName": "Artifact Chain Assistant",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.15.0",
|
|
5
5
|
"description": "Artifact-chain intake, review/repair/batch/audit workflows, diagnostics, and version-lock maintenance helpers.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "广州市风荷科技有限公司"
|
package/.kimi-plugin/plugin.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.15.0
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- The assistant reads the Graph package list at `artifact-graph/project-artifact-profiles` through the existing runtime. The readiness report includes `candidate_types` (common minimum, category standard, stage, capability, and project extras), `missing_standard_types` (unadopted common or skill-plugin standard types, kept separate from `gaps`), and `profile_contract` (whether the list loaded with `schema_version` `1.0`). `profile_contract` is read-compatibility status, not template or method readiness. If the list is missing or `schema_version` is not `1.0`, list-dependent recommendations pause and no copied STAGE/SHAPE table is used. Extra types already in project config or method bindings remain.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Plugin and Graph install coordinates are unified at `0.15.0`. Compatibility metadata, README, and INSTALL pin `artifact-graph@0.15.0`.
|
|
14
|
+
|
|
15
|
+
## 0.14.2
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- Resolve `design-spec` profiles as the `design` artifact type. Preserve each action's existing method precedence: use the configured `design` key first, then fall back to its associated `design-spec` profile alias if the key is missing; a missing method still reports `NEEDS_INPUT`.
|
|
20
|
+
- Derive `artifact-chain-assistant` and `artifact-graph` release coordinates from their respective package versions. The assistant-only 0.14.2 update retains the verified Graph 0.14.1 dependency and installation coordinates; version-field and adapter drift continue to fail checks.
|
|
21
|
+
|
|
5
22
|
## 0.14.1
|
|
6
23
|
|
|
7
24
|
### Changed
|
|
@@ -14,8 +14,8 @@ plugin README and INSTALL.md. This document covers opt-in types beyond the core
|
|
|
14
14
|
|
|
15
15
|
| Layer | Scope | Responsibility for Extended Types |
|
|
16
16
|
| --- | --- | --- |
|
|
17
|
-
| **artifact-graph** | Deterministic graph capabilities | Reads type definitions from config; indexes artifacts; provides context/packet/validate.
|
|
18
|
-
| **artifact-chain-assistant** | General assistant guidance |
|
|
17
|
+
| **artifact-graph** | Deterministic graph capabilities, plus the published common-minimum and project-type standard lists at `artifact-graph/project-artifact-profiles` | Reads type definitions from config; indexes artifacts; provides context/packet/validate. Ships recommendation lists only; it does **not** auto-enable types or ship default paths or ID patterns for extended types. Types without configured paths are not indexed. |
|
|
18
|
+
| **artifact-chain-assistant** | General assistant guidance | Reads the Graph lists, then provides starter templates, adoption-readiness checks, and generic review checklists. **Templates are guidance, not authority.** The assistant does not keep a second list source of truth. Project-local templates and review skills override plugin suggestions. |
|
|
19
19
|
| **Target project** | Final working method | Decides which extended types to enable; maintains config, local templates, review skills, and ID rules. **Project-local overrides plugin suggestions.** Enables new types progressively as maturity grows. |
|
|
20
20
|
|
|
21
21
|
## Extended Artifact Type Catalog
|
|
@@ -90,15 +90,19 @@ has corresponding files or processes.
|
|
|
90
90
|
## Bootstrap Trimming Strategy
|
|
91
91
|
|
|
92
92
|
Bootstrap selects a **minimum viable profile** rather than enabling all known types.
|
|
93
|
+
The published lists are `artifact-graph/project-artifact-profiles`. Reading them does not enable types.
|
|
93
94
|
|
|
94
95
|
Rules:
|
|
95
96
|
|
|
96
|
-
1. **
|
|
97
|
-
2. **
|
|
98
|
-
3. **
|
|
99
|
-
4. **
|
|
100
|
-
5. **
|
|
101
|
-
6. **
|
|
97
|
+
1. **Common minimum is visible, not auto-enabled**: `feature`, `scenario`, `design`. Missing items stay visible until the project adopts them.
|
|
98
|
+
2. **Only `skill-plugin` has an approved category standard**: it adds `agent_skill` and `e2e_test` on top of the common minimum. Other shapes use the common minimum plus matching stage and capability candidates.
|
|
99
|
+
3. **Stage items stay candidates**: `requirement`, `spec`, and `decision` appear for matching adoption stages and are enabled only by config, profile, or explicit selection.
|
|
100
|
+
4. **Contracts by evidence**: Enable `cli_contract`, `api_contract`, `ui_contract`, `ipc_contract`, or `data_contract` only when the project has corresponding interface files.
|
|
101
|
+
5. **Domain/data by project shape**: Enterprise Java/DDD projects may enable `domain_model`; projects with databases may enable `database_migration`.
|
|
102
|
+
6. **Ops by operational process**: Enable only when the project has deployment configs, security review processes, or operational manuals.
|
|
103
|
+
7. **Agent/hook by local files**: `hook_policy` and `prompt_packet` remain capability candidates for `skill-plugin`; enable them only when the project has `skills/`, `policies/`, or hook config files.
|
|
104
|
+
8. **Release by duty**: Enable `release_policy` and related types only when the project owns publish and distribution.
|
|
105
|
+
9. **Progressive expansion**: As project maturity grows, add new types in `artifact-graph.config.yaml`. Existing extras and traceability relationships are kept.
|
|
102
106
|
|
|
103
107
|
After bootstrap, the enabled types, paths, and ID patterns are recorded in
|
|
104
108
|
`artifact-graph.config.yaml`. Deferred types and their evidence conditions are documented in the
|
|
@@ -15,8 +15,8 @@ INSTALL.md。本文档只介绍核心集合之外的可选类型。
|
|
|
15
15
|
|
|
16
16
|
| 层级 | 权威范围 | 对扩展制品的职责 |
|
|
17
17
|
|------|---------|-----------------|
|
|
18
|
-
| **artifact-graph** |
|
|
19
|
-
| **artifact-chain-assistant** | 通用助手指导 |
|
|
18
|
+
| **artifact-graph** | 确定性图能力,以及随包发布的共同最小清单与项目类型标准(入口 `artifact-graph/project-artifact-profiles`) | 从 config 读取类型定义,索引制品,提供 context/packet/validate。只发布推荐清单,**不自动启用类型,也不内置扩展类型的默认路径或 ID 模式。** 未配置路径的类型不会被索引。 |
|
|
19
|
+
| **artifact-chain-assistant** | 通用助手指导 | 读取 Graph 清单,再提供入门模板、采用就绪检查和通用审查清单。**模板是指导,不是权威。** 助手不另存一份清单真源。项目本地模板和审查技能覆盖插件建议。 |
|
|
20
20
|
| **目标项目** | 最终工作法 | 决定启用哪些扩展类型,维护 config、本地模板、审查技能和 ID 规则。**项目本地覆盖插件建议。** 随成熟度提升逐步启用新类型。 |
|
|
21
21
|
|
|
22
22
|
## 扩展制品类型目录
|
|
@@ -82,17 +82,19 @@ Agent 与 Hook 制品覆盖 AI 辅助工作流和 CI/CD 门禁。项目存在对
|
|
|
82
82
|
|
|
83
83
|
## Bootstrap 裁剪策略
|
|
84
84
|
|
|
85
|
-
bootstrap
|
|
85
|
+
bootstrap 按项目形态选出最小可用 profile,而不是启用所有已知类型。权威清单位于 `artifact-graph/project-artifact-profiles`。读到清单不等于已经启用类型。
|
|
86
86
|
|
|
87
87
|
裁剪规则:
|
|
88
88
|
|
|
89
|
-
1.
|
|
90
|
-
2.
|
|
91
|
-
3.
|
|
92
|
-
4.
|
|
93
|
-
5.
|
|
94
|
-
6.
|
|
95
|
-
7.
|
|
89
|
+
1. **共同最小清单可见,但不自动启用**:`feature`、`scenario`、`design`。尚未采用的项必须仍能看见。
|
|
90
|
+
2. **只有 `skill-plugin` 有获批的类别标准**:在共同最小之上增加 `agent_skill`、`e2e_test`。其余形态按共同最小集,再加匹配的阶段项和能力项。
|
|
91
|
+
3. **阶段项保持候选**:`requirement`、`spec`、`decision` 只在对应采用阶段出现,且须有配置、profile 或明确选择才会启用。
|
|
92
|
+
4. **契约类按证据加入**:项目本地存在对应的接口文件才启用 `cli_contract`、`api_contract`、`ui_contract`、`ipc_contract` 或 `data_contract`。
|
|
93
|
+
5. **领域与数据类按项目形态加入**:企业 Java/DDD 项目可启用 `domain_model`;使用数据库的项目可启用 `database_migration`。
|
|
94
|
+
6. **运维类按运维流程加入**:项目有部署配置、安全审查流程或运维手册,才启用对应类型。
|
|
95
|
+
7. **Agent/Hook 类按本地文件加入**:`hook_policy`、`prompt_packet` 仍是 `skill-plugin` 的能力候选;项目存在对应文件才启用。
|
|
96
|
+
8. **发布治理类按职责加入**:项目承担发布与分发时,才启用 `release_policy`、`publish_skill`、`oss_compliance`。
|
|
97
|
+
9. **渐进扩展**:可按需在 `artifact-graph.config.yaml` 中新增类型;已有追加项和追溯关系予以保留。
|
|
96
98
|
|
|
97
99
|
bootstrap 执行后,启用的类型、路径和 ID 模式记录在 `artifact-graph.config.yaml` 中;延后启用的
|
|
98
100
|
类型及其证据条件记录在项目制品目录中,让日后的扩展有据可查。
|
package/INSTALL.md
CHANGED
|
@@ -15,7 +15,7 @@ instructions.
|
|
|
15
15
|
## Prerequisites
|
|
16
16
|
|
|
17
17
|
- Node.js `>=22.22.2 <23`.
|
|
18
|
-
- `artifact-graph` 0.
|
|
18
|
+
- `artifact-graph` 0.15.0 installed in the target project.
|
|
19
19
|
- **GitHub SSH key** — Claude Code clones `source: github` entries over SSH by default. If you
|
|
20
20
|
have not configured a GitHub SSH key, set `CLAUDE_CODE_PLUGIN_PREFER_HTTPS=1` in your shell
|
|
21
21
|
profile, or add the marketplace with an explicit `https://` URL. Codex users can check
|
|
@@ -27,24 +27,24 @@ instructions.
|
|
|
27
27
|
|
|
28
28
|
| Plugin | Verified Runtime | Install |
|
|
29
29
|
| --- | --- | --- |
|
|
30
|
-
| `artifact-chain-assistant` 0.
|
|
30
|
+
| `artifact-chain-assistant` 0.15.0 | `artifact-graph` 0.15.0 | `pnpm add -D artifact-graph@0.15.0` |
|
|
31
31
|
|
|
32
32
|
### Install The Runtime
|
|
33
33
|
|
|
34
34
|
The default installation path uses the npm registry with a precise version:
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
pnpm add -D artifact-graph@0.
|
|
37
|
+
pnpm add -D artifact-graph@0.15.0
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
If the npm registry is unavailable, use the explicit GitHub fallback pinned to the verified tag:
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
pnpm add -D github:ifoohoo/artifact-graph#artifact-graph-v0.
|
|
43
|
+
pnpm add -D github:ifoohoo/artifact-graph#artifact-graph-v0.15.0
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
> **Never** install with an unlocked range (`artifact-graph`, `artifact-graph@latest`,
|
|
47
|
-
> `artifact-graph@^0.
|
|
47
|
+
> `artifact-graph@^0.15.0`) or an unpinned GitHub URL (`github:ifoohoo/artifact-graph`).
|
|
48
48
|
> Unlocked installs produce non-reproducible dependency trees and break version-lock audit.
|
|
49
49
|
|
|
50
50
|
With pnpm 10+, projects that install `artifact-graph` must allow the native `better-sqlite3`
|
|
@@ -71,7 +71,7 @@ allowBuilds:
|
|
|
71
71
|
|
|
72
72
|
The plugin's `doctor` command validates the installed runtime version before running any
|
|
73
73
|
diagnostic. If it detects a version mismatch or missing CLI, it reports the exact remediation
|
|
74
|
-
command (`pnpm add -D artifact-graph@0.
|
|
74
|
+
command (`pnpm add -D artifact-graph@0.15.0`) and exits non-zero.
|
|
75
75
|
|
|
76
76
|
### CLI Resolution Order
|
|
77
77
|
|
|
@@ -156,7 +156,7 @@ wrappers, and Stop-hook guardrail. These assistant controls do not replace Git h
|
|
|
156
156
|
|
|
157
157
|
> **Marketplace note**: `ifoohoo/artifact-skill-set` is an external independent marketplace. The
|
|
158
158
|
> plugin payload is still published from `ifoohoo/artifact-chain-assistant`. The marketplace entry
|
|
159
|
-
> must publish and enable `artifact-chain-assistant` 0.
|
|
159
|
+
> must publish and enable `artifact-chain-assistant` 0.15.0 before the install commands above will
|
|
160
160
|
> succeed.
|
|
161
161
|
|
|
162
162
|
### Kimi Code
|
|
@@ -303,7 +303,7 @@ The plugin should not move these files into the plugin repository.
|
|
|
303
303
|
|
|
304
304
|
For a first-time setup, the end-to-end sequence is:
|
|
305
305
|
|
|
306
|
-
1. **Install the CLI** — `pnpm add -D artifact-graph@0.
|
|
306
|
+
1. **Install the CLI** — `pnpm add -D artifact-graph@0.15.0` (see Prerequisites above). The
|
|
307
307
|
`artifact-chain-setup` skill can run this and the other mechanical install steps for you
|
|
308
308
|
after showing a plan and getting your confirmation.
|
|
309
309
|
2. **Install the plugin** — follow the Codex or Claude Code section above.
|
|
@@ -954,13 +954,35 @@ node "$PLUGIN_ROOT/scripts/check-workflow-profile.mjs" \
|
|
|
954
954
|
--format json
|
|
955
955
|
```
|
|
956
956
|
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
957
|
+
The assistant reads the list from the resolved Graph package at `artifact-graph/project-artifact-profiles`.
|
|
958
|
+
It does not keep a second copy. Shape and stage suggestions are not proof the project has that
|
|
959
|
+
capability.
|
|
960
|
+
|
|
961
|
+
`candidate_types` lists common minimum, category standard, stage, capability, and project extras.
|
|
962
|
+
Each item has `applicability` and `enabled`. `enabled` is true only with the effective
|
|
963
|
+
`artifact-graph.config.yaml`, an existing workflow profile, or explicit `--types` selection.
|
|
964
|
+
Stage and capability items are not auto-enabled. The common minimum is `feature`, `scenario`, and
|
|
965
|
+
`design`. Only `skill-plugin` adds `agent_skill` and `e2e_test`. Project configuration owns adoption
|
|
966
|
+
and keeps extra types already present in config or method bindings.
|
|
967
|
+
|
|
968
|
+
`missing_standard_types` lists unadopted common-minimum or skill-plugin standard types. A successful
|
|
969
|
+
list read is not adoption. This field is separate from `gaps`.
|
|
970
|
+
|
|
971
|
+
`gaps` lists effective-config failures and missing type declarations, ID patterns, artifact paths or
|
|
972
|
+
directories, starter templates, or executable generate/review methods for enabled types. Candidate-only entries are not readiness gaps. A readable list does not hide missing
|
|
973
|
+
templates or methods.
|
|
974
|
+
|
|
975
|
+
`profile_contract` reports whether the published list loaded and whether `schema_version` is `1.0`.
|
|
976
|
+
Status `OK` is read-compatibility. It is not `registration.ready`, template readiness, or method
|
|
977
|
+
readiness. If the export is missing (`profiles_export_missing`) or `schema_version` is not `1.0`
|
|
978
|
+
(`profiles_schema_incompatible`), pause only list-dependent recommendations. Do not fall back to a
|
|
979
|
+
copied STAGE/SHAPE table. Extra types already in project config or method bindings remain.
|
|
980
|
+
|
|
981
|
+
The checker loads the effective graph config through the artifact-graph runtime and does not maintain
|
|
982
|
+
a second YAML interpretation. For enabled types, the report checks registration, starter templates,
|
|
983
|
+
and generate/review methods separately. Requirement and SPEC generation can report `bundled-skill`;
|
|
984
|
+
its presence never implies that review is ready. A review method must be configured in the workflow
|
|
985
|
+
profile.
|
|
964
986
|
|
|
965
987
|
### Requirement pool and iteration SPEC
|
|
966
988
|
|
|
@@ -1346,7 +1368,7 @@ with append-only behavior; it does not overwrite local rules.
|
|
|
1346
1368
|
### Recovery Steps
|
|
1347
1369
|
|
|
1348
1370
|
```bash
|
|
1349
|
-
# 1. Install dependencies from lockfile (gets artifact-graph@0.
|
|
1371
|
+
# 1. Install dependencies from lockfile (gets artifact-graph@0.15.0)
|
|
1350
1372
|
pnpm install --frozen-lockfile
|
|
1351
1373
|
|
|
1352
1374
|
# 2. Install plugin per your host (Codex / Claude Code / Kimi Code)
|
|
@@ -1413,7 +1435,7 @@ pnpm exec artifact-graph hooks install-git --hook all
|
|
|
1413
1435
|
### Enterprise Mirror
|
|
1414
1436
|
|
|
1415
1437
|
If the corporate environment cannot access the public npm registry or GitHub, mirror both
|
|
1416
|
-
`artifact-graph@0.
|
|
1438
|
+
`artifact-graph@0.15.0` and the plugin marketplace repository on an internal registry. The mirror
|
|
1417
1439
|
does not change the state ownership model: Git-tracked files remain authoritative, local caches
|
|
1418
1440
|
remain derived.
|
|
1419
1441
|
|
package/README.md
CHANGED
|
@@ -112,8 +112,12 @@ Project shape and adoption stage produce `candidate_types`; they do not assert t
|
|
|
112
112
|
capability exists. `enabled_types` contains only candidates supported by the effective graph config,
|
|
113
113
|
an existing workflow profile, or explicit `--types` selection. Readiness then checks registration,
|
|
114
114
|
templates, and executable methods separately. The bundled requirement/SPEC skill can satisfy
|
|
115
|
-
generation, while review remains a gap until a review method is actually configured.
|
|
116
|
-
|
|
115
|
+
generation, while review remains a gap until a review method is actually configured. The assistant
|
|
116
|
+
reads the published list from the resolved `artifact-graph` package at
|
|
117
|
+
`artifact-graph/project-artifact-profiles` and does not keep a second copy. Unadopted
|
|
118
|
+
common-minimum or skill-plugin standard types appear in `missing_standard_types`; that field is not
|
|
119
|
+
`gaps`. See [INSTALL.md](INSTALL.md#project-shape-and-stage-readiness) for field meanings and the
|
|
120
|
+
read-only command.
|
|
117
121
|
|
|
118
122
|
### Professional Skill Families
|
|
119
123
|
|
|
@@ -204,13 +208,13 @@ override, compact query, fallback behavior, and `PLUGIN_ROOT` discovery, see
|
|
|
204
208
|
|
|
205
209
|
| Plugin | Runtime | Install |
|
|
206
210
|
| --- | --- | --- |
|
|
207
|
-
| `artifact-chain-assistant` 0.
|
|
211
|
+
| `artifact-chain-assistant` 0.15.0 | `artifact-graph` 0.15.0 | `pnpm add -D artifact-graph@0.15.0` |
|
|
208
212
|
|
|
209
213
|
## Install
|
|
210
214
|
|
|
211
215
|
```bash
|
|
212
216
|
# Runtime (required)
|
|
213
|
-
npm install --save-dev artifact-graph@0.
|
|
217
|
+
npm install --save-dev artifact-graph@0.15.0
|
|
214
218
|
```
|
|
215
219
|
|
|
216
220
|
```bash
|
|
@@ -232,7 +236,7 @@ codex plugin add artifact-chain-assistant@artifact-skill-set
|
|
|
232
236
|
|
|
233
237
|
> **Marketplace note**: `ifoohoo/artifact-skill-set` is an external independent marketplace. The
|
|
234
238
|
> plugin payload is still published from `ifoohoo/artifact-chain-assistant`. The marketplace entry
|
|
235
|
-
> must publish and enable `artifact-chain-assistant` 0.
|
|
239
|
+
> must publish and enable `artifact-chain-assistant` 0.15.0 before the install commands above will
|
|
236
240
|
> succeed.
|
|
237
241
|
|
|
238
242
|
```text
|
|
@@ -261,7 +265,7 @@ For the full installation guide, quick start, Agent prompts, and clone onboardin
|
|
|
261
265
|
|
|
262
266
|
## Quick Start
|
|
263
267
|
|
|
264
|
-
1. Install plugin 0.
|
|
268
|
+
1. Install plugin 0.15.0 (above) and runtime: `pnpm add -D artifact-graph@0.15.0`.
|
|
265
269
|
2. Run `artifact-graph doctor --root . --format json` to verify the runtime.
|
|
266
270
|
3. For first-time setup, use the bootstrap skill.
|
|
267
271
|
4. For daily work, use the maintainer skill.
|
package/README.zh-CN.md
CHANGED
|
@@ -91,7 +91,9 @@ Audit 定义技能族制品规范,助手帮助项目采用适用的类型、
|
|
|
91
91
|
项目形态与采用阶段只生成 `candidate_types`,不证明每项候选能力都已存在。`enabled_types`
|
|
92
92
|
只包含有效图配置、已有 workflow profile 或 `--types` 显式选择支持的候选。随后分别检查
|
|
93
93
|
类型登记、模板与可执行方法。插件自带的需求/SPEC 技能可以满足制作入口;没有实际配置审阅方法时,
|
|
94
|
-
review
|
|
94
|
+
review 仍报告缺口。助手从已解析的 `artifact-graph` 包读取公开清单,入口是
|
|
95
|
+
`artifact-graph/project-artifact-profiles`,不另存一份真源。尚未采用的共同最小或技能族标准项
|
|
96
|
+
记在 `missing_standard_types`,该字段不是 `gaps`。完整解释见[安装说明](INSTALL.md#project-shape-and-stage-readiness)。
|
|
95
97
|
|
|
96
98
|
### 项目形态分类
|
|
97
99
|
|
|
@@ -236,13 +238,13 @@ catalog 还包含 `artifact.generate`,用于从模板和 profile 配置生成
|
|
|
236
238
|
|
|
237
239
|
| 插件 | 运行时 | 安装 |
|
|
238
240
|
| --- | --- | --- |
|
|
239
|
-
| `artifact-chain-assistant` 0.
|
|
241
|
+
| `artifact-chain-assistant` 0.15.0 | `artifact-graph` 0.15.0 | `pnpm add -D artifact-graph@0.15.0` |
|
|
240
242
|
|
|
241
243
|
## 安装
|
|
242
244
|
|
|
243
245
|
```bash
|
|
244
246
|
# 运行时(必需)
|
|
245
|
-
npm install --save-dev artifact-graph@0.
|
|
247
|
+
npm install --save-dev artifact-graph@0.15.0
|
|
246
248
|
```
|
|
247
249
|
|
|
248
250
|
```bash
|
|
@@ -264,7 +266,7 @@ codex plugin add artifact-chain-assistant@artifact-skill-set
|
|
|
264
266
|
|
|
265
267
|
> **市场说明**:`ifoohoo/artifact-skill-set` 是外部独立市场,插件载荷仍由
|
|
266
268
|
> `ifoohoo/artifact-chain-assistant` 发布。市场条目必须先发布并启用
|
|
267
|
-
> `artifact-chain-assistant` 0.
|
|
269
|
+
> `artifact-chain-assistant` 0.15.0,上述安装命令才能生效。
|
|
268
270
|
|
|
269
271
|
```text
|
|
270
272
|
# Kimi Code 插件(交互式,user 作用域)
|
|
@@ -291,7 +293,7 @@ Qoder 当前承诺的边界是技能安装与发现;不提供 Claude Code 的
|
|
|
291
293
|
|
|
292
294
|
## 快速开始
|
|
293
295
|
|
|
294
|
-
1. 安装插件 0.
|
|
296
|
+
1. 安装插件 0.15.0(见上文)和运行时:`pnpm add -D artifact-graph@0.15.0`。
|
|
295
297
|
2. 运行 `artifact-graph doctor --root . --format json` 验证运行时。
|
|
296
298
|
3. 首次搭建,进入 bootstrap 技能。
|
|
297
299
|
4. 日常工作,进入 maintainer 技能。
|
|
@@ -14,8 +14,8 @@ plugin README and INSTALL.md. This document covers opt-in types beyond the core
|
|
|
14
14
|
|
|
15
15
|
| Layer | Scope | Responsibility for Extended Types |
|
|
16
16
|
| --- | --- | --- |
|
|
17
|
-
| **artifact-graph** | Deterministic graph capabilities | Reads type definitions from config; indexes artifacts; provides context/packet/validate.
|
|
18
|
-
| **artifact-chain-assistant** | General assistant guidance |
|
|
17
|
+
| **artifact-graph** | Deterministic graph capabilities, plus the published common-minimum and project-type standard lists at `artifact-graph/project-artifact-profiles` | Reads type definitions from config; indexes artifacts; provides context/packet/validate. Ships recommendation lists only; it does **not** auto-enable types or ship default paths or ID patterns for extended types. Types without configured paths are not indexed. |
|
|
18
|
+
| **artifact-chain-assistant** | General assistant guidance | Reads the Graph lists, then provides starter templates, adoption-readiness checks, and generic review checklists. **Templates are guidance, not authority.** The assistant does not keep a second list source of truth. Project-local templates and review skills override plugin suggestions. |
|
|
19
19
|
| **Target project** | Final working method | Decides which extended types to enable; maintains config, local templates, review skills, and ID rules. **Project-local overrides plugin suggestions.** Enables new types progressively as maturity grows. |
|
|
20
20
|
|
|
21
21
|
## Extended Artifact Type Catalog
|
|
@@ -90,15 +90,19 @@ has corresponding files or processes.
|
|
|
90
90
|
## Bootstrap Trimming Strategy
|
|
91
91
|
|
|
92
92
|
Bootstrap selects a **minimum viable profile** rather than enabling all known types.
|
|
93
|
+
The published lists are `artifact-graph/project-artifact-profiles`. Reading them does not enable types.
|
|
93
94
|
|
|
94
95
|
Rules:
|
|
95
96
|
|
|
96
|
-
1. **
|
|
97
|
-
2. **
|
|
98
|
-
3. **
|
|
99
|
-
4. **
|
|
100
|
-
5. **
|
|
101
|
-
6. **
|
|
97
|
+
1. **Common minimum is visible, not auto-enabled**: `feature`, `scenario`, `design`. Missing items stay visible until the project adopts them.
|
|
98
|
+
2. **Only `skill-plugin` has an approved category standard**: it adds `agent_skill` and `e2e_test` on top of the common minimum. Other shapes use the common minimum plus matching stage and capability candidates.
|
|
99
|
+
3. **Stage items stay candidates**: `requirement`, `spec`, and `decision` appear for matching adoption stages and are enabled only by config, profile, or explicit selection.
|
|
100
|
+
4. **Contracts by evidence**: Enable `cli_contract`, `api_contract`, `ui_contract`, `ipc_contract`, or `data_contract` only when the project has corresponding interface files.
|
|
101
|
+
5. **Domain/data by project shape**: Enterprise Java/DDD projects may enable `domain_model`; projects with databases may enable `database_migration`.
|
|
102
|
+
6. **Ops by operational process**: Enable only when the project has deployment configs, security review processes, or operational manuals.
|
|
103
|
+
7. **Agent/hook by local files**: `hook_policy` and `prompt_packet` remain capability candidates for `skill-plugin`; enable them only when the project has `skills/`, `policies/`, or hook config files.
|
|
104
|
+
8. **Release by duty**: Enable `release_policy` and related types only when the project owns publish and distribution.
|
|
105
|
+
9. **Progressive expansion**: As project maturity grows, add new types in `artifact-graph.config.yaml`. Existing extras and traceability relationships are kept.
|
|
102
106
|
|
|
103
107
|
After bootstrap, the enabled types, paths, and ID patterns are recorded in
|
|
104
108
|
`artifact-graph.config.yaml`. Deferred types and their evidence conditions are documented in the
|
|
@@ -15,8 +15,8 @@ INSTALL.md。本文档只介绍核心集合之外的可选类型。
|
|
|
15
15
|
|
|
16
16
|
| 层级 | 权威范围 | 对扩展制品的职责 |
|
|
17
17
|
|------|---------|-----------------|
|
|
18
|
-
| **artifact-graph** |
|
|
19
|
-
| **artifact-chain-assistant** | 通用助手指导 |
|
|
18
|
+
| **artifact-graph** | 确定性图能力,以及随包发布的共同最小清单与项目类型标准(入口 `artifact-graph/project-artifact-profiles`) | 从 config 读取类型定义,索引制品,提供 context/packet/validate。只发布推荐清单,**不自动启用类型,也不内置扩展类型的默认路径或 ID 模式。** 未配置路径的类型不会被索引。 |
|
|
19
|
+
| **artifact-chain-assistant** | 通用助手指导 | 读取 Graph 清单,再提供入门模板、采用就绪检查和通用审查清单。**模板是指导,不是权威。** 助手不另存一份清单真源。项目本地模板和审查技能覆盖插件建议。 |
|
|
20
20
|
| **目标项目** | 最终工作法 | 决定启用哪些扩展类型,维护 config、本地模板、审查技能和 ID 规则。**项目本地覆盖插件建议。** 随成熟度提升逐步启用新类型。 |
|
|
21
21
|
|
|
22
22
|
## 扩展制品类型目录
|
|
@@ -82,17 +82,19 @@ Agent 与 Hook 制品覆盖 AI 辅助工作流和 CI/CD 门禁。项目存在对
|
|
|
82
82
|
|
|
83
83
|
## Bootstrap 裁剪策略
|
|
84
84
|
|
|
85
|
-
bootstrap
|
|
85
|
+
bootstrap 按项目形态选出最小可用 profile,而不是启用所有已知类型。权威清单位于 `artifact-graph/project-artifact-profiles`。读到清单不等于已经启用类型。
|
|
86
86
|
|
|
87
87
|
裁剪规则:
|
|
88
88
|
|
|
89
|
-
1.
|
|
90
|
-
2.
|
|
91
|
-
3.
|
|
92
|
-
4.
|
|
93
|
-
5.
|
|
94
|
-
6.
|
|
95
|
-
7.
|
|
89
|
+
1. **共同最小清单可见,但不自动启用**:`feature`、`scenario`、`design`。尚未采用的项必须仍能看见。
|
|
90
|
+
2. **只有 `skill-plugin` 有获批的类别标准**:在共同最小之上增加 `agent_skill`、`e2e_test`。其余形态按共同最小集,再加匹配的阶段项和能力项。
|
|
91
|
+
3. **阶段项保持候选**:`requirement`、`spec`、`decision` 只在对应采用阶段出现,且须有配置、profile 或明确选择才会启用。
|
|
92
|
+
4. **契约类按证据加入**:项目本地存在对应的接口文件才启用 `cli_contract`、`api_contract`、`ui_contract`、`ipc_contract` 或 `data_contract`。
|
|
93
|
+
5. **领域与数据类按项目形态加入**:企业 Java/DDD 项目可启用 `domain_model`;使用数据库的项目可启用 `database_migration`。
|
|
94
|
+
6. **运维类按运维流程加入**:项目有部署配置、安全审查流程或运维手册,才启用对应类型。
|
|
95
|
+
7. **Agent/Hook 类按本地文件加入**:`hook_policy`、`prompt_packet` 仍是 `skill-plugin` 的能力候选;项目存在对应文件才启用。
|
|
96
|
+
8. **发布治理类按职责加入**:项目承担发布与分发时,才启用 `release_policy`、`publish_skill`、`oss_compliance`。
|
|
97
|
+
9. **渐进扩展**:可按需在 `artifact-graph.config.yaml` 中新增类型;已有追加项和追溯关系予以保留。
|
|
96
98
|
|
|
97
99
|
bootstrap 执行后,启用的类型、路径和 ID 模式记录在 `artifact-graph.config.yaml` 中;延后启用的
|
|
98
100
|
类型及其证据条件记录在项目制品目录中,让日后的扩展有据可查。
|
|
@@ -18,7 +18,7 @@ instructions.
|
|
|
18
18
|
## Prerequisites
|
|
19
19
|
|
|
20
20
|
- Node.js `>=22.22.2 <23`.
|
|
21
|
-
- `artifact-graph` 0.
|
|
21
|
+
- `artifact-graph` 0.15.0 installed in the target project.
|
|
22
22
|
- **GitHub SSH key** — Claude Code clones `source: github` entries over SSH by default. If you
|
|
23
23
|
have not configured a GitHub SSH key, set `CLAUDE_CODE_PLUGIN_PREFER_HTTPS=1` in your shell
|
|
24
24
|
profile, or add the marketplace with an explicit `https://` URL. Codex users can check
|
|
@@ -30,24 +30,24 @@ instructions.
|
|
|
30
30
|
|
|
31
31
|
| Plugin | Verified Runtime | Install |
|
|
32
32
|
| --- | --- | --- |
|
|
33
|
-
| `artifact-chain-assistant` 0.
|
|
33
|
+
| `artifact-chain-assistant` 0.15.0 | `artifact-graph` 0.15.0 | `pnpm add -D artifact-graph@0.15.0` |
|
|
34
34
|
|
|
35
35
|
### Install The Runtime
|
|
36
36
|
|
|
37
37
|
The default installation path uses the npm registry with a precise version:
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
pnpm add -D artifact-graph@0.
|
|
40
|
+
pnpm add -D artifact-graph@0.15.0
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
If the npm registry is unavailable, use the explicit GitHub fallback pinned to the verified tag:
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
pnpm add -D github:ifoohoo/artifact-graph#artifact-graph-v0.
|
|
46
|
+
pnpm add -D github:ifoohoo/artifact-graph#artifact-graph-v0.15.0
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
> **Never** install with an unlocked range (`artifact-graph`, `artifact-graph@latest`,
|
|
50
|
-
> `artifact-graph@^0.
|
|
50
|
+
> `artifact-graph@^0.15.0`) or an unpinned GitHub URL (`github:ifoohoo/artifact-graph`).
|
|
51
51
|
> Unlocked installs produce non-reproducible dependency trees and break version-lock audit.
|
|
52
52
|
|
|
53
53
|
With pnpm 10+, projects that install `artifact-graph` must allow the native `better-sqlite3`
|
|
@@ -74,7 +74,7 @@ allowBuilds:
|
|
|
74
74
|
|
|
75
75
|
The plugin's `doctor` command validates the installed runtime version before running any
|
|
76
76
|
diagnostic. If it detects a version mismatch or missing CLI, it reports the exact remediation
|
|
77
|
-
command (`pnpm add -D artifact-graph@0.
|
|
77
|
+
command (`pnpm add -D artifact-graph@0.15.0`) and exits non-zero.
|
|
78
78
|
|
|
79
79
|
### CLI Resolution Order
|
|
80
80
|
|
|
@@ -159,7 +159,7 @@ wrappers, and Stop-hook guardrail. These assistant controls do not replace Git h
|
|
|
159
159
|
|
|
160
160
|
> **Marketplace note**: `ifoohoo/artifact-skill-set` is an external independent marketplace. The
|
|
161
161
|
> plugin payload is still published from `ifoohoo/artifact-chain-assistant`. The marketplace entry
|
|
162
|
-
> must publish and enable `artifact-chain-assistant` 0.
|
|
162
|
+
> must publish and enable `artifact-chain-assistant` 0.15.0 before the install commands above will
|
|
163
163
|
> succeed.
|
|
164
164
|
|
|
165
165
|
### Kimi Code
|
|
@@ -306,7 +306,7 @@ The plugin should not move these files into the plugin repository.
|
|
|
306
306
|
|
|
307
307
|
For a first-time setup, the end-to-end sequence is:
|
|
308
308
|
|
|
309
|
-
1. **Install the CLI** — `pnpm add -D artifact-graph@0.
|
|
309
|
+
1. **Install the CLI** — `pnpm add -D artifact-graph@0.15.0` (see Prerequisites above). The
|
|
310
310
|
`artifact-chain-setup` skill can run this and the other mechanical install steps for you
|
|
311
311
|
after showing a plan and getting your confirmation.
|
|
312
312
|
2. **Install the plugin** — follow the Codex or Claude Code section above.
|
|
@@ -957,13 +957,35 @@ node "$PLUGIN_ROOT/scripts/check-workflow-profile.mjs" \
|
|
|
957
957
|
--format json
|
|
958
958
|
```
|
|
959
959
|
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
960
|
+
The assistant reads the list from the resolved Graph package at `artifact-graph/project-artifact-profiles`.
|
|
961
|
+
It does not keep a second copy. Shape and stage suggestions are not proof the project has that
|
|
962
|
+
capability.
|
|
963
|
+
|
|
964
|
+
`candidate_types` lists common minimum, category standard, stage, capability, and project extras.
|
|
965
|
+
Each item has `applicability` and `enabled`. `enabled` is true only with the effective
|
|
966
|
+
`artifact-graph.config.yaml`, an existing workflow profile, or explicit `--types` selection.
|
|
967
|
+
Stage and capability items are not auto-enabled. The common minimum is `feature`, `scenario`, and
|
|
968
|
+
`design`. Only `skill-plugin` adds `agent_skill` and `e2e_test`. Project configuration owns adoption
|
|
969
|
+
and keeps extra types already present in config or method bindings.
|
|
970
|
+
|
|
971
|
+
`missing_standard_types` lists unadopted common-minimum or skill-plugin standard types. A successful
|
|
972
|
+
list read is not adoption. This field is separate from `gaps`.
|
|
973
|
+
|
|
974
|
+
`gaps` lists effective-config failures and missing type declarations, ID patterns, artifact paths or
|
|
975
|
+
directories, starter templates, or executable generate/review methods for enabled types. Candidate-only entries are not readiness gaps. A readable list does not hide missing
|
|
976
|
+
templates or methods.
|
|
977
|
+
|
|
978
|
+
`profile_contract` reports whether the published list loaded and whether `schema_version` is `1.0`.
|
|
979
|
+
Status `OK` is read-compatibility. It is not `registration.ready`, template readiness, or method
|
|
980
|
+
readiness. If the export is missing (`profiles_export_missing`) or `schema_version` is not `1.0`
|
|
981
|
+
(`profiles_schema_incompatible`), pause only list-dependent recommendations. Do not fall back to a
|
|
982
|
+
copied STAGE/SHAPE table. Extra types already in project config or method bindings remain.
|
|
983
|
+
|
|
984
|
+
The checker loads the effective graph config through the artifact-graph runtime and does not maintain
|
|
985
|
+
a second YAML interpretation. For enabled types, the report checks registration, starter templates,
|
|
986
|
+
and generate/review methods separately. Requirement and SPEC generation can report `bundled-skill`;
|
|
987
|
+
its presence never implies that review is ready. A review method must be configured in the workflow
|
|
988
|
+
profile.
|
|
967
989
|
|
|
968
990
|
### Requirement pool and iteration SPEC
|
|
969
991
|
|
|
@@ -1349,7 +1371,7 @@ with append-only behavior; it does not overwrite local rules.
|
|
|
1349
1371
|
### Recovery Steps
|
|
1350
1372
|
|
|
1351
1373
|
```bash
|
|
1352
|
-
# 1. Install dependencies from lockfile (gets artifact-graph@0.
|
|
1374
|
+
# 1. Install dependencies from lockfile (gets artifact-graph@0.15.0)
|
|
1353
1375
|
pnpm install --frozen-lockfile
|
|
1354
1376
|
|
|
1355
1377
|
# 2. Install plugin per your host (Codex / Claude Code / Kimi Code)
|
|
@@ -1416,7 +1438,7 @@ pnpm exec artifact-graph hooks install-git --hook all
|
|
|
1416
1438
|
### Enterprise Mirror
|
|
1417
1439
|
|
|
1418
1440
|
If the corporate environment cannot access the public npm registry or GitHub, mirror both
|
|
1419
|
-
`artifact-graph@0.
|
|
1441
|
+
`artifact-graph@0.15.0` and the plugin marketplace repository on an internal registry. The mirror
|
|
1420
1442
|
does not change the state ownership model: Git-tracked files remain authoritative, local caches
|
|
1421
1443
|
remain derived.
|
|
1422
1444
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0",
|
|
3
|
-
"pluginVersion": "0.
|
|
3
|
+
"pluginVersion": "0.15.0",
|
|
4
4
|
"artifactGraph": {
|
|
5
|
-
"verifiedVersion": "0.
|
|
6
|
-
"installSpec": "artifact-graph@0.
|
|
7
|
-
"githubFallbackSpec": "github:ifoohoo/artifact-graph#artifact-graph-v0.
|
|
5
|
+
"verifiedVersion": "0.15.0",
|
|
6
|
+
"installSpec": "artifact-graph@0.15.0",
|
|
7
|
+
"githubFallbackSpec": "github:ifoohoo/artifact-graph#artifact-graph-v0.15.0"
|
|
8
8
|
}
|
|
9
9
|
}
|