What makes a file a decision file
A decision file is a Markdown file (.md) that starts with a header block between two lines of three dashes. Ainomos treats it as a decision file when it can tell the decision type: ADR (architecture), BDR (business) or SDR (security). It looks for the type in this order:
- The
typeordecision_typefield. Long names such as “Business Decision Record” work too. - A key such as
BDR-025in thekey,idoraliasesfield. - A tag that names the type.
- A file name or title that starts with such a key.
Header fields
All fields are optional as long as Ainomos can tell the type. The text below the header is the decision’s body and is kept word for word. Links in the body that name another decision key, such as
[[ADR-012]], are proposed as links too.
Example
Import decision files
Who can do this: room owners and curators of the room.1
Pick the room
Choose the room in the room picker at the top. The drafts land in this room.
2
Drop the files
Open Knowledge, then Import. Drag the files onto Drop any file to add it, or choose Choose files. Decision files and documents can go in the same import.
3
Open the drafts
When the import is done, the Decisions column shows how many drafts arrived. Choose Review the drafts to open the decisions that wait to be decided.
What Ainomos creates
- One draft per file, in the room you picked, with you as its owner.
- A key. The file’s key becomes the decision’s key when it is free in the room. Otherwise the draft gets the room’s next number for its type, and the file’s key stays attached as another name, so search and links still find it.
- The source status, recorded for reference. It does not set the draft’s status.
- Proposed links to decisions the header or body names, when Ainomos finds them in this room or in the same import. A person confirms each link.
- An evidence record of the import.
The Import page has no preview step. The result lists what was created and what was left out, and Undo in the Import history takes the whole import back while nothing in it has been decided.
Duplicates and files left out
- A file whose key was imported into this room before is left out as “already there”.
- A file without a key is left out when the room already has a decision with the same title and type.
- A file that cannot be read as a decision record is listed as “it could not be read”.