@oevery/rsp 3.3.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -17
- package/README.zh-CN.md +25 -18
- package/dist/{chunk-TSUDEX5Y.mjs → chunk-HFSTLCCK.mjs} +1261 -319
- package/dist/cli.mjs +1129 -2350
- package/dist/{entry-GIDNR7CJ.mjs → entry-RIJQ2X46.mjs} +122 -36
- package/package.json +32 -24
- package/skills/rsp/SKILL.md +43 -38
- package/skills/rsp/references/closeout.md +38 -0
- package/skills/rsp/references/context-migration.md +22 -0
- package/skills/rsp/references/control-outcome.md +3 -29
- package/skills/rsp/references/coordination-recovery.md +25 -0
- package/skills/rsp/references/coordination-review.md +15 -0
- package/skills/rsp/references/coordination.md +59 -0
- package/skills/rsp/references/durable-review.md +60 -12
- package/skills/rsp/references/focus-continuation.md +8 -4
- package/skills/rsp/references/groups-dependencies.md +6 -4
- package/skills/rsp/references/response-language.md +2 -0
- package/skills/rsp/references/setup-repair.md +37 -7
- package/skills/rsp/references/work-model.md +27 -0
- package/skills/rsp-commit/SKILL.md +76 -31
- package/skills/rsp-commit/references/message.md +34 -0
- package/skills/rsp-doc/SKILL.md +65 -0
- package/skills/rsp-doc/agents/openai.yaml +3 -0
- package/skills/rsp-doc/references/artifact-lenses.md +43 -0
- package/skills/rsp-doc/references/release-communication.md +39 -0
- package/skills/rsp-doc/references/skill-authoring.md +36 -0
- package/skills/rsp-implement/SKILL.md +56 -25
- package/skills/rsp-implement/references/diagnosis.md +10 -0
- package/skills/rsp-implement/references/finding-resolution.md +21 -0
- package/skills/rsp-implement/references/test-first.md +7 -0
- package/skills/rsp-review/SKILL.md +46 -45
- package/skills/rsp-review/references/code-review.md +23 -8
- package/skills/rsp-review/references/document-review.md +25 -8
- package/skills/rsp-review/references/release-communication.md +21 -0
- package/skills/{rsp-structural-audit/references/structural-lenses.md → rsp-review/references/structural-review.md} +5 -5
- package/skills/rsp-shape/SKILL.md +24 -45
- package/skills/rsp-shape/references/complex-shaping.md +3 -1
- package/skills/rsp-shape/references/deep-clarification.md +4 -4
- package/skills/rsp-shape/references/domain-modeling.md +13 -0
- package/skills/rsp-shape/references/module-seams.md +13 -0
- package/skills/rsp-shape/references/planning.md +42 -0
- package/skills/{rsp-design → rsp-shape}/references/reversible-exploration.md +2 -2
- package/skills/rsp-verify/SKILL.md +44 -12
- package/dist/chunk-7HXQNBIG.mjs +0 -871
- package/dist/chunk-JOMFFQRG.mjs +0 -99
- package/dist/chunk-QM2UVPQK.mjs +0 -375
- package/dist/entry-YAW3PYFA.mjs +0 -174
- package/rules/rsp-rules.md +0 -48
- package/skills/rsp/references/implementation-evidence.md +0 -12
- package/skills/rsp/references/managed-routing.md +0 -45
- package/skills/rsp-design/SKILL.md +0 -53
- package/skills/rsp-design/references/domain-modeling.md +0 -11
- package/skills/rsp-design/references/module-seams.md +0 -11
- package/skills/rsp-diagnose/SKILL.md +0 -48
- package/skills/rsp-manage/SKILL.md +0 -101
- package/skills/rsp-manage/references/closeout.md +0 -13
- package/skills/rsp-manage/references/delegation.md +0 -47
- package/skills/rsp-manage/references/interruption-recovery.md +0 -19
- package/skills/rsp-manage/references/review-convergence.md +0 -9
- package/skills/rsp-release-docs/SKILL.md +0 -77
- package/skills/rsp-release-docs/references/convention-discovery.md +0 -65
- package/skills/rsp-release-docs/references/evidence-and-surfaces.md +0 -21
- package/skills/rsp-release-docs/references/output-contracts.md +0 -97
- package/skills/rsp-release-docs/references/publication-lifecycle.md +0 -28
- package/skills/rsp-resolve-findings/SKILL.md +0 -61
- package/skills/rsp-structural-audit/SKILL.md +0 -71
- package/skills/rsp-tdd/SKILL.md +0 -56
package/README.md
CHANGED
|
@@ -4,31 +4,30 @@ English | [简体中文](./README.zh-CN.md)
|
|
|
4
4
|
|
|
5
5
|
**A repository-native engineering workflow for humans and AI agents.**
|
|
6
6
|
|
|
7
|
-
RSP turns unclear intent into shaped, implemented, reviewed, and verified software changes while keeping project knowledge durable and work recoverable. It uses ordinary repository files—
|
|
7
|
+
RSP turns unclear intent into shaped, implemented, reviewed, and verified software changes while keeping project knowledge durable and work recoverable. It uses ordinary repository files—Skills, Specs, and Plans—rather than hidden workflow state.
|
|
8
8
|
|
|
9
9
|
## What RSP helps you do
|
|
10
10
|
|
|
11
11
|
- Shape ambiguous work into an executable Change.
|
|
12
12
|
- Resolve design questions from repository evidence before implementation.
|
|
13
|
-
- Route diagnosis, implementation,
|
|
13
|
+
- Route diagnosis, implementation, risk-selected test-first work, review, and release work to explicit capabilities.
|
|
14
14
|
- Preserve current facts, lasting rationale, scoped instructions, and completed history in the right owners.
|
|
15
15
|
- Keep authority visible: RSP never infers permission to commit, publish, deploy, or approve work.
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
intent → shape → design when needed → diagnose | TDD | implement
|
|
19
|
-
→ review → durable review → archive
|
|
20
|
-
```
|
|
17
|
+
RSP selects the next responsibility from the task and evidence, not a fixed stage pipeline. A settled authorized task can proceed directly to implementation and its own checks; design, review, coordination and lifecycle closeout apply only when needed and permitted.
|
|
21
18
|
|
|
22
19
|
## Five-minute start
|
|
23
20
|
|
|
24
|
-
RSP requires Node.js 22 (`>=22`).
|
|
21
|
+
RSP requires Node.js 22 (`>=22`). Run setup from the target project root. For a new project, resolve a stable version once and keep that exact selection. Existing projects use the version in `.rsp/version` and the generated AGENTS entry, not a fresh `latest` resolution. Later `rsp` examples denote that exact invocation or a verified matching executable:
|
|
25
22
|
|
|
26
23
|
```bash
|
|
27
|
-
|
|
24
|
+
npm view @oevery/rsp dist-tags.latest
|
|
25
|
+
# Replace <version> with the inspected exact version.
|
|
26
|
+
RSP_VERSION='<version>'
|
|
27
|
+
npx -y @oevery/rsp@"$RSP_VERSION" init --with-project-setup
|
|
28
28
|
# fill .rsp/changes/project-setup.md
|
|
29
29
|
# fill .rsp/specs/design.md
|
|
30
|
-
npx -y @oevery/rsp@
|
|
31
|
-
npx -y @oevery/rsp@latest status --json
|
|
30
|
+
npx -y @oevery/rsp@"$RSP_VERSION" status
|
|
32
31
|
```
|
|
33
32
|
|
|
34
33
|
Then create and focus one tracked change:
|
|
@@ -36,10 +35,12 @@ Then create and focus one tracked change:
|
|
|
36
35
|
```bash
|
|
37
36
|
rsp create improve-login "Make login failures actionable"
|
|
38
37
|
rsp focus improve-login
|
|
39
|
-
rsp show
|
|
38
|
+
rsp show improve-login
|
|
40
39
|
```
|
|
41
40
|
|
|
42
|
-
|
|
41
|
+
Focus is a set: the setup Change may still be focused alongside improve-login. Use the explicit name to inspect it; show --focused requires exactly one marker.
|
|
42
|
+
|
|
43
|
+
Confirm that `status` shows the expected work; use read-only `doctor` when diagnosing setup. These are deterministic observations, not semantic acceptance. Follow the nearest `AGENTS.md`, keep the selected Change current and establish applicable required verification, reusing traceable passing evidence when its tested boundary and relevant inputs still apply. Before authorized archive, decide necessary knowledge updates, converge the whole Change and check current readiness.
|
|
43
44
|
|
|
44
45
|
[Read the full getting-started guide](./docs/site/en/getting-started.md).
|
|
45
46
|
|
|
@@ -47,8 +48,8 @@ Follow the nearest `AGENTS.md`, edit the focused Change as work progresses, run
|
|
|
47
48
|
|
|
48
49
|
```text
|
|
49
50
|
.rsp/
|
|
50
|
-
├──
|
|
51
|
-
├── specs/ #
|
|
51
|
+
├── version # exact CLI package selection
|
|
52
|
+
├── specs/ # current contracts, boundaries, and constraints
|
|
52
53
|
├── changes/ # open work
|
|
53
54
|
├── focus.d/ # markers selecting work; optional short recovery capsules
|
|
54
55
|
└── archives/ # completed history
|
|
@@ -65,8 +66,12 @@ A Change is one Markdown file with canonical Proposal, Spec, Design, Tasks, Veri
|
|
|
65
66
|
- [Configuration reference](./docs/site/en/reference/configuration.md)
|
|
66
67
|
- [CLI reference](./docs/site/en/reference/cli.md)
|
|
67
68
|
- [3.0 migration guide](./docs/migrations/3.0.md) and [3.1 migration guide](./docs/migrations/3.1.md)
|
|
68
|
-
- [
|
|
69
|
-
- [
|
|
69
|
+
- [4.0 migration guide](./docs/migrations/pinned-skills.md)
|
|
70
|
+
- [Changelog](./CHANGELOG.md)
|
|
71
|
+
- [Maintainer tests and Skill validation](./tests/README.md)
|
|
72
|
+
- [Maintainer workflows, publication and documentation recovery](./docs/site/en/contributing.md)
|
|
73
|
+
- [Repository context and contract navigation](./CONTEXT.md)
|
|
74
|
+
- [Authoritative architecture and Specs](./.rsp/specs/design.md) and [maintainer research](./research/README.md)
|
|
70
75
|
|
|
71
76
|
Run the documentation locally:
|
|
72
77
|
|
|
@@ -80,6 +85,8 @@ The site is only a presentation layer over the Markdown in this repository. It a
|
|
|
80
85
|
|
|
81
86
|
## Platform support
|
|
82
87
|
|
|
83
|
-
RSP is a tool-agnostic file convention and works with any assistant or editor that can read project files. Humans start here; agents follow the nearest `AGENTS.md`, load
|
|
88
|
+
RSP is a tool-agnostic file convention and works with any assistant or editor that can read project files. Humans start here; agents follow the nearest `AGENTS.md`, load the required project Core through host Skill discovery or `.agents/skills/rsp/SKILL.md`. Missing required Skills stop dependent work; there is no Rules fallback. Root `skills/` contains authored sources in the RSP repository, not the consumer installation entry.
|
|
89
|
+
|
|
90
|
+
RSP 4.0 uses `init` for a complete setup and the selected target CLI's `update` for the complete environment. It pins exact versions and retires Rules and separate Skill installation; existing projects must follow the [4.0 migration guide](docs/migrations/pinned-skills.md). The seven core Skills remain independently invocable; see [Skill ownership](docs/site/en/guides/skills.md).
|
|
84
91
|
|
|
85
92
|
RSP is licensed under the [MIT License](./LICENSE).
|
package/README.zh-CN.md
CHANGED
|
@@ -4,31 +4,30 @@
|
|
|
4
4
|
|
|
5
5
|
**面向人类与 AI 智能体的仓库原生工程工作流。**
|
|
6
6
|
|
|
7
|
-
RSP
|
|
7
|
+
RSP 把模糊意图转化为经过塑造、实现、审查和验证的软件变更,同时让项目知识可持久化、工作可恢复。它使用普通仓库文件——Skills、规格和计划——而不是隐藏的工作流状态。
|
|
8
8
|
|
|
9
9
|
## RSP 帮助你完成什么
|
|
10
10
|
|
|
11
11
|
- 把模糊工作塑造成一个可执行 Change。
|
|
12
12
|
- 在实现前根据仓库证据解决设计问题。
|
|
13
|
-
-
|
|
13
|
+
- 把诊断、实现、按风险选择的测试先行、审查和发布工作路由给明确的能力。
|
|
14
14
|
- 把当前事实、长期理由、作用域指令和完成历史保存在正确的归属位置。
|
|
15
15
|
- 保持权限可见:RSP 不会推断提交、发布、部署或批准权限。
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
意图 → 塑造 → 必要时设计 → 诊断 | TDD | 实现
|
|
19
|
-
→ 审查 → 持久化审查 → 归档
|
|
20
|
-
```
|
|
17
|
+
RSP 根据任务与证据选择下一项职责,不采用固定阶段流水线。已经明确且获授权的任务可以直接实现并完成自身检查;设计、审查、协调和生命周期收尾仅在需要且权限允许时执行。
|
|
21
18
|
|
|
22
19
|
## 五分钟入门
|
|
23
20
|
|
|
24
|
-
RSP 需要 Node.js 22(`>=22
|
|
21
|
+
RSP 需要 Node.js 22(`>=22`),从目标项目根目录执行初始化。新项目只解析一次稳定版本,后续始终使用同一精确版本;已有项目使用 `.rsp/version` 和 AGENTS 中记录的版本,不重新解析 `latest`。后续 `rsp` 表示该精确调用或已核验版本一致的可执行文件:
|
|
25
22
|
|
|
26
23
|
```bash
|
|
27
|
-
|
|
24
|
+
npm view @oevery/rsp dist-tags.latest
|
|
25
|
+
# 把 <version> 替换为已检查的精确版本。
|
|
26
|
+
RSP_VERSION='<version>'
|
|
27
|
+
npx -y @oevery/rsp@"$RSP_VERSION" init --with-project-setup
|
|
28
28
|
# 填写 .rsp/changes/project-setup.md
|
|
29
29
|
# 填写 .rsp/specs/design.md
|
|
30
|
-
npx -y @oevery/rsp@
|
|
31
|
-
npx -y @oevery/rsp@latest status --json
|
|
30
|
+
npx -y @oevery/rsp@"$RSP_VERSION" status
|
|
32
31
|
```
|
|
33
32
|
|
|
34
33
|
然后创建并聚焦一个受跟踪变更:
|
|
@@ -36,10 +35,12 @@ npx -y @oevery/rsp@latest status --json
|
|
|
36
35
|
```bash
|
|
37
36
|
rsp create improve-login "让登录失败信息可供用户采取行动"
|
|
38
37
|
rsp focus improve-login
|
|
39
|
-
rsp show
|
|
38
|
+
rsp show improve-login
|
|
40
39
|
```
|
|
41
40
|
|
|
42
|
-
|
|
41
|
+
Focus 是一个集合:project-setup 和 improve-login 可以同时聚焦。使用明确名称查看目标;show --focused 要求恰好一个标记。
|
|
42
|
+
|
|
43
|
+
确认 `doctor` 显示预期的项目设置,`status` 显示预期工作;这些是确定性观察,不是语义验收。遵循最近的 `AGENTS.md`,保持选中的 Change 与实际结果同步,并建立适用的必需验证:被测边界和相关输入仍然适用时,复用可追溯的通过证据。授权归档前,判断必要的知识更新,收敛整个 Change,再检查当前就绪状态。
|
|
43
44
|
|
|
44
45
|
[阅读完整入门指南](./docs/site/zh-CN/getting-started.md)。
|
|
45
46
|
|
|
@@ -47,10 +48,10 @@ rsp show --focused
|
|
|
47
48
|
|
|
48
49
|
```text
|
|
49
50
|
.rsp/
|
|
50
|
-
├──
|
|
51
|
-
├── specs/ #
|
|
51
|
+
├── version # 精确的 CLI 软件包版本
|
|
52
|
+
├── specs/ # 当前契约、边界与必要约束
|
|
52
53
|
├── changes/ # 未完成工作
|
|
53
|
-
├── focus.d/ #
|
|
54
|
+
├── focus.d/ # 工作选择标记;可附短恢复胶囊
|
|
54
55
|
└── archives/ # 已完成历史
|
|
55
56
|
```
|
|
56
57
|
|
|
@@ -65,8 +66,12 @@ rsp show --focused
|
|
|
65
66
|
- [配置参考](./docs/site/zh-CN/reference/configuration.md)
|
|
66
67
|
- [CLI 参考](./docs/site/zh-CN/reference/cli.md)
|
|
67
68
|
- [3.0 迁移指南](./docs/migrations/3.0.md)与 [3.1 迁移指南](./docs/migrations/3.1.md)
|
|
68
|
-
- [
|
|
69
|
-
- [
|
|
69
|
+
- [4.0 迁移指南](./docs/migrations/pinned-skills.md)
|
|
70
|
+
- [变更日志](./CHANGELOG.md)
|
|
71
|
+
- [维护者测试与 Skill 验证](./tests/README.md)
|
|
72
|
+
- [维护工作流、发布与文档恢复](./docs/site/zh-CN/contributing.md)
|
|
73
|
+
- [仓库上下文与契约导航](./CONTEXT.md)
|
|
74
|
+
- [权威架构与 Specs](./.rsp/specs/design.md)及[维护者研究](./research/README.md)
|
|
70
75
|
|
|
71
76
|
在本地运行文档:
|
|
72
77
|
|
|
@@ -80,6 +85,8 @@ pnpm docs:build
|
|
|
80
85
|
|
|
81
86
|
## 平台支持
|
|
82
87
|
|
|
83
|
-
RSP 是与工具无关的文件约定,适用于任何能读取项目文件的助手或编辑器。人类从这里开始;AI 智能体遵循最近的 `AGENTS.md
|
|
88
|
+
RSP 是与工具无关的文件约定,适用于任何能读取项目文件的助手或编辑器。人类从这里开始;AI 智能体遵循最近的 `AGENTS.md`,通过宿主 Skill discovery 或 `.agents/skills/rsp/SKILL.md` 加载必需的项目 Core。缺少必需 Skill 时停止依赖工作,不再使用 Rules 后备协议。根目录 `skills/` 是 RSP 仓库中的分发源码,不是消费者的安装入口。
|
|
89
|
+
|
|
90
|
+
RSP 4.0 用 `init` 完成接入,用选定目标 CLI 的 `update` 一次更新完整环境;固定精确版本,退役 Rules 与独立 Skill 安装流程。已有项目须先阅读 [4.0 迁移指南](docs/migrations/pinned-skills.md)。七个核心 Skills 仍可独立调用,职责见 [Skills 指南](docs/site/zh-CN/guides/skills.md)。
|
|
84
91
|
|
|
85
92
|
RSP 使用 [MIT 许可证](./LICENSE)。
|