> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allcodex.allmaker.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# System Labels Reference

> Catalog of canonical AllCodex labels for classification, sharing, drafting, provenance, and entity tracking, including #lore, #loreType, and #shareRoot.

AllCodex uses labels (prefixed with `#` in search queries or tag components) to trigger system behaviors, manage sharing, tag notes, and track data provenance.

***

## Classification labels

These tags determine how notes are categorized, indexed, and surfaced inside the Portal dashboards.

### `#lore`

* **Value**: Valueless (tag).
* **Usage**: Attach this to any note you want to appear in your wiki.
* **Behavior**: **Critical.** AllKnower's vector embedder and RAG systems filter notes by this tag. Without `#lore`, AllKnower does not embed the note or include it in RAG searches, and the Portal omits it from the main lore view.

### `#loreType`

* **Value**: String (must match one of the 21 canonical types, e.g., `character`, `location`, `faction`).
* **Usage**: Categorizes the note.
* **Behavior**: Dictates which template is linked and what promoted attributes are displayed in the Portal.

### `#draft`

* **Value**: Valueless (tag).
* **Usage**: Add to notes that are a work-in-progress.
* **Behavior**: Hides the note from the public shared website, even if it resides inside a folder tagged with `#shareRoot`.

### `#gmOnly`

* **Value**: Valueless (tag).
* **Usage**: Add to secret GM notes, plot twists, monster stats, or campaign plans.
* **Behavior**: Shields the note from player-safe views. Public shares return a `404 Not Found` error when a visitor attempts to access this note ID.

### `#quest`

* **Value**: Valueless (tag).
* **Usage**: Categorizes a note as an active or inactive quest.
* **Behavior**: Surfaces the note in the **Quests Dashboard** panel in the Portal.

### `#statblock`

* **Value**: Valueless (tag).
* **Usage**: Categorizes a note as a mechanical TTRPG statblock.
* **Behavior**: Surfaces the note in the **Statblocks Dashboard** list in the Portal and enables quick lookups.

***

## Public sharing labels

These labels configure the public share website generated by AllCodex Core. They should be placed on notes tagged with `#shareRoot` or their child notes.

### `#shareRoot`

* **Value**: Valueless (tag).
* **Usage**: Place on the root note/folder of the lore tree you want to share with players.
* **Behavior**: Turns on public sharing for that note and all children.

### `#shareAlias`

* **Value**: String slug (e.g. `sword-coast`).
* **Usage**: Customizes the URL slug of the note.
* **Behavior**: The page is accessible at `/share/sword-coast` instead of `/share/alphaNumericNoteID`.

### `#shareCredentials`

* **Value**: String in the format `username:password`.
* **Usage**: Secures the shared pages.
* **Behavior**: The browser prompts visitors for basic HTTP authentication credentials.

### `#shareHiddenFromTree`

* **Value**: Valueless (tag).
* **Usage**: Hides the note from the public share's left-hand sidebar navigation tree.
* **Behavior**: Hides notes that visitors access only via links within other pages.

### `#shareIndex`

* **Value**: Valueless (tag).
* **Usage**: Marks a note as the homepage of the share.
* **Behavior**: Visitors opening the root `/share/` folder land on this page.

### `#shareDisallowRobotIndexing`

* **Value**: Valueless (tag).
* **Usage**: Prevents search engine indexing.
* **Behavior**: Tells the share engine to inject `X-Robots-Tag: noindex` headers, blocking Google and Bing.

***

## Provenance and tracking labels

The system manages these labels to track imports and edits.

### `#brainDumpId`

* **Value**: UUID string.
* **Usage**: Links a note to a specific Brain Dump run.
* **Behavior**: Added when the parser creates or modifies a note during a dump. Clicking the history log in the Portal traces which raw text created the note.

### `#importSource`

* **Value**: String (e.g. `azgaar`, `system-pack`).
* **Usage**: Tracks imported notes.
* **Behavior**: Helps group imported entities and prevents them from being duplicated during subsequent imports.
