@sockulags/agent-os 0.12.1 → 0.13.1
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/package.json +1 -1
- package/policy.md +9 -1
- package/skills/chart-work/SKILL.md +6 -1
- package/skills/chart-work/references/prototypes.md +24 -1
- package/skills/check-work/SKILL.md +3 -1
- package/skills/check-work/references/findings.md +26 -0
- package/skills/deliver-work/workflow.md +24 -8
- package/skills/dispatch-next/SKILL.md +4 -0
- package/skills/proportional-testing/references/strategy.md +12 -0
- package/skills/quality-ratchet/SKILL.md +16 -0
- package/skills/quality-ratchet/references/structure.md +36 -0
- package/skills/scope-guard/SKILL.md +11 -0
- package/skills/shape-work/SKILL.md +9 -0
- package/skills/shape-work/references/implementation-issues.md +1 -1
- package/skills/simplifier/SKILL.md +2 -1
- package/skills/simplifier-audit/SKILL.md +3 -1
- package/skills/simplifier-review/SKILL.md +5 -1
package/package.json
CHANGED
package/policy.md
CHANGED
|
@@ -34,10 +34,18 @@ Rules:
|
|
|
34
34
|
planned work; invoke them through the name exposed by the host (`/guide-me` for direct Claude
|
|
35
35
|
skills, `/agent-os:guide-me` for the Claude plugin, or `$guide-me` for Codex). Never self-invoke
|
|
36
36
|
them. One exception: a workflow may continue into the workflow its exit contract names once the
|
|
37
|
-
developer approves that exit
|
|
37
|
+
developer approves that exit or the existing request already authorizes that continuation, as
|
|
38
|
+
`guide-me` does after its approved plain-language gate. The
|
|
38
39
|
automatic `check-work` review workflow is also available from supported implicit review requests;
|
|
39
40
|
its report mode is read-only and its fix mode requires explicit authority.
|
|
40
41
|
|
|
42
|
+
- Always recommend one concrete next action when planning or a delivery unit ends, with the reason
|
|
43
|
+
it wins and any blocker. Continuing sequentially through already shaped issues is allowed when
|
|
44
|
+
the active implementation request covers that bounded set. Planning alone never starts delivery;
|
|
45
|
+
parallel batch execution still requires explicit selection. Existing authority persists across
|
|
46
|
+
unit boundaries, but never expands to unrelated backlog work. If the goal is complete and no
|
|
47
|
+
useful next action remains, say so instead of manufacturing work.
|
|
48
|
+
|
|
41
49
|
## Preferences (seed defaults — project policy overrides)
|
|
42
50
|
|
|
43
51
|
- UI feedback under ~250 ms; feedback must not block the next interaction.
|
|
@@ -11,7 +11,8 @@ index that can be repaired from its children.
|
|
|
11
11
|
|
|
12
12
|
Read project policy and [references/map.md](references/map.md). Use
|
|
13
13
|
[references/elicitation.md](references/elicitation.md) for developer decisions and
|
|
14
|
-
[references/prototypes.md](references/prototypes.md) when a
|
|
14
|
+
[references/prototypes.md](references/prototypes.md) when a solution-changing uncertainty may be
|
|
15
|
+
settled by an experiment. Choose that evidence path proactively; do not make prototypes mandatory.
|
|
15
16
|
|
|
16
17
|
## Chart
|
|
17
18
|
|
|
@@ -19,6 +20,9 @@ Name the destination and boundaries. Create tickets for precise questions, leave
|
|
|
19
20
|
in Fog, connect dependencies, and expose the open unblocked frontier. The invocation authorizes
|
|
20
21
|
writes to the configured planning surface. Report the resulting parallel starts.
|
|
21
22
|
|
|
23
|
+
Recommend one frontier action using project priorities, uncertainty reduced, and downstream work
|
|
24
|
+
unlocked relative to effort. Explain why it wins; a list of unblocked tickets is not a recommendation.
|
|
25
|
+
|
|
22
26
|
## Resolve
|
|
23
27
|
|
|
24
28
|
Read and claim one open frontier ticket by default; explicit parallel execution may claim several
|
|
@@ -35,3 +39,4 @@ Fog remains.
|
|
|
35
39
|
|
|
36
40
|
Planning writes do not imply product implementation. Side discoveries become child decisions,
|
|
37
41
|
ordinary backlog items, shaping handoffs, or parked paths rather than hidden scope expansion.
|
|
42
|
+
Isolated prototype artifacts follow the authority and stop conditions in the prototype reference.
|
|
@@ -2,6 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
A prototype exists to settle a decision, not to become an accidental product implementation.
|
|
4
4
|
|
|
5
|
+
## Decide whether to experiment
|
|
6
|
+
|
|
7
|
+
Propose a prototype when an unresolved assumption could change the solution and executing the
|
|
8
|
+
smallest experiment is cheaper or more decisive than further reading or discussion. Examples are
|
|
9
|
+
uncertain transaction behavior, integration limits, a performance hypothesis, or competing UI
|
|
10
|
+
interactions the developer needs to try. Existing evidence that already settles the question, a
|
|
11
|
+
routine implementation, or a preference answerable directly needs no prototype. This is a decision
|
|
12
|
+
rule, not a required phase for every task.
|
|
13
|
+
|
|
14
|
+
Within an authorized planning or implementation task, run a small isolated local experiment when
|
|
15
|
+
it can answer that question without new external effects or product changes. For UI choices, build
|
|
16
|
+
comparable alternatives and ask the developer to judge them. Announce the question, smallest
|
|
17
|
+
artifact, observation that would settle it, and a bounded effort budget before starting; no separate
|
|
18
|
+
approval is needed inside existing authority. Ask before crossing that authority, not merely
|
|
19
|
+
because the artifact is called a prototype.
|
|
20
|
+
|
|
21
|
+
Stop when the evidence is sufficient or the budget is exhausted. Inconclusive evidence leaves the
|
|
22
|
+
decision open; report the remaining uncertainty and recommend the next action instead of silently
|
|
23
|
+
growing the experiment. Keep experimental code isolated from production paths. Retain useful
|
|
24
|
+
evidence; promoting code to production requires the normal implementation and review contract.
|
|
25
|
+
|
|
26
|
+
## Capture the result
|
|
27
|
+
|
|
5
28
|
Build the smallest comparison that makes the contested behavior observable. Keep alternatives easy
|
|
6
29
|
to compare and ask the developer to perform the shortest meaningful task.
|
|
7
30
|
|
|
@@ -13,7 +36,7 @@ Record:
|
|
|
13
36
|
- Artifact: <stable link or repository-relative path>
|
|
14
37
|
- How it was exercised:
|
|
15
38
|
- Observation:
|
|
16
|
-
-
|
|
39
|
+
- Decision and rationale (developer judgment for product preferences):
|
|
17
40
|
- Open uncertainty:
|
|
18
41
|
```
|
|
19
42
|
|
|
@@ -35,6 +35,8 @@ merge, deploy, publication, approval, comment, or other external effect.
|
|
|
35
35
|
3. Give the reviewer the outcome, boundaries, ground truth, candidate identity, and available
|
|
36
36
|
verification evidence. Synthesize only findings supported by the code, diff, tests, policy, or
|
|
37
37
|
returned review evidence. Omit speculative and cosmetic findings.
|
|
38
|
+
Apply [references/findings.md](references/findings.md) when reporting and resolving findings;
|
|
39
|
+
include that contract in the independent review brief.
|
|
38
40
|
4. Apply the relevant existing disciplines only when the question needs them: use
|
|
39
41
|
[`scope-guard`](../scope-guard/SKILL.md) for drift, [`simplifier-review`](../simplifier-review/SKILL.md)
|
|
40
42
|
for unnecessary complexity, [`proportional-testing`](../proportional-testing/SKILL.md) when
|
|
@@ -53,7 +55,7 @@ Start with actionable findings, each containing:
|
|
|
53
55
|
- **Priority and title**;
|
|
54
56
|
- **Exact location** (file and line, symbol, or other precise anchor);
|
|
55
57
|
- **Evidence and impact**;
|
|
56
|
-
- **Required change
|
|
58
|
+
- **Required change** (or clearly nonblocking follow-up).
|
|
57
59
|
|
|
58
60
|
Then report “No actionable findings” when none are supported. Fix mode additionally reports applied
|
|
59
61
|
fixes, fresh verification, and targeted re-review. State the candidate identity, reviewer identity
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Calibrate findings and resolution
|
|
2
|
+
|
|
3
|
+
A blocking finding needs a location, triggering condition, concrete consequence, and evidence that
|
|
4
|
+
the candidate fails a requirement or imposes a material maintenance cost. Security and data-loss
|
|
5
|
+
risks need a credible path, not a production incident. Duplicated rules that can diverge or mixed
|
|
6
|
+
responsibilities that make the requested behavior unsafe to change can justify simplification;
|
|
7
|
+
line count, personal style, and an equally valid design alternative cannot.
|
|
8
|
+
|
|
9
|
+
Separate required corrections from useful nonblocking follow-ups. Omit cosmetic preferences and
|
|
10
|
+
speculative hardening. No findings is a valid result. Do not manufacture work to justify review.
|
|
11
|
+
|
|
12
|
+
The implementer adjudicates each finding against the request, source, tests, and project policy:
|
|
13
|
+
fix supported in-scope problems; reject unsupported or equivalent-design requests with a concise
|
|
14
|
+
reason; route actionable adjacent work through `scope-guard`. A reviewer need not approve a
|
|
15
|
+
preference rejection, but scope cannot excuse a failing required check, broken acceptance
|
|
16
|
+
criterion, or material defect introduced by the candidate. Resolve the defect or report the blocker.
|
|
17
|
+
|
|
18
|
+
Re-review checks the accepted fixes and their plausible regressions. Reopen the broader review only
|
|
19
|
+
when the patch changed the broader surface. A newly discovered material defect still matters;
|
|
20
|
+
repeated preferences do not restart the loop. Escalate only an unresolved material decision, not
|
|
21
|
+
disagreement for its own sake.
|
|
22
|
+
|
|
23
|
+
Use `CHANGES_REQUESTED` for remaining supported required corrections, `BLOCKED` when necessary
|
|
24
|
+
evidence or a material decision is unavailable, and `APPROVED` when review is complete with neither.
|
|
25
|
+
Nonblocking follow-ups alone do not prevent approval. Report rejected findings and the reason when
|
|
26
|
+
they affected the review outcome; do not claim the reviewer agreed if the implementer rejected them.
|
|
@@ -16,16 +16,26 @@ belong to the implementer.
|
|
|
16
16
|
|
|
17
17
|
## Confirm one delivery unit
|
|
18
18
|
|
|
19
|
-
Before editing, verify that
|
|
19
|
+
Before editing each unit, verify that it is one coherent implementation issue or an equivalently
|
|
20
20
|
bounded direct request: one observable outcome, one reviewable change boundary, explicit ground
|
|
21
|
-
truth, and satisfied dependencies. If
|
|
21
|
+
truth, and satisfied dependencies. If an unshaped target contains several separately closable outcomes,
|
|
22
22
|
different delivery targets, or unresolved product choices, stop before mutation and return it for
|
|
23
23
|
shaping into implementation-ready issues. Do not choose `batch-work`; execution strategy belongs to
|
|
24
24
|
the developer.
|
|
25
25
|
|
|
26
|
+
When the request explicitly covers a bounded set of already shaped issues, deliver one ready unit
|
|
27
|
+
at a time and continue sequentially within that authority. Re-read dependencies and project state
|
|
28
|
+
after each unit; stop for a material unresolved decision or an exhausted ready frontier. This repeats
|
|
29
|
+
the active delivery contract, not `dispatch-next` or an implicit batch. An undecomposed epic still
|
|
30
|
+
needs shaping; a one-issue request does not authorize the rest of its epic. Keep one active quality
|
|
31
|
+
baseline for the authorized sequence and refresh its check per candidate; do not call `begin` again
|
|
32
|
+
for each unit while that baseline is active.
|
|
33
|
+
|
|
26
34
|
## Work loop
|
|
27
35
|
|
|
28
|
-
1. Inspect enough of the affected system to choose a coherent change.
|
|
36
|
+
1. Inspect enough of the affected system to choose a coherent change. Apply quality-ratchet's
|
|
37
|
+
reuse and responsibility guidance before writing. If a solution-changing uncertainty remains,
|
|
38
|
+
use the [experiment decision](../chart-work/references/prototypes.md); clear tasks need no prototype.
|
|
29
39
|
2. If available, run [`quality-ratchet`](../quality-ratchet/SKILL.md)'s `begin` before the first
|
|
30
40
|
mutation. It captures the exact worktree entry state without stashing or editing user files; an
|
|
31
41
|
unavailable capability is reported rather than turned into a substitute gate.
|
|
@@ -41,7 +51,8 @@ the developer.
|
|
|
41
51
|
its baseline is active and pass the evidence to the semantic review. Treat file, NLOC, legacy,
|
|
42
52
|
dependency, and analyzer values as signals, never as an aggregate score or threshold gate.
|
|
43
53
|
7. Review the resulting diff for correctness, unnecessary complexity, and scope. Apply the
|
|
44
|
-
simplifier-review lens and
|
|
54
|
+
simplifier-review lens and resolve findings using the
|
|
55
|
+
[finding contract](../check-work/references/findings.md) before freezing the candidate.
|
|
45
56
|
8. Complete the review gate below.
|
|
46
57
|
9. Apply `verify-before-done` to the final candidate and deliver only to the requested boundary.
|
|
47
58
|
|
|
@@ -67,18 +78,23 @@ waive required review; do not solicit a waiver. When review is required:
|
|
|
67
78
|
changed-file set.
|
|
68
79
|
3. Launch at least one read-only reviewer in a context that has not inherited the implementation
|
|
69
80
|
conversation. On Codex, the next review tool action after freezing the candidate must be
|
|
70
|
-
`spawn_agent`; copy its returned ID, then
|
|
81
|
+
`spawn_agent`; copy its returned ID, then use the host wait mechanism and correlate the returned
|
|
82
|
+
result to that identity. Follow the actual wait-tool schema; not every host accepts an ID argument.
|
|
83
|
+
If `spawn_agent` is not
|
|
71
84
|
callable or returns no ID, stop without calling a wait tool. Never call a wait tool with empty
|
|
72
85
|
receiver IDs or construct a `/root/...` reviewer label yourself. Use the host's equivalent launch
|
|
73
86
|
receipt elsewhere. Give the reviewer the outcome, boundaries, ground truth, candidate diff, and
|
|
74
87
|
verification evidence — not the implementer's reasoning.
|
|
75
|
-
4. Use one general
|
|
88
|
+
4. Use one general evidence-based reviewer by default, briefed with the finding contract above.
|
|
89
|
+
Add a focused security or compatibility reviewer
|
|
76
90
|
only when a distinct risk needs that lens; do not create a panel by default.
|
|
77
91
|
5. Accept review only when that launched identity returns a result. Record the reviewer identity and
|
|
78
92
|
role, candidate identity, reviewed scope, findings, and disposition. This is completion evidence,
|
|
79
93
|
not an approval ledger.
|
|
80
|
-
6.
|
|
81
|
-
|
|
94
|
+
6. Adjudicate findings using that contract and `scope-guard`; fix supported in-scope problems and
|
|
95
|
+
explain rejected requests. If the candidate changes, run targeted re-review before final
|
|
96
|
+
verification. Refresh active quality-ratchet evidence after the last correction so Stop need
|
|
97
|
+
not request an extra turn merely to update stale evidence.
|
|
82
98
|
|
|
83
99
|
A reviewer label written by the implementer, a wait call with no launched receiver, a self-review,
|
|
84
100
|
or an unreturned reviewer is not independent review. If the host exposes no launch tool, launch
|
|
@@ -15,6 +15,10 @@ Read project policy, queue conventions, issues, pull requests, and CI. Prioritiz
|
|
|
15
15
|
flight when it has an actionable review or failure. Select one target using the repository's
|
|
16
16
|
priority rules and explain why it wins.
|
|
17
17
|
|
|
18
|
+
Within those priorities, prefer the action that removes a consequential uncertainty or unlocks
|
|
19
|
+
dependent work at reasonable effort. When observation would settle an open decision, recommend a
|
|
20
|
+
bounded experiment through chart-work or shape-work; a ready coding task need not always win.
|
|
21
|
+
|
|
18
22
|
Route broad decision work to `chart-work`, a bounded open decision to `shape-work`, and one selected
|
|
19
23
|
implementation-ready issue to `deliver-work`. Route to `batch-work` only when the developer
|
|
20
24
|
explicitly asks to execute an existing ready issue graph as an integrated batch; issue count alone
|
|
@@ -41,6 +41,18 @@ and run it at the appropriate broader level rather than disguising it as a unit
|
|
|
41
41
|
Balance regression protection against execution time, maintenance, flakiness, setup complexity, and
|
|
42
42
|
duplication. A broader test is justified by broader risk, not by the amount of code generated.
|
|
43
43
|
|
|
44
|
+
For a changed user journey across a frontend and services, identify what proves the boundaries
|
|
45
|
+
together: serialization, validation, authentication, transport, and the resulting observable state.
|
|
46
|
+
Thousands of isolated tests do not prove that journey. Add or use a narrow integration or end-to-end
|
|
47
|
+
check when those boundaries are the risk; do not create an end-to-end suite for every local change.
|
|
48
|
+
An unrelated existing journey gap is a follow-up through `scope-guard`, not an automatic suite rewrite.
|
|
49
|
+
|
|
50
|
+
Reuse the production contract or schema where appropriate, but verify acceptance examples and
|
|
51
|
+
invalid external inputs independently. Computing the expected value with the same transformation
|
|
52
|
+
as production can make a test agree with the bug. Do not multiply equivalent cases at every layer
|
|
53
|
+
unless a distinct failure can occur there. Large test counts alone justify neither deletion nor
|
|
54
|
+
confidence; remove or consolidate tests only when their unique regression protection is preserved.
|
|
55
|
+
|
|
44
56
|
## Fix bugs with one regression story
|
|
45
57
|
|
|
46
58
|
For a confirmed bug, when practical:
|
|
@@ -8,6 +8,11 @@ description: Keeps implementation quality from regressing by comparing a candida
|
|
|
8
8
|
Keep the smallest set of concepts and machinery needed for the current change. The ratchet is an
|
|
9
9
|
evidence layer, not a score, gate, or replacement for semantic review.
|
|
10
10
|
|
|
11
|
+
Before choosing the implementation, find the nearest existing behavior, contract, and tests. Reuse
|
|
12
|
+
or extend their owner before adding a parallel implementation. For TypeScript, React, or Java
|
|
13
|
+
changes, read [references/structure.md](references/structure.md) for contract ownership and cohesive
|
|
14
|
+
boundaries. Make this a code decision, not a mandatory planning artifact.
|
|
15
|
+
|
|
11
16
|
Resolve `scripts/quality-delta.mjs` relative to this loaded `SKILL.md`; do not assume the current
|
|
12
17
|
worktree contains an Agent OS checkout. Before the first mutation in a Git worktree, run that
|
|
13
18
|
installed runner with `begin` when it is available. It records the exact tracked and nonignored
|
|
@@ -25,6 +30,10 @@ Use three zones:
|
|
|
25
30
|
3. Ignore unrelated debt. `scope-guard` owns drift; do not turn a ratchet signal into a cleanup
|
|
26
31
|
project.
|
|
27
32
|
|
|
33
|
+
Extract a named responsibility when it makes the touched code easier to understand or protects an
|
|
34
|
+
invariant, even with one caller. This is allowed local improvement, not automatic scope expansion.
|
|
35
|
+
Do not force inheritance, shared utils, or extra layers merely to reduce file size.
|
|
36
|
+
|
|
28
37
|
The check reports added, changed, and deleted source files, touched-source NLOC before/after, the
|
|
29
38
|
before/after status of source paths that were already present at entry, package dependency deltas,
|
|
30
39
|
and optional analyzer capability. Raw file, function, or line counts are signals only. There is no
|
|
@@ -32,6 +41,13 @@ aggregate score and no threshold gate. Missing Lizard or jscpd is reported as un
|
|
|
32
41
|
than clean; the core Node evidence remains usable. Their parsing integration is an explicit
|
|
33
42
|
follow-up, not an install-time prerequisite.
|
|
34
43
|
|
|
44
|
+
Use existing project checks for enforceable rules and report structural signals as advisory. A
|
|
45
|
+
fresh `check` proves evidence freshness, not code quality, passing tests, or completed review. The
|
|
46
|
+
runner currently inspects dependencies only in the root `package.json`; do not infer Java or
|
|
47
|
+
workspace-package coverage from it. Run relevant configured analyzers outside the model, pass short
|
|
48
|
+
actionable deltas to review, and reuse results only while their inputs, configuration, and tool
|
|
49
|
+
versions remain unchanged. Do not install analyzers or invent thresholds for an ordinary task.
|
|
50
|
+
|
|
35
51
|
The Stop hook blocks only an active lifecycle violation: a corrupt baseline, or a missing/stale check
|
|
36
52
|
for the current candidate. State is bound to the current Git worktree and host session: Claude uses
|
|
37
53
|
`CLAUDE_CODE_SESSION_ID`, Codex uses `CODEX_THREAD_ID`, and standalone/manual use has a deterministic
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Choose structure before writing
|
|
2
|
+
|
|
3
|
+
Search the affected domain for an existing implementation, type, schema, and test fixture. Reuse
|
|
4
|
+
the owner of the behavior; matching fields or similar syntax alone do not establish shared meaning.
|
|
5
|
+
Keep domain helpers near their domain. Promote them to a shared library when the responsibility is
|
|
6
|
+
actually shared, not to fill a generic utils directory.
|
|
7
|
+
|
|
8
|
+
## TypeScript contracts
|
|
9
|
+
|
|
10
|
+
When Zod is the project's validation convention, keep the boundary schema authoritative and derive
|
|
11
|
+
types from it rather than separately maintaining the same interface in each consumer. Account for
|
|
12
|
+
different input and parsed output shapes when schemas transform values. Reuse or compose existing
|
|
13
|
+
schemas for the same contract; keep genuinely different domain, transport, and view contracts
|
|
14
|
+
distinct with explicit mappings. Do not centralize every type in one file or import server-only
|
|
15
|
+
validation dependencies into browser code just to share a type.
|
|
16
|
+
|
|
17
|
+
Validate untrusted data at real boundaries. Type assertions do not replace runtime validation, and
|
|
18
|
+
already validated internal values do not need repeated parsing at every function call. Do not
|
|
19
|
+
introduce Zod into a project with another established validation mechanism without justification.
|
|
20
|
+
|
|
21
|
+
## React responsibilities
|
|
22
|
+
|
|
23
|
+
Separate independently understandable UI regions, stateful behavior, and domain transformations
|
|
24
|
+
when they obscure the component's purpose. Prefer cohesive components and hooks with explicit
|
|
25
|
+
inputs over one component that owns unrelated behavior. Extract pure logic without turning it into
|
|
26
|
+
a hook. Preserve state ownership and server/client boundaries; avoid extraction that merely moves
|
|
27
|
+
the same complexity into prop plumbing. File length is a cue to inspect responsibilities, not a
|
|
28
|
+
limit or a reason to split JSX mechanically.
|
|
29
|
+
|
|
30
|
+
## Object and module design
|
|
31
|
+
|
|
32
|
+
Use objects to own state, invariants, and lifecycle when that matches the project; use functions
|
|
33
|
+
for stateless transformations. In Java, reuse existing domain types, services, and validation
|
|
34
|
+
conventions before adding DTOs, interfaces, or service layers. A single-use abstraction can still
|
|
35
|
+
name a cohesive responsibility or protect a boundary. Prefer composition to speculative inheritance
|
|
36
|
+
and do not impose a new object-oriented architecture on a focused change.
|
|
@@ -17,5 +17,16 @@ classify it:
|
|
|
17
17
|
- **Conflicting:** it changes product behavior, architecture, dependencies, a public interface, or
|
|
18
18
|
delivery risk. Ask the developer before crossing that boundary.
|
|
19
19
|
|
|
20
|
+
Behavior-preserving extraction within the touched surface is allowed when it clarifies responsibility
|
|
21
|
+
or reuses an existing contract. Do not classify every new helper as an architecture change.
|
|
22
|
+
|
|
23
|
+
The implementer may reject unsupported review requests with evidence. For actionable adjacent work,
|
|
24
|
+
search for an existing issue before proposing another. If the request or project policy authorizes
|
|
25
|
+
follow-up issue creation, and no explicit read-only instruction forbids it, create or update it
|
|
26
|
+
with the concrete problem, impact, and acceptance
|
|
27
|
+
condition. Otherwise collect worthwhile follow-ups into one question with a recommended disposition
|
|
28
|
+
and draft content. Do not create tickets for rejected preferences or delay authorized delivery while
|
|
29
|
+
waiting on an optional backlog decision. Report any unresolved delivery blocker separately.
|
|
30
|
+
|
|
20
31
|
Before delivery, inspect the diff for unrelated edits. Preserve pre-existing developer work; scope
|
|
21
32
|
control never grants permission to revert it.
|
|
@@ -21,6 +21,10 @@ Use a diagram or mockup when it makes behavior, layout, states, or boundaries ma
|
|
|
21
21
|
judge. Frontend proposals follow [references/mockups.md](references/mockups.md). Do not create a
|
|
22
22
|
visualization merely to satisfy the workflow.
|
|
23
23
|
|
|
24
|
+
When a solution-changing assumption needs observation, apply the
|
|
25
|
+
[experiment decision](../chart-work/references/prototypes.md), including small technical experiments
|
|
26
|
+
and comparable UI alternatives. Do not turn a question with sufficient evidence into a prototype.
|
|
27
|
+
|
|
24
28
|
Deliver the coherent product shape: outcome, boundaries, acceptance examples, affected seams,
|
|
25
29
|
ground truth, settled decisions, and open risks. Then create or reuse its implementation issues on
|
|
26
30
|
the configured planning surface. With no configured tracker, use the local-file fallback in the
|
|
@@ -35,5 +39,10 @@ When shaping started from a chart-work handoff, reconcile the issue links and re
|
|
|
35
39
|
the origin handoff and map. A handoff alone is not delivery-ready. Shape-work is complete only when
|
|
36
40
|
every selected branch points to implementation-ready issues or is explicitly parked or rejected.
|
|
37
41
|
|
|
42
|
+
Recommend one concrete next action with its reason and blocker, weighing uncertainty and downstream
|
|
43
|
+
work unlocked as well as project priority. A ready frontier alone is not enough guidance. Continue
|
|
44
|
+
into authorized sequential delivery only when the request includes that bounded implementation;
|
|
45
|
+
otherwise finish with the recommendation.
|
|
46
|
+
|
|
38
47
|
The invocation authorizes planning artifacts, not product code. A deferred product choice remains
|
|
39
48
|
explicit; a reversible implementation choice does not need to become a question.
|
|
@@ -59,7 +59,7 @@ Expose the frontier without choosing an execution workflow:
|
|
|
59
59
|
- the existence of several issues never invokes or recommends batch-work by itself.
|
|
60
60
|
|
|
61
61
|
Issue creation is a planning write, not implementation authority. Do not edit product code, start a
|
|
62
|
-
batch, merge, deploy, or perform external delivery effects under a shape-work invocation.
|
|
62
|
+
batch, merge, deploy, or perform external delivery effects under a planning-only shape-work invocation.
|
|
63
63
|
|
|
64
64
|
## Chart-work reconciliation
|
|
65
65
|
|
|
@@ -15,7 +15,8 @@ the required behavior before editing. Then simplify in this order:
|
|
|
15
15
|
2. Reuse an existing project helper or pattern instead of maintaining a duplicate.
|
|
16
16
|
3. Prefer the standard library, native platform behavior, or an already-installed dependency over
|
|
17
17
|
custom machinery.
|
|
18
|
-
4. Collapse wrappers, layers, and abstractions that add indirection without a
|
|
18
|
+
4. Collapse wrappers, layers, and abstractions that add indirection without a current responsibility
|
|
19
|
+
or requirement. Preserve cohesive boundaries even with one caller.
|
|
19
20
|
5. Express the remaining behavior directly and readably.
|
|
20
21
|
|
|
21
22
|
Reduce lines when deletion reflects a simpler solution. Do not compress readable code into dense
|
|
@@ -16,7 +16,7 @@ candidate before reporting it. Look for:
|
|
|
16
16
|
- duplicate helpers and parallel implementations;
|
|
17
17
|
- custom code replaced by the standard library, native platform behavior, or an installed
|
|
18
18
|
dependency;
|
|
19
|
-
- wrappers, factories, layers, configuration, and abstractions without
|
|
19
|
+
- wrappers, factories, layers, configuration, and abstractions without a current responsibility or requirement;
|
|
20
20
|
- dependencies used for behavior the project or platform already provides.
|
|
21
21
|
|
|
22
22
|
Prefer a short ranked list of high-confidence findings over a large speculative inventory. For each
|
|
@@ -24,5 +24,7 @@ finding, name the location, evidence that the complexity is unnecessary, the sim
|
|
|
24
24
|
and any behavior or migration constraint that must be preserved. Do not estimate saved lines unless
|
|
25
25
|
the deletion is directly countable.
|
|
26
26
|
|
|
27
|
+
Preserve cohesive responsibilities and protected invariants even with one caller.
|
|
28
|
+
|
|
27
29
|
Do not apply fixes. Do not treat required validation, security, accessibility, data-loss protection,
|
|
28
30
|
justified performance, or useful tests as bloat. If the repository is already simple, say so.
|
|
@@ -14,13 +14,17 @@ Read the request, diff, affected code, project conventions, and relevant checks.
|
|
|
14
14
|
- duplicated behavior already provided by the project;
|
|
15
15
|
- custom machinery covered by the standard library, native platform behavior, or an installed
|
|
16
16
|
dependency;
|
|
17
|
-
- wrappers, layers, factories, and abstractions without a
|
|
17
|
+
- wrappers, layers, factories, and abstractions without a current responsibility or requirement;
|
|
18
18
|
- indirect or dense code that has a more direct, readable form.
|
|
19
19
|
|
|
20
20
|
Do not recommend code golf. Do not remove required behavior, public contracts, trust-boundary
|
|
21
21
|
validation, security, accessibility, data-loss protection, justified performance, or tests that
|
|
22
22
|
protect real behavior.
|
|
23
23
|
|
|
24
|
+
Preserve a cohesive named responsibility even with one caller. Apply
|
|
25
|
+
[finding calibration](../check-work/references/findings.md): require a concrete benefit from a
|
|
26
|
+
replacement, and do not turn a reasonable alternative into a required correction.
|
|
27
|
+
|
|
24
28
|
When [`quality-ratchet`](../quality-ratchet/SKILL.md) evidence is available, consume it before
|
|
25
29
|
forming findings. Read the diff and implementation yourself: added/changed/deleted files, NLOC,
|
|
26
30
|
legacy-before/after, dependency deltas, and unavailable optional analyzers are evidence, not an
|