Files
Verification
The words below name the ways this package's work is verified. Use them in
docs, comments, commit messages, and agent reports. The table is a copy of
the owner's toolbox rule, refreshed by bb verification-index there; do not
edit it here.
Report a run by its term in bold with its emoji, then its duration and load in
code font, then its outcome: "Ran the test suite π¦ (7 s; CPU) β
pass." The scripts here predate the vocabulary and report through exit codes
and their tools' output. A new script that ends in a verdict prints it as
status=pass, fail, unproven, or blocked, with reason= when it is not
a pass.
Glossary
| Term | Meaning | Avoid | |
|---|---|---|---|
| Check | π§ͺ | The smallest verification that runs and reports alone: an artifact compared with stated expectations by a fixed procedure, not by judgment, ending in a verdict. | test (for the runnable unit as a whole), probe |
| Contract check | π§ͺ | A check whose expectation is a recorded exact value, such as a list of exports or required text, which changes only on purpose; it ends in a verdict. | pin (for a check; pin means fixing an input to an exact value), snapshot test, invariant (a rule that never changes) |
| Kit check | π§° | A check whose artifact is what a stage or action needs, such as tools, permissions, credentials, or settled earlier records; it ends in a verdict, and when it fails, the work that needed it is blocked. | preflight, capability probe, sanity check |
| Assertion | One expectation inside a check, never reported alone. | check (for a single expectation) | |
| Suite | π¦ | A named set of different checks run together, ending in one verdict. | validation, full verification, unit gate |
| Survey | πΊοΈ | One check or measurement run across a whole space, such as every combination of settings or every member of a group, ending in a table over that space, and in a verdict when each cell has an expectation. | sweep, census, matrix (as a kind) |
| Measurement | π¬ | A workload run against an artifact, ending in numbers with their spread and no verdict of its own. | benchmark (as a kind), perf check |
| Review | π | One reviewer's judgment of a plan or change against a brief, ending in findings and a verdict. | |
| Audit | π§ | A look at a standing state against its own rules, ending in drift findings and no verdict. | audit (for a check that has a verdict), scan |
| Panel | π₯ | Several reviewers judging the same revision against one brief, ending in one verdict that passes only when every review passes. | |
| Gate | π§ | A rule that lets a stage proceed only when what it holds passes; a measurement it holds passes when its numbers meet the gate's threshold; it ends in a verdict. | gate (for anything that blocks nothing) |
| Keeper | π | Who decides at a gate: a script, an outside service, a panel, or the owner. | |
| Verdict | The one-word outcome of a run whose kind ends in one: pass, fail, unproven, or blocked, with a reason when it is not a pass; a run of several parts takes the first of fail, blocked, unproven, and pass that any part has. | status (for the outcome itself) | |
| Pass | β | Every expectation held. | ok, green |
| Fail | β | At least one expectation broke. | miss, mismatch, red |
| Unproven | β | The run ended, but its evidence cannot decide. | stale (for old evidence; say unproven, reason stale), inconclusive |
| Blocked | β | The run could not start or finish. | error (as a verdict), refused |
| Change request | A fix a reviewer requires before the revision can pass; a review with one fails. | named changes, ship with changes, blocker (for a required fix) | |
| Suggestion | An optional improvement a reviewer offers, which leaves the verdict unchanged. | nit (as a requirement) | |
| Proof | π | Evidence about the artifact that a reader can inspect. | |
| Receipt | π§Ύ | The record of one run: what ran, on which revision, when, and its outcome. | receipt (for a product's own results) |
| Limits | β οΈ | What a pass does not prove, stated with the outcome. | |
| Depth | How far a run goes into each behavior: shallow or thorough. | smoke | |
| Coverage | How much of the possible cases a run reaches: targeted, sampled, or exhaustive. | complete (unless exhaustive) | |
| Duration | How long a run takes: measured, a cap, or unmeasured. | about, β, "a bit", "a while" | |
| Load | What a run uses up: CPU, disk (churn of many small files), network, browser, quota (a metered allowance), exclusive (a resource only one run may hold), or attention (the owner's eyes or machine). | ||
| Stage | A step where verification can happen: in a change's life, plan, edit loop, checkpoint, pre-merge, pre-publish, publish, post-publish, or upkeep; outside a change, before a data operation or a risky action. | ||
In this package
| Name | Kind | Stage | Duration and load | Limits |
|---|---|---|---|---|
npm test | Suite π¦ | edit loop, pre-publish | 4β7 s; CPU (2 runs) | Offline: proves no live header compatibility. |
npm run typecheck | Check π§ͺ | edit loop, pre-publish | unmeasured; CPU | |
src/__tests__/surface.test.ts | Contract check π§ͺ Γ3, Check π§ͺ Γ4 | edit loop | inside npm test | The contract checks hold the names each export offers, the credential need, and the capabilities each export reaches. The other checks hold static imports, one Kody call per capability module, the app's capability list, and no path from an export to login or a secret save. |
scripts/push-main.sh | Gate π§, keeper π the script | pre-publish | unmeasured; CPU + network | Runs the suite, typecheck, and Kody's dev check on a clean export. |
| Kody publish checks | Gate π§, keeper π Kody | publish | unmeasured; network | Outside name: Kody's checks_failed. |
| Promote | Gate π§, keeper π the owner | publish, when Kody asks for approval | attention |
At publish the script's gate comes first, then Kody's. The owner's Promote
gate applies only when Kody answers locked or approval_required; a
published or already_published answer needs no Promote.
Check connection, ./status, the policy check, and the backoff are the
product's runtime behavior, not verification runs, even where their names
say "check" or "verify".