agentic-intent-model

AIM diagnostic codes

The registry of stable codes, kept beside the specification (§13). Section numbers are those of AIM 7.0.

Each row is one condition: its code, what it means and what usually resolves it. Error is a hard error of the model. Data is a data validation error: what a collection records is not valid, and the model may be. Note is informational. Review is a finding of a review against a realization. Handoff is a finding about supplied material. This first registry holds the review findings, the conditions that cross facets and everything 7.0 adds. A condition that a facet block of §4 of the specification owns and that has no row here is reported in the words of its block. A tool that already reports a condition under a name of its own maps that name to the code.

Code Kind What it means What usually resolves it §
MALFORMED_FRONTMATTER Error The header is missing or malformed, or lacks aim or kind. Writing the header. 16
PATH_HEADER_MISMATCH Error The directory or the file name disagrees with the header. Renaming the file; the header is authoritative. 17
GENERIC_FILENAME Error A file is named aim.aim, intent.aim, schema.aim, mapping.aim or binding.aim. Naming it after its intent. 17
MISSING_PARENT Error A declared parent has no intent file. Writing the parent’s intent file, or correcting parent. 17
CHILD_NOT_LISTED Error A discovered child is missing from an explicit Children list. Listing it, or removing the list. 17
MISSING_H1 Error A file has no H1, or more than one. One H1 with the display name. 16
MISSING_REQUIREMENTS Error An intent has no Requirements, or none with a bullet. Stating what must hold. 17
UNKNOWN_FACET_TYPE Error A facet heading names no facet type, or its name is not valid. One of the sixteen types and an ASCII name. 3
DUPLICATE_FACET Error Two effective definitions of one facet, or a child that collides with a facet of its parent. Keeping one. 13
UNRESOLVED_REQUIRES Error A Requires alias resolves through neither a mapping nor Bindings. Mapping or binding the Capability. 7
DANGLING_EDGE Error An edge names an address that does not resolve. Correcting the address or declaring the target. 9
UNRESOLVED_ROLE Error An Authz entry names a role that does not resolve. Naming the Persona, the Organisation or the intent with a Role by its full address. 4.4
ADDRESS_TYPE_MISMATCH Error An address names a facet type other than the one found there. Writing the type that is declared. 9
ILLEGAL_EDGE Error A verb between two endpoints the taxonomy does not allow, or an intent used as an endpoint its content does not provide. The verb that fits, or the endpoint that carries it. 5
ACTOR_WITHOUT_ROLE Error An intent acts and has no top-level ## Role. Writing its Role. 4.4
UNRESOLVED_REF_FIELD Error A ref(...) or part(...) names a Record or a field that does not resolve. The full address of an existing Record and field. 3
REF_TYPE_MISMATCH Error The scalar written before ref(...) is not the target field’s type. The target field’s type, or the bare ref(...). 3
PART_CYCLE Error A Record holds itself through required single parts alone. Making one part optional, or a list. 4.1
MAP_KEY_TARGET Error A map is keyed by a field that is no scalar declared unique. Declaring the field unique. 3
FIELD_PRESENCE_CONFLICT Error A field is required and optional, or has two conflicting types. One of the two. 3
FIELD_DEFAULT_TYPE Error A default is no value of its field’s type. A literal of that type. 3
LABEL_MALFORMED Error A label(...) or an enum value’s label is not one quoted string. One quoted string. 3
DUPLICATE_REQ_LABEL Error Two requirements of one intent share a label. Renaming one, with its inbound references. 9
SATISFIES_UNRESOLVED Error A satisfies names a label that is absent or an index out of range. The label of the requirement meant. 5
REQUIREMENT_EDGE_TOKEN Error A Requirements bullet carries an edge token. Moving the edge to the work that satisfies the requirement. 3
FROM_UNRESOLVED Error A requirement’s from [...] does not resolve. The address of the source, or from: with words. 3
FROM_NOT_A_SOURCE Error A from [...] resolves to something that is no Knowledge, requirement, Event or row. Naming the source itself. 3
SHOULD_WITHOUT_LABEL Error (should) stands on a requirement without a label. Giving it a label. 3
OVER_INVALID Error An over [...] stands on a “must” or names one, does not resolve, or closes a circle. Ranking only “should” requirements; two “must” requirements that collide are mended in their words. 3
MISPLACED_CHECK Error A check fence stands outside Expects and Constraints. Moving the lines to one of them, or to Criteria. 4.2
CALCULATION_INVALID Error A calculation uses an operand that cannot be calculated with, or sum or count over something that is no list field of the place. Operands of the comparison grammar. 4.2
UNIT_MISMATCH Error Two values of different units are added, subtracted or compared. One unit on both sides, or a Capability that converts. 3
DURATION_UNITS Error Two lengths of time whose units do not compare are compared. Units of one family: up to weeks, or months and years. 3
CROSS_OWNER_MISPLACED Error A cross-owner(...) stands outside an Authz role entry or a View access edge, or names a Record the work does not read or mutate. Placing it on the entry or edge it widens. 3
KEY_INVALID Error A Record has two key fields, or key stands on a field that is not a required unique enum or non-file scalar. One key, declared required unique. 3
MODIFIER_MISPLACED Error rough, unit(...), modelref(...) or fingerprint(...) stands where it is not allowed. rough on a date, unit on a number, modelref on a Record with Entries, fingerprint naming a file field. 3
ROWS_WITHOUT_KEY Error A Record states rows and declares no key. Declaring the key in its Schema. 4.1
ROWS_MALFORMED Error A Rows block is misplaced or repeated, or a row or value bullet is malformed. The form of §4.1. 4.1
DUPLICATE_ROW_KEY Error Two stated rows have the same key. One row per key. 4.1
ROW_FIELD_INVALID Error A value bullet repeats the key or a field, names no Schema field, or names a field of an excluded type. A field of the Record that a row may state. 4.1
ROW_VALUE_INVALID Error A stated value violates its type, a value rule, unique, a check line or a provable reference. A value that fits. 4.1
ROWS_MUTATED Error An operation mutates a Record with stated rows, or a State governs it. Keeping what changes in a Record that references the row. 4.1
ROWS_AND_ENTRIES Error A Record has stated rows and Entries. One source of rows. 4.1
PERIOD_INVALID Error A Period does not name two date or two datetime fields of its Record, or its per field is none. Naming the start and the end. 4.1
REPLACES_INVALID Error A Replaces field is no reference to the Record’s own key. A ref(...) to the Record’s key, or a list of them. 4.1
COMPLETE_INVALID Error A Complete bullet is neither the collection nor a list field. One of the two. 4.1
ENTRIES_HEADER_INVALID Data An Entries file names both record and subject, or neither, or one that does not resolve. record for a list, subject for a document. 6
ENTRIES_KEY_IN_HEADER Data The header carries a key line. Removing it; the key is declared in the Schema. 6
ENTRIES_FILENAME_MISMATCH Data The file name disagrees with the header. The name of §17. 17
DUPLICATE_ENTRIES_LIST Data A Record has two lists. One list; further entries go into documents. 6
ENTRY_HEADING_INVALID Data A heading names no Record, or in a list another Record than the list’s. ## <Record>: <ID>. 6
ENTRY_ID_INVALID Data An ID does not fit the ID syntax. Letters, digits, _ and -. 6
DUPLICATE_ENTRY_KEY Data Two entries of one Record share an ID, in one file or across files. One entry per ID. 6
ENTRY_FIELD_INVALID Data An entry names a field its Record does not have, or names one twice. A field of the Schema, once. 6
ENTRY_VALUE_INVALID Data A value does not fit its type or a rule of its Record, or a required field is missing. A value that fits. 6
DANGLING_ENTRY_REFERENCE Data A link names a row that does not exist. Writing the target, repointing the link or removing it. 6
ENTRY_REFERENCE_TYPE_MISMATCH Data A link names a row of another Record or key field than its field declares. A row of the declared Record. 6
MODELREF_INVALID Data A modelref names a node that is missing or of another kind, or a requirement by position. The full address of a node of the declared type; a requirement by its label. 6
ENTRY_NOT_IN_DOCUMENT Data An entry in a document does not name the document’s subject. A reference to the subject, or moving the entry to where it belongs. 6
DOCUMENT_WITHOUT_SUBJECT Data A document does not hold its subject’s entry. Writing the subject’s entry in it. 6
ORIGIN_TRAILER_INVALID Data A trailer has none of the four forms, or a line has two. One trailer in one of the forms. 6
ORIGIN_UNRESOLVED Data A from [...] on a line resolves to neither a row nor a Knowledge facet. The address of the source, or from: with words. 6
TEXT_LANGUAGE_CONFLICT Data Two texts of one field in one language, or several texts where one names no language. One text per language, each named. 6
FILE_MISSING Data An entry points at a file that is not there. Restoring the file. 6
FILE_FINGERPRINT_MISMATCH Data A file’s content no longer fits its fingerprint. Restoring the file; a new version is a new entry that replaces this one. 6
ANCHOR_MISSING Data A link names an anchor that is not in the target’s text. Restoring the anchor or repointing the link. 6
POINTER_INTO_EDITABLE_TEXT Data A link points at words, a page or a time in a text that can change. An anchor in that text. 6
QUOTE_NOT_FOUND Data Quoted words are not in the target exactly as written. Quoting the target’s own words. 6
PERIOD_OVERLAP Data Two rows start on one day where only one may hold at a time. Correcting a date. 4.1
REPLACES_CYCLE Data A row replaces itself through a chain. Removing the link that closes the circle. 4.1
UNBOUND_NODE Review A facet has no binding. Binding it; below Level 3 the gap may stand. 12
DANGLING_BINDING Review A bound site no longer exists. The Realizer restores the site or corrects the locator. 12
MISSING_EDGE Review A declared edge has no counterpart at its bound site. The Realizer realizes it. 12
EDGE_MISMATCH Review An edge exists on both sides with different endpoints. The Realizer aligns the realization. 12
UNDECLARED_EDGE Review Realized behavior has no declared counterpart. The Architect declares it, or the Realizer removes it. 12
AMBIGUOUS_BINDING Review Conflicting sites for one node, or one site shared by two nodes that nobody confirmed. The owner confirms or corrects. 12
MISSING_ROW Review A stated key is absent from the complete realized catalogue. The Realizer restores the row. 12
UNDECLARED_ROW Review The realized catalogue holds a key the model does not state. The Realizer removes it, or the Architect states it. 12
ROW_MISMATCH Review A realized row differs from a stated value. The Realizer aligns the value. 12
INVALID_ROW Review Realized rows violate the Schema or a checked constraint. The Realizer corrects the data, or the owner the supplied material. 12
UNVERIFIABLE_ROWS Review The bound site cannot be read or shows only part of the catalogue. A complete, readable catalogue; until then the gap is recorded. 12
SUPPLIED_ROWS_INVALID Handoff Supplied rows or fragments fail validation before use. The owner corrects the material. 7
UNSUPPLIED_MATERIAL Handoff Copy, or the rows of a Record that is read and never mutated, is missing. The owner supplies it; nothing is invented. 7
BACKGROUND_UNAVAILABLE Handoff Knowledge in reach cannot be read. Handing the source over, or saying how to read it. 10
UNKNOWN_FIELD_TYPE Note A type word outside the table, read as string. The nearest defined type, or confirming that text is meant. 3
DEPRECATED_SPELLING Note A deprecated spelling awaits migration. Migration rewrites it. 14
INFERRED_PROVENANCE Note Intent that nobody has confirmed. The owner confirms it, intent by intent. 15
PROVENANCE_CONTRADICTION Note Inferred provenance beside an approval. Accepting changes provenance and records the approver in one act. 16
POSITIONAL_SATISFIES Note A satisfies names a requirement by position. Labelling the requirement. 5
UNREALIZED_REQUIREMENT Note A requirement with no inbound satisfies. The work that satisfies it, or the owner’s word on how it is held. 9
ORPHAN_NODE Note A facet nothing reaches, as its block defines. An entry point, or removing it. 13
STALE_SOURCE Note A requirement’s source changed. Looking at the requirement again. 3
STALE_SATISFIER Note A requirement changed and an item that satisfies it did not. Revising the item, or confirming that it still holds. 14
PROBABLE_DUPLICATE Note One type and name in two intents that nothing links. Confirming that they differ, or merging them. 13
SHOULD_DEPARTED Note A “should” was not kept. The reason, kept with the report or as an entry. 3
REQUIREMENTS_COLLIDE Note Two requirements collide and nothing says which gives way. The owner says it: over between two “should”, new words for two “must”. 3
PROPOSED_LINES_WAITING Note Lines of entries wait for confirmation. Whoever the collection’s rules name confirms or rejects them. 6
MODEL_UNVERIFIABLE Note A reference into another model that is not at hand. Having that model at hand. 9
POINTER_NOT_CHECKABLE Note A page or a time in a file no tool at hand can read. A tool that reads that kind of file. 6
EMPTY_ROWS Note A Rows block states an empty set. Stating the rows, or confirming that there are none. 4.1
ENUM_KEY_UNUSED Note An enum key has a value no row uses. A string key, so that the rows alone state the membership. 4.1
ROW_VALUE_OWED Note A required value of a stated row is still to be made or supplied. The Realizer makes it or the owner supplies it. 4.1
PERIOD_END_DISAGREES Note A written end disagrees with the start of the next period. Correcting one of the two dates. 4.1
REPLACED_TWICE Note Two rows replace the same older row. Confirming the split, or correcting a link. 4.1
UPGRADE_MEANING_CHANGES Note A spelling that 6.6 read as text gets a meaning in 7.0. The owner keeps the old meaning under another spelling or adopts the new one. 14