# shared/manifests/writing.note.manifest.ts

> 31 lines of code and 1 definition.

Tree: Governance tree
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/governance#file-governance-shared-manifests-writing-note-manifest-ts
Source text: https://banes-lab.com/source/governance/shared/manifests/writing.note.manifest.ts.txt

Listed in [shared/manifests](https://banes-lab.com/api/source/governance/shared/manifests.md), after [shared/manifests/writing.identifier.manifest.ts](https://banes-lab.com/source/governance/shared/manifests/writing.identifier.manifest.ts.md) and before [shared/manifests/writing.output.manifest.ts](https://banes-lab.com/source/governance/shared/manifests/writing.output.manifest.ts.md).

## Definitions

- `NOTE_LAYER` (lexical_declaration, line 4, exported)

## Source

```typescript
import type { CanonLayer } from "../../types/writing.types.ts";
import { LAYER_TITLES } from "../strings/writing.strings.ts";

export const NOTE_LAYER: CanonLayer = {
    covers: ["chat replies and questions to the developer", "commit messages and changelogs", "memory files and notes"],
    defersTo: [],
    id: "note",
    intro: "A note is read later, out of the context it was written in.",
    rules: [
        {
            bans: ["a question asked as prose", "a question with previews", "a question whose answer is already given"],
            checks: [],
            conditions: [],
            examples: [],
            gate: null,
            id: "note.questions",
            rule: "Every open decision is asked through the question tool, recommendation first.",
            why: "A prose question gets lost in the reply, and a preview cannot be answered.",
        },
        {
            bans: ["recording the single instance of a mistake"],
            checks: [],
            conditions: ["a correction given twice becomes a rule with a slug, a directive and its gate"],
            examples: [],
            gate: null,
            id: "note.record-the-class",
            rule: "A recorded correction names the class of mistake.",
            why: "An instance does not recur, while its class does.",
        },
    ],
    title: LAYER_TITLES.note,
};
```
