Skip to content
Skillpedia
Testing8.5k · #12450

validation-supervision

What it does

This skill manages automated validation runs on finished code changes in Firstmate. It is for people who want code checked before it ships and who want to avoid scope creep during checks.

When to use it

  • ✓When a code change is ready and an automated validation run should start.
  • ✓When new requirements come up during a validation run.
  • ✓When a validation run asks a question that needs a decision.

Skill link

https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/validation-supervision/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/validation-supervision/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Start the validation check on my finished change, and send any new ideas to a follow-up task instead of this one.”

5 new skills a week. 1 minute to read.

How it works

The worker starts the validation run and drives it through each gate. New requests usually become follow-up work, while fixes needed to keep already agreed behavior correct stay in the current task.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Validation supervision

For a no-mistakes ship, trigger validation on the same worker after its implementation commit, using the harness invocation owned by harness-adapters. The task worker that starts a no-mistakes run drives the pipeline and owns every no-mistakes axi run and no-mistakes axi respond call through the next gate or outcome. Firstmate never invokes no-mistakes axi respond for a crew-owned run. bin/fm-dod-lib.sh owns the worker-side --intent contract. Once validation starts, prefer routing new requirements to follow-up work rather than expanding the current task, unless a new requirement completely invalidates the work being validated; however, the smallest downstream changes needed to keep already accepted product or engineering behavior correct, add behavioral tests where an executable contract exists, or keep documentation accurate remain within the current task even when they touch files not named at intake, and corrections required to satisfy already accepted intent are not new requirements.

Only a current, explicit captain instruction that completely invalidates the work being validated keeps the task with the same worker instead of routing it to follow-up work or handing it to a replacement. That worker cancels the active run through no-mistakes axi's supported abort command and confirms through axi status that the run has stopped before changing any code. The worker then follows branch_sync.next_action from structured axi status: use axi sync's supported guarded recovery only when its code is recover_custody, and otherwise proceed only when structured status confirms that branch ownership is already returned and no recovery is required. Custody recovery settles branch ownership, not content: the worker must replace the obsolete work from the correct pre-invalidation base rather than building on top of the recovered-but-obsolete head, keeping the obsolete run's own pipeline-fix commits out of what gets validated and shipped. Apart from that single supported abort, do not hand-edit, commit, restart, or start a second validation run while the obsolete run still owns the branch. Once ownership is settled, validate exactly once against that final head so no obsolete or intermediate head is ever treated as authoritative.

An ask-user finding returns as needs-decision; firstmate loads ask-user-authority and either decides or escalates per that skill. Send the same worker one exact decision naming the decision key, step, action, affected finding IDs, instructions where needed, and exact response command, passing --resolve-key so the worker's open decision record closes at answer time. Require the matching resolved event, forbid --yes, and require the worker to process every synchronous return until completion or a genuinely new escalation. Resume fleet supervision immediately after the decision lands.

Judge validation by the resolved state line from bin/fm-crew-state.sh, whose header owns outcome mappings and CI-monitor/daemon exceptions, never by shell liveness, the last status event, or a raw run record. Workers parked at approval or fix-review must follow the active gate help. A worker hand-editing, committing, aborting, or restarting during an active validation run duplicates pipeline ownership outside the supersession sequence above; steer it back to the gate response flow. The worker reports the PR when CI first becomes green rather than waiting for merge monitoring to finish.

FAQ

Can a new requirement change the current task?

Only when an explicit instruction completely invalidates the work being validated.

Who answers the validation questions?

The worker sends them up for a decision, and the agent does not answer on its own.

Can a validation run be stopped?

Yes, through the supported abort command, and the stop is confirmed before any change.

Details

Original description by the author

Load when a ship starts or already has an active no-mistakes validation run, including a mid-run requirement change or finding, and before deciding or answering any ask-user finding.

repo: kunchenguid/firstmate

Popularity

GitHub stars
8.5k
Ranking position
#12450
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills