artifact-chain-assistant 0.9.4 → 0.11.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/AGENT-METHOD-REGISTRY.md +1 -1
- package/AGENT-METHOD-REGISTRY.zh-CN.md +1 -1
- package/CHANGELOG.md +69 -0
- package/INSTALL.md +269 -48
- package/README.md +30 -15
- package/README.zh-CN.md +29 -13
- package/adapters/claude/.claude-plugin/plugin.json +1 -1
- package/adapters/claude/INSTALL.md +269 -48
- package/adapters/claude/agent-methods/catalog.yaml +9 -8
- package/adapters/claude/compatibility.json +4 -4
- package/adapters/claude/family-apis/catalog.json +1 -1
- package/adapters/claude/scripts/check-workflow-profile.mjs +29 -9
- package/adapters/claude/scripts/family-help-render.mjs +18 -3
- package/adapters/claude/scripts/lib/adoption-readiness.mjs +232 -0
- package/adapters/claude/scripts/lib/artifact-graph-runtime.mjs +21 -0
- package/adapters/claude/scripts/lib/entry-discovery.mjs +141 -0
- package/adapters/claude/scripts/requirement-state-check.mjs +95 -0
- package/adapters/claude/scripts/setup-checks.mjs +270 -0
- package/adapters/claude/skills/artifact-chain-bootstrap/SKILL.md +103 -4
- package/adapters/claude/skills/{help → artifact-chain-help}/SKILL.md +30 -6
- package/adapters/claude/skills/artifact-chain-maintainer/SKILL.md +2 -2
- package/adapters/claude/skills/artifact-chain-quickstart/SKILL.md +189 -0
- package/adapters/claude/skills/artifact-chain-requirements/SKILL.md +116 -0
- package/adapters/claude/skills/artifact-chain-setup/SKILL.md +224 -0
- package/adapters/claude/skills/artifact-chain-where-am-i/SKILL.md +119 -0
- package/adapters/claude/skills/prd-feature/SKILL.md +2 -0
- package/adapters/claude/skills/prd-feature/author/SKILL.md +3 -3
- package/adapters/claude/skills/prd-feature/review/SKILL.md +3 -1
- package/adapters/claude/skills/scenario-script/SKILL.md +1 -1
- package/adapters/claude/skills/scenario-script/author/SKILL.md +9 -9
- package/adapters/claude/skills/scenario-script/author/references/compose.md +1 -1
- package/adapters/claude/skills/scenario-script/author/references/default-template.md +1 -1
- package/adapters/claude/skills/scenario-script/author/references/validate.md +1 -1
- package/adapters/claude/skills/scenario-script/author/references/writing-style.md +1 -1
- package/adapters/claude/skills/scenario-script/references/compose.md +1 -1
- package/adapters/claude/skills/scenario-script/references/default-template.md +1 -1
- package/adapters/claude/skills/scenario-script/references/validate.md +1 -1
- package/adapters/claude/skills/scenario-script/references/writing-style.md +1 -1
- package/adapters/claude/skills/scenario-script/repair/SKILL.md +5 -3
- package/adapters/claude/skills/scenario-script/repair/references/compose.md +1 -1
- package/adapters/claude/skills/scenario-script/repair/references/default-template.md +1 -1
- package/adapters/claude/skills/scenario-script/repair/references/validate.md +1 -1
- package/adapters/claude/skills/scenario-script/repair/references/writing-style.md +1 -1
- package/adapters/claude/skills/scenario-script/review/SKILL.md +11 -9
- package/adapters/claude/skills/scenario-script/review/references/compose.md +1 -1
- package/adapters/claude/skills/scenario-script/review/references/default-template.md +1 -1
- package/adapters/claude/skills/scenario-script/review/references/validate.md +1 -1
- package/adapters/claude/skills/scenario-script/review/references/writing-style.md +1 -1
- package/adapters/claude/templates/core/requirement-entry.starter.md +58 -0
- package/adapters/claude/templates/core/scenario/review-checklist.md +1 -1
- package/adapters/claude/templates/core/scenario/starter.md +1 -1
- package/adapters/claude/templates/core/spec-entry.starter.md +62 -0
- package/adapters/codex/.codex-plugin/plugin.json +1 -1
- package/adapters/codex/INSTALL.md +269 -48
- package/adapters/codex/agent-methods/catalog.yaml +9 -8
- package/adapters/codex/compatibility.json +4 -4
- package/adapters/codex/family-apis/catalog.json +1 -1
- package/adapters/codex/scripts/check-workflow-profile.mjs +29 -9
- package/adapters/codex/scripts/family-help-render.mjs +18 -3
- package/adapters/codex/scripts/lib/adoption-readiness.mjs +232 -0
- package/adapters/codex/scripts/lib/artifact-graph-runtime.mjs +21 -0
- package/adapters/codex/scripts/lib/entry-discovery.mjs +141 -0
- package/adapters/codex/scripts/requirement-state-check.mjs +95 -0
- package/adapters/codex/scripts/setup-checks.mjs +270 -0
- package/adapters/codex/skills/artifact-chain-bootstrap/SKILL.md +103 -4
- package/adapters/{kimi/skills/help → codex/skills/artifact-chain-help}/SKILL.md +30 -6
- package/adapters/codex/skills/artifact-chain-maintainer/SKILL.md +2 -2
- package/adapters/codex/skills/artifact-chain-quickstart/SKILL.md +189 -0
- package/adapters/codex/skills/artifact-chain-requirements/SKILL.md +116 -0
- package/adapters/codex/skills/artifact-chain-setup/SKILL.md +224 -0
- package/adapters/codex/skills/artifact-chain-where-am-i/SKILL.md +119 -0
- package/adapters/codex/skills/prd-feature/SKILL.md +2 -0
- package/adapters/codex/skills/prd-feature/author/SKILL.md +3 -3
- package/adapters/codex/skills/prd-feature/review/SKILL.md +3 -1
- package/adapters/codex/skills/scenario-script/SKILL.md +1 -1
- package/adapters/codex/skills/scenario-script/author/SKILL.md +9 -9
- package/adapters/codex/skills/scenario-script/author/references/compose.md +1 -1
- package/adapters/codex/skills/scenario-script/author/references/default-template.md +1 -1
- package/adapters/codex/skills/scenario-script/author/references/validate.md +1 -1
- package/adapters/codex/skills/scenario-script/author/references/writing-style.md +1 -1
- package/adapters/codex/skills/scenario-script/references/compose.md +1 -1
- package/adapters/codex/skills/scenario-script/references/default-template.md +1 -1
- package/adapters/codex/skills/scenario-script/references/validate.md +1 -1
- package/adapters/codex/skills/scenario-script/references/writing-style.md +1 -1
- package/adapters/codex/skills/scenario-script/repair/SKILL.md +5 -3
- package/adapters/codex/skills/scenario-script/repair/references/compose.md +1 -1
- package/adapters/codex/skills/scenario-script/repair/references/default-template.md +1 -1
- package/adapters/codex/skills/scenario-script/repair/references/validate.md +1 -1
- package/adapters/codex/skills/scenario-script/repair/references/writing-style.md +1 -1
- package/adapters/codex/skills/scenario-script/review/SKILL.md +11 -9
- package/adapters/codex/skills/scenario-script/review/references/compose.md +1 -1
- package/adapters/codex/skills/scenario-script/review/references/default-template.md +1 -1
- package/adapters/codex/skills/scenario-script/review/references/validate.md +1 -1
- package/adapters/codex/skills/scenario-script/review/references/writing-style.md +1 -1
- package/adapters/codex/templates/core/requirement-entry.starter.md +58 -0
- package/adapters/codex/templates/core/scenario/review-checklist.md +1 -1
- package/adapters/codex/templates/core/scenario/starter.md +1 -1
- package/adapters/codex/templates/core/spec-entry.starter.md +62 -0
- package/adapters/kimi/.kimi-plugin/plugin.json +1 -1
- package/adapters/kimi/INSTALL.md +269 -48
- package/adapters/kimi/agent-methods/catalog.yaml +9 -8
- package/adapters/kimi/compatibility.json +4 -4
- package/adapters/kimi/family-apis/catalog.json +1 -1
- package/adapters/kimi/scripts/check-workflow-profile.mjs +29 -9
- package/adapters/kimi/scripts/family-help-render.mjs +18 -3
- package/adapters/kimi/scripts/lib/adoption-readiness.mjs +232 -0
- package/adapters/kimi/scripts/lib/artifact-graph-runtime.mjs +21 -0
- package/adapters/kimi/scripts/lib/entry-discovery.mjs +141 -0
- package/adapters/kimi/scripts/requirement-state-check.mjs +95 -0
- package/adapters/kimi/scripts/setup-checks.mjs +270 -0
- package/adapters/kimi/skills/artifact-chain-bootstrap/SKILL.md +103 -4
- package/{skills-src/help → adapters/kimi/skills/artifact-chain-help}/SKILL.md +30 -6
- package/adapters/kimi/skills/artifact-chain-maintainer/SKILL.md +2 -2
- package/adapters/kimi/skills/artifact-chain-quickstart/SKILL.md +189 -0
- package/adapters/kimi/skills/artifact-chain-requirements/SKILL.md +116 -0
- package/adapters/kimi/skills/artifact-chain-setup/SKILL.md +224 -0
- package/adapters/kimi/skills/artifact-chain-where-am-i/SKILL.md +119 -0
- package/adapters/kimi/skills/prd-feature/SKILL.md +2 -0
- package/adapters/kimi/skills/prd-feature/author/SKILL.md +3 -3
- package/adapters/kimi/skills/prd-feature/review/SKILL.md +3 -1
- package/adapters/kimi/skills/scenario-script/SKILL.md +1 -1
- package/adapters/kimi/skills/scenario-script/author/SKILL.md +9 -9
- package/adapters/kimi/skills/scenario-script/author/references/compose.md +1 -1
- package/adapters/kimi/skills/scenario-script/author/references/default-template.md +1 -1
- package/adapters/kimi/skills/scenario-script/author/references/validate.md +1 -1
- package/adapters/kimi/skills/scenario-script/author/references/writing-style.md +1 -1
- package/adapters/kimi/skills/scenario-script/references/compose.md +1 -1
- package/adapters/kimi/skills/scenario-script/references/default-template.md +1 -1
- package/adapters/kimi/skills/scenario-script/references/validate.md +1 -1
- package/adapters/kimi/skills/scenario-script/references/writing-style.md +1 -1
- package/adapters/kimi/skills/scenario-script/repair/SKILL.md +5 -3
- package/adapters/kimi/skills/scenario-script/repair/references/compose.md +1 -1
- package/adapters/kimi/skills/scenario-script/repair/references/default-template.md +1 -1
- package/adapters/kimi/skills/scenario-script/repair/references/validate.md +1 -1
- package/adapters/kimi/skills/scenario-script/repair/references/writing-style.md +1 -1
- package/adapters/kimi/skills/scenario-script/review/SKILL.md +11 -9
- package/adapters/kimi/skills/scenario-script/review/references/compose.md +1 -1
- package/adapters/kimi/skills/scenario-script/review/references/default-template.md +1 -1
- package/adapters/kimi/skills/scenario-script/review/references/validate.md +1 -1
- package/adapters/kimi/skills/scenario-script/review/references/writing-style.md +1 -1
- package/adapters/kimi/templates/core/requirement-entry.starter.md +58 -0
- package/adapters/kimi/templates/core/scenario/review-checklist.md +1 -1
- package/adapters/kimi/templates/core/scenario/starter.md +1 -1
- package/adapters/kimi/templates/core/spec-entry.starter.md +62 -0
- package/agent-methods/catalog.yaml +9 -8
- package/compatibility.json +4 -4
- package/docs/00-matrix.html +1 -1
- package/docs/01-what.html +2 -2
- package/docs/02-architecture.html +3 -3
- package/docs/03-concepts.html +1 -1
- package/docs/04-cli.html +4 -4
- package/docs/05-scenarios.html +3 -3
- package/docs/09-troubleshoot.html +2 -2
- package/docs/assets/terms.js +4 -4
- package/docs/index.html +3 -3
- package/family-apis/catalog.json +1 -1
- package/package.json +3 -3
- package/scripts/build-runtime-bundles.mjs +2 -0
- package/scripts/check-workflow-profile.mjs +29 -9
- package/scripts/family-help-render.mjs +18 -3
- package/scripts/lib/adoption-readiness.mjs +232 -0
- package/scripts/lib/artifact-graph-runtime.mjs +21 -0
- package/scripts/lib/entry-discovery.mjs +141 -0
- package/scripts/requirement-state-check.mjs +95 -0
- package/scripts/setup-checks.mjs +270 -0
- package/scripts/sync-skills.mjs +7 -2
- package/skills/artifact-chain-bootstrap/SKILL.md +103 -4
- package/skills/artifact-chain-help/SKILL.md +120 -0
- package/skills/artifact-chain-maintainer/SKILL.md +2 -2
- package/skills/artifact-chain-quickstart/SKILL.md +189 -0
- package/skills/artifact-chain-requirements/SKILL.md +116 -0
- package/skills/artifact-chain-setup/SKILL.md +224 -0
- package/skills/artifact-chain-where-am-i/SKILL.md +119 -0
- package/skills/prd-feature/SKILL.md +2 -0
- package/skills/prd-feature/author/SKILL.md +3 -3
- package/skills/prd-feature/review/SKILL.md +3 -1
- package/skills/scenario-script/SKILL.md +1 -1
- package/skills/scenario-script/author/SKILL.md +9 -9
- package/skills/scenario-script/author/references/compose.md +1 -1
- package/skills/scenario-script/author/references/default-template.md +1 -1
- package/skills/scenario-script/author/references/validate.md +1 -1
- package/skills/scenario-script/author/references/writing-style.md +1 -1
- package/skills/scenario-script/references/compose.md +1 -1
- package/skills/scenario-script/references/default-template.md +1 -1
- package/skills/scenario-script/references/validate.md +1 -1
- package/skills/scenario-script/references/writing-style.md +1 -1
- package/skills/scenario-script/repair/SKILL.md +5 -3
- package/skills/scenario-script/repair/references/compose.md +1 -1
- package/skills/scenario-script/repair/references/default-template.md +1 -1
- package/skills/scenario-script/repair/references/validate.md +1 -1
- package/skills/scenario-script/repair/references/writing-style.md +1 -1
- package/skills/scenario-script/review/SKILL.md +11 -9
- package/skills/scenario-script/review/references/compose.md +1 -1
- package/skills/scenario-script/review/references/default-template.md +1 -1
- package/skills/scenario-script/review/references/validate.md +1 -1
- package/skills/scenario-script/review/references/writing-style.md +1 -1
- package/skills-src/artifact-chain-bootstrap/SKILL.md +103 -4
- package/{adapters/codex/skills/help → skills-src/artifact-chain-help}/SKILL.md +30 -6
- package/skills-src/artifact-chain-maintainer/SKILL.md +2 -2
- package/skills-src/artifact-chain-quickstart/SKILL.md +189 -0
- package/skills-src/artifact-chain-requirements/SKILL.md +116 -0
- package/skills-src/artifact-chain-setup/SKILL.md +224 -0
- package/skills-src/artifact-chain-where-am-i/SKILL.md.tpl +119 -0
- package/skills-src/prd-feature/SKILL.md +2 -0
- package/skills-src/prd-feature/author/SKILL.md +3 -3
- package/skills-src/prd-feature/review/SKILL.md +3 -1
- package/skills-src/scenario-script/SKILL.md +1 -1
- package/skills-src/scenario-script/author/SKILL.md +5 -5
- package/skills-src/scenario-script/references/compose.md +1 -1
- package/skills-src/scenario-script/references/default-template.md +1 -1
- package/skills-src/scenario-script/references/validate.md +1 -1
- package/skills-src/scenario-script/references/writing-style.md +1 -1
- package/skills-src/scenario-script/repair/SKILL.md +2 -0
- package/skills-src/scenario-script/review/SKILL.md +7 -5
- package/templates/core/requirement-entry.starter.md +58 -0
- package/templates/core/scenario/review-checklist.md +1 -1
- package/templates/core/scenario/starter.md +1 -1
- package/templates/core/spec-entry.starter.md +62 -0
- package/adapters/claude/skills/quickstart/SKILL.md +0 -113
- package/adapters/claude/skills/setup/SKILL.md +0 -119
- package/adapters/claude/skills/where-am-i/SKILL.md +0 -233
- package/adapters/codex/skills/quickstart/SKILL.md +0 -113
- package/adapters/codex/skills/setup/SKILL.md +0 -119
- package/adapters/codex/skills/where-am-i/SKILL.md +0 -233
- package/adapters/kimi/skills/quickstart/SKILL.md +0 -113
- package/adapters/kimi/skills/setup/SKILL.md +0 -119
- package/adapters/kimi/skills/where-am-i/SKILL.md +0 -233
- package/skills/help/SKILL.md +0 -96
- package/skills/quickstart/SKILL.md +0 -113
- package/skills/setup/SKILL.md +0 -119
- package/skills/where-am-i/SKILL.md +0 -233
- package/skills-src/quickstart/SKILL.md +0 -113
- package/skills-src/setup/SKILL.md +0 -119
- package/skills-src/where-am-i/SKILL.md.tpl +0 -233
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "artifact-chain-assistant",
|
|
3
3
|
"displayName": "Artifact Chain Assistant",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.11.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/AGENT-METHOD-REGISTRY.md
CHANGED
|
@@ -181,7 +181,7 @@ planner should not schedule separate review or repair steps for a workflow entry
|
|
|
181
181
|
## Registry Unavailable: Fallback Behavior
|
|
182
182
|
|
|
183
183
|
When `agent-method-registry` is not installed or the effective index does not exist,
|
|
184
|
-
`where-am-i` follows this behavior:
|
|
184
|
+
`artifact-chain-where-am-i` follows this behavior:
|
|
185
185
|
|
|
186
186
|
1. Outputs a `"registry unavailable"` diagnostic.
|
|
187
187
|
2. For contract-backed services, returns `NEEDS_INPUT` with registry unavailable message — **no fallback to builtin or config routing**.
|
|
@@ -172,7 +172,7 @@ review 或 repair 步骤。
|
|
|
172
172
|
|
|
173
173
|
## Registry 不可用时的 fallback 行为
|
|
174
174
|
|
|
175
|
-
`agent-method-registry` 未安装或有效索引不存在时,`where-am-i` 按以下方式回退:
|
|
175
|
+
`agent-method-registry` 未安装或有效索引不存在时,`artifact-chain-where-am-i` 按以下方式回退:
|
|
176
176
|
|
|
177
177
|
1. 输出 `"registry unavailable"` 诊断信息。
|
|
178
178
|
2. 对于有契约支撑的服务,返回 `NEEDS_INPUT` 并附带 registry 不可用信息——**不会回落到内置或配置路由**。
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,74 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 0.11.0
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added `artifact-chain-requirements` for preserving requirement entries, creating incremental
|
|
10
|
+
SPECs, and recording item-level acceptance with evidence and current-artifact destinations.
|
|
11
|
+
- Added requirement and SPEC starter templates, requirement transition checks, project-shape and
|
|
12
|
+
adoption-stage readiness guidance, and matching routes across generated host adapters.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Project inventory and task orientation report approval, implementation, verification, and
|
|
17
|
+
release separately. Graph declarations, locks, test files, and release input lists no longer
|
|
18
|
+
stand in for authoritative execution or publication results.
|
|
19
|
+
|
|
20
|
+
### Breaking Changes
|
|
21
|
+
|
|
22
|
+
- **Entry skills renamed with the `artifact-chain-` prefix.** In multi-plugin environments the
|
|
23
|
+
bare entry names collided with same-named skills from other plugins and their descriptions
|
|
24
|
+
claimed bare global prompts. The four entries are now `artifact-chain-help` (was `help`),
|
|
25
|
+
`artifact-chain-setup` (was `setup`), `artifact-chain-quickstart` (was `quickstart`), and
|
|
26
|
+
`artifact-chain-where-am-i` (was `where-am-i`) — consistent with the existing
|
|
27
|
+
`artifact-chain-bootstrap` and `artifact-chain-maintainer` naming. No compatibility aliases or
|
|
28
|
+
symlinks are kept. Update prompts, scripts, and docs that referenced the old bare names.
|
|
29
|
+
Method registry refs (`artifact.help`, `artifact.setup`, `artifact.quickstart`) are unchanged;
|
|
30
|
+
only the provider skill names moved.
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- **`artifact-chain-setup` is now a general install skill.** It still starts with read-only
|
|
35
|
+
diagnostics (plugin closure, Node/CLI, doctor, config, version lock, registry) and a PASS/WARN/FAIL
|
|
36
|
+
report, but after showing a mechanical install plan and receiving explicit user confirmation it
|
|
37
|
+
executes the mechanical steps itself: installing the `artifact-graph` CLI from the plugin's pinned
|
|
38
|
+
install spec, installing/updating Git hooks, injecting the minimal `AGENTS.md` trigger block, and
|
|
39
|
+
creating the thin `CLAUDE.md` pointer — then re-runs diagnostics to verify. Steps are idempotent,
|
|
40
|
+
and outdated existing blocks are reported for user decision instead of being overwritten.
|
|
41
|
+
Project-level decisions (artifact type trimming, `artifact-graph.config.yaml` contract content,
|
|
42
|
+
version-lock bootstrap, full workflow-methodology sections) remain with `artifact-chain-bootstrap`.
|
|
43
|
+
Autonomous or overwriting installs without user confirmation remain forbidden.
|
|
44
|
+
- Entry descriptions and the quickstart routing vectors are domain-qualified: they respond to
|
|
45
|
+
artifact-chain/artifact-graph/制品链/版本锁 cues only and no longer claim bare global prompts
|
|
46
|
+
such as "hello", "what can you do", or "is my environment ready". The vague `ask` routing
|
|
47
|
+
target is retired; unclear domain input still gets a clarifying question instead of a guessed
|
|
48
|
+
route.
|
|
49
|
+
- Runtime compatibility, installation commands, plugin manifests, Family API metadata, and adapter
|
|
50
|
+
catalogs are synchronized with `artifact-graph@0.11.0`.
|
|
51
|
+
|
|
52
|
+
## 0.10.0
|
|
53
|
+
|
|
54
|
+
### Added
|
|
55
|
+
|
|
56
|
+
- Added the product-owned setup runner and entry-discovery contract to every generated Codex,
|
|
57
|
+
Claude Code, and Kimi Code surface. Setup reports native-binding failures from structured doctor
|
|
58
|
+
output and keeps bootstrap behind explicit write authorization.
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
|
|
62
|
+
- Aligned the existing 16-entry method catalog, generated host surfaces, and documentation with the
|
|
63
|
+
canonical `help`, `quickstart`, and `setup` entry semantics.
|
|
64
|
+
- Runtime compatibility, installation commands, plugin manifests, Family API metadata, and adapter
|
|
65
|
+
catalogs are synchronized with `artifact-graph@0.10.0`.
|
|
66
|
+
|
|
67
|
+
### Fixed
|
|
68
|
+
|
|
69
|
+
- Entry skills resolve shared scripts from the installed plugin root. Their behavior no longer
|
|
70
|
+
depends on the target project's working directory or a parent-repository layout.
|
|
71
|
+
|
|
3
72
|
## 0.9.4
|
|
4
73
|
|
|
5
74
|
### Added
|
package/INSTALL.md
CHANGED
|
@@ -15,7 +15,7 @@ instructions.
|
|
|
15
15
|
## Prerequisites
|
|
16
16
|
|
|
17
17
|
- Node.js `>=22.0.0`.
|
|
18
|
-
- `artifact-graph` 0.
|
|
18
|
+
- `artifact-graph` 0.11.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.11.0 | `artifact-graph` 0.11.0 | `pnpm add -D artifact-graph@0.11.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.11.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.11.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.11.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.11.0`) and exits non-zero.
|
|
75
75
|
|
|
76
76
|
### CLI Resolution Order
|
|
77
77
|
|
|
@@ -87,6 +87,16 @@ instructions, hooks, or generated prompts.
|
|
|
87
87
|
|
|
88
88
|
## Install The Plugin
|
|
89
89
|
|
|
90
|
+
### Before treating locks as release coverage
|
|
91
|
+
|
|
92
|
+
Bootstrap and maintainer workflows establish and refresh declared graph relationships. A strict
|
|
93
|
+
version-lock audit can pass with no implementation locks; it does not check that every shipped
|
|
94
|
+
file has an artifact link or that every artifact has an implementation or approved exception.
|
|
95
|
+
Configure source paths and annotations, inspect the version index, and keep the project's
|
|
96
|
+
release-payload coverage check separate. See the runtime's
|
|
97
|
+
[code traceability guide](https://github.com/ifoohoo/artifact-graph/blob/main/INSTALL.md#code-traceability-and-coverage-boundaries)
|
|
98
|
+
for comment syntax, Markdown skills, unsupported Python comments, scan scope and exemption limits.
|
|
99
|
+
|
|
90
100
|
### Codex
|
|
91
101
|
|
|
92
102
|
Register the external skill-set marketplace, then install the plugin:
|
|
@@ -146,7 +156,7 @@ wrappers, and Stop-hook guardrail. These assistant controls do not replace Git h
|
|
|
146
156
|
|
|
147
157
|
> **Marketplace note**: `ifoohoo/artifact-skill-set` is an external independent marketplace. The
|
|
148
158
|
> plugin payload is still published from `ifoohoo/artifact-chain-assistant`. The marketplace entry
|
|
149
|
-
> must publish and enable `artifact-chain-assistant` 0.
|
|
159
|
+
> must publish and enable `artifact-chain-assistant` 0.11.0 before the install commands above will
|
|
150
160
|
> succeed.
|
|
151
161
|
|
|
152
162
|
### Kimi Code
|
|
@@ -208,33 +218,60 @@ adapter doctor.
|
|
|
208
218
|
|
|
209
219
|
## Post-Installation Discovery
|
|
210
220
|
|
|
211
|
-
After installing the plugin, use these entry points to understand available capabilities
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
221
|
+
After installing the plugin, use these entry points to understand available capabilities.
|
|
222
|
+
All entry skills carry the `artifact-chain-` prefix so they coexist with other plugins that
|
|
223
|
+
ship same-named skills, and their descriptions only respond to artifact-chain/artifact-graph
|
|
224
|
+
domain cues — bare global prompts like "hello" or "what can you do" are not claimed by this
|
|
225
|
+
plugin.
|
|
226
|
+
|
|
227
|
+
1. **`artifact-chain-help`** — Run this skill when you ask "how does the artifact chain work"
|
|
228
|
+
or "what can artifact-chain-assistant do". It shows the standard Family API catalog and
|
|
229
|
+
bundled legacy methods — the plugin's capabilities and what the artifact chain is for —
|
|
230
|
+
without claiming any are installed, enabled, or verified for your project. Installation of
|
|
231
|
+
the plugin does NOT mean families are bound or providers are active. If the Registry is
|
|
232
|
+
missing, it still runs and honestly lists which standard services are not yet executable.
|
|
233
|
+
|
|
234
|
+
2. **`artifact-chain-setup`** — Run this skill when you ask "is my artifact-chain environment
|
|
235
|
+
ready" or when you want the mechanical install steps done. It starts with read-only
|
|
236
|
+
environment diagnostics: plugin closure integrity, Node/CLI availability, doctor output,
|
|
237
|
+
project config, version lock, and registry availability. It outputs a structured status
|
|
238
|
+
report with PASS/WARN/FAIL for each check plus a mechanical install plan (install the
|
|
239
|
+
`artifact-graph` CLI from the plugin's pinned install spec, install/update Git hooks,
|
|
240
|
+
inject the minimal `AGENTS.md` trigger block, create the thin `CLAUDE.md` pointer). The
|
|
241
|
+
plan is shown first and executed only after your explicit confirmation; steps are
|
|
242
|
+
idempotent, outdated existing blocks are reported for your decision instead of being
|
|
243
|
+
overwritten, and diagnostics are re-run afterwards to verify.
|
|
244
|
+
|
|
245
|
+
3. **`artifact-chain-quickstart`** — Run this skill when getting started with the artifact
|
|
246
|
+
chain or unsure which skill to use inside this plugin. It routes your intent to the correct
|
|
247
|
+
skill via a deterministic routing table covering common Chinese/English domain-qualified
|
|
248
|
+
requests: capability questions go to `artifact-chain-help`, environment checks to
|
|
249
|
+
`artifact-chain-setup`, initialization to `artifact-chain-setup` then bootstrap, project
|
|
250
|
+
triage to `artifact-chain-where-am-i`, maintenance to `artifact-chain-maintainer`, and
|
|
251
|
+
explicit artifact tasks to the matching family/service.
|
|
252
|
+
|
|
253
|
+
4. **`artifact-chain-where-am-i`** — Use this skill for project-specific triage. It searches
|
|
254
|
+
your project configuration, artifact graph, and current state to produce a structured
|
|
255
|
+
project-facts envelope and Method Query candidate (5 top-level keys),
|
|
227
256
|
then queries Registry for dynamic service discovery and recommends next steps. A process-local
|
|
228
257
|
`preparedQueryHandle`, full Method Query, provider resolution, and run lock remain Registry-only execution capabilities.
|
|
229
258
|
|
|
230
|
-
5. **
|
|
231
|
-
read-only discovery tools
|
|
232
|
-
|
|
259
|
+
5. **Project-level adoption still requires `artifact-chain-bootstrap` and user authorization** — The help and triage skills are
|
|
260
|
+
read-only discovery tools, and setup writes only the mechanical install steps listed above after your confirmation.
|
|
261
|
+
Deciding the artifact type profile, writing the `artifact-graph.config.yaml` contract, bootstrapping the version lock,
|
|
262
|
+
and writing full project workflow instructions require running the bootstrap skill with explicit user approval.
|
|
233
263
|
|
|
234
264
|
> **Important**: Installing the plugin does NOT enable or bind any family implementation. Standard API entries are
|
|
235
|
-
> visible via help, but no E2E provider, review provider, or other family implementation is installed or verified
|
|
265
|
+
> visible via artifact-chain-help, but no E2E provider, review provider, or other family implementation is installed or verified
|
|
236
266
|
> until explicitly adopted through bootstrap and registry binding (when available).
|
|
237
267
|
|
|
268
|
+
> **Migration from ≤ 0.10.x**: The four bare-name entry skills were renamed in 0.11.0
|
|
269
|
+
> (breaking change, no aliases or symlinks are kept): `help` → `artifact-chain-help`,
|
|
270
|
+
> `setup` → `artifact-chain-setup`, `quickstart` → `artifact-chain-quickstart`,
|
|
271
|
+
> `where-am-i` → `artifact-chain-where-am-i`. Update any prompts, scripts, or docs that
|
|
272
|
+
> referenced the old bare names. Method registry refs (`artifact.help`, `artifact.setup`,
|
|
273
|
+
> `artifact.quickstart`) are unchanged.
|
|
274
|
+
|
|
238
275
|
## Prepare A Target Project
|
|
239
276
|
|
|
240
277
|
Each project must keep its own artifact-chain state:
|
|
@@ -253,10 +290,14 @@ The plugin should not move these files into the plugin repository.
|
|
|
253
290
|
|
|
254
291
|
For a first-time setup, the end-to-end sequence is:
|
|
255
292
|
|
|
256
|
-
1. **Install the CLI** — `pnpm add -D artifact-graph@0.
|
|
293
|
+
1. **Install the CLI** — `pnpm add -D artifact-graph@0.11.0` (see Prerequisites above). The
|
|
294
|
+
`artifact-chain-setup` skill can run this and the other mechanical install steps for you
|
|
295
|
+
after showing a plan and getting your confirmation.
|
|
257
296
|
2. **Install the plugin** — follow the Codex or Claude Code section above.
|
|
258
|
-
3. **Run bootstrap** — ask the assistant to use the `artifact-chain-
|
|
259
|
-
|
|
297
|
+
3. **Run setup, then bootstrap** — ask the assistant to use the `artifact-chain-setup` skill for
|
|
298
|
+
read-only diagnostics and the confirmed mechanical steps (Git hooks, the minimal `AGENTS.md`
|
|
299
|
+
trigger block, the thin `CLAUDE.md` pointer); then use the `artifact-chain-bootstrap` skill
|
|
300
|
+
(see prompt below) for project-level decisions. The bootstrap skill will:
|
|
260
301
|
- classify your project shape (docs repo, TypeScript library, API service, agent toolkit, etc.);
|
|
261
302
|
- select the minimum viable artifact profile based on what exists on disk;
|
|
262
303
|
- generate or patch `artifact-graph.config.yaml` with correct `types`, `paths`, and `idPatterns`;
|
|
@@ -264,7 +305,8 @@ For a first-time setup, the end-to-end sequence is:
|
|
|
264
305
|
the value narrative rules (business purpose, project value, chain value, risk changes,
|
|
265
306
|
verification evidence) — see the "Recommended `AGENTS.md` Section" below;
|
|
266
307
|
- validate the graph, bootstrap or refresh the version lock, and audit it;
|
|
267
|
-
-
|
|
308
|
+
- decide whether Git hooks are ready and route the actual installation to
|
|
309
|
+
`artifact-chain-setup` after validation passes.
|
|
268
310
|
4. **Smoke test** — run the commands in the Smoke Test section below.
|
|
269
311
|
5. **Commit** — stage `artifact-graph.config.yaml`, `AGENTS.md`, `CLAUDE.md`,
|
|
270
312
|
`artifacts/traceability-version-lock.json`, and any created `artifacts/` directories.
|
|
@@ -871,7 +913,7 @@ planner should not schedule separate review or repair steps for a workflow entry
|
|
|
871
913
|
### Registry Unavailable: Fallback Behavior
|
|
872
914
|
|
|
873
915
|
When `agent-method-registry` is not installed or the effective index does not exist,
|
|
874
|
-
`where-am-i` follows this behavior:
|
|
916
|
+
`artifact-chain-where-am-i` follows this behavior:
|
|
875
917
|
|
|
876
918
|
1. Outputs a `"registry unavailable"` diagnostic.
|
|
877
919
|
2. For contract-backed services, returns `NEEDS_INPUT` with registry unavailable message — **no fallback to builtin or config routing**.
|
|
@@ -883,6 +925,170 @@ When `agent-method-registry` is not installed or the effective index does not ex
|
|
|
883
925
|
The bootstrap skill selects a minimum viable profile for your project shape. As the project matures,
|
|
884
926
|
you may need additional artifact types (API contracts, deployment manifests, security reviews, etc.).
|
|
885
927
|
|
|
928
|
+
### Project shape and stage readiness
|
|
929
|
+
|
|
930
|
+
Use the existing workflow-profile checker to calculate adoption readiness without writing project
|
|
931
|
+
files. The flags below are the public CLI contract; omit `--types` unless the user explicitly selected
|
|
932
|
+
types that are not yet present in config or a workflow profile:
|
|
933
|
+
|
|
934
|
+
```bash
|
|
935
|
+
node "$PLUGIN_ROOT/scripts/check-workflow-profile.mjs" \
|
|
936
|
+
--root . \
|
|
937
|
+
--project-shape cli-library \
|
|
938
|
+
--adoption-stage daily-iteration \
|
|
939
|
+
--types requirement,spec \
|
|
940
|
+
--format json
|
|
941
|
+
```
|
|
942
|
+
|
|
943
|
+
`candidate_types` contains shape and stage suggestions. `enabled_types` contains only candidates
|
|
944
|
+
backed by the effective `artifact-graph.config.yaml`, an existing workflow profile, or explicit
|
|
945
|
+
`--types` selection. Candidate-only entries are not readiness gaps. For enabled types, the report
|
|
946
|
+
checks registration, starter templates, and generate/review methods separately. Requirement and SPEC
|
|
947
|
+
generation can report `bundled-skill`; its presence never implies that review is ready. A review
|
|
948
|
+
method must be configured in the workflow profile. The checker loads the effective graph config
|
|
949
|
+
through the artifact-graph runtime and does not maintain a second YAML interpretation.
|
|
950
|
+
|
|
951
|
+
### Requirement pool and iteration SPEC
|
|
952
|
+
|
|
953
|
+
Use `artifact-chain-requirements` to preserve ideas, query or update their disposition, create an
|
|
954
|
+
incremental SPEC, and record acceptance item by item. Without a project convention it saves
|
|
955
|
+
requirements under `artifacts/requirements/` and SPECs under `artifacts/specs/`. It never creates
|
|
956
|
+
an inbox or migrates IDs later. `captured` and `proposed` mean recorded but not approved;
|
|
957
|
+
`implemented`, `verified`, and `released` require their own authoritative evidence.
|
|
958
|
+
|
|
959
|
+
Register both types in the target project's `artifact-graph.config.yaml`; the runtime does not add
|
|
960
|
+
software-domain types to its defaults:
|
|
961
|
+
|
|
962
|
+
```yaml
|
|
963
|
+
types:
|
|
964
|
+
requirement:
|
|
965
|
+
paths: ["artifacts/requirements/**/*.md"]
|
|
966
|
+
displayName: Requirement
|
|
967
|
+
role: context
|
|
968
|
+
layer: requirements
|
|
969
|
+
aliases: [requirements]
|
|
970
|
+
target: true
|
|
971
|
+
extraFields:
|
|
972
|
+
- { name: demand_kind, type: enum, enum: [business, it, mixed, unknown] }
|
|
973
|
+
- { name: requirement_level, type: enum, enum: [source, development] }
|
|
974
|
+
- { name: parent_requirement, type: string }
|
|
975
|
+
spec:
|
|
976
|
+
paths: ["artifacts/specs/**/*.md"]
|
|
977
|
+
displayName: Iteration specification
|
|
978
|
+
role: context
|
|
979
|
+
layer: requirements
|
|
980
|
+
aliases: [specs]
|
|
981
|
+
target: true
|
|
982
|
+
extraFields:
|
|
983
|
+
- { name: baseline, type: string }
|
|
984
|
+
idPatterns:
|
|
985
|
+
requirement: '^REQ-\d+$'
|
|
986
|
+
spec: '^SPEC-\d+$'
|
|
987
|
+
statuses:
|
|
988
|
+
- planned
|
|
989
|
+
- active
|
|
990
|
+
- done
|
|
991
|
+
- deprecated
|
|
992
|
+
- accepted
|
|
993
|
+
- open
|
|
994
|
+
- captured
|
|
995
|
+
- proposed
|
|
996
|
+
- approved
|
|
997
|
+
- implemented
|
|
998
|
+
- verified
|
|
999
|
+
- released
|
|
1000
|
+
statusViews:
|
|
1001
|
+
open: planned
|
|
1002
|
+
done: history
|
|
1003
|
+
relationSemantics:
|
|
1004
|
+
decomposes:
|
|
1005
|
+
label: "decomposed from"
|
|
1006
|
+
targetTypes: [requirement]
|
|
1007
|
+
fields: [parent_requirement]
|
|
1008
|
+
derives-from:
|
|
1009
|
+
label: "derived from"
|
|
1010
|
+
targetTypes: [requirement]
|
|
1011
|
+
fields: [derived_from]
|
|
1012
|
+
```
|
|
1013
|
+
|
|
1014
|
+
`statuses` replaces the whole project list rather than merging individual values. The list above is
|
|
1015
|
+
a base example; keep any additional project statuses when adopting it. Extend existing core type
|
|
1016
|
+
definitions without dropping their paths, and keep aliases for targets referenced through fields
|
|
1017
|
+
such as `related_features`, `related_scenarios`, `related_design_docs`, or `related_decisions`.
|
|
1018
|
+
|
|
1019
|
+
#### Source and development requirements / 原始需求与开发需求
|
|
1020
|
+
|
|
1021
|
+
`demand_kind` records whether the demand itself is `business`, `it`, `mixed`, or `unknown`.
|
|
1022
|
+
`requirement_level` separately records whether the entry preserves a source goal (`source`) or
|
|
1023
|
+
expresses a development requirement (`development`). Missing optional fields remain `unknown`; they do not make an
|
|
1024
|
+
older entry invalid. Do not infer either dimension from the other.
|
|
1025
|
+
|
|
1026
|
+
`demand_kind` 记录诉求本身属于业务、IT、混合或未知;`requirement_level` 独立记录条目是保留原始目标的 `source`,还是已整理成可开发要求的 `development`。旧条目缺少可选字段时,对应维度为 `unknown`,条目仍然有效。两个维度不能互相推导。
|
|
1027
|
+
|
|
1028
|
+
A child uses `parent_requirement` to point to a parent at the same level. A development entry uses
|
|
1029
|
+
the `derived_from` array to point to one or more source entries. Both edges point upstream: child to
|
|
1030
|
+
parent for `decomposes`, and development to source for `derives-from`.
|
|
1031
|
+
|
|
1032
|
+
子条目用 `parent_requirement` 指向同层父条目;开发条目用 `derived_from` 数组指向一个或多个来源原始条目。两种边都指向上游:`decomposes` 从子到父,`derives-from` 从开发需求到来源需求。
|
|
1033
|
+
|
|
1034
|
+
Assume `REQ-10` and `REQ-12` are existing source requirements. Store the following entries in two
|
|
1035
|
+
separate files. / 假设 `REQ-10` 和 `REQ-12` 是已经登记的原始需求。以下两个条目应分别保存为两个文件。
|
|
1036
|
+
|
|
1037
|
+
Source child / 原始需求的同层子项:
|
|
1038
|
+
|
|
1039
|
+
```yaml
|
|
1040
|
+
---
|
|
1041
|
+
id: REQ-11
|
|
1042
|
+
source: user-interview-2026-09-07
|
|
1043
|
+
demand_kind: business
|
|
1044
|
+
requirement_level: source
|
|
1045
|
+
parent_requirement: REQ-10
|
|
1046
|
+
---
|
|
1047
|
+
```
|
|
1048
|
+
|
|
1049
|
+
Development requirement derived from two sources / 由两个来源派生的开发需求:
|
|
1050
|
+
|
|
1051
|
+
```yaml
|
|
1052
|
+
---
|
|
1053
|
+
id: REQ-20
|
|
1054
|
+
source: refinement-session-2026-09-07
|
|
1055
|
+
demand_kind: mixed
|
|
1056
|
+
requirement_level: development
|
|
1057
|
+
derived_from: [REQ-11, REQ-12]
|
|
1058
|
+
---
|
|
1059
|
+
```
|
|
1060
|
+
|
|
1061
|
+
The `development` value describes the expression level; it does not prove that work may start.
|
|
1062
|
+
Readiness still depends on unresolved questions and approval. The development entry must add an
|
|
1063
|
+
observable result, scope, and acceptance scenario in its body.
|
|
1064
|
+
When a user's direct input already has those three elements, record it directly as `development`
|
|
1065
|
+
and preserve the original `source`; do not create a duplicate source entry. Before writing either
|
|
1066
|
+
relationship, confirm that targets exist, levels are valid, and the new edge is neither self-referential
|
|
1067
|
+
nor cyclic. A verified child never makes its parent or source automatically verified or released.
|
|
1068
|
+
|
|
1069
|
+
`development` 只描述需求的表达层次,不代表已经可以开工;是否可开工仍取决于待澄清问题和批准。开发条目正文必须给出可观察结果、范围和验收场景。直接输入已经具备这三项时,可直接记录为 `development` 并保留原始 `source`,无需复制一条内容相同的 source 需求。写关系前要核对目标存在、层次正确,并排除自引用和循环。子项通过验证不会自动把父项或来源项改成 verified 或 released。
|
|
1070
|
+
|
|
1071
|
+
Copy `templates/core/requirement-entry.starter.md` and `templates/core/spec-entry.starter.md` into
|
|
1072
|
+
the project's authority template location before customization. A SPEC stays `open` while any
|
|
1073
|
+
change item is open or failed. Mark it `done` only after every item passed and records both evidence
|
|
1074
|
+
and its current-artifact destination; archiving a SPEC does not change requirement status.
|
|
1075
|
+
|
|
1076
|
+
```bash
|
|
1077
|
+
artifact-graph validate --root . --warning-only
|
|
1078
|
+
artifact-graph query --from requirement:REQ-1 --format json
|
|
1079
|
+
artifact-graph context --target spec:SPEC-1 --view planned --format json
|
|
1080
|
+
node "$PLUGIN_ROOT/scripts/requirement-state-check.mjs" \
|
|
1081
|
+
artifacts/requirements/REQ-1.md --from approved --to implemented --evidence reports/acceptance.json
|
|
1082
|
+
```
|
|
1083
|
+
|
|
1084
|
+
The state checker validates allowed fields and requires a non-empty evidence reference for
|
|
1085
|
+
`implemented`, `verified`, or `released`; it does not enforce adjacent or linear transitions and
|
|
1086
|
+
does not edit the entry. It reports the reference as unverified. The requirements skill must read
|
|
1087
|
+
the actual object, version, and result before recording the corresponding fact. An
|
|
1088
|
+
`implements`/`verifies` edge, source annotation, test file, fresh lock, or release input list is
|
|
1089
|
+
declaration evidence only. The requirements skill reports approval, implementation, verification,
|
|
1090
|
+
and release separately and leaves missing authoritative results as `unknown`.
|
|
1091
|
+
|
|
886
1092
|
### Starter Templates
|
|
887
1093
|
|
|
888
1094
|
The plugin provides **starter templates** for extended artifact types in `templates/extended/`:
|
|
@@ -1051,7 +1257,7 @@ with append-only behavior; it does not overwrite local rules.
|
|
|
1051
1257
|
### Recovery Steps
|
|
1052
1258
|
|
|
1053
1259
|
```bash
|
|
1054
|
-
# 1. Install dependencies from lockfile (gets artifact-graph@0.
|
|
1260
|
+
# 1. Install dependencies from lockfile (gets artifact-graph@0.11.0)
|
|
1055
1261
|
pnpm install --frozen-lockfile
|
|
1056
1262
|
|
|
1057
1263
|
# 2. Install plugin per your host (Codex / Claude Code / Kimi Code)
|
|
@@ -1118,7 +1324,7 @@ pnpm exec artifact-graph hooks install-git --hook all
|
|
|
1118
1324
|
### Enterprise Mirror
|
|
1119
1325
|
|
|
1120
1326
|
If the corporate environment cannot access the public npm registry or GitHub, mirror both
|
|
1121
|
-
`artifact-graph@0.
|
|
1327
|
+
`artifact-graph@0.11.0` and the plugin marketplace repository on an internal registry. The mirror
|
|
1122
1328
|
does not change the state ownership model: Git-tracked files remain authoritative, local caches
|
|
1123
1329
|
remain derived.
|
|
1124
1330
|
|
|
@@ -1138,7 +1344,7 @@ categories:
|
|
|
1138
1344
|
| Value narrative rules | 5-dimension reporting in AGENTS/CLAUDE | `INSTALL.md` "Recommended AGENTS.md Section" |
|
|
1139
1345
|
| Extended templates | New starter templates for contracts, ops, agent types | `templates/extended/` |
|
|
1140
1346
|
| Completion gates | Pre-commit/pre-push/CI check commands | Skills' "Completion Gate" sections |
|
|
1141
|
-
| Skill collaboration boundaries | Routing rules between where-am-i/bootstrap/maintainer | Skills' "Skill Collaboration Boundary" sections |
|
|
1347
|
+
| Skill collaboration boundaries | Routing rules between artifact-chain-where-am-i/bootstrap/maintainer | Skills' "Skill Collaboration Boundary" sections |
|
|
1142
1348
|
| New scenarios | Additional behavior scripts | [Upgrade Checklist](#upgrade-checklist), then review the target project's local scenario coverage |
|
|
1143
1349
|
| New E2E tests | Additional test cases | [Upgrade Checklist](#upgrade-checklist), then review the target project's local E2E coverage |
|
|
1144
1350
|
|
|
@@ -1245,13 +1451,14 @@ Do not remove project-local state:
|
|
|
1245
1451
|
|
|
1246
1452
|
## Skill Collaboration Workflow
|
|
1247
1453
|
|
|
1248
|
-
The Artifact Chain Assistant provides
|
|
1454
|
+
The Artifact Chain Assistant provides four core skills that collaborate across the project lifecycle:
|
|
1249
1455
|
|
|
1250
1456
|
### Skill Responsibilities
|
|
1251
1457
|
|
|
1252
1458
|
| Skill | Primary Responsibility | When to Use |
|
|
1253
1459
|
|-------|----------------------|-------------|
|
|
1254
|
-
| **where-am-i** | Entry triage and routing | User has a vague requirement; need to determine project stage |
|
|
1460
|
+
| **artifact-chain-where-am-i** | Entry triage and routing | User has a vague requirement; need to determine project stage |
|
|
1461
|
+
| **artifact-chain-requirements** | Requirement pool and incremental SPEC | Preserve or update ideas; start an iteration; record acceptance and current-artifact destinations |
|
|
1255
1462
|
| **artifact-chain-bootstrap** | Project initialization and profile trimming | First-time setup; profile expansion; configuration repair |
|
|
1256
1463
|
| **artifact-chain-maintainer** | Daily version-lock, doctor, hook, refresh | Routine development; lock refresh/audit; hook management |
|
|
1257
1464
|
|
|
@@ -1262,7 +1469,7 @@ Project Adoption
|
|
|
1262
1469
|
↓
|
|
1263
1470
|
┌─────────────────────────────────────────────┐
|
|
1264
1471
|
│ First-time Setup │
|
|
1265
|
-
│ → where-am-i routes to bootstrap │
|
|
1472
|
+
│ → artifact-chain-where-am-i routes to bootstrap │
|
|
1266
1473
|
│ → bootstrap initializes config, lock, hooks │
|
|
1267
1474
|
│ → handoff to maintainer │
|
|
1268
1475
|
└─────────────────────────────────────────────┘
|
|
@@ -1271,7 +1478,8 @@ Daily Development
|
|
|
1271
1478
|
↓
|
|
1272
1479
|
┌─────────────────────────────────────────────┤
|
|
1273
1480
|
│ Routine Operations │
|
|
1274
|
-
│ → where-am-i triages vague requests │
|
|
1481
|
+
│ → artifact-chain-where-am-i triages vague requests │
|
|
1482
|
+
│ → artifact-chain-requirements preserves demand and SPECs │
|
|
1275
1483
|
│ → maintainer refreshes/audits locks │
|
|
1276
1484
|
│ → maintainer manages hooks │
|
|
1277
1485
|
└─────────────────────────────────────────────┘
|
|
@@ -1280,7 +1488,7 @@ Profile Expansion / Configuration Change
|
|
|
1280
1488
|
↓
|
|
1281
1489
|
┌─────────────────────────────────────────────┤
|
|
1282
1490
|
│ Configuration Changes │
|
|
1283
|
-
│ → where-am-i detects config issues │
|
|
1491
|
+
│ → artifact-chain-where-am-i detects config issues │
|
|
1284
1492
|
│ → bootstrap adds new artifact types │
|
|
1285
1493
|
│ → bootstrap restructures config │
|
|
1286
1494
|
│ → handoff back to maintainer │
|
|
@@ -1289,19 +1497,25 @@ Profile Expansion / Configuration Change
|
|
|
1289
1497
|
|
|
1290
1498
|
### Routing Rules
|
|
1291
1499
|
|
|
1292
|
-
**From where-am-i to bootstrap**:
|
|
1500
|
+
**From artifact-chain-where-am-i to bootstrap**:
|
|
1293
1501
|
- No `artifact-graph.config.yaml` exists
|
|
1294
1502
|
- Configuration severely inconsistent with project structure
|
|
1295
1503
|
- Project shape changed significantly (e.g., CLI → API service)
|
|
1296
1504
|
- Need to add new artifact types to profile
|
|
1297
1505
|
- `artifact-graph doctor` reports configuration corruption
|
|
1298
1506
|
|
|
1299
|
-
**From where-am-i to maintainer**:
|
|
1507
|
+
**From artifact-chain-where-am-i to maintainer**:
|
|
1300
1508
|
- Project has complete artifact-chain configuration
|
|
1301
1509
|
- Daily version-lock refresh/audit needed
|
|
1302
1510
|
- Git hook installation or update needed
|
|
1303
1511
|
- Stale locks or orphan artifacts detected
|
|
1304
1512
|
|
|
1513
|
+
**From artifact-chain-where-am-i to artifact-chain-requirements**:
|
|
1514
|
+
- A new or unrefined idea must be preserved
|
|
1515
|
+
- Existing requirements need query, merge, deferral, rejection, or handoff updates
|
|
1516
|
+
- Approved requirements are entering an incremental SPEC
|
|
1517
|
+
- An open SPEC needs item-level acceptance or current-artifact writeback
|
|
1518
|
+
|
|
1305
1519
|
**From maintainer back to bootstrap**:
|
|
1306
1520
|
- Configuration needs major restructuring
|
|
1307
1521
|
- New artifact types required
|
|
@@ -1314,11 +1528,16 @@ Add this section to your project's `AGENTS.md`:
|
|
|
1314
1528
|
```markdown
|
|
1315
1529
|
## Artifact Chain Skills
|
|
1316
1530
|
|
|
1317
|
-
This project uses
|
|
1531
|
+
This project uses four Artifact Chain Assistant skills:
|
|
1318
1532
|
|
|
1319
|
-
### Entry Triage (where-am-i)
|
|
1533
|
+
### Entry Triage (artifact-chain-where-am-i)
|
|
1320
1534
|
- Use when you have a vague requirement or need to determine project stage
|
|
1321
|
-
-
|
|
1535
|
+
- Inventory mode reports capabilities, evidence gaps, unknowns, and next steps before checking optional method providers
|
|
1536
|
+
- Task orientation routes to requirements, bootstrap, maintainer, or direct implementation
|
|
1537
|
+
|
|
1538
|
+
### Requirement And Iteration Records (artifact-chain-requirements)
|
|
1539
|
+
- Use to preserve, query, merge, defer, reject, or hand off requirement entries
|
|
1540
|
+
- Use to create incremental SPECs and record each accepted item with evidence and its current-artifact destination
|
|
1322
1541
|
|
|
1323
1542
|
### Project Initialization (artifact-chain-bootstrap)
|
|
1324
1543
|
- Use for first-time setup, profile expansion, or configuration repair
|
|
@@ -1367,12 +1586,14 @@ Add this section to your project's `CLAUDE.md`:
|
|
|
1367
1586
|
|
|
1368
1587
|
Use the installed `artifact-chain-assistant` plugin for artifact-chain operations:
|
|
1369
1588
|
|
|
1370
|
-
1. **Entry triage**: Use `where-am-i` skill for vague requirements
|
|
1371
|
-
2. **
|
|
1372
|
-
3. **
|
|
1589
|
+
1. **Entry triage**: Use `artifact-chain-where-am-i` skill for vague requirements
|
|
1590
|
+
2. **Requirement and SPEC records**: Use `artifact-chain-requirements` to preserve demand and record item-level acceptance
|
|
1591
|
+
3. **Initialization**: Use `artifact-chain-bootstrap` skill for setup/repair
|
|
1592
|
+
4. **Daily maintenance**: Use `artifact-chain-maintainer` skill for lock/hook management
|
|
1373
1593
|
|
|
1374
1594
|
### Skill Routing
|
|
1375
1595
|
- No config → bootstrap
|
|
1596
|
+
- New idea or open SPEC → artifact-chain-requirements
|
|
1376
1597
|
- Config exists but stale → maintainer
|
|
1377
1598
|
- Config complete and fresh → direct implementation
|
|
1378
1599
|
|