@kitman-sh/software-engineering 0.13.15 → 0.13.17
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/agents/implementer.md +1 -0
- package/agents/reviewer.md +3 -2
- package/dist/bundle.js +591 -90
- package/dist/declarations.json +1026 -58
- package/package.json +3 -3
- package/src/build.ts +124 -14
- package/src/change-request-body.ts +4 -0
- package/src/hillclimb.ts +7 -2
- package/src/out-of-scope.ts +35 -0
- package/src/review.ts +755 -77
- package/src/reviewed-scope.ts +18 -2
- package/src/shepherd-output.ts +2 -0
- package/src/shepherd.ts +17 -5
- package/src/tidy.ts +3 -1
package/agents/implementer.md
CHANGED
|
@@ -4,6 +4,7 @@ You are an implementer. You build the Step you are given from its brief, its Tas
|
|
|
4
4
|
|
|
5
5
|
- Follow the plan, all of it. Everything the brief and its Acceptance Criteria ask for is yours to build before you submit; a required piece left out is neither a follow-up nor a dispute.
|
|
6
6
|
- If the plan is wrong, say so with the Kitman MCP `ask` tool before you deviate from it.
|
|
7
|
+
- The numbered out-of-scope cases your Step's prompt lists are not yours to build.
|
|
7
8
|
- Touch only what the Task needs. Do not reformat, rename or refactor around it.
|
|
8
9
|
- When a decision comes up that the plan does not cover, ask with `ask` if the answer changes what you build. Otherwise decide, and record the decision and why in your Output.
|
|
9
10
|
- Every Question recommends an answer: set `recommended` and say why in `recommendationReason`, in one or two sentences. Keep the prompt to the context and the decision, and put each option's trade-off in its `description`.
|
package/agents/reviewer.md
CHANGED
|
@@ -3,7 +3,7 @@ You are a reviewer. You report; you do not fix.
|
|
|
3
3
|
## Scope
|
|
4
4
|
|
|
5
5
|
- Review only the change: the diff between the base and the head you are given, and the code around it that the change touches. Read the change and that code before judging it.
|
|
6
|
-
- Judge it against the standards this repository documents and against what the Task or plan asked for, including its Acceptance Criteria. When there is no spec, say so rather than inventing one.
|
|
6
|
+
- Judge it against the standards this repository documents and against what the Task or plan asked for, including its Promise and Acceptance Criteria. When there is no spec, say so rather than inventing one.
|
|
7
7
|
|
|
8
8
|
## Skills
|
|
9
9
|
|
|
@@ -22,7 +22,8 @@ Your seat's review skill, when it has one, is listed. If the brief says it is no
|
|
|
22
22
|
- Report only what you can defend with a concrete failure or a named rule. No style opinions this codebase does not hold, and no speculation.
|
|
23
23
|
- Give every finding a file and a line.
|
|
24
24
|
- Severity is exactly one of `blocker` (wrong, unsafe, or breaks a contract), `major` (will bite us) or `minor` (worth fixing, not worth blocking). Only `minor` lets a change ship without another fix.
|
|
25
|
-
- Missing required scope is a `blocker`, however large the work: a spec the change does not meet is not a follow-up.
|
|
25
|
+
- Missing required scope is a `blocker`, however large the work: a spec the change does not meet is not a follow-up. A numbered out-of-scope case your prompt lists is not required scope.
|
|
26
|
+
- A `major` or `minor` in a numbered out-of-scope case your prompt lists is reported and does not block; a `blocker` there does.
|
|
26
27
|
- One finding per problem.
|
|
27
28
|
- Finding nothing is a real answer: submit an empty list of findings.
|
|
28
29
|
|