Codes d’erreur › Tous les codes d’erreur

Codes d’erreur

Codes d’erreur

Chaque diagnostic d’archec — dans le terminal, dans VS Code, dans le Playground — se termine par son code, [unresolved]. Chaque code a sa page ici : ce qu’il signifie, comment le corriger, et la correction automatique quand archec en a une. Dans le terminal, archec explain <code> dit la même chose.

Style: how the model reads (archec vet)#

19 codes · archec explain style

namingindiceA name not in its case (archec vet).
bad-placeerreurA canvas line that places something other than a block.
canvasindiceA canvas line to write differently (a block placed twice, a size without a place).
arche-bodyindiceA Python body that says only what the action language says (archec vet).
code-in-modelindiceA long Python block in a model file (archec vet).
declaration-setindiceA declaration of the Arche app outside app/*.arche (archec vet).
defaultsindiceA property every requirement of the file gives alike.
defaults-childavertissementA declaration inside defaults.
duration-mathindiceArithmetic on durations that could be written as one value.
empty-systemindiceA system with no parts yet.
extendsindiceA definition built on another written in the long form.
long-formindiceA long form (archec vet).
no-systemindiceNo system declared.
position-twiceavertissementA block placed in its own at and in a canvas.
property-groupindiceProperties that go together written apart (archec vet).
property-orderindiceProperties out of their order (archec vet).
same-lineindiceTwo items on one line (archec vet).
vague-wordavertissementA requirement that says a word that cannot be verified ("as fast as possible", "TBD").
advancedindiceIn a project at level simple, a declaration beyond the 1.0 core (docs/core.md: a process, a hazard, the Arche app…).

Parse and files#

16 codes · archec explain parse

syntaxerreurThe text does not parse.
include-not-founderreurAn include names a file that does not exist.
include-cycleavertissementFiles include each other (each is still loaded once).
schemaerreurGenerated YAML that fails the Arche project schema (archec build, archec validate).
alias-keywordavertissementAn old spelling of a keyword or a property (msg, porttype, unit "m/s"), or a word written in its other meaning (mode for a state: mode is for operati…
renamedavertissement erreurAn old name of a declaration a library renamed (its library.arche says renamed "1.0", { Led: GpioLed }).
not-coreerreurWith archec check --core only.
old-formavertissementA second way of writing the same thing.
emitavertissementSomething the emitter could not write to Arche (an address it could not resolve).
hyphen-minuserreurA name with a - read as one name where a subtraction was meant.
include-twiceerreurA part of a body included twice.
missing-separatoravertissementA word read as part of the Python before it.
optional-hereerreuroptional on a variable or an argument, which always holds a value.
requires-in-bodyerreurrequires inside a body.
unknown-defaultserreurdefaults for a declaration that takes no properties.
editionerreurA project edition archec cannot read (write edition "0.12"), or newer than this archec knows.

Names and references#

20 codes · archec explain names

duplicateerreurTwo declarations share an id in the same scope.
unresolvederreurA name does not resolve.
unknown-propertyavertissementA property the element does not have (with a did-you-mean).
instance-cycleerreurA component definition contains an instance of itself.
unknown-porttypeavertissementA port type that is neither built in nor declared.
unusedindiceA message, type or component definition never referenced.
dangling-refavertissementAn Arche address written as a string that names nothing of the project.
extends-cycleerreurA definition that extends itself, directly or not.
extends-instanceerreurextends on a part.
indexerreurAn index on a block that is not a repeated part, or out of its range.
interface-cycleerreurAn interface that extends itself.
ruleavertissementA breach of one of the project's rules, or rules that could not be run.
expand-deptherreurexpand with something else than how many calls down it goes (expand 2).
expand-nothingavertissementexpand on a step whose target has no such function, or whose function calls nothing.
calls-not-in-bodyindiceA function that lists calls g while its ```arche body never calls g().
seqstep-not-calledavertissementA step from a component to one inside it that none of its functions lists in its calls.
seqref-cycleerreurA sequence whose ref comes back to it, directly or through other sequences.
seqref-participantavertissementA ref to another scenario's sequence whose steps reach components that are not participants of this one.
text-refavertissementA [name] in a text that names nothing in the model.
translationavertissementAn entry of a translations block that names nothing, or says again what is written inline.

Types, values and units#

17 codes · archec explain types

property-valueavertissementA property value of the wrong shape, or not one of the allowed values.
missing-unitavertissementA duration written without a time unit, or with a non-time unit.
bad-unitavertissementA duration written without a time unit, or with a non-time unit.
out-of-rangeerreurA value does not fit its integer type, or a named type's range.
type-mismatchavertissementA value of the wrong kind for its type, or a list of the wrong length.
array-lengthavertissementA value of the wrong kind for its type, or a list of the wrong length.
pointer-valueerreurA pointer (*T) initialised with something that is not an address.
pointer-on-wireavertissementA pointer in a message payload.
void-valueerreurvoid used as a value type.
flow-unitavertissementA link between ports in different units.
toleranceavertissementA tolerance on something with nothing to vary.
unionavertissementA union with no cases, or a case named case.
unit-mismatchavertissementQuantities of different kinds added or compared.
range-reversedavertissementA range lo..hi (or a force-range) whose lo is above its hi.
unknown-unitinfoA unit not in the units catalog.
generic-argserreurA generic struct used with the wrong arguments.
native-typeavertissementA type … native that names itself in no language (cpp "ns::T" include "t.h", rust "crate::T"), or a language's name on a type that is not native.

36 codes · archec explain links

directionavertissementsends on an in port, handlers on an out port.
link-directionavertissementA link from an input port or to an output port.
link-type-mismatchavertissementThe two ends of a link have different port types.
carries-unsentavertissementA link carries a message its source port does not send.
handler-kindavertissementA message handler on a port type that answers HTTP (or nothing), or the reverse.
unhandled-messageavertissementA link delivers a message the target port has no handler for.
gpio-payloadavertissementA GPIO port sending several messages or a non-bool message.
contract-unmetavertissementAt a link, what the sending end guarantees does not imply what the receiving end assumes.
contract-unknownindiceAn assumption archec cannot decide at a link.
bad-endpointerreurA link end that is neither a port nor a component.
comm-propertyavertissementA delivery property (pattern, buffer, depth…) where it means nothing.
delegate-conflicterreurA delegated port with another type than the port it stands for.
flow-mismatchavertissementA link carrying one quantity into a port that takes another.
implicit-interfaceindiceAn interface used and not declared.
missing-operationavertissementA port that provides an interface whose operations its component does not implement.
no-replyerreurA request-reply server port with no handler.
no-subscriberindiceA published topic nothing subscribes to.
operation-signatureavertissementAn operation implemented with another number of arguments than its interface says.
pattern-mismatcherreurTwo ends of a link with different interaction patterns.
request-directionindiceA request-reply client port that is an in.
self-linkindiceA link from a component to itself.
wire-fielderreurA message field its wire format cannot hold.
wire-overlaperreurTwo fields of a message's wire format share a bit of the frame.
wire-sizeerreurA field of a message's wire format past the frame's size, or a size that is not a whole number of bytes.
wire-rangeavertissementA field's range its bits do not carry once scaled (raw × scale + offset), an enum literal that does not fit its bits.
wire-frameavertissementA message a route puts on a CAN bus is longer than the frame.
unprovided-interfaceavertissementA link from a port that requires an interface to one that does not provide it.
wrong-sideavertissementA port used from the wrong side of a link (an in as a source, an out as a target).
oneway-resulterreur avertissementA oneway operation that gives something back.
raises-not-exceptionavertissementAn operation that raises a struct, a type or an enum.
param-directionavertissementAn out or inout argument with a default.
dataflow-sourceavertissementA dataflow sink linked to a port that is not a dataflow source, or to a source that streams another type of sample (vector).
dataflow-backpressureavertissementThe two ends of a dataflow link that do not say the same backpressure.
no-serviceavertissementA port that calls a service no in port serves.
topic-wiredavertissementA pub-sub port with a topic that is also linked.
topic-partavertissementA part of a topic ({id}) that is not a field of the messages the port carries, or ({id: T}) whose type is not one.

Behaviour: states, actions and tests#

17 codes · archec explain behaviour

unreachable-stateavertissementA state no transition reaches from the initial state (initial X, else the first state).
deadlock-stateavertissement indiceA reachable state with no way out (nor from a state around it) that is not pseudo final.
unknown-triggeravertissement indiceA transition's trigger that is neither a message, nor an event, nor a port or member of its part, nor raised in any code of the model.
dead-transitionavertissementA transition on a message no input port of the component receives, or with a guard that is false.
shadowed-transitionavertissementA transition an earlier one from the same state, on the same trigger and with no guard, always beats.
nondeterministicindiceTwo transitions from the same state on the same trigger whose guards are not plainly exclusive (else, not g, x < 0 / x >= 0).
block-not-simulatedindiceA blocking queue.
test-lineerreurA test case's line in the action language (at 1ms do send probe.water WATER { temperature: 20.0 }, within 50ms expect ctl.state == Idle) that does not chec…
arche-test-lineindiceA Python test line that the action language says too (send(p.out, M(a=1)) → send p.out M { a: 1 }, True → true, x.state == "S" → x.state == S).
decision-incompleteavertissementAn accepted decision that does not say what was chosen or why.
decision-optionavertissementA decision whose choice is not one of the options weighed.
mode-initialavertissementTwo initial operating modes.
no-stepindiceA periodic thread with no step.
step-without-periodavertissementA step on a thread with no period.
timelineavertissementA moment of a test case earlier than the one before it.
actionerreurA body in the action language (```arche) that does not parse or does not type.
bad-faulterreurA fault in a test step that names no link end, part or function it can act on.

Code: TypeScript, Python and code blocks#

19 codes · archec explain code

no-bodyavertissement infoPython calls self.f() (or a handler names f) but f has no body, so Arche cannot run it.
missing-awaitavertissementA component function called from Python without await.
not-simulatedindiceA Python body the action language cannot say (a list comprehension, sorted(…, key=…), try).
code-not-founderreurA code property names a .ts or .py file that does not exist.
handlerserreurA handlers property that names no handler language.
handlers-languageavertissementCode in another language than the one Arche runs the project in (simulation.yaml behavioral.language, from the project's handlers).
test-typescriptavertissementTest code (a do, an expect, a setup) in a TypeScript project that archec cannot write as TypeScript.
code-languageerreurA body in a ``` block of a language that is not a handler language.
tserreur avertissementTypeScript that does not read (a syntax error, on its line), what has no JavaScript of its own (an enum, a namespace), an import of a module (Arche runs ea…
ts-portableinfo avertissementA TypeScript body outside the portable subset (docs/handlers.md, "Portable TypeScript").
convert-todoavertissementA statement archec convert-handlers could not translate, kept as a TODO(convert): comment with the original.
py-not-founderreurA code property names a function that no .py or .ts file in scope defines (quick fix: create it).
py-paramserreurA function's parameters are not self and the fn's arguments, or name something Arche does not give that hook (in TypeScript, a message's hook takes `self, ms…
py-duplicateerreurTwo .py files in the same scope define the same name.
pythonerreur avertissementA .py file that cannot be read (unclosed bracket or string), a top-level name changed by a function (the change is lost when the call ends), or top-level code …
py-shadowedavertissementA ``` block where the component's .py file also has the def of the same name.
py-unusedavertissementA def of a .py file the model does not use (neither named, bound by its name, nor called).
fn-placementindiceA function analysed on one thread but simulated on its part's thread.
component-not-self-containedavertissementA component folder that uses a name declared outside it.

Requirements and traces#

11 codes · archec explain requirements

bad-trace-kinderreurA trace with an unknown relationship kind.
requirement-unverifiedinfoNo test plan or case verifies the requirement.
requirement-unsatisfiedinfoNo element satisfies the requirement.
requirement-no-textinfo indiceA requirement without text, or without "shall".
requirement-wordinginfo indiceA requirement without text, or without "shall".
requirement-linkavertissementA link to a requirement written from its far end.
duplicate-traceindiceThe same trace written twice.
suspectavertissementA link to a requirement reworded since the last baseline.
earserreurA requirement's ears sentence archec cannot read, or about a part, a state or a message the model does not have.
formalerreurA requirement's formal property archec verify cannot read.
req-conflictavertissementRequirements no implementation can satisfy together (archec verify --conflicts).

Safety and security#

21 codes · archec explain safety

asil-inheritavertissementA requirement that derives from one with an ASIL (a safety goal, a requirement) and has a lower one that is not a decomposition asil "B(D)", or none written …
dal-inheritavertissementA requirement that derives from one with a DO-178C DAL and has a lower one, or none written (info).
asil-decompositionavertissementDecomposed requirements (asil "B(D)") of one parent that do not add up to its ASIL (ISO 26262-9: D = C+A = B+B = D+QM, C = B+A = C+QM, B = A+A = B+QM), or a …
asil-independenceavertissementTwo requirements that decompose the same parent and are satisfied by the same element.
asil-allocationavertissementAn element written with a lower ASIL than a requirement it satisfies.
dal-allocationavertissementAn element written with a lower DAL than a requirement it satisfies.
asil-too-lowavertissementA safety goal written with a lower ASIL than its hazard needs (from severity, exposure and controllability).
cal-too-lowavertissementA security goal written with a lower CAL than its threats need.
error-unreachedinfoA hazard whose error … on … no error source reaches.
fmea-mismatchavertissementA failure mode whose written causes are not the hazards its error reaches in the error model.
fmea-rpnavertissementA failure mode with a high RPN that nothing mitigates.
fta-mismatchavertissementA hazard whose fault tree as written (caused-by, gates) has other minimal cut sets than the one derived from the error model.
gate-cycleerreurA fault-tree gate that contains itself.
hazard-no-goalavertissementA hazard with an ASIL and no safety goal answering it.
hazard-targetavertissementA hazard whose rate from its causes is above its target.
stpa-incompleteavertissement indiceA control action not considered for each of the four types of unsafe control action (nor said not-applicable), one with no controller or process, a UCA with …
stpa-no-pathavertissementA control action no link carries from its controller to its process, or feedback no link brings back.
uca-untracedavertissementAn unsafe control action that leads to no hazard (causes) or that no constraint prevents (constraint, a requirement).
mixed-criticalityavertissementSafety levels mixed in one address space, with no freedom from interference.
security-riskavertissementA threat with a high risk and no treatment.
tara-incompleteavertissementAn attack path whose feasibility is unknown.

Timing and budgets#

15 codes · archec explain timing

watchdog-timeouterreurA watchdog with no timeout (an error: when would it run out?) or no on-timeout (a warning: nothing happens).
budget-on-systeminfoA budget on a system.
budget-overavertissementWhat the parts beneath draw adds up to more than the budget.
budget-unitavertissementA draw in another unit than its budget.
bus-loadavertissementA bus loaded above 70 %.
chain-gapavertissementA latency chain with two steps no link joins.
chain-incompleteindiceA latency chain whose duration cannot be bounded (a step with no known cost).
deadlineavertissementA thread whose worst-case response time is above its deadline.
deadline-handleravertissementAn on-deadline with no deadline (it never runs), or a transition's deadline with no on-deadline (past it, the transition is only dropped).
e2e-budgetavertissementA latency chain longer than its budget.
handler-blockingavertissementA thread that can miss its deadline because a message handler runs first.
memory-budgetavertissementProcesses that may use more memory than their processor has.
missing-wcetindiceA periodic thread whose cost is unknown (no wcet).
overloaderreurA core loaded above 100 %.
unbounded-queueindiceA queue with no size on a thread of a deployment.

Deployment: processors, cores and routes#

23 codes · archec explain deployment

allocation-targetavertissementSomething allocated to an element that is not a component.
memory-overlapavertissementTwo memory blocks of a component overlap in the address space.
memory-misalignedavertissementA memory block of 2-, 4- or 8-byte elements at an address that is not a multiple of its element.
memory-field-widthavertissementA field of a memory block past the bits of one element (bits "15:8" in a uint8 block), wider than its type holds, or with bits that do not read as "hi:lo".
memory-field-overlapavertissementTwo fields of a memory block share a bit.
bus-addresserreurTwo devices with the same address on one I²C bus (a board's port, or a bus component).
binary-targeterreurA binary that runs on no processor (on …).
simulation-onlyavertissementA deployment that puts a simulation-only part (its Python runs only in simulation) on a microcontroller.
bus-unreachableerreurA route over a bus a processor is not linked to.
core-overrideindiceA thread placed on a core outside its process.
deployment-choiceavertissementSeveral deployments and none named.
deployment-systemerreurA deployment that does not say which system it places (system …).
double-allocationerreurA part or a function on two threads.
no-routeerreurA link between two processors with no route over a bus.
not-a-processoravertissementA binary placed on a component with no cores.
route-buserreurA route with no bus (over …), or over a component that is not one.
route-linkavertissementA route for a link that does not exist.
route-localindiceA route for a link whose two ends run on one processor.
rtos-processindiceA process on an RTOS.
runs-targeterreurA thread that runs something other than a part or a function.
unallocatedavertissementA part with behaviour that runs on no thread of the deployment.
unknown-coreerreurA thread placed on a core its processor does not have.
unpinnedindiceA thread or a process with no core.

Containers#

9 codes · archec explain containers

container-binary-onerreurA binary inside a container that also says on.
container-cpuseterreurA thread of a container placed on a core outside the container's core list (its cpuset).
container-canavertissementA container whose link goes over a CAN bus without network host.
container-deviceavertissementA container whose link goes over a bus other than CAN (a serial line…) while it sees no host device (device "/dev/…").
container-emptyavertissementA container that runs no binary of the model.
container-hosterreurA container on a processor that is not Linux, or has no container runtime.
container-imageavertissementA container that names no image after its id.
container-networkerreurA link leaving a container that has network none.
container-rtavertissementA policy fifo / rr thread in a container without capabilities sys_nice.

Boards, pins and parts#

11 codes · archec explain hardware

implicit-catalogavertissementA kind, layer or tag used without being declared.
board-pinavertissementA pin in pins { … } on a board (or a part of one) that its chip does not name so, or a role archec does not read.
pin-functionavertissementA pin the board cannot use for that role.
pin-conflictavertissementOne pin used by two ports of a board (those the system links, or whose pins a part writes; a Linux header pin's port and the bus on it), or by two roles of one…
pin-pairavertissementA link whose ends' pins do not pair.
pin-levelavertissementA link between two ports whose pins { level … } differ (3.3V and 5V), a board's io-level being its ports' level.
board-peripheralavertissementTwo ports on one peripheral of a board (both on I2C1, two servos on the PWM0 channel), or more ports of a kind than the board has (a 5th I²C on a board with 4,…
board-supplyavertissementA part powered from a board's rail whose voltage it does not take (voltage on both power ports: a 3.3 V sensor on the 5 V rail, a 5 V sonar on the 3.3 V one).
board-currentavertissementThe parts powered from one rail draw more than it gives (current on the rail and on each part's power port, or a part's power over the rail's voltage).
part-lifecycleavertissementA part number at its end of life, or not recommended for new designs, as the last archec parts found (.arche/parts-cache.json, with its date).
part-stockavertissementA part number none of which is in stock, or that the distributor does not know, as the last archec parts found.

Physics and simulation#

11 codes · archec explain physics

equationerreurAn equation not written der(x) = … or y = …, or a name in it the component does not have.
physical-balanceerreurA part with physical ports whose equations are not as many as its unknowns.
physical-structureerreurA physical network that cannot be sorted.
physical-linkerreurA link that joins a physical port to a port of another type, or to a port that is not physical.
physical-valueerreurA parameter of a physical part whose value is not a number archec can work out.
fit-no-influenceavertissementarchec fit.
fit-correlatedavertissementarchec fit.
bodyerreurA part's shape or joint that does not read.
realism-portavertissementHow a sensor reads (noise, resolution) said where no sensor reads — on an in port that provides no interface, or on a part that is not kind sensor — or h…
keyframe-nameerreurA line of a keyframe that names nothing it can set.
body-unmappedavertissementIn a system whose parts say their shape or joint, a part archec gen --target mujoco cannot place.

CAD: geometry, limits and clearances (archec cad)#

20 codes · archec explain cad

cad-fileerreurA cad that names no Python file that is there, or a material or density that cannot be read.
cad-limiterreurA limit on a geometry that cannot be read.
cad-clearanceerreurA clearance that cannot be read.
cad-placeerreurA part placed (at box.mount) on a part that is not there, that has no geometry, or that has no such anchor.
cad-limit-overavertissementWhat archec cad measured of a geometry does not keep a limit of a requirement.
cad-clearance-shortavertissementTwo placed parts are nearer than a clearance asks, or run into each other.
cad-fiterreurA fits that cannot be read.
cad-fit-offavertissementA standoff the box gives a board is not under one of its mounting holes, within the tolerance of fits.
cad-boarderreurA board's pcb that names no KiCad board that is there or has no outline, or an outline or a hole that cannot be read.
cad-board-readavertissementSomething of a board's mechanics is read with a doubt.
cad-outline-differsavertissementA board's geometry (cad) is not the size its outline says (its pcb, or outline).
cad-sourcederreurA sourced that names no system.
cad-unsourcedavertissementA requirement asks that a system is sourced, and a bought part of it has no part number.
cad-sourcinginfoA bought part, in a system whose parts have a geometry, has no part number (product { part-number "…" }).
cad-ercavertissementKiCad's electrical rules check (kicad-cli sch erc) found violations in the schematic beside a board's pcb, when archec cad last ran it.
cad-drcavertissementKiCad's design rules check (kicad-cli pcb drc) found violations in a board's pcb, when archec cad last ran it.
cad-mass-differsavertissementA part says a mass that is not the one measured of its geometry (by more than 1 %).
cad-shape-differsavertissementA part says a shape whose size is not that of its built geometry (by more than 2 %, and 1 mm).
cad-staleinfoA geometry's file changed since archec cad built it.
cad-not-builtinfoA geometry archec cad has not built yet.

FPGA components: what can be synthesised, widths (archec gen --target vhdl), the device and the limits of archec synth#

12 codes · archec explain fpga

fpga-synthesiserreurIn an FPGA component (one with clock clk 100MHz).
fpga-recursionerreurIn an FPGA component.
fpga-widthavertissementIn an FPGA component.
fpga-cdcerreurA link between two FPGA parts on different clocks.
fpga-overflowavertissementIn an FPGA component.
fpga-divideavertissementIn an FPGA component.
fpga-loopavertissementIn an FPGA component.
synth-limiterreurA limit on what synthesis measures (limit Pwm.luts <= 500, limit Pwm.fmax >= 100MHz) that cannot be read.
synth-deviceavertissementThe chip of a kind fpga part is not a device archec synth can build for.
fpga-clockerreurAn FPGA component's clock that cannot be read (clock clk 100MHz: a name, then a frequency above zero) — or, as a warning, a cycle that is not a whole numbe…
fpga-reseterreurAn FPGA component's reset that cannot be read.
fpga-steperreurAn FPGA component's step that names no function of the component, or one that takes parameters.

Execution and memory: threads, placements, allocators, buffering#

13 codes · archec explain execution

exec-no-threaderreurA part placed execution active that no thread runs.
exec-conflicterreurA part said passive or protected that a thread runs (it is active), or placed in another process than the thread that runs it.
runs-porterreurA thread that runs an out port.
affinity-coreavertissementA thread whose core is not among the cores of its affinity.
alloc-sizeavertissementAn allocator with no block-size.
alloc-memoryerreurAn allocator in a memory of another processor that is not shared.
alloc-local-mappederreurAn allocator in a local memory (not shared) that is mapped.
alloc-overflowerreurAn allocator too small for what is in it.
alloc-other-processerreurA part (or a port's buffering) that takes memory from an allocator of another process or binary.
memory-roleavertissementA memory saved|tmp (an algorithm's working memory) for a part that is not an algorithm, or a memory other than comm on a port.
buffering-share-destroyerreurA dataflow port's buffering that shares its buffer (transfer share) and frees it once sent (destroy after-transfer).
buffering-reuseerreurbuild reuse on an input, without the input it reuses, or naming one that is not an input of the part.
buffering-portavertissementbuffering on a place of a part.

Signal processing: algorithms, composites, metrics, dataflow links#

6 codes · archec explain dataflow

algo-stereotypeavertissementA stereotype on a component that is not kind algorithm, an instance's stereotype (disable-thresholds, bypass-config-threading) on a definition or an algo…
algo-parameteravertissementA parameter configuration|internal on a variable of a component that is not kind algorithm.
algo-compositeavertissementA part of a composite algorithm that is not an algorithm.
algo-executeindiceAn algorithm with nothing to run.
algo-precedenceerreurParts of a composite that run after each other in a circle, or one after itself.
metric-no-produceravertissementAn input that reads a metric on a topic filter (/chain/*/SNR) that no part publishes on.

Libraries, generators and what leaves the machine#

14 codes · archec explain libraries

gen-strandedavertissementYour code in a USER CODE region of generated/ belongs to an element the model no longer has.
generatorerreurA generator says what it is in more than one way (or in none: templates, script or command), names a folder or a file that does not exist, starts `from…
generator-optionavertissementA generator (an importer, an exporter, or a binary's or a process's options <generator> { … }) sets an option that it, or the one it starts from, does not …
egresserreurA project allow or deny that names no service (claude, local-ai, store, polarion, parts, issues, libraries, sigstore, github, or all), a URL without its sc…
library-archecerreurA library that needs another archec version.
library-changedavertissementA library whose files changed under the version arche.lock recorded.
library-conflicterreurTwo versions of one library asked for.
library-lockavertissementA library not in arche.lock, or not in the version it names.
library-trusterreurA package from the Arche Store that the project's trust does not accept.
library-sigstoreerreurA package from the Arche Store taken without a Sigstore bundle cosign verified, in a project whose trust asks for one (trust reviewed, sigstore).
library-yankedavertissementA package from the Arche Store its publisher yanked (archec store outdated records it).
library-missingerreurA library the project uses that is in none of its libraries folders.
library-versionerreurA version range that is not one, or that no version of the library is in.
shelf-suggestindiceSomething written by hand that a shelf of the store already has.

Views, animations and stories#

11 codes · archec explain presentation

animation-templateerreurAn animation names a template Arche does not have (archec animation list shows them), or has neither a template nor code "x.html".
animation-codeerreurAn animation's code names an HTML file that does not exist (relative to the file the animation is written in).
animation-dataavertissementAn animation gives its template data it does not read, of the wrong shape (a word where a number is wanted, a field its records do not have), a path that nam…
animation-bindingerreur avertissementAn animation's machine or scenario names nothing (or a component with no state machine, a scenario with no sequence) — an error.
animation-paramavertissementAn animation's params names something that is not a constant or parameter, or its own drawing (code) reads a parameter params does not send — it would …
animation-libraryinfoThis build of archec has no animation library (vendor/animations.js).
animation-visualavertissementA story step animates something that is not a visual or an animation of the project.
latex-unbalancedavertissementUnbalanced $ or braces in LaTeX math.
bad-coloravertissementA color literal that is not #rgb / #rrggbb.
view-emptyavertissementA term of a view's query (include, exclude) that matches nothing in its system, or a view that shows nothing.
view-queryerreurA term of a view's query that cannot be read.

The product's user interface#

10 codes · archec explain ui

ui-structureerreur avertissementA ui that does not hold together.
ui-bindingerreur avertissementWhat a ui element is bound to, or what its action does, that does not hold.
ui-dead-pressavertissement indiceA press that reaches nothing.
ui-testerreur avertissementA ui step of a test case that does not hold.
ui-unreachableavertissementA screen no goto reaches from the one the ui starts on, or a screen (not the start) with no way out — no back, no goto from it or from an overlay.
ui-safetyavertissement indiceA safety-relevant message — on a port a hazard's error … on names, said in a hazard's or a safety goal's text, or tagged safety — shown on some screens only,…
ui-fitavertissementA screen whose content needs more than the display (an estimate: the elements' usual sizes, the gaps), a text wider than the display, a touch target under 9 mm…
ui-bounderreur avertissement indiceA for whose list can hold more items than its max (Fault[9] with max 8: the last ones are never shown; the quick fix draws them all), a for with no `…
ui-a11yavertissement indiceContrast under WCAG AA — the theme's text on its backgrounds and buttons (4.5:1), a colored text (4.5:1) or a colored telltale, gauge or bar (3:1) on the backg…
ui-textavertissementA text of the ui not translated into a language the project's other texts are ("…" en "…", or a translations entry).