# Errata of OpenEik 0.7

The errata of OpenEik 0.7, each with its number, the date it was accepted, the version it was found in, the passage as it was, the correction and the patch version that applies it ([`GOVERNANCE.md`](https://gitlab.com/openeik/spec/-/blob/main/GOVERNANCE.md#errata); [Part I, 9.5](https://openeik.org/spec/0.7/foundations#9.5)).

## 0.7-E1: An opening's profile, any point

- **Accepted:** 24 November 2026, by the editors, under the steward's standing approval of errata (GOVERNANCE.md, errata, rule 2: "Ja + mandat"). Found on 23 November 2026 by the reference implementation, which writes `[[0, 0]]` as the profile of every hosted element, a door's and a window's among them, on writing the category `opening`.
- **Found in:** 0.7 as tagged `v0.7.0`.
- **As it was:** [Part II, 6.5.2](https://openeik.org/spec/0.7/language#6.5.2), rule 2, ended: "Its `profile` is not used for placement, as a door's is not; a writer gives the point on its wall's baseline at its `along`." It read as a requirement on a writer that no rule gives a door, a window or a gutter (section 6.1, rule 13), that no keyword made one, that no validator checks, and that `@openeik/tools` and the reference implementation do not follow.
- **Correction:** the profile is not used for placement and a reader reads nothing from it, so a writer MAY give any point, such as the point on its wall's baseline at its `along`, or `[[0, 0]]`. No case's outcome changes.
- **Applied by:** 0.7.1, tagged `v0.7.1`.

## 0.7-E2: A view's chunks kept as they are

- **Accepted:** 25 November 2026, by the editors, under the steward's standing approval of errata (GOVERNANCE.md, errata, rule 2: "Ja + mandat"). Found the same day on a test building in a store: a view's detail items written by hand in one chunk, `details/0.json`, and a sheet issued from the view, whose read set names that chunk. The folder checks clean; `@openeik/tools` 0.7.5's `clone` laid the chunk out as `details/0000.json`, and so refused the version before writing anything: in the folder it would have written, the read set lacked the pair of the view's chunk (`read-set-incomplete`).
- **Found in:** 0.7 as tagged `v0.7.0` and `v0.7.1`, and as it was in 0.1 to 0.6.
- **As it was:** [Part III, 10](https://openeik.org/spec/0.7/code-base#10), rule 4: "A writer MUST chunk by this rule. A reader MUST join a view's chunks in name order and MUST accept any chunking." A reader accepts chunks cut and named otherwise than rules 2 and 3 say, and no rule makes such a folder invalid; but the rule read as asking a writer to cut and name anew the chunks of every view it writes, those of a view whose items it does not change among them. That contradicts the rest of the version: section 13, rule 4 has a writer remove the file of a record that went or moved "and no other file", and rule 5 write only the files whose bytes change; a drawing's read set names each chunk it read by its path (Part XIV, 9.2), and an issued drawing's files are replaced only by a later revision (Part XIV, 7.4, rule 4), so that the drawing would read as stale, or its read set as incomplete, while nothing it drew had changed; and a clone would write a folder that does not hold the version it clones (Part VI, 6.5). The reference writer writes only the records whose content hash changed (section 13's reference), and so leaves the chunks of an unchanged view as they are. [Part III, 11](https://openeik.org/spec/0.7/code-base#11), rule 3 had reading a folder and writing it as one file, or the reverse, lose nothing but the four things it named, while the single-file form holds a view's items and not its chunks (rule 1), so that no reader can carry chunks cut or named otherwise through it.
- **Correction:** Part III, 10, rule 4: where the folder a writer writes into, or the version whose files it writes (a clone, a pull), holds chunks of a view that, joined in name order, are the items the writer writes, the view keeps those chunks, the version's where both hold such chunks: the writer MUST write each at its name, with its items, and MUST NOT rename, re-cut or remove them; a writer MUST chunk every other view's items by rules 2 and 3; the reader's part is unchanged. An informative note after the rule says why. Part III, 11, rule 3 says, in a sentence after the one it had, that the round trip through the single-file form also loses the names and the cut of a view's chunks where rules 2 and 3 do not give them. A folder whose chunks rules 2 and 3 give, as a writer that follows them writes them, is written as before. Two cases of the writer's suite, `III-10.4-a-views-chunks-kept-as-they-are` and `III-10.4-a-changed-view-cut-anew`, and one of the version store's, `VI-6.5-a-clone-keeps-a-views-chunks`. `@openeik/tools` keeps such chunks in `writeFolder`, `clone` and `pull`, and checks a model written over a folder or a version by the chunks it will have.
- **Applied by:** 0.7.2, tagged `v0.7.2`.

## 0.7-E3: A kept file at a drawing set's path

- **Accepted:** 25 November 2026, by the editors, under the steward's standing approval of errata (GOVERNANCE.md, errata, rule 2: "Ja + mandat"). Found the same day in `@openeik/tools` 0.7.5: a folder of 0.6 that gives no list of proposals and holds a file at `drawings/setup/sets/<id>.json` checks clean, its reader keeping the file as a kept file; but `clone` of a version of it, and `writeFolder` of the model read from it written back onto it, refused the model (`kept-collision`), since the writer listed the proposal `drawingSets` for that file and so found a kept file where a set's record would be.
- **Found in:** 0.7 as tagged `v0.7.0`, `v0.7.1` and `v0.7.2`, and as the proposal `drawingSets` for 0.7 had it in 0.6.
- **As it was:** [Part XIV, 2.5](https://openeik.org/spec/0.7/drawings#2.5), rule 20: "A reader of 0.6 that does not apply it keeps a set's file as a kept file (Part III, 7), […]. A writer that writes any of them lists the proposal (Part I, 9.12, rule 5): what a model shows of it is a view's or a sheet's `tags`, a set's file or a record of the list `drawingSets`, or an issue's `set`." Read as written, it had a writer list the proposal for a kept file at a set's path, the file a reader without the proposal keeps. That contradicts the rest of the version: listed, the proposal reads the file as a set's record, so the writer could not write it back unchanged where it was (Part III, 7, rules 2 and 3), and could not write the model at all, since a kept file may not stand at a record's path (Part III, 7, rule 4); reading such a folder and writing it back, or as one file and back, lost the file or failed (Part III, 11, rule 3); and a clone of a version of it could not write the version it clones (Part VI, 6.5). The model in the single-file form holds a set as a record of its list `drawingSets`, never in `extras`, so a kept file at a set's path shows that the model was read without the proposal.
- **Correction:** Part XIV, 2.5, rule 20: a kept file at a set's path is the exception. Only a reader that does not apply the proposal keeps one, so a model that holds one was read without it, and a writer writes it so: the file back unchanged where it was, and the model's `tags`, its list `drawingSets` and its issues' `set` as the members it does not know that they were read as; and it lists the proposal only where the model's own list names it, when the model is refused, since the proposal puts a set's record where the kept file is (Part III, 7, rule 4). An informative note after the rule says why. A model's `tags` and its sets of the single-file form's list show the proposal as before where it holds no such kept file, and a validator of a model that gives a list reports a set's file whose proposal the list lacks as before (`proposal-undeclared`). A model of 0.7, of which the proposal is a rule, is not concerned. `@openeik/tools` writes such a model without the proposal (`listedProposals`), so that it reads, checks and is written back, cloned and pulled unchanged.
- **Applied by:** 0.7.3, tagged `v0.7.3`.
