@pmelab/gtd 29.2.6 → 29.2.7
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/claude/hooks/assist.ts
CHANGED
|
@@ -142,14 +142,15 @@ export function wakePrompt(w: Wake): string {
|
|
|
142
142
|
return [...body, ...notes, RULES, extras].join("\n\n")
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
// The wake after a background ship or hand-off ended
|
|
145
|
+
// The wake after a background ship or hand-off ended. It must not forbid further work:
|
|
146
|
+
// an agent with standing instructions (a review loop, a CI watch) would go idle.
|
|
146
147
|
export function jobPrompt(job: JobName, outcome: Shipped): string {
|
|
147
148
|
const name = JOB_NAME[job]
|
|
148
149
|
if (outcome.ok) {
|
|
149
150
|
return [
|
|
150
151
|
`The ${name} the person asked for finished. gtd's report:`,
|
|
151
152
|
fence(outcome.text),
|
|
152
|
-
"Relay the result to the person in a line or two, with any link in it
|
|
153
|
+
"Relay the result to the person in a line or two, with any link in it; then continue with any work the person already asked for.",
|
|
153
154
|
].join("\n\n")
|
|
154
155
|
}
|
|
155
156
|
const lines = [
|