@oevery/rsp 3.3.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -17
- package/README.zh-CN.md +25 -18
- package/dist/chunk-JO6NDJM4.mjs +360 -0
- package/dist/chunk-LGDCIQYL.mjs +725 -0
- package/dist/{chunk-7HXQNBIG.mjs → chunk-P3KO3GZW.mjs} +420 -268
- package/dist/chunk-U56XMIOO.mjs +66 -0
- package/dist/{chunk-TSUDEX5Y.mjs → chunk-VDRXFKBP.mjs} +142 -867
- package/dist/cli.mjs +1111 -2347
- package/dist/client-EHRWH5Q7.mjs +108 -0
- package/dist/{entry-GIDNR7CJ.mjs → entry-NDASTAI5.mjs} +128 -38
- package/dist/viewer/NOTICE.txt +299 -0
- package/dist/viewer/app.css +2 -0
- package/dist/viewer/app.js +670 -0
- package/dist/viewer-build.json +1 -0
- package/dist/viewer-service.mjs +551 -0
- package/package.json +51 -25
- package/skills/rsp/SKILL.md +44 -38
- package/skills/rsp/references/architecture.md +39 -0
- 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 +12 -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 +42 -7
- package/skills/rsp/references/work-model.md +37 -0
- package/skills/rsp-commit/SKILL.md +76 -31
- package/skills/rsp-commit/references/message.md +34 -0
- package/skills/rsp-doc/SKILL.md +68 -0
- package/skills/rsp-doc/agents/openai.yaml +3 -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 +60 -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 +30 -9
- package/skills/rsp-review/references/document-review.md +24 -9
- package/skills/rsp-review/references/release-communication.md +21 -0
- package/skills/rsp-shape/SKILL.md +26 -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 +39 -12
- 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-structural-audit/references/structural-lenses.md +0 -41
- package/skills/rsp-tdd/SKILL.md +0 -56
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
# Groups and dependencies
|
|
2
2
|
|
|
3
3
|
Load this reference before creating, focusing, planning, or closing grouped or dependent work.
|
|
4
|
+
Use the same selected CLI throughout; `rsp` below denotes that invocation, not a request to fetch or install a package.
|
|
4
5
|
|
|
5
|
-
-
|
|
6
|
-
- Use a Change Group only for at least two independently
|
|
7
|
-
-
|
|
6
|
+
- Use the [shared work model](work-model.md) for Group and child identities when those definitions are missing from the current context.
|
|
7
|
+
- Use a Change Group only for at least two independently acceptable/deliverable Changes with dependencies or an integration obligation. Create it with `rsp group create <group> [goal]`, replace placeholders, and declare each direct child under `Slices` before creating it.
|
|
8
|
+
- The Brief is not focusable. Read it before a selected child. Its declaration order guides navigation and its blockers are inherited as external blockers, not graph edges.
|
|
9
|
+
- Group-level integration obligations belong in the Brief's `Completion Conditions`. Use a named `Integration:` condition for the durable boundary and record fresh integration evidence before marking it complete. A boundary supplied only by the current request is transient and cannot complete Group closeout until it is written back.
|
|
8
10
|
- Declare an exact prerequisite only as `- requires \`<change-work-ref>\`: <reason>` under the dependent Change's `Blockers`. Targets must be executable Changes.
|
|
9
|
-
- Use `rsp status --json`
|
|
11
|
+
- Use plain `rsp status` for the default semantic view and `rsp status --json` when exact dependency fields are needed. In the default JSON projection, `plan.nodes`, `plan.edges`, `plan.blocked`, and `plan.waves` are authoritative; the first non-empty wave is the current ready work. Each edge means “change requires prerequisite”; filtered plans retain transitive prerequisite context.
|
|
10
12
|
- Do not infer nested ownership from the human dependency forest, create a parallel graph, or copy live delivery state into a Group Brief. Archived prerequisites resolve without rewriting dependents; incomplete inspection fails closed.
|
|
11
13
|
- Archive children independently. Close the brief with `rsp group close <group>` only after every direct child and group completion gate passes.
|
|
12
14
|
- Closed Group recovery never reuses its identity through `rsp group create` and never cascades into children or dependents. Core's direct reopen-recovery procedure owns the lifecycle sequence and exact retained-archive selection.
|
|
@@ -8,4 +8,6 @@ Durable artifact prose is repository-owned. For a new authorized artifact: expli
|
|
|
8
8
|
|
|
9
9
|
Commit-message prose: explicit current instruction → configured effective commit language → nearest repository authority → clear recent non-merge history.
|
|
10
10
|
|
|
11
|
+
When precedence needs configured RSP language, use the same selected CLI's successful `rsp config --json` summary, optionally `--compact`; the CLI resolves defaults and inheritance. Reuse it until relevant configuration changes or recovery requires refresh. Raw YAML and status do not resolve effective language. On failed or unavailable projection, diagnose without inventing values or silently dropping configured precedence. Only the dependent choice waits; existing-file preservation, explicit overrides and independently authorized work needing no unresolved setting may continue. Other configuration systems retain their own readers.
|
|
12
|
+
|
|
11
13
|
Preserve canonical headings, paths, commands, identifiers, WorkRefs, Conventional Commit types and scopes, trailers, severity labels, and machine values. Language and locale never rename or translate an existing WorkRef. Persistent prose belongs to the domain, system, user, or operator; mention AI or agents only when they are actual product actors or constraints.
|
|
@@ -1,11 +1,46 @@
|
|
|
1
1
|
# Setup and repair
|
|
2
2
|
|
|
3
|
-
Load
|
|
3
|
+
Load before initializing, inspecting or updating RSP-managed assets, including upgrades.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
Use the runtime selected in AGENTS: an exact package pin in .rsp/version for
|
|
6
|
+
consumer projects, or this checkout's built CLI when .rsp/source explicitly
|
|
7
|
+
selects source mode. The two markers are mutually exclusive. Do not substitute a
|
|
8
|
+
published package for source mode because version strings match. An authorized
|
|
9
|
+
package upgrade deliberately selects its exact target CLI and runs its update for
|
|
10
|
+
the complete managed environment; source update keeps the local selection. Never
|
|
11
|
+
substitute @latest, a version range or an unverified global binary; package fetching
|
|
12
|
+
requires separate authority. Upgrade notices grant no migration authority.
|
|
10
13
|
|
|
11
|
-
|
|
14
|
+
- **Initialize:** rsp init [--agents-mode managed|print] [--with-project-setup] creates missing scaffolding and the complete core suite. Existing user files remain unchanged. Retry an incomplete init with the same target; repeated init cannot adopt a different pinned version. Retired Rules require update instead.
|
|
15
|
+
- **Update:** rsp update replaces the selected package's owned assets; optional --dry-run previews without writes. No separate installation or migration switches are needed.
|
|
16
|
+
- **Inspect:** rsp doctor and rsp skills list are read-only. Only explicit doctor --check-updates queries stable metadata. Reports and notices grant no mutation authority.
|
|
17
|
+
|
|
18
|
+
## Ownership and failure
|
|
19
|
+
|
|
20
|
+
Core Skill installation directories and exact retired Skill/Rules names are
|
|
21
|
+
package-owned: replace or delete them, including local changes. Preserve needed
|
|
22
|
+
customizations beforehand. Unknown Skills, config, Specs, work, archives, Decision
|
|
23
|
+
Records and Focus are user-owned; update does not rewrite or repair them. Missing
|
|
24
|
+
config values use read-time defaults. AGENTS changes are confined to its managed
|
|
25
|
+
block; write a consumer pin last, and never create one in source mode. Preserve
|
|
26
|
+
canonical maintainer links to package sources.
|
|
27
|
+
|
|
28
|
+
Only metadata-recognized generated indexes may be deleted from user knowledge
|
|
29
|
+
directories. Stop for owner-controlled reserved paths, invalid config, unexpected
|
|
30
|
+
symlinks or unsupported targets. Do not bypass validation or downgrade the pin.
|
|
31
|
+
|
|
32
|
+
Failure stops without whole-update rollback or recovery copies. Completed steps
|
|
33
|
+
remain applied. Inspect the reported failure, fix its cause and rerun the same exact
|
|
34
|
+
target command; do not infer completion or switch to the old pin's CLI midway.
|
|
35
|
+
Concurrent external edits and crash recovery are unsupported. No recovery entry exists.
|
|
36
|
+
|
|
37
|
+
## Project knowledge
|
|
38
|
+
|
|
39
|
+
Keep architecture contracts in .rsp/specs/design.md, domain contracts in their Specs, navigation in
|
|
40
|
+
CONTEXT and scoped instructions outside the managed AGENTS block. For an existing
|
|
41
|
+
or explicitly requested architecture model, use [architecture knowledge](architecture.md)
|
|
42
|
+
for its relationship to contracts and its context entry. Use rsp specs to
|
|
43
|
+
query knowledge. A legacy context map selects [context migration](context-migration.md);
|
|
44
|
+
discovery alone grants no merge or deletion. Semantic writeback and archive decisions
|
|
45
|
+
remain outside deterministic setup. Missing required Skills stop dependent work;
|
|
46
|
+
never fall back to retired Rules or install implicitly.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Shared work model
|
|
2
|
+
|
|
3
|
+
Read when selecting, reporting or operating a tracked RSP owner, or writing/reviewing its records, and the relevant definitions are not already available in context. Direct untracked work needs no RSP identity. These shared definitions require no Core execution.
|
|
4
|
+
|
|
5
|
+
## Work shapes
|
|
6
|
+
|
|
7
|
+
Direct work is a clear bounded request without durable continuity needs. Change retains one acceptance/delivery boundary for sustained work or recovery. Group coordinates independently acceptable/deliverable child Changes with dependencies or integration obligations. Complexity, file count and worker count alone select neither Group nor delegation. Agent topology is a separate execution choice.
|
|
8
|
+
|
|
9
|
+
Ordinary completion and checkpoint commits leave a Change open. Final delivery or an explicit close request uses the closeout policy; reopen is exceptional recovery, not the normal iteration path.
|
|
10
|
+
|
|
11
|
+
## Identity and ownership
|
|
12
|
+
|
|
13
|
+
A WorkOwner is the selected owner of the requested work: a Change, or a Group for its coordination boundary. A direct untracked request retains its explicit scope without inventing a Change, Group or WorkRef.
|
|
14
|
+
|
|
15
|
+
A Change WorkRef is its logical name: `<change>` for an ungrouped Change, or `<group>/<change>` for a grouped child. Use that identity in commands, reports and ownership trailers. Its Markdown file is `.rsp/changes/<work-ref>.md`: a location for reading or evidence, never the WorkRef value. For example, `checkout/cache-ttl` identifies the child whose file is `.rsp/changes/checkout/cache-ttl.md`. Evidence may cite a file and line separately.
|
|
16
|
+
|
|
17
|
+
A Group reference is `<group>/brief` and resolves to `.rsp/changes/<group>/00-brief.md`; it names the Group, not an executable child Change. Identities are shallow; deeper nesting is invalid. Read its Brief for shared scope and dependencies, then select the actual child before child work. Do not substitute a Group reference, Brief path or directory for a child WorkRef. A Group-level judgment retains its Group reference and identifies the included direct child Changes.
|
|
18
|
+
|
|
19
|
+
An explicit user-selected owner wins over default focus discovery. Focus markers locate open-work candidates; multiple candidates alone are not a blocker. Resolve intent and relevant state rather than guessing ownership. Preserve existing work and its owner when changing scope.
|
|
20
|
+
|
|
21
|
+
## Authority and evidence
|
|
22
|
+
|
|
23
|
+
Identity, focus, readiness, dependency state and capability availability grant no action authority. A Group Brief supplies context, not permission to implement every child. A completed check proves only its tested boundary; neither it nor a review report grants lifecycle completion, Git delivery, publication or approval. Each capability retains its own action and stop conditions.
|
|
24
|
+
|
|
25
|
+
In a Change's Blockers, record only unresolved dependencies or decisions preventing required work. Write standalone `None` when none remain; keep non-blocking verification limits in Verify. Exact prerequisites use ``- requires `<work-ref>`: <reason>``. Other prose, including an explanation after `None`, remains an external blocker declaration.
|
|
26
|
+
|
|
27
|
+
Use only the selected owner's relevant artifacts and authoritative project context. Installed files are shared across the suite, but separate workers do not inherit one another's loaded instructions. Reuse applicable definitions in the same context; obtain this file before depending on missing definitions. If the shared resource is unavailable, report an incomplete suite and stop dependent actions rather than inventing a substitute or installing implicitly.
|
|
28
|
+
|
|
29
|
+
## Current work records
|
|
30
|
+
|
|
31
|
+
A Change retains six sections: Proposal, Spec, Design, Tasks, Verify and Blockers. During work it states the current authorized intent, approach and actual progress; at closeout it records the delivered outcome. Update affected content as facts change instead of appending rounds, dates or session summaries. Keep a date only when it matters to provenance or applicability. Record cleanup never authorizes dropping unmet scope or acceptance obligations.
|
|
32
|
+
|
|
33
|
+
- **Tasks:** keep current checkable work and completion. Replace, split or merge tasks within authorized scope; reopen or rewrite invalidated results. Routine attempts, fixes, retries and individual check runs are not new tasks. Completion proves neither verification nor independent or human acceptance.
|
|
34
|
+
- **Verify:** keep declared acceptance checks and their required/optional distinction, then retain only information needed to judge acceptance, evidence applicability or locate necessary evidence. Do not restate results already expressed by check items. Commands, counts, candidate/environment details and review steps belong here only when their omission would change those judgments or prevent that lookup; occurrence alone is no reason to retain them. Replace superseded conclusions only within their covered scope, preserve still-applicable reused evidence, and distinguish full review, correction-only re-review and human acceptance. Mark invalidated coverage incomplete. Keep shared evidence once and detailed execution/review records with their existing owner; no run history or debugging narrative.
|
|
35
|
+
- **Focus:** keep only additional context needed to resume safely or avoid costly repeated discovery; refer to Change state without maintaining a second task, verification or blocker list. The conditional [Focus method](focus-continuation.md) owns replacement and cleanup. Ordinary progress needs no snapshot.
|
|
36
|
+
|
|
37
|
+
Keep decision rationale, useful before/after outcome comparisons and material failure dispositions with their existing owner. For resolved ordinary failures, remove the attempt narrative; preserve any effect on acceptance or evidence validity. Routine history stays in conversation and raw evidence with its existing owner. Removing stale prose does not delete reports, conversation or Git history, require a new log, or move discarded history into Focus or an appendix.
|
|
@@ -1,63 +1,108 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: rsp-commit
|
|
3
|
-
description:
|
|
3
|
+
description: Inspect or create one authorized exact-scope local commit for direct, Change, integration, Group or release delivery. Preserve unrelated work; do not infer lifecycle, remote delivery or history-rewrite authority.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
6
|
author: oevery
|
|
7
|
-
version: "2026.
|
|
7
|
+
version: "2026.10.16.1"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# RSP Commit
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
For tracked work, read the [shared work model](../rsp/references/work-model.md) when its identity and ownership definitions are missing from the current context. Use logical WorkRefs in commands and reports; cite file locations separately. Direct invocation needs no prior Core execution.
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Own exact local Git delivery, invoked directly or through Core. This default core capability grants no authority through availability. Readiness-only work stays read-only. Commit only with current local authority, one exact owned boundary and applicable passing verification.
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Responses follow explicit instruction, personal instructions, then conversation language; existing artifacts retain theirs. Commit prose follows explicit commit-language instruction, effective configuration, nearest repository authority, then clear recent non-merge style. Response language does not select it. Preserve commands, identifiers, Conventional types/scopes and trailers.
|
|
17
|
+
|
|
18
|
+
Resolve needed RSP defaults/inheritance through the selected CLI's successful `rsp config --json`, refreshing on drift or recovery. Raw YAML is diagnostic only. Projection failure leaves dependent language unresolved before staging; history cannot replace it, while independent authorized inspection may continue. Resolve material conflicts with the owner.
|
|
19
|
+
|
|
20
|
+
## Establish the delivery boundary
|
|
21
|
+
|
|
22
|
+
Resolve the smallest request: kind, purpose, owner or summary, real included WorkRefs when relevant, exact paths, current local authority, applicable verification pointers and lifecycle evidence only when applicable. Derive these facts from direct user intent or Core's bounded handoff; do not require a transport schema or create a second source of truth.
|
|
23
|
+
|
|
24
|
+
| Kind | Identity and applicable evidence | RSP trailers |
|
|
17
25
|
| --- | --- | --- |
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
|
26
|
+
| direct | One confirmed direct outcome permitted by project tracking rules | none |
|
|
27
|
+
| change | One real WorkRef | RSP-WorkRef |
|
|
28
|
+
| integration | At least two real WorkRefs and one evidenced shared delivery boundary | included RSP-WorkRef values |
|
|
29
|
+
| group | Group reference, included WorkRefs and one wave or closeout boundary | RSP-Group and included RSP-WorkRef values |
|
|
30
|
+
| release | Confirmed release identity and release-boundary evidence | only real included WorkRefs |
|
|
22
31
|
|
|
23
|
-
A
|
|
32
|
+
A durable owner is a Change WorkRef or Group reference; included children never replace it. Direct, integration and release may have no durable WorkOwner. Integration creates no Group, direct creates no Change, and commit count is independent from Change count.
|
|
24
33
|
|
|
25
|
-
|
|
34
|
+
Purpose is separate from kind:
|
|
26
35
|
|
|
27
|
-
|
|
36
|
+
- A checkpoint keeps the Change open and delivers a verified current slice without claiming completed acceptance, closing an issue or requiring archive.
|
|
37
|
+
- A terminal delivery claims completion only for its selected boundary. Tracked terminal inputs require complete Tasks, decisive Required Verify and no active blocker; legacy unclassified Verify is Required. Optional omissions remain explicit but do not block. Direct work uses its own acceptance, not an invented lifecycle gate.
|
|
28
38
|
|
|
29
|
-
|
|
39
|
+
A generic commit request is a checkpoint unless final delivery is already established. For tracked final delivery, resolve the closure decision through [Core closeout](../rsp/references/closeout.md) before staging, including direct invocation; do not repeat an already settled decision. Commit pauses for its owning capability to perform necessary writing or authorized lifecycle work. Lifecycle authority stays upstream. If terminal delivery includes authorized archive or Group closeout, require that action and its inspected diff before staging. Do not archive, update Specs or clean up a Change inside Commit. A valid explicitly authorized local commit without lifecycle authority does not gain it or require an invented archive.
|
|
30
40
|
|
|
31
|
-
|
|
41
|
+
## Audit before staging
|
|
32
42
|
|
|
33
|
-
|
|
43
|
+
Read nearest authority and the selected current owner, plus the relevant Brief/children or archive when needed. Inspect status, the complete staged, unstaged and untracked boundary, cached diff and recent non-merge messages. Reread decisive verification and applicable lifecycle facts; copied handoff prose is insufficient.
|
|
34
44
|
|
|
35
|
-
|
|
45
|
+
Reuse traceable passing results while relevant content, dependencies, configuration, tools, inputs and environment still apply. Run only authorized missing or invalidated checks with settled scope and method, or explicitly required executions; entering Commit alone requires no rerun. Failed or unavailable required evidence stops delivery.
|
|
36
46
|
|
|
37
|
-
|
|
47
|
+
Stop without changing the index on missing or ambiguous authority, stale evidence, an invalid kind/purpose, unrelated staged work, mixed ownership that cannot be separated without guessing, or active merge, cherry-pick, revert, rebase, mail-apply or sequencer state. Preserve pre-existing owned partial staging unless the exact additional content is authorized. Never broaden paths, unstage unrelated work or reset the index to make a boundary fit.
|
|
38
48
|
|
|
39
|
-
|
|
49
|
+
Before reporting eligibility, confirm verification covers the exact proposed content. Matching filenames or a working-tree pass containing excluded changes is insufficient. For a staged slice, compare evidence with the current index. Check excluded code, configuration, fixtures and generated inputs for invalidation. Obtain missing evidence within authority or report the gap; preserve unrelated work.
|
|
40
50
|
|
|
41
|
-
|
|
51
|
+
Before dependent `git add` or `git commit`, run required audits and preparation as separately observed commands by default. If batching, explicitly gate each dependent write on all its prerequisites succeeding; shell newlines and the batch's final exit code do not provide that gate. A failed or unavailable prerequisite blocks its dependent write. Inspect actual index/worktree effects before permitted recovery; later success does not erase an earlier write after failure. Commit's one-attempt rule still applies.
|
|
42
52
|
|
|
43
|
-
- the
|
|
44
|
-
- material behavior or compatibility boundaries; and
|
|
45
|
-
- an important omission or risk when one affects review.
|
|
53
|
+
For readiness-only work, report eligibility, gaps and the next owner here; do not stage, prepare files or commit.
|
|
46
54
|
|
|
47
|
-
|
|
55
|
+
## Review the final index and message
|
|
48
56
|
|
|
49
|
-
|
|
57
|
+
1. Stage only the authorized content with exact path handling. Reread status, complete cached paths and diff, including sensitive material, and prove one reviewable logical boundary. Stop if it does not match; do not repair unrelated staging.
|
|
58
|
+
2. Confirm the final index matches the content covered by the audited evidence. If staging changed that boundary, reassess applicability and fill only missing or invalidated coverage before proceeding; unchanged applicable results need no rerun. Record the reviewed HEAD (or unborn state) and index tree. These bind content, file modes and deletions, not only names; keep them transient.
|
|
59
|
+
3. Derive the message from that final cached diff, not conversation chronology or a copied Change. Follow applicable project message rules and checks, using the established Conventional form when present and a concise repository-consistent subject. When the project permits and the subject is sufficient, omit the body; otherwise add only the rationale, behavior differences, compatibility or risk needed by a reader without the session.
|
|
60
|
+
4. Load [message and references](references/message.md) for tracked, integration, Group, release, issue-related or non-trivial messages. Keep real removals, migration constraints and important omissions; omit session-only attempts, file inventories and routine command output. A supplied prepared message must still match the reviewed boundary; do not edit it when nearer authority forbids editing.
|
|
61
|
+
5. Prepare actual multiline text, preferably outside the worktree or at an explicitly allowed path. Never use literal backslash-n as a newline transport or include a temporary message file in delivery. Legitimate escape notation in prose stays literal; do not decode it or reject it merely for containing backslash-n.
|
|
50
62
|
|
|
51
|
-
##
|
|
63
|
+
## Execute once and observe
|
|
52
64
|
|
|
53
|
-
|
|
65
|
+
Use native Git inside this capability; no RSP commit wrapper or generated delivery
|
|
66
|
+
script is required. Missing Commit capability has no Core substitute. Respect a
|
|
67
|
+
nearer required method or denial; an incompatible requirement needs an owner
|
|
68
|
+
decision, not a trial commit or automatic fallback.
|
|
54
69
|
|
|
55
|
-
|
|
70
|
+
1. Inspect operation state through `git rev-parse --git-path` for MERGE_HEAD,
|
|
71
|
+
CHERRY_PICK_HEAD, REVERT_HEAD, rebase-merge, rebase-apply and sequencer. Any
|
|
72
|
+
active operation or incomplete inspection stops ordinary delivery. Resolve
|
|
73
|
+
paths through Git, not a presumed .git directory, so worktrees are covered.
|
|
74
|
+
2. Read HEAD with `git --no-replace-objects rev-parse --verify 'HEAD^{commit}'`.
|
|
75
|
+
A failed read is not automatically unborn: require `git symbolic-ref -q HEAD`
|
|
76
|
+
to name refs/heads/... and `git show-ref --verify --quiet <that-ref>` to confirm
|
|
77
|
+
absence (exit 1). Other errors stop. Immediately before execution, recheck this
|
|
78
|
+
HEAD/unborn state and `git write-tree` against the reviewed snapshot. A caller's
|
|
79
|
+
fixed snapshot cannot be replaced on its behalf. Drift stops without index repair.
|
|
80
|
+
3. Attempt exactly once: `git commit --cleanup=verbatim -F <message-file>`, replacing
|
|
81
|
+
the placeholder with the safely prepared, quoted path. Preserve normal hooks
|
|
82
|
+
and signing policy; do not disable either to obtain success. Snapshot checks
|
|
83
|
+
are sequential observations, not a cross-process lock.
|
|
84
|
+
4. Read resulting HEAD, then inspect that immutable SHA using
|
|
85
|
+
`git --no-replace-objects cat-file commit <sha>` for the raw message, tree and
|
|
86
|
+
parents, and `git --no-replace-objects diff-tree --root --no-commit-id --name-only --no-renames -r -z <sha>`
|
|
87
|
+
for actual paths. Use NUL-delimited path observations before and after delivery;
|
|
88
|
+
do not split unusual filenames on whitespace or treat display quoting as identity.
|
|
89
|
+
5. Require the committed tree and paths to match the reviewed index, one parent
|
|
90
|
+
equal to reviewed HEAD (no parents for unborn), and the complete stored message
|
|
91
|
+
to match the prepared text with at most one terminal LF difference. Recheck
|
|
92
|
+
final HEAD still identifies that SHA and inspect remaining staged, unstaged
|
|
93
|
+
and untracked work against the prior boundary. Obtain committed facts from the
|
|
94
|
+
immutable object, not several movable HEAD reads.
|
|
56
95
|
|
|
57
|
-
|
|
96
|
+
Post-commit verification inspects these Git results and hook effects, not routine repetition of product tests. If hooks changed relevant inputs, report which evidence no longer applies; delivery remains stopped on mismatch or uncertain effects.
|
|
58
97
|
|
|
59
|
-
|
|
98
|
+
Exit zero alone is not exact delivery. After any failure, observe HEAD and actual
|
|
99
|
+
index/worktree effects before classifying the result. Distinguish refusal before
|
|
100
|
+
execution, Git failure with observed unchanged HEAD, created-commit mismatch and
|
|
101
|
+
incomplete observation. Even unchanged HEAD cannot rule out hook side effects.
|
|
102
|
+
An attempted commit or uncertain effects stops delivery without retry, amend,
|
|
103
|
+
reset, rollback or a repair commit. Preserve the observed state and report gaps;
|
|
104
|
+
never claim successful delivery when required observations fail or disagree.
|
|
60
105
|
|
|
61
|
-
## Return the
|
|
106
|
+
## Return the result
|
|
62
107
|
|
|
63
|
-
|
|
108
|
+
Concisely report kind and purpose, owner or refs when relevant, commit SHA when observed, delivered paths and message subject; include remaining work and material omissions when present. Retain the complete message and content/history observations as evidence; expand them when requested or needed to explain a mismatch, not as routine output. For a stop, name the missing condition, observed Git effects and safe next action. No stage grants push, tag, publication, deployment, approval, cross-branch integration or history rewrite.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Message and owned references
|
|
2
|
+
|
|
3
|
+
Load for tracked, integration, Group, release, issue-related or non-trivial messages after the final cached boundary is reviewed.
|
|
4
|
+
|
|
5
|
+
## Project contract and subject
|
|
6
|
+
|
|
7
|
+
Read applicable project instructions, message conventions and configured checks. Recent relevant commits supplement explicit rules, never override them. RSP does not require adopting Conventional Commits; where adopted, distinguish its syntax from stricter project requirements. Report conflicts with required checks instead of bypassing them. Preserve the entrypoint's commit-language precedence.
|
|
8
|
+
|
|
9
|
+
Derive type from the accepted change and scope from a stable domain or module, not session activities or path inventories. Summarize one reviewable outcome. If the message exposes unrelated outcomes, return to the delivery-boundary check; do not silently split or broaden the authorized commit.
|
|
10
|
+
|
|
11
|
+
## Body by information need
|
|
12
|
+
|
|
13
|
+
When project rules permit, omit the body if the subject suffices and no material rationale, compatibility, migration or risk needs explanation. File count and change type alone do not determine that need. Otherwise explain only what a reader without the session needs: the problem and motivation, important old/new behavior differences, consequential tradeoffs or limitations.
|
|
14
|
+
|
|
15
|
+
For Conventional messages, separate the body from the subject with a blank line. Use prose for causes/tradeoffs, lists for independent points or both as needed. Do not require a bullet list, Why/What/Testing template or prose-plus-list sequence. Omit padding and subject repetition.
|
|
16
|
+
|
|
17
|
+
Keep real removals, migration constraints and important omissions. Do not copy the Change, execution chronology, routine checks or full path lists. Omit session-only attempts; retain a consequential reason for rejecting an alternative or accepting a tradeoff only when it explains the final design. A decisive measurement or verification limitation may matter, but command success must not imply broader acceptance.
|
|
18
|
+
|
|
19
|
+
Follow project length and wrapping checks without inventing universal 50/72-character limits. Otherwise wrap for readability without breaking URLs, identifiers, commands or natural Chinese text. If an exact required reference conflicts with a hard check, report the conflict rather than truncating it or bypassing the check.
|
|
20
|
+
|
|
21
|
+
## Owned footers
|
|
22
|
+
|
|
23
|
+
Body freedom does not remove footer syntax. Keep footers separated by a blank line from the body, or from the subject when the body is absent. Emit ownership trailers as standalone fields, not body-list items; a necessary footer does not require a filler body. For Conventional breaking changes, use `!` or a `BREAKING CHANGE` footer as permitted, requiring both only when the project does. Explain the affected contract and migration needs proportionately; use the footer's exact token and syntax when present.
|
|
24
|
+
|
|
25
|
+
Project trailers from real ownership:
|
|
26
|
+
|
|
27
|
+
- Add one RSP-WorkRef per included Change.
|
|
28
|
+
- Add RSP-Group only when a Group is the durable owner; integration alone emits none.
|
|
29
|
+
- Direct and release without real included WorkRefs emit no RSP trailer.
|
|
30
|
+
- Keep authoritative external references already owned by the work. Use BREAKING CHANGE only for a real breaking contract.
|
|
31
|
+
|
|
32
|
+
Never invent a WorkRef, Group, issue, co-author, sign-off, breaking change or AI attribution.
|
|
33
|
+
|
|
34
|
+
Represent owned issue relationships with a proportionate non-closing Issue reference. A terminal delivery with complete selected Change acceptance may additionally use the provider-supported closing keyword only for an explicit closes relation. Checkpoints, relates, ambiguous ownership or unresolved provider/repository identity emit no closing keyword. If shorthand cannot be resolved safely, retain only the canonical URL; do not infer issues from files or mutate the tracker.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rsp-doc
|
|
3
|
+
description: Write or revise repository documents, Skills and release communication, including final Change convergence and knowledge writeback. Own writing and author self-checks, not product planning, formal read-only review or publication.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
author: oevery
|
|
7
|
+
version: "2026.11.04.2"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# RSP Doc
|
|
11
|
+
|
|
12
|
+
For tracked work, read the [shared work model](../rsp/references/work-model.md) when its identity and ownership definitions are missing from the current context. Use logical WorkRefs in commands and reports; cite file locations separately. Direct invocation needs no prior Core execution.
|
|
13
|
+
|
|
14
|
+
Write a grounded artifact usable without the author conversation. Use the artifact method for whole-record reconciliation, inspect final consistency and retain already-converged text. Local wording fixes and mechanical status/evidence updates need no full writing pass unless the whole record needs reconciliation. A no-op decision needs no new artifact or routine report field.
|
|
15
|
+
|
|
16
|
+
## Produce the artifact
|
|
17
|
+
|
|
18
|
+
1. **Fix the outcome.** Identify the reader, task, authorized files and expected result. For a document set, distinguish authoritative owners from summaries. Keep routine narration in conversation and retained evidence with its existing owner.
|
|
19
|
+
2. **Establish the facts.** Read existing content, relevant callers and the smallest authoritative contract, code or source chain. Check commands, defaults, links and behavior with available tools. Distinguish current behavior, intended requirements and unknowns. Resolve material contradictions before rewriting a promise. Interpret tool output as evidence; it grants no permission and does not prove semantic correctness.
|
|
20
|
+
3. **Draft for the task.** Use the artifact's role below. For Skill creation or revision, load [Skill authoring](references/skill-authoring.md); for changelogs, release notes, migration guidance or authorized release-document reconciliation, load [release communication](references/release-communication.md).
|
|
21
|
+
4. **Verify the result.** Check the edited meaning in context. For structural edits, also follow the affected reading path and references. Use the checks below; reuse traceable unchanged mechanical results. Writing completion does not automatically trigger Review, but separately requested or required judgment remains binding.
|
|
22
|
+
|
|
23
|
+
## Match the artifact to the reader
|
|
24
|
+
|
|
25
|
+
- README and procedures supply the starting point, prerequisites, actions and recognizable success. Concepts and decisions explain meanings, reasons, alternatives and consequences; references supply exact, navigable contracts.
|
|
26
|
+
- CONTEXT defines vocabulary and relationships and directs readers to authoritative owners. Specs state what consumers may rely on, including conditions, failures and exceptions; add scenarios only to resolve ambiguity. Scoped operating instructions own commands, authority and required checks.
|
|
27
|
+
- For architecture models or changes to their bound documents, use [architecture knowledge](../rsp/references/architecture.md) for synchronization and reference checks.
|
|
28
|
+
- Before writing a Change, load the [current work record rules](../rsp/references/work-model.md#current-work-records) when absent from context; the same resource owns Blockers syntax. Keep its six sections current during iteration and reconcile the whole record for closeout. Readers must find the outcome, applicable evidence and remaining work without reconstructing attempts; preserve useful before/after results and decision reasons when removing chronology.
|
|
29
|
+
|
|
30
|
+
## Check facts and reading paths
|
|
31
|
+
|
|
32
|
+
Use the checks relevant to the change:
|
|
33
|
+
|
|
34
|
+
- Check affected links, anchors, examples and metadata with existing tools. Execute examples only within safe authorized scope.
|
|
35
|
+
- Keep repository references portable: use project-root-relative file citations and document-relative Markdown links, following any existing machine-field path contract. Keep execution-root locations separate from durable file references; retain necessary external locations, original evidence and host-required display paths without copying local checkout prefixes into authored repository references.
|
|
36
|
+
- For linked artifacts, compare shared claims, terminology, defaults and handoffs against their authoritative owner. Correct authorized summaries and links without copying full definitions or changing unassigned owners. Report out-of-scope contradictions to their owner.
|
|
37
|
+
- API comments and embedded guidance: compare claims with their contract and implementation without assuming either side correct. Keep ordinary inline comments locally accurate and useful: retain constraints, rationale or usage that nearby code does not make clear, and remove restatement that adds no information; no full writing workflow is needed. Compiler/tool annotations retain implementation ownership.
|
|
38
|
+
- Examples: label illustrative pseudocode or incomplete snippets; check copyable commands against real prerequisites, outcomes and safe use without inferring execution or installation authority.
|
|
39
|
+
|
|
40
|
+
For agent-facing instructions, trace the relevant branch and its targets. Distinguish local reading-path reasoning from actual agent execution and required independent evidence; retain background human co-readers need.
|
|
41
|
+
|
|
42
|
+
For a failed command, inspect cause and actual effects before recovery. Change a permitted read/search or repeat-safe check method only within unchanged goal, scope, authority, baseline and required evidence. Named checks and protected RSP operations retain their methods/owners; unavailable Required evidence, unknown mutation or unsafe replay stops affected work.
|
|
43
|
+
|
|
44
|
+
## Resolve language
|
|
45
|
+
|
|
46
|
+
- Response: explicit request → personal instructions → conversation language.
|
|
47
|
+
- Existing files: preserve language unless the user asks to change it.
|
|
48
|
+
- New files: explicit artifact language → effective configuration → scoped instructions → conversation language. Resolve needed RSP defaults/inheritance through the selected CLI's successful `rsp config --json`; refresh on relevant drift or recovery. Raw YAML is diagnostic only. Failed projection leaves dependent choices unresolved, not replaced by lower precedence; independent authorized work may continue. Other projects retain their configuration readers.
|
|
49
|
+
- Keep canonical identifiers, machine values and required headings exact.
|
|
50
|
+
|
|
51
|
+
## Write precisely
|
|
52
|
+
|
|
53
|
+
- Explain unfamiliar concepts and mechanisms needed for the reader to reason, troubleshoot or assess guarantees. Do not force every artifact into an action list, tutorial or closing next step.
|
|
54
|
+
- State the actor, action and object directly. Prefer short, complete sentences when easier to follow. Separate independent actions; preserve causal and conditional links. Give each paragraph one useful purpose. Put prerequisites before use, conditions beside actions and exceptions beside their rules. Keep necessary local context; link branch-only detail with its reading condition and purpose.
|
|
55
|
+
- Number steps when their order matters; make each step a bounded action. Use peer bullets for independent items and connected prose for reasoning. Use tables for useful fixed mappings/comparisons, not branching Skill judgments.
|
|
56
|
+
- Remove filler, repetition and irrelevant chronology. Keep author voice, decision-relevant reasoning and required audit evidence. Prefer concrete actions; use contrasts or examples when they resolve a real ambiguity. No fixed sentence length, list size or compression ratio defines quality.
|
|
57
|
+
- Preserve negation, conditions, exceptions, permissions, quantities, units and certainty. Merge failure explanations with the same decision effect. Retain permission, outcome, stop and safe-recovery conditions, including rare boundaries preventing unauthorized action, serious harm or unsafe replay. Keep incident details with their evidence owner. Do not turn a proposal or unknown into a verified fact. Shorter wording proves no behavioral equivalence.
|
|
58
|
+
- Wording edits preserve meaning, ownership, anchors and technical literals. Structural edits may merge, move or reorder content within scope, checking completeness and references. When the request authorizes simplifying instructions, remove an unnecessary obligation rather than merely restating it; verify the remaining behavior and safety. Wording-only authority does not permit that contract change.
|
|
59
|
+
- Use ordinary words for conjunctions. Preserve technical syntax; reserve | for closed alternatives, / for established pairs, → for defined transitions and : for label/value boundaries.
|
|
60
|
+
|
|
61
|
+
## Preserve ownership
|
|
62
|
+
|
|
63
|
+
- Follow nearest project instructions and the authorized file boundary. Keep a selected WorkRef when tracked; bounded direct work needs no automatic Change.
|
|
64
|
+
- Doc owns writing and self-checks; formal fixed-scope Review remains read-only and independent when required. A combined request retains both responsibilities: Review grants no repair authority, but originally authorized corrections may continue.
|
|
65
|
+
- Product decisions stay with their design owner. Release writing grants no version decision, release verification, Git delivery or external publication authority. Missing optional methods do not require installation or block an available bounded method.
|
|
66
|
+
- Preserve unrelated work. Ask when a missing choice materially changes the result or authority; stop when required evidence is unavailable. Writing alone grants no installation, deployment, Git delivery or publication.
|
|
67
|
+
|
|
68
|
+
Return changed artifacts, decisive checks and material limits. Tracked work retains necessary conclusions in its existing record; stable knowledge belongs to its document and retained evidence to its existing owner. Focus maintenance remains Core's responsibility.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Release communication
|
|
2
|
+
|
|
3
|
+
Load only for changelog, release-note or migration writing, including authorized reconciliation of release documents. Doc owns writing and self-checks, not release execution or independent acceptance.
|
|
4
|
+
|
|
5
|
+
## Establish the release boundary
|
|
6
|
+
|
|
7
|
+
Resolve the released unit, audience, evidence range, target surfaces and allowed edits. Follow nearest instructions, existing release artifacts, relevant release-tool configuration and prior published conventions. Preserve Doc's artifact-language precedence; prior releases may inform style but do not override it. Inspect only relevant non-secret settings; do not create configuration or persist preferences without authority.
|
|
8
|
+
|
|
9
|
+
Confirm a version only from explicit user instruction or authoritative repository release configuration. Until confirmed, keep authorized drafts or fragments version-neutral; do not invent versioned headings, paths, exact-version commands or tag comparisons. A missing range or delivered behavior prevents factual release claims, not a bounded explanation of what evidence is needed.
|
|
10
|
+
|
|
11
|
+
Use established project tools for inventories or generated drafts when useful. Inspect their effects before invoking them: generation may also commit, tag, push or publish. Tool availability and release-writing authority permit none of those actions.
|
|
12
|
+
|
|
13
|
+
## Explain the net result
|
|
14
|
+
|
|
15
|
+
Inspect the smallest sufficient net diff, direct public consumers, accepted fragments or work records and verification evidence. Git history and generated notes locate evidence; they are not proof of delivered behavior. Reconcile material disagreements and label historical results with their revision or date.
|
|
16
|
+
|
|
17
|
+
Describe final user or operator outcomes. Omit reverted additions, fold prerelease corrections into final behavior and include housekeeping only for compatibility, packaging, security or operational effects. Omit rejected session-only proposals. Retain material removals, deprecations and known limits. Ground each claim and check meaningful omissions; add no permanent ledger or per-commit transcript.
|
|
18
|
+
|
|
19
|
+
Project only the requested or existing surfaces:
|
|
20
|
+
|
|
21
|
+
- **Changelog:** concise cumulative notable outcomes in the project's categories; use Added, Changed, Deprecated, Removed, Fixed and Security only as a fallback, omitting empty categories.
|
|
22
|
+
- **Release notes:** lead with audience-relevant outcomes, required action, compatibility and validation limits. Use a stable public range link when available; do not invent links or duplicate the whole changelog.
|
|
23
|
+
- **Migration guidance:** state affected users, old and new behavior, ordered actions, applicable compatibility window, success checks, and known rollback or support paths. Unknown operational decisions remain explicit. Keep a short note inline and use a separate guide only when needed and authorized.
|
|
24
|
+
|
|
25
|
+
Breaking changes and required actions come first. Follow established formats; writing alone requires no Release Change, manifest edit, separate release commit or archive.
|
|
26
|
+
|
|
27
|
+
## Check surfaces and handoff
|
|
28
|
+
|
|
29
|
+
Compare claims, version, date, terminology, links and required actions across the selected surfaces and their authoritative sources. A draft may be unfinished when labelled as such; final shipped prose must remain true before and after publication. Keep pending publication, authentication, command progress and unverified live availability in the transient handoff, not shipped documents. Final comparisons use the target tag or immutable ref, not moving HEAD.
|
|
30
|
+
|
|
31
|
+
When preparing final documents, name the observed candidate and fresh relevant evidence or gaps. Document consistency is not a release-ready verdict; package checks, implementation closeout and independent acceptance follow the project's declared gates and actual authority.
|
|
32
|
+
|
|
33
|
+
For Core-routed work, release checks without a WorkOwner stay with Core and the project's declared checks; WorkOwner-declared verification uses Verify. These are caller responsibilities, not installed dependencies or permission for Doc to create a Change or execute a release workflow.
|
|
34
|
+
|
|
35
|
+
For post-publication reconciliation, use observed tag, hosted release or registry facts only as needed. Modify only authorized mutable document surfaces; immutable shipped discrepancies need a corrective version or owner. Never move tags or rewrite published packages.
|
|
36
|
+
|
|
37
|
+
Never retain passwords, tokens, device codes or authentication URLs in artifacts, command output or responses. Stop before a credential-emitting interactive step; authorized human authentication occurs in a trusted terminal and returns credential-free status.
|
|
38
|
+
|
|
39
|
+
Return the range, confirmed identity or draft state, changed surfaces, checks, material omissions and decisions. State required user/operator actions and their consequences directly; links alone are insufficient. Preserve explicitly required safe command, API and version tokens exactly in the handoff. Report evidence limits and external-action status without claiming publication or approval.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Skill authoring
|
|
2
|
+
|
|
3
|
+
Use for creating or revising a Skill. Apply Doc's language, expression and authority rules; this branch adds package-specific decisions.
|
|
4
|
+
|
|
5
|
+
## Establish the package
|
|
6
|
+
|
|
7
|
+
- For creation, resolve the goal, inputs and observable result before choosing structure.
|
|
8
|
+
- Honor an explicit destination; otherwise use project instructions and host constraints. Check for existing content before creating files.
|
|
9
|
+
- For revision, inspect the authored package and its callers. State the revision's purpose and supporting evidence; preserve unrelated adaptations.
|
|
10
|
+
- Start with SKILL.md. Use a host initializer when useful; add resources only for a real task need.
|
|
11
|
+
- Preserve existing packages and global configuration. Creation is not installation or publication.
|
|
12
|
+
|
|
13
|
+
## Make discovery precise
|
|
14
|
+
|
|
15
|
+
- Describe the capability and triggering intents that distinguish it from neighboring Skills. Put detailed procedures in the body, not discovery metadata; avoid promises beyond the actual capability.
|
|
16
|
+
- Remove exhaustive synonyms. Add an exclusion only for a likely adjacent misroute.
|
|
17
|
+
- For creation or trigger changes, select useful probes by risk: direct requests, paraphrases or nearby non-triggers. Resource-only edits do not automatically need selection probes.
|
|
18
|
+
- Preserve invocation policy. Optional distribution does not mean explicit-only invocation; change policy only with user intent and verified host support.
|
|
19
|
+
|
|
20
|
+
## Make execution concise
|
|
21
|
+
|
|
22
|
+
- Organize the ordinary task around its goal, necessary inputs, authorized action, completion evidence and real stops. Choose headings for the task, not a universal template. Continue ordinary authorized checks. Prescribe order only for correctness, safety or contract dependencies.
|
|
23
|
+
- Revise the existing owner before adding a rule for the same decision. Merge repeated conditions and remove instructions no longer needed within the authorized contract delta. An incident warrants a new constraint only for a reusable gap, not noncompliance or tool/fixture failure alone.
|
|
24
|
+
- Keep shared guidance and necessary local safety context visible. Link substantial branch-only knowledge with its reading condition and purpose; ordinary tasks need no unrelated recovery or delivery detail. A short Skill needs no router or extra files. Split or merge resources only when it improves the reading path, not when it merely moves mandatory text. Honor the declared distribution boundary. RSP ships as a suite: shared concepts may reference Core resources directly; independent Skills keep their own resource closure. Never depend on a maintainer repository Spec.
|
|
25
|
+
- Retain generic teaching or old model-compensation instructions only for a current task-specific need. A newer model label alone proves neither redundancy nor safe removal of a constraint.
|
|
26
|
+
- Reuse tools for deterministic work; the Skill owns method selection and interpretation within its authority. Preserve named mandatory commands, provenance, independence and protected operations when replacing a tool-only method. Add a script only when repetition or fragility warrants it, and run changed helpers safely. Check incoming links before moving resources.
|
|
27
|
+
|
|
28
|
+
## Check the changed risk
|
|
29
|
+
|
|
30
|
+
1. Validate supported metadata, names, local links and package contents using existing tools. Do not import another host's schema.
|
|
31
|
+
2. Trace the ordinary task and changed branches through completion, including standalone use, unnecessary reads/handoffs, correct restraint, erroneous stops and the final answer. Check behavior and explanation together. Use realistic task outcomes and a relevant restraint case for changed behavior; judge artifacts and effects, not exact wording or reading commands. Formal Review selects applicable Code/Document perspectives within its own fixed scope.
|
|
32
|
+
3. Report structural checks separately from model execution. Explicit invocation does not prove discovery; self-checks do not prove independent review.
|
|
33
|
+
|
|
34
|
+
Use isolated inputs for write tests. Paid model calls, external effects and extra workers require actual authorization.
|
|
35
|
+
|
|
36
|
+
For an optimization claim, compare success and corrections alongside available token, call and time costs under comparable inputs. Otherwise leave the effect unverified.
|