sum-update

Applies, inspects, and rolls back atomic updates to a sum installation with staged releases.

Updated Sep 5, 2026
One-click install
npx skills add https://github.com/douglasjarquin/sum --skill sum-update-douglasjarquin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sum-update
Source: https://github.com/douglasjarquin/sum/tree/main/skills/sum-update
Command: npx skills add https://github.com/douglasjarquin/sum --skill sum-update-douglasjarquin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Updating a running multi-agent coordinator installation risks breaking active workers, task records, and MCP connections. This Skill performs atomic, validated updates to a sum installation and safely rolls them back without touching task data. ## Core Features & Use Cases - Atomic apply with validation: Stages a release bundle, validates it against manifests, state schemas, and task briefs, then switches the default symlink under an activation lock. - Safe rollback and recovery: Restores the recorded previous known-good runtime, and recovers interrupted activations from the exact pending generation record. - Rolling refresh of running sessions: Requests coordinators and workers to reread updated instructions one at a time, tracking confirmed, pending, and unreachable states. - Use Case: After a new sum revision is merged, run the canary workflow: stage the release, apply it, verify existing tasks still respond, dispatch a test task, and roll back if anything fails. ## Quick Start Ask the coordinator to update sum to the latest merged revision and report the old and new SHA plus compatibility results.

Frequently Asked Questions about sum-update

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update a sum installation to the latest merged revision?

Run ./bin/sumctl update apply from the installation directory as the registered coordinator. It stages the release, validates the bundle against manifests and task schemas, switches the default symlink under a lock, and fast-forwards a clean checkout.

How do I roll back a sum update if something goes wrong?

Run ./bin/sumctl update rollback to restore the recorded previous known-good runtime. Use --to SHA or --to checkout for an explicit approved target; rollback never restores task databases or rewinds worktrees.

Can a worker or developer session run the sum update commands?

No. Only the registered coordinator pane may run apply, rollback, or recover. Developer and worker sessions are refused, and candidate code in a task worktree cannot publish into the installation.

What happens to running workers during a sum update?

Commands already started finish on the runtime they resolved, and worker briefs use absolute sumctl paths that keep working. New dispatches use the new default, and running sessions pick up changes through the rolling refresh flow.

How do I recover from an interrupted sum update activation?

Inspect update status for the activation.pending record, then run update recover --generation GENERATION for that exact saved generation. If the selected helper cannot start, run the recovery argv recorded in .local/activation.json instead of ./bin/sumctl.

Why does sum update refuse to apply a candidate release?

Apply refuses when the bundle fails manifest, schema, or Herdr version checks, when a pending activation exists, or when the ref is not merged into the default branch. The refusal names each exact incompatibility and leaves the old selection serving.