ReadonlycategoryThe record's category — the Lexicon map it sits in; in the JSON, its file. One constant per record definition.
ReadonlyidThe record's lexicon key: a shell-safe slug — printable ASCII without whitespace, non-empty.
ReadonlydisplaySurface form for display: printable ASCII with spaces, non-empty. The
id unless the manual's form differs from it:
AUTO_CD> word, a history modifier's h [ digits ]j:string:
What every record carries: its category, its lexicon identity and its surface form — the structural identity invariant. A record is its own identity unit wherever it goes: off its lexicon map, on a resolver hit, in the JSON.
DocRecordMap[DocCategory]discriminates oncategory.Not here, but by convention: a category with a sub-facet — an operator's arity, an option's or a widget's manual section, a parameter's scope — declares it as
subKindwith a closed literal union; a category without one declares nosubKind. Both are read as fields; under a genericK,"subKind" in recnarrows.