Fleet architecture update

VerifiedCaution

Runs the central fleet architecture update via tooling/fleet.py update, then sends a single notification based on the exit code.

Sby Skills Guide Bot
DevOpsIntermediate
9/13/2026
Claude Code
#fleet-automation#architecture-artifacts#batch-orchestration#long-running-jobs#notifications

Recommended for

Automated summary

Launches `tooling/fleet.py update` in the background from the Architecture repo, taking every registered producer with commits past its watermark through a triage session and, unless triage says skip, an update session in a staged clone, pushing the commits, tracking the builds and writing one report to the specs repo.

Strengths

  • Wraps a long and delicate command (12 h timeout, SIGINT so the driven headless session is shut down in a `finally`) in a single safe background launch
  • Maps the exit code to exactly one notification message (0, 1, 124, other) instead of flooding the operator
  • States explicitly not to tail the log or re-run for progress, since the tool re-invokes the agent on exit and the next run resumes from recorded state
  • Supports narrowing the run to named producer ids passed as arguments

Limitations

  • Assumes the exact `/work/Architecture` layout, the `tooling/fleet.py` tool and an already-set `JENKINS_TOKEN`; without it every producer fails before its push
  • Gives no progress visibility during execution — a whole-fleet run lasts hours and you must wait to be woken up
  • Does not summarise the report or resolve outstanding items; it only reports how many are waiting for the operator
When to use it

When the operator asks to update the fleet's architecture, refresh the producers' architecture artifacts, or run the same update for one named producer.

When not to use it

To hand-edit one repo's architecture docs, debug `fleet.py` itself, or get a detailed digest of what the report contains.

Security analysis

Caution
Quality score84/100

No destructive, exfiltration, or obfuscated patterns appear: it does not curl|sh, wipe files, or ship the token anywhere; the log is a plain redirect to /tmp and the timeout/SIGINT handling is actually a safety measure. The risk is 'caution' rather than 'safe' because it drives bash, clones/pushes multiple repos, triggers CI, and depends on a token plus a script whose contents are not included in the skill, so its real blast radius can only be judged by auditing tooling/fleet.py in the Architecture repo.

Findings
  • •Requires a JENKINS_TOKEN secret in the environment; the skill itself never transmits it, but its handling is delegated to an unaudited repo-local script.
  • •Runs an opaque repo-local executable (python3 tooling/fleet.py update) whose behavior is not shown here; it stages clones, commits, pushes, and triggers CI builds on ~30 producer repos — powerful, irreversible-ish side effects that must be trusted from the Architecture repo.
  • •Writes/commits reports into a separate specs repo and triggers Jenkins builds, i.e. broad write access across multiple repositories.
How this analysis is made

Examples

Whole-fleet update
Update the fleet's architecture across all producers and let me know when the run is done.
Single producer
Refresh the architecture artifacts for the newsfilter producer only.
Central run
Run the central architecture update over the producer fleet from the Architecture repo.

name: architecture-update description: Run the central architecture update over the producer fleet from the Architecture repo. tooling/fleet.py update takes every registered producer that has commits past its watermark through a triage session and, unless triage says skip, an update session in a staged clone, pushes what the session commits, tracks the builds the push starts, and writes one report to the specs repo. Use when the operator asks to update the fleet's architecture, refresh the producers' architecture artifacts, run the central/fleet architecture update, or do the same for one named producer.

architecture-update

Start tooling/fleet.py update, wait for it, and send the one notification the operator gets. The tool does the work; this skill is the wrapper around it.

Run it

From /work/Architecture, with JENKINS_TOKEN set in the environment — without it every producer with commits fails before its push:

mkdir -p /tmp/architecture-update
LOG=/tmp/architecture-update/$(date +%Y-%m-%dT%H%M).log
timeout --signal=INT --kill-after=2m 12h \
  python3 tooling/fleet.py update > "$LOG" 2>&1

Start it in the background and end your turn: it re-invokes you when it exits. Don't tail the log, don't poll it, don't re-run it to see how far it got. A whole-fleet run takes hours.

  • --signal=INT is what makes a killed run safe. On SIGINT the tool ends the headless session it is driving from a finally; SIGTERM would skip that and leave a session running.
  • 12h is the cap for the whole fleet — 30 producers, the tool's own timeouts being 600 s per triage session and 3600 s per update session.
  • Name producer ids to take only those: python3 tooling/fleet.py update newsfilter.
  • The tool reports every producer as it finishes and records its state then, so a run that is killed keeps what it has done; the next run picks up from there.

Notify when it exits

A run that got to the end closes its log with

report: /work/ArchitectureSpecs/architecture-updates/<YYYY-MM-DD>T<HHMM>.md
unresolved: <n>

Read those two lines, then send one message with the notification MCP tool and stop. What it says, by exit code:

| Exit | Message | |---|---| | 0 | the run finished, the report path, nothing unresolved | | 1 | the run finished, the report path, <n> unresolved items waiting for the operator | | 124 | the run was killed at the timeout, not finished: the log path, and that every producer it finished kept its state | | other | the tool did not run: the log path and the last line of the log |

Exit 1 also covers a report the tool could not commit and push to the specs repo; its last stderr line says so, and the report is on disk either way.

Don't summarise the report in the message — the operator reads it himself.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/fleet-architecture-update-mtz9jqfm/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/fleet-architecture-update-mtz9jqfm' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/fleet-architecture-update-mtz9jqfm/download' --output '.skill-downloads/fleet-architecture-update-mtz9jqfm/SKILL.md.part' && mv '.skill-downloads/fleet-architecture-update-mtz9jqfm/SKILL.md.part' '.skill-downloads/fleet-architecture-update-mtz9jqfm/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/fleet-architecture-update-mtz9jqfm/SKILL.md' && test -s '.skill-downloads/fleet-architecture-update-mtz9jqfm/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/architecture-update' && cp -R '.skill-downloads/fleet-architecture-update-mtz9jqfm' '.claude/skills/architecture-update'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/fleet-architecture-update-mtz9jqfm'

openskills read 'fleet-architecture-update-mtz9jqfm'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/fleet-architecture-update-mtz9jqfm/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills