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
naming | indice | A name not in its case (archec vet). |
bad-place | erreur | A canvas line that places something other than a block. |
canvas | indice | A canvas line to write differently (a block placed twice, a size without a place). |
arche-body | indice | A Python body that says only what the action language says (archec vet). |
code-in-model | indice | A long Python block in a model file (archec vet). |
declaration-set | indice | A declaration of the Arche app outside app/*.arche (archec vet). |
defaults | indice | A property every requirement of the file gives alike. |
defaults-child | avertissement | A declaration inside defaults. |
duration-math | indice | Arithmetic on durations that could be written as one value. |
empty-system | indice | A system with no parts yet. |
extends | indice | A definition built on another written in the long form. |
long-form | indice | A long form (archec vet). |
no-system | indice | No system declared. |
position-twice | avertissement | A block placed in its own at and in a canvas. |
property-group | indice | Properties that go together written apart (archec vet). |
property-order | indice | Properties out of their order (archec vet). |
same-line | indice | Two items on one line (archec vet). |
vague-word | avertissement | A requirement that says a word that cannot be verified ("as fast as possible", "TBD"). |
advanced | indice | In 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
syntax | erreur | The text does not parse. |
include-not-found | erreur | An include names a file that does not exist. |
include-cycle | avertissement | Files include each other (each is still loaded once). |
schema | erreur | Generated YAML that fails the Arche project schema (archec build, archec validate). |
alias-keyword | avertissement | An 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… |
renamed | avertissement erreur | An old name of a declaration a library renamed (its library.arche says renamed "1.0", { Led: GpioLed }). |
not-core | erreur | With archec check --core only. |
old-form | avertissement | A second way of writing the same thing. |
emit | avertissement | Something the emitter could not write to Arche (an address it could not resolve). |
hyphen-minus | erreur | A name with a - read as one name where a subtraction was meant. |
include-twice | erreur | A part of a body included twice. |
missing-separator | avertissement | A word read as part of the Python before it. |
optional-here | erreur | optional on a variable or an argument, which always holds a value. |
requires-in-body | erreur | requires inside a body. |
unknown-defaults | erreur | defaults for a declaration that takes no properties. |
edition | erreur | A project edition archec cannot read (write edition "0.12"), or newer than this archec knows. |
Names and references#
20 codes · archec explain names
duplicate | erreur | Two declarations share an id in the same scope. |
unresolved | erreur | A name does not resolve. |
unknown-property | avertissement | A property the element does not have (with a did-you-mean). |
instance-cycle | erreur | A component definition contains an instance of itself. |
unknown-porttype | avertissement | A port type that is neither built in nor declared. |
unused | indice | A message, type or component definition never referenced. |
dangling-ref | avertissement | An Arche address written as a string that names nothing of the project. |
extends-cycle | erreur | A definition that extends itself, directly or not. |
extends-instance | erreur | extends on a part. |
index | erreur | An index on a block that is not a repeated part, or out of its range. |
interface-cycle | erreur | An interface that extends itself. |
rule | avertissement | A breach of one of the project's rules, or rules that could not be run. |
expand-depth | erreur | expand with something else than how many calls down it goes (expand 2). |
expand-nothing | avertissement | expand on a step whose target has no such function, or whose function calls nothing. |
calls-not-in-body | indice | A function that lists calls g while its ```arche body never calls g(). |
seqstep-not-called | avertissement | A step from a component to one inside it that none of its functions lists in its calls. |
seqref-cycle | erreur | A sequence whose ref comes back to it, directly or through other sequences. |
seqref-participant | avertissement | A ref to another scenario's sequence whose steps reach components that are not participants of this one. |
text-ref | avertissement | A [name] in a text that names nothing in the model. |
translation | avertissement | An 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-value | avertissement | A property value of the wrong shape, or not one of the allowed values. |
missing-unit | avertissement | A duration written without a time unit, or with a non-time unit. |
bad-unit | avertissement | A duration written without a time unit, or with a non-time unit. |
out-of-range | erreur | A value does not fit its integer type, or a named type's range. |
type-mismatch | avertissement | A value of the wrong kind for its type, or a list of the wrong length. |
array-length | avertissement | A value of the wrong kind for its type, or a list of the wrong length. |
pointer-value | erreur | A pointer (*T) initialised with something that is not an address. |
pointer-on-wire | avertissement | A pointer in a message payload. |
void-value | erreur | void used as a value type. |
flow-unit | avertissement | A link between ports in different units. |
tolerance | avertissement | A tolerance on something with nothing to vary. |
union | avertissement | A union with no cases, or a case named case. |
unit-mismatch | avertissement | Quantities of different kinds added or compared. |
range-reversed | avertissement | A range lo..hi (or a force-range) whose lo is above its hi. |
unknown-unit | info | A unit not in the units catalog. |
generic-args | erreur | A generic struct used with the wrong arguments. |
native-type | avertissement | A 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. |
Ports, links and interfaces#
36 codes · archec explain links
direction | avertissement | sends on an in port, handlers on an out port. |
link-direction | avertissement | A link from an input port or to an output port. |
link-type-mismatch | avertissement | The two ends of a link have different port types. |
carries-unsent | avertissement | A link carries a message its source port does not send. |
handler-kind | avertissement | A message handler on a port type that answers HTTP (or nothing), or the reverse. |
unhandled-message | avertissement | A link delivers a message the target port has no handler for. |
gpio-payload | avertissement | A GPIO port sending several messages or a non-bool message. |
contract-unmet | avertissement | At a link, what the sending end guarantees does not imply what the receiving end assumes. |
contract-unknown | indice | An assumption archec cannot decide at a link. |
bad-endpoint | erreur | A link end that is neither a port nor a component. |
comm-property | avertissement | A delivery property (pattern, buffer, depth…) where it means nothing. |
delegate-conflict | erreur | A delegated port with another type than the port it stands for. |
flow-mismatch | avertissement | A link carrying one quantity into a port that takes another. |
implicit-interface | indice | An interface used and not declared. |
missing-operation | avertissement | A port that provides an interface whose operations its component does not implement. |
no-reply | erreur | A request-reply server port with no handler. |
no-subscriber | indice | A published topic nothing subscribes to. |
operation-signature | avertissement | An operation implemented with another number of arguments than its interface says. |
pattern-mismatch | erreur | Two ends of a link with different interaction patterns. |
request-direction | indice | A request-reply client port that is an in. |
self-link | indice | A link from a component to itself. |
wire-field | erreur | A message field its wire format cannot hold. |
wire-overlap | erreur | Two fields of a message's wire format share a bit of the frame. |
wire-size | erreur | A field of a message's wire format past the frame's size, or a size that is not a whole number of bytes. |
wire-range | avertissement | A field's range its bits do not carry once scaled (raw × scale + offset), an enum literal that does not fit its bits. |
wire-frame | avertissement | A message a route puts on a CAN bus is longer than the frame. |
unprovided-interface | avertissement | A link from a port that requires an interface to one that does not provide it. |
wrong-side | avertissement | A port used from the wrong side of a link (an in as a source, an out as a target). |
oneway-result | erreur avertissement | A oneway operation that gives something back. |
raises-not-exception | avertissement | An operation that raises a struct, a type or an enum. |
param-direction | avertissement | An out or inout argument with a default. |
dataflow-source | avertissement | A dataflow sink linked to a port that is not a dataflow source, or to a source that streams another type of sample (vector). |
dataflow-backpressure | avertissement | The two ends of a dataflow link that do not say the same backpressure. |
no-service | avertissement | A port that calls a service no in port serves. |
topic-wired | avertissement | A pub-sub port with a topic that is also linked. |
topic-part | avertissement | A 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-state | avertissement | A state no transition reaches from the initial state (initial X, else the first state). |
deadlock-state | avertissement indice | A reachable state with no way out (nor from a state around it) that is not pseudo final. |
unknown-trigger | avertissement indice | A 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-transition | avertissement | A transition on a message no input port of the component receives, or with a guard that is false. |
shadowed-transition | avertissement | A transition an earlier one from the same state, on the same trigger and with no guard, always beats. |
nondeterministic | indice | Two transitions from the same state on the same trigger whose guards are not plainly exclusive (else, not g, x < 0 / x >= 0). |
block-not-simulated | indice | A blocking queue. |
test-line | erreur | A 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-line | indice | A 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-incomplete | avertissement | An accepted decision that does not say what was chosen or why. |
decision-option | avertissement | A decision whose choice is not one of the options weighed. |
mode-initial | avertissement | Two initial operating modes. |
no-step | indice | A periodic thread with no step. |
step-without-period | avertissement | A step on a thread with no period. |
timeline | avertissement | A moment of a test case earlier than the one before it. |
action | erreur | A body in the action language (```arche) that does not parse or does not type. |
bad-fault | erreur | A 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-body | avertissement info | Python calls self.f() (or a handler names f) but f has no body, so Arche cannot run it. |
missing-await | avertissement | A component function called from Python without await. |
not-simulated | indice | A Python body the action language cannot say (a list comprehension, sorted(…, key=…), try). |
code-not-found | erreur | A code property names a .ts or .py file that does not exist. |
handlers | erreur | A handlers property that names no handler language. |
handlers-language | avertissement | Code in another language than the one Arche runs the project in (simulation.yaml behavioral.language, from the project's handlers). |
test-typescript | avertissement | Test code (a do, an expect, a setup) in a TypeScript project that archec cannot write as TypeScript. |
code-language | erreur | A body in a ``` block of a language that is not a handler language. |
ts | erreur avertissement | TypeScript 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-portable | info avertissement | A TypeScript body outside the portable subset (docs/handlers.md, "Portable TypeScript"). |
convert-todo | avertissement | A statement archec convert-handlers could not translate, kept as a TODO(convert): comment with the original. |
py-not-found | erreur | A code property names a function that no .py or .ts file in scope defines (quick fix: create it). |
py-params | erreur | A 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-duplicate | erreur | Two .py files in the same scope define the same name. |
python | erreur avertissement | A .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-shadowed | avertissement | A ``` block where the component's .py file also has the def of the same name. |
py-unused | avertissement | A def of a .py file the model does not use (neither named, bound by its name, nor called). |
fn-placement | indice | A function analysed on one thread but simulated on its part's thread. |
component-not-self-contained | avertissement | A component folder that uses a name declared outside it. |
Requirements and traces#
11 codes · archec explain requirements
bad-trace-kind | erreur | A trace with an unknown relationship kind. |
requirement-unverified | info | No test plan or case verifies the requirement. |
requirement-unsatisfied | info | No element satisfies the requirement. |
requirement-no-text | info indice | A requirement without text, or without "shall". |
requirement-wording | info indice | A requirement without text, or without "shall". |
requirement-link | avertissement | A link to a requirement written from its far end. |
duplicate-trace | indice | The same trace written twice. |
suspect | avertissement | A link to a requirement reworded since the last baseline. |
ears | erreur | A requirement's ears sentence archec cannot read, or about a part, a state or a message the model does not have. |
formal | erreur | A requirement's formal property archec verify cannot read. |
req-conflict | avertissement | Requirements no implementation can satisfy together (archec verify --conflicts). |
Safety and security#
21 codes · archec explain safety
asil-inherit | avertissement | A 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-inherit | avertissement | A requirement that derives from one with a DO-178C DAL and has a lower one, or none written (info). |
asil-decomposition | avertissement | Decomposed 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-independence | avertissement | Two requirements that decompose the same parent and are satisfied by the same element. |
asil-allocation | avertissement | An element written with a lower ASIL than a requirement it satisfies. |
dal-allocation | avertissement | An element written with a lower DAL than a requirement it satisfies. |
asil-too-low | avertissement | A safety goal written with a lower ASIL than its hazard needs (from severity, exposure and controllability). |
cal-too-low | avertissement | A security goal written with a lower CAL than its threats need. |
error-unreached | info | A hazard whose error … on … no error source reaches. |
fmea-mismatch | avertissement | A failure mode whose written causes are not the hazards its error reaches in the error model. |
fmea-rpn | avertissement | A failure mode with a high RPN that nothing mitigates. |
fta-mismatch | avertissement | A hazard whose fault tree as written (caused-by, gates) has other minimal cut sets than the one derived from the error model. |
gate-cycle | erreur | A fault-tree gate that contains itself. |
hazard-no-goal | avertissement | A hazard with an ASIL and no safety goal answering it. |
hazard-target | avertissement | A hazard whose rate from its causes is above its target. |
stpa-incomplete | avertissement indice | A 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-path | avertissement | A control action no link carries from its controller to its process, or feedback no link brings back. |
uca-untraced | avertissement | An unsafe control action that leads to no hazard (causes) or that no constraint prevents (constraint, a requirement). |
mixed-criticality | avertissement | Safety levels mixed in one address space, with no freedom from interference. |
security-risk | avertissement | A threat with a high risk and no treatment. |
tara-incomplete | avertissement | An attack path whose feasibility is unknown. |
Timing and budgets#
15 codes · archec explain timing
watchdog-timeout | erreur | A watchdog with no timeout (an error: when would it run out?) or no on-timeout (a warning: nothing happens). |
budget-on-system | info | A budget on a system. |
budget-over | avertissement | What the parts beneath draw adds up to more than the budget. |
budget-unit | avertissement | A draw in another unit than its budget. |
bus-load | avertissement | A bus loaded above 70 %. |
chain-gap | avertissement | A latency chain with two steps no link joins. |
chain-incomplete | indice | A latency chain whose duration cannot be bounded (a step with no known cost). |
deadline | avertissement | A thread whose worst-case response time is above its deadline. |
deadline-handler | avertissement | An 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-budget | avertissement | A latency chain longer than its budget. |
handler-blocking | avertissement | A thread that can miss its deadline because a message handler runs first. |
memory-budget | avertissement | Processes that may use more memory than their processor has. |
missing-wcet | indice | A periodic thread whose cost is unknown (no wcet). |
overload | erreur | A core loaded above 100 %. |
unbounded-queue | indice | A queue with no size on a thread of a deployment. |
Deployment: processors, cores and routes#
23 codes · archec explain deployment
allocation-target | avertissement | Something allocated to an element that is not a component. |
memory-overlap | avertissement | Two memory blocks of a component overlap in the address space. |
memory-misaligned | avertissement | A memory block of 2-, 4- or 8-byte elements at an address that is not a multiple of its element. |
memory-field-width | avertissement | A 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-overlap | avertissement | Two fields of a memory block share a bit. |
bus-address | erreur | Two devices with the same address on one I²C bus (a board's port, or a bus component). |
binary-target | erreur | A binary that runs on no processor (on …). |
simulation-only | avertissement | A deployment that puts a simulation-only part (its Python runs only in simulation) on a microcontroller. |
bus-unreachable | erreur | A route over a bus a processor is not linked to. |
core-override | indice | A thread placed on a core outside its process. |
deployment-choice | avertissement | Several deployments and none named. |
deployment-system | erreur | A deployment that does not say which system it places (system …). |
double-allocation | erreur | A part or a function on two threads. |
no-route | erreur | A link between two processors with no route over a bus. |
not-a-processor | avertissement | A binary placed on a component with no cores. |
route-bus | erreur | A route with no bus (over …), or over a component that is not one. |
route-link | avertissement | A route for a link that does not exist. |
route-local | indice | A route for a link whose two ends run on one processor. |
rtos-process | indice | A process on an RTOS. |
runs-target | erreur | A thread that runs something other than a part or a function. |
unallocated | avertissement | A part with behaviour that runs on no thread of the deployment. |
unknown-core | erreur | A thread placed on a core its processor does not have. |
unpinned | indice | A thread or a process with no core. |
Containers#
9 codes · archec explain containers
container-binary-on | erreur | A binary inside a container that also says on. |
container-cpuset | erreur | A thread of a container placed on a core outside the container's core list (its cpuset). |
container-can | avertissement | A container whose link goes over a CAN bus without network host. |
container-device | avertissement | A container whose link goes over a bus other than CAN (a serial line…) while it sees no host device (device "/dev/…"). |
container-empty | avertissement | A container that runs no binary of the model. |
container-host | erreur | A container on a processor that is not Linux, or has no container runtime. |
container-image | avertissement | A container that names no image after its id. |
container-network | erreur | A link leaving a container that has network none. |
container-rt | avertissement | A policy fifo / rr thread in a container without capabilities sys_nice. |
Boards, pins and parts#
11 codes · archec explain hardware
implicit-catalog | avertissement | A kind, layer or tag used without being declared. |
board-pin | avertissement | A 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-function | avertissement | A pin the board cannot use for that role. |
pin-conflict | avertissement | One 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-pair | avertissement | A link whose ends' pins do not pair. |
pin-level | avertissement | A link between two ports whose pins { level … } differ (3.3V and 5V), a board's io-level being its ports' level. |
board-peripheral | avertissement | Two 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-supply | avertissement | A 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-current | avertissement | The 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-lifecycle | avertissement | A 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-stock | avertissement | A 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
equation | erreur | An equation not written der(x) = … or y = …, or a name in it the component does not have. |
physical-balance | erreur | A part with physical ports whose equations are not as many as its unknowns. |
physical-structure | erreur | A physical network that cannot be sorted. |
physical-link | erreur | A link that joins a physical port to a port of another type, or to a port that is not physical. |
physical-value | erreur | A parameter of a physical part whose value is not a number archec can work out. |
fit-no-influence | avertissement | archec fit. |
fit-correlated | avertissement | archec fit. |
body | erreur | A part's shape or joint that does not read. |
realism-port | avertissement | How 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-name | erreur | A line of a keyframe that names nothing it can set. |
body-unmapped | avertissement | In 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-file | erreur | A cad that names no Python file that is there, or a material or density that cannot be read. |
cad-limit | erreur | A limit on a geometry that cannot be read. |
cad-clearance | erreur | A clearance that cannot be read. |
cad-place | erreur | A part placed (at box.mount) on a part that is not there, that has no geometry, or that has no such anchor. |
cad-limit-over | avertissement | What archec cad measured of a geometry does not keep a limit of a requirement. |
cad-clearance-short | avertissement | Two placed parts are nearer than a clearance asks, or run into each other. |
cad-fit | erreur | A fits that cannot be read. |
cad-fit-off | avertissement | A standoff the box gives a board is not under one of its mounting holes, within the tolerance of fits. |
cad-board | erreur | A 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-read | avertissement | Something of a board's mechanics is read with a doubt. |
cad-outline-differs | avertissement | A board's geometry (cad) is not the size its outline says (its pcb, or outline). |
cad-sourced | erreur | A sourced that names no system. |
cad-unsourced | avertissement | A requirement asks that a system is sourced, and a bought part of it has no part number. |
cad-sourcing | info | A bought part, in a system whose parts have a geometry, has no part number (product { part-number "…" }). |
cad-erc | avertissement | KiCad'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-drc | avertissement | KiCad's design rules check (kicad-cli pcb drc) found violations in a board's pcb, when archec cad last ran it. |
cad-mass-differs | avertissement | A part says a mass that is not the one measured of its geometry (by more than 1 %). |
cad-shape-differs | avertissement | A part says a shape whose size is not that of its built geometry (by more than 2 %, and 1 mm). |
cad-stale | info | A geometry's file changed since archec cad built it. |
cad-not-built | info | A 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-synthesis | erreur | In an FPGA component (one with clock clk 100MHz). |
fpga-recursion | erreur | In an FPGA component. |
fpga-width | avertissement | In an FPGA component. |
fpga-cdc | erreur | A link between two FPGA parts on different clocks. |
fpga-overflow | avertissement | In an FPGA component. |
fpga-divide | avertissement | In an FPGA component. |
fpga-loop | avertissement | In an FPGA component. |
synth-limit | erreur | A limit on what synthesis measures (limit Pwm.luts <= 500, limit Pwm.fmax >= 100MHz) that cannot be read. |
synth-device | avertissement | The chip of a kind fpga part is not a device archec synth can build for. |
fpga-clock | erreur | An 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-reset | erreur | An FPGA component's reset that cannot be read. |
fpga-step | erreur | An 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-thread | erreur | A part placed execution active that no thread runs. |
exec-conflict | erreur | A part said passive or protected that a thread runs (it is active), or placed in another process than the thread that runs it. |
runs-port | erreur | A thread that runs an out port. |
affinity-core | avertissement | A thread whose core is not among the cores of its affinity. |
alloc-size | avertissement | An allocator with no block-size. |
alloc-memory | erreur | An allocator in a memory of another processor that is not shared. |
alloc-local-mapped | erreur | An allocator in a local memory (not shared) that is mapped. |
alloc-overflow | erreur | An allocator too small for what is in it. |
alloc-other-process | erreur | A part (or a port's buffering) that takes memory from an allocator of another process or binary. |
memory-role | avertissement | A 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-destroy | erreur | A dataflow port's buffering that shares its buffer (transfer share) and frees it once sent (destroy after-transfer). |
buffering-reuse | erreur | build reuse on an input, without the input it reuses, or naming one that is not an input of the part. |
buffering-port | avertissement | buffering on a place of a part. |
Signal processing: algorithms, composites, metrics, dataflow links#
6 codes · archec explain dataflow
algo-stereotype | avertissement | A 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-parameter | avertissement | A parameter configuration|internal on a variable of a component that is not kind algorithm. |
algo-composite | avertissement | A part of a composite algorithm that is not an algorithm. |
algo-execute | indice | An algorithm with nothing to run. |
algo-precedence | erreur | Parts of a composite that run after each other in a circle, or one after itself. |
metric-no-producer | avertissement | An 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-stranded | avertissement | Your code in a USER CODE region of generated/ belongs to an element the model no longer has. |
generator | erreur | A 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-option | avertissement | A 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 … |
egress | erreur | A 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-archec | erreur | A library that needs another archec version. |
library-changed | avertissement | A library whose files changed under the version arche.lock recorded. |
library-conflict | erreur | Two versions of one library asked for. |
library-lock | avertissement | A library not in arche.lock, or not in the version it names. |
library-trust | erreur | A package from the Arche Store that the project's trust does not accept. |
library-sigstore | erreur | A package from the Arche Store taken without a Sigstore bundle cosign verified, in a project whose trust asks for one (trust reviewed, sigstore). |
library-yanked | avertissement | A package from the Arche Store its publisher yanked (archec store outdated records it). |
library-missing | erreur | A library the project uses that is in none of its libraries folders. |
library-version | erreur | A version range that is not one, or that no version of the library is in. |
shelf-suggest | indice | Something written by hand that a shelf of the store already has. |
Views, animations and stories#
11 codes · archec explain presentation
animation-template | erreur | An animation names a template Arche does not have (archec animation list shows them), or has neither a template nor code "x.html". |
animation-code | erreur | An animation's code names an HTML file that does not exist (relative to the file the animation is written in). |
animation-data | avertissement | An 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-binding | erreur avertissement | An animation's machine or scenario names nothing (or a component with no state machine, a scenario with no sequence) — an error. |
animation-param | avertissement | An 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-library | info | This build of archec has no animation library (vendor/animations.js). |
animation-visual | avertissement | A story step animates something that is not a visual or an animation of the project. |
latex-unbalanced | avertissement | Unbalanced $ or braces in LaTeX math. |
bad-color | avertissement | A color literal that is not #rgb / #rrggbb. |
view-empty | avertissement | A term of a view's query (include, exclude) that matches nothing in its system, or a view that shows nothing. |
view-query | erreur | A term of a view's query that cannot be read. |
The product's user interface#
10 codes · archec explain ui
ui-structure | erreur avertissement | A ui that does not hold together. |
ui-binding | erreur avertissement | What a ui element is bound to, or what its action does, that does not hold. |
ui-dead-press | avertissement indice | A press that reaches nothing. |
ui-test | erreur avertissement | A ui step of a test case that does not hold. |
ui-unreachable | avertissement | A 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-safety | avertissement indice | A 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-fit | avertissement | A 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-bound | erreur avertissement indice | A 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-a11y | avertissement indice | Contrast 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-text | avertissement | A text of the ui not translated into a language the project's other texts are ("…" en "…", or a translations entry). |