spec.ts
@file /spec <section> — which files in this repository cite an Aliro 1.0…
Overview
@file /spec <section> — which files in this repository cite an Aliro 1.0
section. Pointers only.
The spec text itself (internal/aliro-1.0.txt) is gitignored and this bot
never reads it; SPEC_CITATIONS is built by scanning the tracked prose
that already cites the spec, not the spec. Answering with anything more
than a file and a line would start reproducing member-confidential text
one paraphrase at a time, which is exactly what this command must not do.
depends on command.ts discord.ts spec-index.generated.ts · used by index.ts
API
Fexport function normaliseSection(raw: string): string | null
14, 11.3.1, table 8-3, §8.3.3.5.1 all resolve to the stored form.
handlerFfunction covers(query: string, cited: string): boolean
Exact match, or a citation to a subsection of the queried section: asking for "11" should surface a citation to "11.7.3.4.1". Table numbers have no such hierarchy and only match exactly.
handlerUndocumented (1)
handler