Remote truth. Visual preview. Explicit apply.
Use this workflow only when the user invokes /daily-chief or /skill:daily-chief. Only Plan today is implemented. Daily Chief is the remote source of truth. The local HTML file is a visual preview, never task or plan state.
-
Check authentication. If credentials are missing or rejected, run browser device login and wait for approval.
npx daily-chief-agent@1.0.0 status --json npx daily-chief-agent@1.0.0 auth -
Read the request and prior conversation. Ask only for missing canonical answers: available hours, energy (
high,normal, orlow), must happen today, fixed events, and what can defer. -
Create the remote, non-mutating preview.
dateis optional and the server chooses its current UTC date when omitted.
npx daily-chief-agent@1.0.0 plan-today --answers-json '{"availableHours":4,"energy":"normal","mustHappen":"Ship the review","fixedEvents":"15:00 client call","canDefer":"Inbox cleanup"}' --json
-
Inspect the returned local HTML
outfile and its recommendations. It is local only and has no token. Do not publish it or use htmldrop. -
Require clear confirmation to apply that exact preview. Viewing it, silence, or a vague acknowledgment is not confirmation.
-
Apply only the returned
applyPayload, unchanged. It contains the storedpreviewIdand its generatedidempotencyKey.npx daily-chief-agent@1.0.0 apply-plan --json '<applyPayload from plan-today>' --output-json
Report an applied plan only after the command receives a successful remote response. Never expose, log, or embed bearer tokens. For API semantics and self-host configuration, read the API reference.