@oevery/rsp 3.2.0 → 3.3.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 +4 -3
- package/README.zh-CN.md +3 -2
- package/dist/{chunk-SEGJLWRE.mjs → chunk-7HXQNBIG.mjs} +447 -734
- package/dist/{chunk-JYDEJEM4.mjs → chunk-QM2UVPQK.mjs} +47 -30
- package/dist/{chunk-ZORUJTVS.mjs → chunk-TSUDEX5Y.mjs} +1163 -104
- package/dist/cli.mjs +5332 -3047
- package/dist/entry-GIDNR7CJ.mjs +1846 -0
- package/dist/{entry-RG6HREUN.mjs → entry-YAW3PYFA.mjs} +2 -2
- package/package.json +12 -7
- package/rules/rsp-rules.md +6 -5
- package/skills/rsp/SKILL.md +26 -57
- package/skills/rsp/references/control-outcome.md +31 -0
- package/skills/rsp/references/durable-review.md +18 -1
- package/skills/rsp/references/focus-continuation.md +9 -0
- package/skills/rsp/references/implementation-evidence.md +12 -0
- package/skills/rsp/references/managed-routing.md +9 -8
- package/skills/rsp/references/response-language.md +11 -0
- package/skills/rsp/references/setup-repair.md +3 -3
- package/skills/rsp-commit/SKILL.md +24 -9
- package/skills/rsp-design/SKILL.md +1 -1
- package/skills/rsp-diagnose/SKILL.md +3 -1
- package/skills/rsp-implement/SKILL.md +15 -5
- package/skills/rsp-manage/SKILL.md +56 -51
- package/skills/rsp-manage/references/closeout.md +3 -1
- package/skills/rsp-manage/references/delegation.md +47 -0
- package/skills/rsp-manage/references/interruption-recovery.md +15 -3
- package/skills/rsp-manage/references/review-convergence.md +3 -1
- package/skills/rsp-release-docs/SKILL.md +13 -13
- package/skills/rsp-release-docs/references/publication-lifecycle.md +4 -0
- package/skills/rsp-resolve-findings/SKILL.md +2 -2
- package/skills/rsp-review/SKILL.md +9 -12
- package/skills/rsp-review/references/code-review.md +3 -2
- package/skills/rsp-shape/SKILL.md +1 -1
- package/skills/rsp-tdd/SKILL.md +10 -2
- package/skills/rsp-verify/SKILL.md +40 -0
- package/dist/entry-I22OUIW5.mjs +0 -888
- package/skills/rsp/references/release-operations.md +0 -9
package/skills/rsp-tdd/SKILL.md
CHANGED
|
@@ -4,7 +4,7 @@ description: Drive one clear testable behavior owned by a selected RSP Change th
|
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
6
|
author: oevery
|
|
7
|
-
version: "2026.
|
|
7
|
+
version: "2026.08.17.1"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# RSP TDD
|
|
@@ -13,10 +13,16 @@ Implement one clear behavior test-first and return evidence to its selected Chan
|
|
|
13
13
|
|
|
14
14
|
## Establish the cycle
|
|
15
15
|
|
|
16
|
-
Require one selected, ready Change, clear observable behavior, test and production mutation authority, and an executable focused check. Read project authority, current worktree state, and the smallest owning production
|
|
16
|
+
Require one selected, ready Change, clear observable behavior, test and production mutation authority, and an executable focused check. Read project authority, current worktree state, and the smallest owning production and test seam.
|
|
17
17
|
|
|
18
18
|
Stop when behavior or acceptance is unclear, mutation authority is missing, an existing symptom has an unexplained cause, the execution environment is unavailable, or a baseline failure cannot be separated. Return the same Change, evidence, and one needed next action.
|
|
19
19
|
|
|
20
|
+
## Admit the behavior and test seam
|
|
21
|
+
|
|
22
|
+
Before RED, confirm that the selected Change, Spec, or project authority owns the observable behavior and that a real production path can reach the proposed seam. Name the consequence, one distinct plausible regression, why existing evidence misses it, and the expected maintenance cost. A test cannot create product authority; an imagined edge state, test-only consumer, wrapper hop, or source-string convention is not sufficient by itself.
|
|
23
|
+
|
|
24
|
+
If the proposed test would require a new public contract, fallback, compatibility path, or handling for a state the production producer cannot emit, stop for the owning decision instead of encoding the assumption as RED. Explicit user, Change, or project test requirements remain authoritative.
|
|
25
|
+
|
|
20
26
|
## RED
|
|
21
27
|
|
|
22
28
|
Add the smallest focused test at the real owning seam. Run it before production mutation and observe the expected missing or incorrect behavior.
|
|
@@ -27,6 +33,8 @@ RED is not a syntax, fixture, environment, or unrelated baseline failure. A pass
|
|
|
27
33
|
|
|
28
34
|
Make the minimum production change for GREEN, preserve scope, and rerun the same command. An unexplained failure returns to diagnosis without speculative widening.
|
|
29
35
|
|
|
36
|
+
Do not widen the product contract merely to satisfy the test. If GREEN requires an unauthorized API, fallback, compatibility behavior, test-only hook, or unreachable-state branch, treat the test premise as invalid or return the missing owner decision; do not mutate production first and rationalize the contract afterward.
|
|
37
|
+
|
|
30
38
|
## REFACTOR
|
|
31
39
|
|
|
32
40
|
Refactor only after GREEN for a concrete local improvement; rerun the focused check. Otherwise skip it.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rsp-verify
|
|
3
|
+
description: Verify one selected RSP Change against its declared evidence boundary without mutating product or workflow state.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
author: oevery
|
|
7
|
+
version: "2026.08.21.1"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# RSP Verify
|
|
11
|
+
|
|
12
|
+
Run one bounded, read-only verification pass for an existing RSP WorkRef. Verify owns evidence collection and the verification result; it is a Discipline, not a router, controller, lifecycle owner, reviewer, or Git delivery capability.
|
|
13
|
+
|
|
14
|
+
## Require a declared boundary
|
|
15
|
+
|
|
16
|
+
Require one explicit WorkRef or one unambiguous focus marker, the selected Change or Group context, its declared `Verify` boundary, the comparison baseline, and the authority to run the named checks. Stop when the owner, scope, baseline, required evidence, or environment is ambiguous. A Group Brief is context only; verify the selected executable child or the explicitly named integration boundary.
|
|
17
|
+
|
|
18
|
+
Read the nearest project instructions, Core or fallback, selected Change and Brief, relevant Specs and Decisions, current diff, blockers, and the smallest production path needed to understand the declared check. Do not invent checks from generic testability or replace an unexplained failure with a guessed assertion; route that case to `rsp-diagnose`.
|
|
19
|
+
|
|
20
|
+
## Preserve read-only authority
|
|
21
|
+
|
|
22
|
+
Do not edit product files, Changes, Specs, Decisions, focus markers, archives, configuration, or Git state. Do not start publication, deployment, approval, or human-acceptance actions. Running a declared local test, build, typecheck, lint, browser check, or other environment check is evidence collection only and retains the authority required by that command.
|
|
23
|
+
|
|
24
|
+
Reuse the invoking Core or Manage contract. Core owns the single outer `ControlOutcome`, route, and continuation; Manage owns execution mode, delegation, result validation, acceptance, lifecycle closeout, and commit eligibility. Verify's canonical result is nested phase evidence, not a peer outer status. Verify does not select worker identity or isolation, derive `review-clean`, or claim `archiveReady`; any identity or independence evidence comes from the host.
|
|
25
|
+
|
|
26
|
+
## Return one bounded result
|
|
27
|
+
|
|
28
|
+
Return exactly one canonical result:
|
|
29
|
+
|
|
30
|
+
- `pass`: every named required check passed within the declared boundary.
|
|
31
|
+
- `fail`: at least one named required check failed.
|
|
32
|
+
- `unavailable`: a required tool, dependency, service, credential, or environment could not be used.
|
|
33
|
+
|
|
34
|
+
Every result includes `evidence_delta: new | none` to state independently whether the pass, failure, or unavailability produced evidence that changes the next diagnosis or correction. It also includes `boundary: unchanged | changed` to state independently whether the observed owner, paths, baseline, behavior, interface, scope, or authority still matches the declared boundary. Include the WorkRef, lane objective, effective authority, named checks, comparison baseline, observed diff boundary, decisive evidence, omissions, and stop boundary. Preserve exact result and field values as machine-facing values; human-facing narration follows the invoking response-language contract.
|
|
35
|
+
|
|
36
|
+
`pass` proves only the declared verification boundary. It does not prove semantic review, durable writeback, archive readiness, commit eligibility, publication, deployment, approval, or human acceptance, and it does not grant lifecycle, Git, publication, or acceptance authority. Verify never self-reports worker identity or independence; Manage uses host observations when that distinction is required. Long-running verification remains active while its declared boundary and stop conditions hold; elapsed time, heartbeat, polling, and progress messages do not change the result.
|
|
37
|
+
|
|
38
|
+
## Stop and return
|
|
39
|
+
|
|
40
|
+
Stop with the invoking contract's canonical stop reason when evidence is missing, the environment is unavailable, the boundary changes, or a required check cannot be observed. On cancellation, do not begin conflicting work until the command or owned process is observed stopped. Return to Core or Manage with the result, decisive evidence, omissions, and the next owner; never turn an unavailable check into success and never retry without new evidence and safe replay inside the declared boundary.
|