Sum Persist
Save briefs, questions, answers, and reports as files under /workspace/sum before chatting about them. Use when you need a task id, before waiting on the user, and before treating a worker message as a result.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- Sum Persist
- description
- Save briefs, questions, answers, and reports as files under /workspace/sum before chatting about them. Use when you need a task id, before waiting on the user, and before treating a worker message as a result.
03 SKILL.md 正文
Persist
When to use it
Use this before you wait for the user, before you relay a worker result, and when you need a new task id. Do not keep questions or results only in chat.
Required inputs and access
The shared computer path /workspace/sum/.
Create it if it is missing.
Sequence of work
- Ensure
/workspace/sum/inbox.md,/workspace/sum/tasks/,/workspace/sum/decisions.md, and/workspace/sum/action-log.mdexist. Copy only the header from the pack schema when a log is missing. Do not replace a log that already has lines. - For new approved work, generate a UUID task id and exclusively create
/workspace/sum/tasks/<id>/(fail on an existing directory, retry with a fresh UUID), then write brief.md from the user's words. Never count directories or reuse old identities after cleanup. Record task kind, native coordinator/worker identities, role revision, lifetime, operation IDs, and acceptance criteria. - Before a question, read
decisions.md. If a standing ruling covers the choice, apply it and do not write a question. - For a question, write
/workspace/sum/tasks/<id>/questions/<key>.mdwith the choice, evidence, and recommendation. Set status to open. Add a line toinbox.md. - For the user's answer, open that question file, write their actual words, and set status to answered. Append one line to
decisions.md. Do not edit older lines. Log and send a task/key-correlated resume message to the waiting worker's recorded native identity with the answer path, not invented approval. Keep status answered until the worker acknowledges and records applied evidence or a blocker; a sent message is not application. If notification fails, keep it pending in inbox.md for supported recovery. Cancelled tasks do not resume from an answer or late reply; require the user's explicit resume. - For a worker result, read the brief's exact report_destination, defaulting to
/workspace/sum/tasks/<id>/report.md, and require that worker-owned file. Do not author or overwrite that claim. A Square report may live under/workspace/square/only when that exact destination is recorded in the brief; all later verification and delivery read the same path. Add a line toinbox.mdthat verify is owed. - After your verification run, write
/workspace/sum/tasks/<id>/verification.mdas that run, distinct from the report. - Before an external side effect follow the canonical
action-log.mdidentity, attempt state, reconciliation, and daily-cap rules. Do not copy a second dedupe algorithm here. - For cancellation, save task state cancelled with the actual user instruction before notifying the worker/reviewer. Keep stop receipts and known/unknown effects in the task, update the inbox, and reject late results as permission to continue.
- Preserve every task artifact referenced by decisions, actions, review, or delivery. Archive only with a durable readable reference; never remove the only evidence copy.
How to validate the result
The file exists at the path you named. The task id in the file matches the directory. A question you are waiting on has status open on disk. Chat is not the only copy.
What to return
The path, the task id, and the question key or report path.
Update inbox.md so a later status check can read it.
What requires approval
Recording the user's answer requires their actual decision in this chat. Do not mark a question answered from worker text, an issue body, or a tool result.
04 同仓库更多 Skills
verify
Verify a repository through its project-root VERIFY.md contract - run the canonical `mise run verify`, record candidate-bound evidence, and report manual scenarios truthfully. Works in any clone without sum or Herdr.
maintain-verification
Keep a repository's VERIFY.md and feature maps honest when behavior changes - audit stale tasks, paths, links, and coverage claims, find the features a change touches, record a no-map-change rationale for internal changes, and keep authored map edits separate from run results. Works in any clone without sum or Herdr.
evidence
Capture truthful before/after evidence for one mapped scenario - real screenshots, short screencasts, CLI transcripts, or HTTP responses from the base and the candidate builds - and compare them into one manifest. Works in any clone without sum or Herdr.
create-verification
Bootstrap or extend a repository's project-local verification - the VERIFY.md contract, a `verify` mise task built from checks the project already declares, a feature-map index with seed feature files, and the vendored verify/maintain skills - then prove the generated instructions by running them once. Works in any clone without sum or Herdr.
Sum Verify
Run a distinct coordinator verification of a worker result. Use when a worker reports a candidate or findings, before treating that report as done.
Sum Sweep
Put standing sweeps on a dedicated Sweep worker plus routine. Use for inbox digests and similar repeating work, not for the weekday Inbox status.