/engineering-assurance:assurance-onboardingfrom engineering-assurance
Inventory an existing repository's assurance context and route only justified, human-owned assurance work.
Ships in engineering-assurance. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
If this plugin is not initialized or an Agent IX command fails, read the engineering-assurance setup guide for its prerequisites and local diagnosis.
Use this skill when an operator asks what engineering-assurance work applies to an existing repository or wants to enter one of the governed assurance workflows.
onboardRun this once, before authoring anything, the first time this skill is used in a repository:
engineering-assurance onboard-report --module-root <skill-dir>/../.. --repo <repo_root>
(<skill-dir> is the directory holding this SKILL.md. For a module installed
with quoin module install it is
~/.ix/filament/modules/engineering-assurance/skills/assurance-onboarding; in a
checkout of this repository it is
engineering_assurance/skills/assurance-onboarding. Add --json for a
machine-readable report, --summary for a compact one (module version, each
spec/assurance/ artifact with its Quire validation status, and installed
quire/quoin features; exits 1 if an artifact is invalid), or --help for
usage.)
It prints, in one place:
engineering-assurance) is the
schema/skeleton source — manifest.yaml, schemas/*.schema.json, and
skeletons/*.md. It holds no project's actual decisions. The target repo's
own spec/assurance/ is the instance home — every AssuranceProfile
(AP-*.md), MeasurementPlan (MP-*.md), ArchitectureDescription
(AD-*.md), ComponentAssuranceContract (CAC-*.md), and
AssuranceArgument (AA-*.md) the project actually authors lives there,
validated against the schemas this module supplies. The report also
inventories what the target repo's spec/assurance/ already has.quoin-measurement's Rust
source (validate/mod.rs, validate/stack.rs, types/collection.rs,
types/observation.rs) to learn the measurement-record format: the real,
accepted measurement-collection JSON files under spec/evidence/measurements/
(a GitHub link to agent-ix/qa-corpus), plus a link to agent-ix/quoin's own
spec/assurance/ — a live consumer's real, validated AssuranceProfile and
MeasurementPlan instances, not just skeletons.schemas/*.schema.json (so it can never drift from what Quire enforces),
plus the measurement-collection and observation field checklist restated
from the Rust validator — the fields a valid record needs before it is
submitted, not after it is rejected.Re-run it any time the installed module version changes, or when onboarding a
different repository. This is a separate, human/agent-facing orientation step
from the native engineering-assurance onboarding command: that command reads
one machine protocol request and returns a structured repository inventory for
the "Inventory before proposing" step below; onboard-report is prose and links,
run once, to learn how this all fits together in the first place.
Obtain the repository root, the exact decision boundary, and the human decision owner. If the boundary or owner is missing, request it and create nothing.
Resolve every path within the selected repository root and refuse absolute, parent-traversing, or symlink-escaping targets. Inspect before proposing and report five separate collections:
Reuse an applicable valid artifact. Preserve malformed or conflicting artifacts
byte-for-byte and ask the decision owner to select or correct them. Do not create
a generic AssuranceProfile or MeasurementPlan when the stated decision does not
justify one. Do not create one MeasurementPlan per related quantity, either —
two related quantities (e.g. cost and latency for the same subject) belong
under one plan's observations, distinguished by dimensions (see the worked
example in the MeasurementPlan skeleton); the duplicate-observation check
keys on metric plus dimensions together, so this does not collide.
A plan that grades a tool against recorded ground-truth labels never reports
a raw agreement/accuracy rate alone — state it next to the
constant-predictor baseline (what a fixed, corpus-blind answer would score)
and gate on the margin between them, per the worked example and formula in
the MeasurementPlan skeleton. Compute the baseline from the corpus at
measurement time; a hand-derived or previously-written percentage goes stale
exactly like a hard-coded label would, and picking one constant across every
answer-space family instead of one per family silently understates it.
When the decision owner states which way the metric should move, record it in
the plan's optional objective block rather than only in prose:
direction is one of higher, lower, zero, or target, and bound is
the goal the metric should reach, required when direction is target (see
the MeasurementPlan skeleton). bound is informational and never evaluated;
only decision_rule is. Do not invent an objective the owner has not stated.
The objective may also carry optional steering fields, in units the plan's
body states: weight (relative value, non-negative), value_half_life (how
fast the value of improving decays, strictly positive), and budget (time,
tokens, or compute per attempt, non-negative). They are advisory only: they
never gate and never feed decision_rule. Record them only when the owner
states them.
A plan with a statistical_design states its bar as data a checker can
evaluate, not as a sentence: estimator is one of proportion, count,
mean, median, or ratio, and decision_rule is
{ comparator, threshold } or { comparator, baseline, margin? }, where
comparator is one of gt, ge, lt, le, eq and baseline is one of
constant-predictor (only with estimator: proportion), prior-collection,
best-seen (not with eq), or external-reference (a value the calling
checker resolves from a source outside the plan, e.g. an owner-declared
budget; no estimator restriction, and usable with eq). margin is in the
metric's own units and
signed in the direction of improvement: positive demands the result beat the
baseline by that much, negative allows a regression of up to that much; eq
takes none. When objective is present, the comparator agrees with it:
higher takes gt/ge, lower takes lt/le, zero takes eq or le
against threshold 0. The rule applies to the plan's own metric, which is
then required; do not restate metric, repetitions, or
minimum_population inside the rule. Gate on the constant-predictor margin as
{ comparator: gt, baseline: constant-predictor, margin: <owner's bar> }, and
declare the answer-space families the owner's population has in
statistical_design.answer_families (required with constant-predictor,
refused with any other reference; a non-empty list of unique non-empty
strings; the producer's item-row families must equal it exactly), and
do not invent a threshold or margin the owner has not stated. population,
sampling, error_model, and uncertainty remain prose.
When converting an older plan's prose estimator or decision_rule into these
typed fields, the typed fields keep only the comparator, threshold or baseline,
and margin. Carry the explanatory detail the prose held (what a count counts,
which conditions fail the gate beyond the comparator) into the body
Interpretation section; do not drop it with the prose.
Declaring execution_procedure elects to govern a producer; repository layout
does not imply ownership. When declaring protected_apparatus, list the files
that produce its number
in protected_apparatus: the harness, labels, corpus or answer key, population
selector, and checker configuration. Each entry is a repository-relative
file path or a directory entry ending in /** (every file under that
directory, recursively); no other wildcard is allowed, ** alone is refused,
and so are absolute paths, ./.. segments, empty segments, control
characters, and \ ? [ ] { } :. The list is non-empty with no repeats. A plan
with execution_procedure or an apparatus-edit control must have one. A gate
over independently produced admitted evidence can omit it. Quoin's intake
resolves each declared entry (case-sensitive, dotfiles included,
symlinks refused, a directory entry must hold at least one file, an entry that
names nothing refuses the collection). A change that edits a
protected file changed the measurement, not the thing measured, and earns no
credit. When the list is declared, protect the population through the file
that selects it; statistical_design.population stays prose.
A gate-stage plan also declares at least one negative_controls entry,
{ kind, description }: a gaming scenario the plan says it guards against and
how. kind is one of suppressed-observation, gain-within-noise,
stale-evidence, apparatus-edit, or selective-reporting. The declaration
is checked for shape only; Quoin's checker exercises the kinds it can detect.
Declare only controls the owner has stated.
The objective's direction and bound, estimator, decision_rule,
answer_families (compared as a set, so reordering is not a change), and
protected_apparatus list are all part of the measurement definition (the
objective's steering fields are not; retuning them needs no new version): when you add, remove, or change
any of them on an existing plan, also change definition_version, so results
under the old and new definition are never compared as one series. Editing a
protected file needs a new definition_version too.
When an artifact is justified, render it from the installed module skeleton, write a same-directory staging file, validate it with Quire, and expose it only with an atomic rename after validation succeeds. A failed validation must leave the intended path absent.
Use the definitions under workflows/:
assurance-intake for a bounded profile decision;architecture-evaluation for a scenario-based architecture decision;measurement-promotion for a one-stage measurement decision;change-assurance for a bounded change decision; andrelease-decision for a named person's release or reject decision, driven
through engineering-assurance release-decision (the person's signed tag, not
the workflow, is the release); andfeature-risk-rating for a named person's feature-risk decision, driven
through engineering-assurance feature-risk-rating (the workflow drafts the
rating; the person's signed commit is the acceptance).Run them through ix-flow and preserve its state for resume. Terminal transitions remain named human decisions; never acknowledge or override those gates.
Drive the run through the engineering-assurance workflow-host command, which
reads one engineering-assurance.workflow-host/v1 request on standard input and
writes one result on standard output. Use its start_or_resume operation to
create or resume the stable run and its run_binding item. Record interviews
and evidence items with ix-flow itself. At decision_ready, use the decide
operation only after the bound owner supplies an explicit accept or reject;
send no choice to leave the run non-terminal.
An AssuranceProfile may carry measurement_policy: { mode, stages }, where
mode is recommend or require and stages is a non-empty list of distinct
MeasurementPlan stages. In a measurement-promotion run:
measurement_policy item
(profile_path, mode, stages) before evidence. Record nothing when the
profile has none: every stage is then recommend.quoin.measurement-verdict.v1 document
unchanged as a measurement_verdict item, and bind the promotion_evidence
item to it with plan_id (the plan's frontmatter id) and candidate (the
collection id the checker decided). The verdict must be for the evidence's
definition_version.quoin measurement verify. Before planning a
require stage, check that quoin measurement --help lists verify.
Without it no verdict can be recorded, so a require
stage refuses with promotion_checker_missing. Tell the owner, and offer
recommend or an owner-stated exception instead.recommend, and any stage the policy does not list: measurement.promotion_ready
never refuses on the checker, including when no result was recorded. Tell
the decision owner what the recorded verdict says.require for the proposed stage: the promotion is refused unless the bound
result says accept and its orderSource is git-first-parent-add.
The codes are promotion_checker_missing, promotion_checker_mismatch,
promotion_checker_not_accepted, and promotion_checker_order_unattested.exception item (owner,
expiry, rationale, impact), which stays in the run as the record of the
override. Never record an exception the owner has not stated.require at gate only.scripts/invariants.js (opens in a new tab)workflows/architecture-evaluation/def.yaml (opens in a new tab)workflows/assurance-intake/def.yaml (opens in a new tab)workflows/change-assurance/def.yaml (opens in a new tab)workflows/feature-risk-rating/def.yaml (opens in a new tab)workflows/measurement-promotion/def.yaml (opens in a new tab)workflows/release-decision/def.yaml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub agent-ix/engineering-assurance --plugin engineering-assurance