Skip to content

Black Friday

Annual Pro is $90 for the first year, normally $120. Or start monthly at $6 for two months, then $12.

Ends Dec 4, 11:59 PM PT.

Create an account
← Public packages

@danj/audible-auth

Locked Audible gateway using one owner-provisioned Kody login.

FollowFork

Files

verification.md

66 lines Β· 6.5 KB Β· Markdown

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

TermMeaningAvoid
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
AssertionOne 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.
VerdictThe 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 requestA fix a reviewer requires before the revision can pass; a review with one fails.named changes, ship with changes, blocker (for a required fix)
SuggestionAn 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.
DepthHow far a run goes into each behavior: shallow or thorough.smoke
CoverageHow much of the possible cases a run reaches: targeted, sampled, or exhaustive.complete (unless exhaustive)
DurationHow long a run takes: measured, a cap, or unmeasured.about, β‰ˆ, "a bit", "a while"
LoadWhat 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).
StageA 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

NameKindStageDuration and loadLimits
npm testSuite πŸ“¦edit loop, pre-publish4–7 s; CPU (2 runs)Offline: proves no live header compatibility.
npm run typecheckCheck πŸ§ͺedit loop, pre-publishunmeasured; CPU
src/__tests__/surface.test.tsContract check πŸ§ͺ Γ—3, Check πŸ§ͺ Γ—4edit loopinside npm testThe 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.shGate 🚧, keeper πŸ”‘ the scriptpre-publishunmeasured; CPU + networkRuns the suite, typecheck, and Kody's dev check on a clean export.
Kody publish checksGate 🚧, keeper πŸ”‘ Kodypublishunmeasured; networkOutside name: Kody's checks_failed.
PromoteGate 🚧, keeper πŸ”‘ the ownerpublish, when Kody asks for approvalattention

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".