Skip to content

Add the fleet-steward skill for tending a thirdshift fleet - #2257

Merged
JacobStephens2 merged 1 commit into
mainfrom
fleet-steward-skill
Nov 17, 2026
Merged

JacobStephens2 merged 1 commit into
mainfrom
fleet-steward-skill

Conversation

@JacobStephens2

Copy link
Copy Markdown
Owner

Summary

Adds fleet-steward, a user-invoked skill that tends a thirdshift fleet one tick at a time: read the fleet, triage each failure (retried, rerouted or left), clear Needs you, watch the slow signals, look for repeats, record, report.

.agents/skills/fleet-steward/
├── SKILL.md             # the tick's 7 steps, boundaries, scheduling per harness
├── REFERENCE.md         # failure catalogue (symptom → class → action), gotchas, quota, disk
├── fleet.conf.example   # owners, hosts (local | lima:<vm> | ssh dest), Console URL, IGNORE
├── agents/openai.yaml   # implicit invocation off, matching disable-model-invocation
└── scripts/
    ├── fleet-check.sh   # quota, agent-failed, per-host activity + running Commands, Needs you
    ├── fleet-host.sh    # runs on each host over stdin; Linux and macOS
    └── needs-you.py     # reads the Console's Needs you group

The skill is general advice. Each user's fleet lives outside the repo, and fleet.md wins where it differs from REFERENCE.md:

~/.thirdshift/fleet/
├── fleet.conf           # read by fleet-check.sh
├── fleet.md             # the fleet's shape: hosts, routing, cron placement, gotchas, decisions
├── notes/<YYYY-MM-DD>.md
└── last-tick

A tick keeps no state in the conversation, so it runs on any Harness: /loop in an open Claude Code session, or cron running claude -p, codex exec, agy -p, grok -p, muse exec, opencode run or kimi -p with the skill named the way thirdshift's own adapters name it (/, $, or "Load … with your skill tool"). The name avoids thirdshift-*, which Worktrees reserve for linked Factory skills.

Evidence

Execution evidence

  • Before: git ls-tree origin/main .agents/skills/fleet-steward prints nothing; there is no steward skill.
    After: with no config, the check stops with a pointer:

    $ THIRDSHIFT_FLEET_CONFIG=/nonexistent fleet-check.sh
    fleet-check: no fleet config at /nonexistent
    copy …/.agents/skills/fleet-steward/fleet.conf.example there and fill it in
    exit 2
    

    With HOSTS=(local), no owners and no Console:

    ## since <last tick> (now <now>)
    quota core N/5000 reset HH:MM; search 30
    ## open agent-failed
    ## local
    running: idle
    

    bash -n and python3 -m py_compile pass; shellcheck -S warning scripts/*.sh reports nothing. The skill has run the maintainer's 8-host fleet hourly since 2026-11-15 (ssh, Lima and Console paths).

Merge Danger

Door: two-way

Adds files only; nothing in src/, the site or the Factory skills changes.

Blast Radius: none

The skill fires only when a user invokes it. Contributors' agents see one more user-invoked skill in this repo.

A user-invoked skill that runs one steward tick across a thirdshift fleet:
read every host's Activity log, agent-failed issues, GitHub quota and the
Console's Needs you rows; triage each failure; record; report. The general
advice lives in the skill; each user's hosts, routing and decisions live in
~/.thirdshift/fleet/ (fleet.conf, fleet.md, notes/<date>.md).
@JacobStephens2 JacobStephens2 added the in-progress A Claim: thirdshift has taken this issue label Nov 17, 2026
@JacobStephens2
JacobStephens2 merged commit 6439c67 into main Nov 17, 2026
30 of 38 checks passed
@JacobStephens2
JacobStephens2 deleted the fleet-steward-skill branch November 17, 2026 12:43
@JacobStephens2 JacobStephens2 removed the in-progress A Claim: thirdshift has taken this issue label Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant