Jump to content

Prose/NOUN CONSISTENCY

From MindAttic Docs

Noun Consistency — Deprecated Name Registry

Service: NounConsistencyService Table: DeprecatedEntityNames CLI: prose --validate-nouns --slug <slug> MCP: validate_nouns, add_deprecated_name, list_deprecated_names


What It Is

A deterministic (no-LLM) scan that flags prose beats using a deprecated or renamed noun reference. Any named thing — character handle, drone name, job title, place name, tech brand — that gets renamed has its old name registered here. The scanner catches beats that still use the old name before export.

Why It Exists

The PNHL VacCell → Nit rename (2026-07-04) slipped through to export. Nine beats in PNHL still called Pixel's drone "VacCell" when the bible and all other references used "Nit". This system makes that class of error detectable in one command.

How Rules Work

Rules live in DeprecatedEntityNames. Each rule has:

Field Description
DeprecatedName The old/wrong name to flag in prose
CanonicalName The correct replacement to show in violation reports
UniverseId GLMZ rules don't fire in Fantasy and vice versa
EntityId Optional FK to the canonical Entity row when it exists
Notes Reason for the rename (e.g. "Renamed per SS-LAW-26")

Matching is whole-word, case-insensitive. "VacCell" matches "VacCell" and "vaccell" but not "VacCellular". One violation is reported per rule per beat.

Seeded Rules

Deprecated Canonical Universe Notes
VacCell Nit GLMZ Pixel's drone — old name used before PNHL noun audit 2026-07-04

Adding a New Rule

Via MCP (preferred in prose sessions):

add_deprecated_name("OldName", "NewName", notes="Why it was renamed")

Via CLI (not yet implemented — use MCP):

prose --validate-nouns --slug <slug>

Nothing reaches the database except through Prose.Hub — reads AND writes, no exceptions (HARD, absolute, 2026-08-22). There is no raw-SQL fallback for this, "emergency" or otherwise — if the MCP tool isn't connected and the CLI equivalent doesn't exist yet, stop and tell the user the gap exists rather than inserting a DeprecatedEntityNames row directly.

When to Run

  • Before export — run validate_nouns on any story that has had noun renames since its last export.
  • After a rename — scan all GLMZ stories immediately after registering the deprecated rule.
  • During logic sweep — a Logic Sweep (SS-LAW-17) checks causality and continuity; a noun scan checks naming consistency. They are complementary, not overlapping.

Relationship to Existing Alias Tables

CharacterAlias, WeaponAlias, etc. store valid alternate names that can appear in prose (nicknames, handles, formal titles). DeprecatedEntityNames stores names that must not appear in prose. These are complementary, not overlapping.

Part of Prose.
From Prose/docs/NOUN_CONSISTENCY.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.