Skip to content

Glossary

The words archvow uses, one line each, with an example from the README's pipeline (my_pipeline, the orders with their VAT).

Word What it is In the pipeline
vow A spec file: one fact per line, every value after its keyword (.vow format). Changed with archvow commands, read by people and tools .archvow/features/vat_report/components/clean_orders.vow
project vow The project's own settings: template, mode, language, architects, rules .archvow/project.vow
feature What the product does, a folder of the spec holding its components vat_report: the orders with their VAT, every night
shared The feature every project has: settings, logging, the entry point that plugs the features in config, logging_setup, spark, my_pipeline_main
component One file of the code the spec says must exist, with its public names clean_orders, in src/my_pipeline/p1_domain/clean_orders.py
type The kind of a component; it gives its layer and its questions (archvow catalog lists them) transformation, reader, writer, job
layer A folder of the code and what it may import p1_domain may import p0_common only
foundation A component the template adds at init, in shared spark: the SparkSession every job uses
decision The answer a person gives to one of a component's questions; open, it blocks the code clean_orders 7: "Keep one row per order_id"
suggested answer The template's usual answer to a question: specify offers it, a person accepts it or writes another spark 1 offers none; logging_setup 1 offers one
rule A rule in plain words, for one component, a type or the project, with its marked test R1: vat is rounded half-up to 2 decimals
assumption What the implementer had to assume; it waits for a person to accept or reject it "the input files are UTF-8"
brief A document the spec is drawn from, in briefs/; check warns when it changes briefs/orders.md#cleaning
safety question One guide word asked of a component: missing, more, less, wrong, repeated, exposed... clean_orders S3 (less): rows lost?
hazard What must never happen, with its severity (low, medium, high, critical) clean_orders H1: a valid input row is dropped
invariant What always holds, so a hazard cannot happen; tested, the stronger the more severe every order_id of an input row with amount >= 0 appears in the output
example A business example: these rows in, these rows out, recorded by a person and locked by its fingerprint tests/examples/clean_orders/US-002-negative-amount/
task A part of a big component's spec, built and marked done one at a time (T1, T2...) clean_orders T1 to T3
status Where a component is: planned, implemented, tested, verified (its invariants tested), drift (code and spec differ) compute_vat: verified
mode How far the AI may go alone: strict (it stops at every open question), guided, free mode strict
finding What check reports, with its rule's code and title, and what to do ARCH005, Illegal dependency between layers
guard Anything that makes the build fail: a check, a test, a threshold; lowering one needs the architects --accept-weakening with the label architecture-approved
code owners The architects: Git asks them to approve changes to .archvow/ and the guard files @my-team
template What init builds a project from: layers, types, their questions, CI pyspark-pipeline
pack A company's templates, agents and rules, in one folder (data only) archvow pack add ../acme-pack
adopt init --adopt: an existing project's modules become components where they are a FastAPI service written before archvow