taskchef 7.15.4 → 7.15.5
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/.codex-plugin/plugin.json +1 -1
- package/docs/spec.md +19 -0
- package/docs/workflows.md +10 -0
- package/package.json +1 -1
- package/skills/taskchef-executor/SKILL.md +27 -0
package/docs/spec.md
CHANGED
|
@@ -143,6 +143,25 @@ the final link, preserving the delegate skill's immediate-return contract.
|
|
|
143
143
|
TaskChef MUST atomically close it as `interrupted` before appending the new
|
|
144
144
|
working turn; the executor MUST NOT report semantic `failed` for recovery.
|
|
145
145
|
|
|
146
|
+
Normal executor completion MUST stop after the terminal callback and return
|
|
147
|
+
normally. It MUST NOT archive, hand off, close, navigate away from, or otherwise
|
|
148
|
+
terminate the Codex task merely because work completed. Archive is authorized
|
|
149
|
+
only by an explicit request in the current assignment or follow-up for that
|
|
150
|
+
exact Codex task; `finish`, `complete`, `done`, `ship`, and ordinary cleanup do
|
|
151
|
+
not imply authorization.
|
|
152
|
+
|
|
153
|
+
For an explicitly authorized archive, the executor MUST finish and verify the
|
|
154
|
+
work, read its exact task identity, submit the current turn's terminal
|
|
155
|
+
`report_state`, verify TaskChef accepted that state, and only then invoke the
|
|
156
|
+
native archive operation as the final state-changing action. It MUST require
|
|
157
|
+
native confirmation before claiming archive succeeded. The same callback-first
|
|
158
|
+
ordering applies to any separately authorized action that can make the executor
|
|
159
|
+
unavailable before reporting, including handoff or terminating or restarting
|
|
160
|
+
the process that owns the TaskChef MCP transport; this rule does not itself
|
|
161
|
+
authorize those actions. A terminal reporting failure MUST prevent the later
|
|
162
|
+
action and leave the executor accessible. Failure of a later action MUST NOT
|
|
163
|
+
change or reopen the already accepted semantic terminal state.
|
|
164
|
+
|
|
146
165
|
Request and result summaries are the durable source for dashboard related-link
|
|
147
166
|
projection; TaskChef does not scan full Codex transcripts. When known, an
|
|
148
167
|
executor MUST preserve the selected repository as a canonical GitHub repository
|
package/docs/workflows.md
CHANGED
|
@@ -163,6 +163,16 @@ sequenceDiagram
|
|
|
163
163
|
A native approval prompt is not a semantic result. `needs_input` is reserved
|
|
164
164
|
for a user decision or fact required to proceed.
|
|
165
165
|
|
|
166
|
+
Ordinary completion returns after the terminal callback; it does not archive,
|
|
167
|
+
hand off, close, navigate away from, or otherwise terminate the native Codex
|
|
168
|
+
task. An archive requires an explicit request in the current assignment or
|
|
169
|
+
follow-up for that exact task. `finish`, `complete`, `done`, `ship`, and cleanup
|
|
170
|
+
alone do not authorize it. Any explicitly requested action that could make the
|
|
171
|
+
executor unavailable must follow, never precede, an accepted terminal callback.
|
|
172
|
+
If reporting fails, the later action is forbidden and the executor remains
|
|
173
|
+
accessible. If the later action fails, its error does not reopen or replace the
|
|
174
|
+
accepted semantic state.
|
|
175
|
+
|
|
166
176
|
## Follow-up turns
|
|
167
177
|
|
|
168
178
|
Turn refs are freshness tokens for semantic callbacks. The workspace rejects a
|
package/package.json
CHANGED
|
@@ -80,6 +80,33 @@ and unnecessary personal data. Identical lifecycle retries are safe; never
|
|
|
80
80
|
replace a same-`turnRef` report with different content or let an older turn
|
|
81
81
|
overwrite newer state.
|
|
82
82
|
|
|
83
|
+
### Keep terminal reporting ahead of executor-ending actions
|
|
84
|
+
|
|
85
|
+
Normal completion ends with the semantic terminal `report_state` callback and
|
|
86
|
+
then returns normally. Never archive, hand off, close, navigate away from, or
|
|
87
|
+
otherwise terminate the Codex task merely because the work or turn completed.
|
|
88
|
+
An archive is authorized only when the current assignment or follow-up
|
|
89
|
+
explicitly requests archiving this exact Codex task. Words such as `finish`,
|
|
90
|
+
`complete`, `done`, `ship`, and ordinary cleanup do not authorize archive.
|
|
91
|
+
|
|
92
|
+
When archive is explicitly authorized, finish and verify the requested work,
|
|
93
|
+
read the exact task identity required by this protocol, submit the terminal
|
|
94
|
+
`report_state` callback for the current `turnRef`, and verify that TaskChef
|
|
95
|
+
accepted the terminal state. Only then call the native Codex archive operation.
|
|
96
|
+
Archive must be the final state-changing action, and native confirmation is
|
|
97
|
+
required before claiming it succeeded.
|
|
98
|
+
|
|
99
|
+
Apply the same terminal-callback-first rule when the user explicitly requests
|
|
100
|
+
another action that can make this executor unavailable before it reports, such
|
|
101
|
+
as handing off the task or terminating or restarting the process that owns the
|
|
102
|
+
TaskChef MCP transport. This ordering rule does not authorize any such action.
|
|
103
|
+
If terminal reporting fails, do not archive or perform the requested
|
|
104
|
+
executor-ending action; leave the executor accessible and report the lifecycle
|
|
105
|
+
failure visibly. If terminal reporting succeeds but the later action fails,
|
|
106
|
+
preserve the accepted `completed`, `failed`, or `needs_input` state, report only
|
|
107
|
+
the later action's failure, and do not reopen the lifecycle or report `working`
|
|
108
|
+
again.
|
|
109
|
+
|
|
83
110
|
### Preserve repository and delivery links
|
|
84
111
|
|
|
85
112
|
Treat lifecycle summaries as the durable TaskChef timeline; the dashboard does
|