Skip to content

Commit 83790e6

Browse files
committed
config: Normalize workflow language and format
1 parent 74f94b2 commit 83790e6

55 files changed

Lines changed: 391 additions & 400 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/skills/sce-change-to-plan/SKILL.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ description: >
1010

1111
Own this workflow from input through its terminal user-visible response.
1212
Follow its steps, gates, and stops in order; do not add, skip, reorder, or merge them.
13-
Keep phase results internal and continue immediately until a defined wait or stop.
13+
Keep internal phase results private and continue immediately until a defined wait or stop.
1414
Resume user waits in this same skill and session.
15-
Use only the specified `references/output.md` layouts for gates and terminal
16-
responses. Do not expose raw state or add text around a layout.
15+
Render user-visible output only from the named workflow layouts or phase reports.
16+
Do not expose raw internal state or add text around a rendered layout or report.
1717
Non-SCE helpers may assist, but must return to the active step without changing
1818
phase order, gates, waits, writes, validation, stops, or terminal output.
1919
Do not invoke another SCE skill, package, or workflow command.

‎.agents/skills/sce-change-to-plan/references/context-load.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ sentence.
6161

6262
## 1.5 Return the brief
6363

64-
Set exactly one internal state:
64+
Return one internal result with one of these statuses:
6565

6666
- `loaded`
6767
- `bootstrap_required`
6868

6969
Report facts the workflow can act on. A brief that only lists file paths has
7070
moved no knowledge.
7171

72-
Record only the internal state. Do not add explanatory prose before or after it.
72+
Return only the internal result. Do not add explanatory prose before or after it.
7373

7474
Step 2 consumes a `loaded` brief verbatim and treats its `key_facts` as recorded
7575
current state, its `gaps` as areas with no durable context, and its `drift` as

‎.agents/skills/sce-change-to-plan/references/output.md‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ candidate plan paths and explain that naming one candidate resolves it.
4848

4949
This plan is a draft. State a correction and it will be updated.
5050

51-
Next up:
51+
Next step:
5252

5353
{next-task-id} — {next-task-title}
5454

@@ -71,17 +71,17 @@ This is chat output, not a file. Nothing here is written to the plan.
7171
7272
Path: {plan.path}
7373
74-
## Summary:
74+
## Summary
7575
{plan summary}
7676
77-
## Tasks:
77+
## Tasks
7878
1. {task.id} — {task.title}
7979
2. {task.id} — {task.title}
8080
81-
## Assumptions:
81+
## Assumptions
8282
- {assumption}
8383
84-
## Open questions:
84+
## Open questions
8585
- {open question}
8686
```
8787

@@ -93,13 +93,13 @@ not carry.
9393
- `Plan:` — `plan.name`. Append ` (updated)` when `plan.action` is `updated`.
9494
Render nothing extra when it is `created`.
9595
- `Path:` — `plan.path`, exactly as returned, so it stays runnable.
96-
- `Summary:` — `summary`, as prose. This is the only place the reader learns
96+
- `Summary` — `summary`, as prose. This is the only place the reader learns
9797
what the plan actually does, so never omit it and never replace it with a
9898
restatement of the task titles.
99-
- `Tasks:` — one numbered line per entry in `tasks`, in plan order. Append
99+
- `Tasks` — one numbered line per entry in `tasks`, in plan order. Append
100100
` (done)` to any task whose `status` is `done`.
101-
- `Assumptions:` — one line per entry in `assumptions`.
102-
- `Open questions:` — one line per entry in `open_questions`.
101+
- `Assumptions` — one line per entry in `assumptions`.
102+
- `Open questions` — one line per entry in `open_questions`.
103103

104104
## Empty sections
105105

@@ -109,14 +109,14 @@ explicit `None.` confirms nothing is pending.
109109
When `assumptions` is empty:
110110

111111
```
112-
## Assumptions:
112+
## Assumptions
113113
- None.
114114
```
115115

116116
When `open_questions` is absent:
117117

118118
```
119-
## Open questions:
119+
## Open questions
120120
- None.
121121
```
122122

@@ -137,16 +137,16 @@ When `open_questions` is absent:
137137
138138
Path: context/plans/red-sce-banner.md
139139
140-
## Summary:
141-
Renders the ASCII-art SCE banner at the top of `sce` help in red instead of the current gradient. Colour-disabled output is unchanged, and no other help surface is affected.
140+
## Summary
141+
Renders the ASCII-art SCE banner at the top of `sce` help in red instead of the current gradient. Color-disabled output is unchanged, and no other help surface is affected.
142142
143-
## Tasks:
143+
## Tasks
144144
1. T01 — Render the SCE banner in red
145145
146-
## Assumptions:
146+
## Assumptions
147147
- "SCE letters" refers to the ASCII-art banner in top-level help.
148148
- Red is uniform terminal red when colors are enabled; plain ASCII remains unchanged otherwise.
149149
150-
## Open questions:
150+
## Open questions
151151
- None.
152152
```

‎.agents/skills/sce-change-to-plan/references/plan-authoring.md‎

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ responsibility.
2828

2929
The context brief is the durable memory this plan starts from. Treat its
3030
`key_facts` as recorded current state, its `gaps` as areas with no durable
31-
context, and its `drift` as context the code has already outrun.
31+
context, and its `drift` as recorded context that no longer matches the code.
3232

3333
When no brief is supplied, load the context named by the change request before
3434
authoring, and follow the selection discipline in *Inspect relevant context*.
@@ -178,43 +178,27 @@ exactly. For revisions, apply its `Updating an existing plan` rules.
178178

179179
## 2.8 Return the result
180180

181-
Set exactly one internal state:
181+
Return one internal result with one of these statuses:
182182

183183
- `plan_ready`
184184
- `needs_clarification`
185185
- `blocked`
186186

187-
Record only the internal state. Do not add explanatory prose before or after it.
187+
Return only the internal result. Do not add explanatory prose before or after it.
188188

189189
A `plan_ready` result always names the next task in `next_task`, and carries the
190190
`total_tasks` count and any open questions the summary needs. Step 3 renders those
191191
without recomputing them.
192192

193193
## Plan authoring tone
194194

195-
Every question and open question this phase writes is read by the user. Write
196-
them the way a senior engineer talks in review: direct, specific, and unbothered
197-
by the possibility of being unwelcome.
198-
199-
- Ask about the thing that actually worries you, not a safer neighbouring thing.
200-
A question you would not bother asking a colleague is not worth the user's
201-
attention either.
202-
- State a doubt as a doubt. "I do not think this is worth the two tasks it
203-
costs, because X" is useful. "It may be worth considering whether this aligns
204-
with broader goals" is noise.
205-
- Name the alternative you have in mind. A challenge with no proposal behind it
206-
is just friction.
207-
- Do not open with praise, do not close with reassurance, and do not apologize
208-
for asking. Do not pad a doubt with hedges to make it land more gently.
209-
- Be persistent, not repetitive. Ask once, plainly, and let it stand; do not
210-
restate the same doubt in three shapes to give it more weight.
211-
- Being disagreeable is not the goal. Being easy to agree with is the failure
212-
mode. A plan the user waves through without reading has cost them nothing and
213-
bought them nothing.
214-
215-
When the user overrules a doubt, record it and move on. Do not relitigate a
216-
decision the user has made, and do not smuggle the objection back in as a
217-
constraint, a non-goal, or a task.
195+
Write user-facing questions and open questions directly and specifically.
196+
197+
- Ask only about material concerns that can change scope, success criteria, or task ordering.
198+
- State the concern and the concrete evidence for it.
199+
- Name a smaller or safer alternative when one is known.
200+
- Do not invent concerns, add praise or reassurance, or repeat the same concern in several forms.
201+
- When the user overrules a concern, record the decision and continue. Do not reintroduce it as a constraint, non-goal, or task.
218202

219203
## Plan authoring boundaries
220204

‎.agents/skills/sce-change-to-plan/references/plan-template.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ invent one: `None.` is the expected answer for a well-specified change.}
146146

147147
- The last task in the stack is an ordinary implementation task. Do not author a
148148
trailing "validation and cleanup" task.
149-
- Final validation, cleanup, and success-criteria verification are run by
150-
`/validate` from the `Acceptance criteria` section after the last task
151-
completes.
149+
- Final validation and success-criteria verification are run by `/validate`
150+
from the `Acceptance criteria` section after the last task completes. Validation
151+
reports cleanup or repair work that is still required; it does not perform that work.
152152
- Do not author a task whose only purpose is running the full check suite,
153153
verifying durable context, or removing scaffolding.
154154
- A task may still create or update durable context when that context is part of

‎.agents/skills/sce-commit/SKILL.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ description: >
1010

1111
Own this workflow from input through its terminal user-visible response.
1212
Follow its steps, gates, and stops in order; do not add, skip, reorder, or merge them.
13-
Keep phase results internal and continue immediately until a defined wait or stop.
13+
Keep internal phase results private and continue immediately until a defined wait or stop.
1414
Resume user waits in this same skill and session.
15-
Use only the specified `references/output.md` layouts for gates and terminal
16-
responses. Do not expose raw state or add text around a layout.
15+
Render user-visible output only from the named workflow layouts or phase reports.
16+
Do not expose raw internal state or add text around a rendered layout or report.
1717
Non-SCE helpers may assist, but must return to the active step without changing
1818
phase order, gates, waits, writes, validation, stops, or terminal output.
1919
Do not invoke another SCE skill, package, or workflow command.
@@ -99,14 +99,14 @@ Run `git diff --cached --quiet`. A zero exit status means nothing is staged.
9999
When nothing is staged, stop with the **No staged changes** layout from
100100
`references/output.md`.
101101

102-
Do not stage anything. Do not proceed to the skill.
102+
Do not stage anything. Do not proceed to the phase.
103103

104104
#### 2. Request one commit message
105105

106106
Read `references/atomic-commit.md`, then run the **Atomic commit phase** with
107107
`mode: bypass` and the commit context.
108108

109-
Bypass mode is the skill's contract for producing exactly one message. Do not
109+
Bypass mode is the phase's contract for producing exactly one message. Do not
110110
restate its overrides here; the **Atomic commit phase** owns them.
111111

112112
Branch on `status`:
@@ -115,7 +115,7 @@ Branch on `status`:
115115

116116
`bypass_message` -> Continue to the next step.
117117

118-
The skill never returns `proposal` in bypass mode. Treat a `proposal` result as
118+
The phase never returns `proposal` in bypass mode. Treat a `proposal` result as
119119
a contract violation: report it and stop without committing.
120120

121121
#### 3. Execute exactly one commit

‎.agents/skills/sce-commit/references/atomic-commit.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SCE Atomic Commit
1+
# Atomic commit phase
22

33
## Purpose
44

@@ -8,8 +8,8 @@ Write messages matching:
88

99
`references/commit-message-style.md`
1010

11-
Committing is not this skill's job. The invoking `/commit` workflow decides
12-
whether a returned message is committed, and it is the only thing that runs
11+
This phase does not commit. The invoking `/commit` workflow decides
12+
whether a returned message is committed, and it is the only part that runs
1313
`git commit`.
1414

1515
## Input
@@ -147,7 +147,7 @@ Do not:
147147

148148
## Completion
149149

150-
The skill is complete after:
150+
The phase is complete after:
151151

152152
- The staged diff was read, or reading it failed and was reported.
153153
- Messages were written for every staged file, or a blocker prevented it.

‎.agents/skills/sce-handover/SKILL.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ description: >
1010

1111
Own this workflow from input through its terminal user-visible response.
1212
Follow its steps, gates, and stops in order; do not add, skip, reorder, or merge them.
13-
Keep phase results internal and continue immediately until a defined wait or stop.
13+
Keep internal phase results private and continue immediately until a defined wait or stop.
1414
Resume user waits in this same skill and session.
15-
Use only the specified `references/output.md` layouts for gates and terminal
16-
responses. Do not expose raw state or add text around a layout.
15+
Render user-visible output only from the named workflow layouts or phase reports.
16+
Do not expose raw internal state or add text around a rendered layout or report.
1717
Non-SCE helpers may assist, but must return to the active step without changing
1818
phase order, gates, waits, writes, validation, stops, or terminal output.
1919
Do not invoke another SCE skill, package, or workflow command.

‎.agents/skills/sce-handover/references/handover-template.md‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
# Handover document format
2+
13
The Markdown document writer mode creates under
24
`context/handovers/{name}.md`. This is the persisted file's content, distinct
35
from the terminal response defined in `references/output.md`.
46

5-
### Layout
7+
## Template
68

79
```markdown
810
# Handover: {plan name or short session topic}
@@ -35,9 +37,9 @@ enough to act on directly.}
3537
`None.`}
3638
```
3739

38-
### Completeness contract
40+
## Completeness contract
3941

40-
- The first four `##` sections shown in **Layout** are required and must appear
42+
- The first four `##` sections shown in **Template** are required and must appear
4143
in that order.
4244
- Each required section's content, up to the next `##` heading or the end of the
4345
file, must contain non-whitespace content. An empty list marker, unreplaced
@@ -47,10 +49,10 @@ enough to act on directly.}
4749
- Writer mode must satisfy this contract before reporting success; loader mode
4850
validates the same contract before presenting a handover.
4951

50-
### Rules
52+
## Rules
5153

52-
- Include `Plan` and `Task` only when the session was working one identifiable
53-
plan task; omit them rather than guessing.
54+
- Include `Plan` when one plan is known. Include `Task` only when one task is
55+
known. Omit either field rather than guessing its value.
5456
- Keep `Assumptions` scoped to details actually labeled as inferred elsewhere
5557
in the document; do not duplicate confirmed facts here.
5658
- Describe durable state useful to a future session, not a transcript of this

‎.agents/skills/sce-handover/references/output.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ This handover has been presented for continuation only. No file was edited, no
8383
plan task was marked complete, and the recommended next step was not started.
8484
```
8585

86-
# Report rules
86+
## Report rules
8787

8888
- Writer success must report the exact written path so
8989
`/handover {written path}` is directly runnable.

0 commit comments

Comments
 (0)