Skip to content
ImagineWorld

Appendix F — disambiguate.md

node_idnode-book_agentic-spec-driven-development_appendix-f-disambiguate
node_typebook-part
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_titleAppendix F — disambiguate.md
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

The full text of disambiguate.md as discussed in Chapter 9, Glossary. The file lives at the project root and is loaded conditionally — only when AI is changing the Project Glossary. Download from agentic-spec.com/downloads/disambiguate.md or copy from below.

# Glossary Entry Protocol
This file states the protocol AI MUST follow when proposing any change to the Project Glossary - adding a new entry, removing one, or refining one. All changes MUST be recorded only after explicit user approval.
The Project Glossary table lives in `CLAUDE.md` and has three columns:
**Term** - the term being defined.
**Meaning** - a plain-language definition of what the term means in this project.
**Anti-meanings** - short phrases naming what the term does NOT mean in this project. Optional.
## Adding a New Entry
When AI proposes a new entry, AI MUST:
1. Verify the term is not already defined in the glossary table. If a row with the same term already exists, AI MUST NOT propose a duplicate; instead, AI MUST surface the existing entry and ask whether to refine it.
2. Draft the entry by filling in the three columns described above. The **Anti-meanings** column SHOULD be populated when the term's project meaning collides with a strongly entrenched default reading.
3. Walk the closure check. For every project-specific term referenced inside the entry - including in any anti-meaning - verify that the term is itself a defined glossary entry or a word whose general meaning is uncontested in this project. If any reference is unresolved, AI MUST propose adding that reference as its own entry before recording the original.
4. Walk the circularity check. Follow the chain of references in the proposed entry and verify that every path ends in an external term (general English, uncontested technical vocabulary, or a concrete project concept). If the chain loops back to the term being defined, AI MUST refuse to record the entry and ask the user to rephrase the definition in concrete terms.
5. Present the drafted entry, the closure check result, and the circularity check result to the user.
6. Record the entry in the glossary table only after the user's explicit approval.
## Removing an Entry
When AI proposes removing an entry, AI MUST:
1. Surface the entry verbatim - its Term, Meaning, and Anti-meanings - so the user can confirm what is being removed.
2. Find every other entry in the glossary table that references the term being removed - in any Meaning or Anti-meanings cell. If any referencing entries are found, AI MUST refuse the removal and surface the list of referencing entries. The user must remove or refine those entries first (each subject to this same protocol).
3. Remove the entry from the glossary table only after the user's explicit approval.
## Refining an Existing Entry
Refining an entry is treated as a Remove followed by an Add, executed as a single transaction with one user approval at the end. When AI proposes a refinement, AI MUST:
1. Surface the existing entry verbatim and the proposed refinement side by side.
2. Apply the referencing-entries check from Step 2 of **Removing an Entry**. If any other entry references the term being refined, AI MUST refuse the refinement and surface the list of referencing entries.
3. Apply the closure check and the circularity check from Steps 3 and 4 of **Adding a New Entry** to the refined entry.
4. Present the diff, the referencing-entries result, the closure check result, and the circularity check result to the user.
5. Replace the entry with the refined version only after the user's explicit approval.

The full text of specs/errata-flow.md — the source-of-truth specification of the errata-submission user flow for agentic-spec.com. You can download the file from agentic-spec.com/downloads/specs/errata-flow-v1.md.

# Errata Submission User Flow
Source-of-truth specification of the `errata-submission` user flow for `agentic-spec.com`. The flow lets a reader report an error in the book; submission is delegated to the user's default email client rather than transmitted by the site itself.
## Flow
### 1. Reader visits the `errata-submission` web page
A single, named page is the entry point for every errata report. The book's back-matter and any "report an error" prompt elsewhere point at this one URL.
**Rationale.** A single named entry keeps the surface the book has to expose stable and small - one URL the print and digital editions can reference for the life of the title. It also lets all errata-related behavior (navigation, form, submission) live in one place rather than spread across per-chapter pages.
### 2. The page displays the book's table of contents as an always-visible tree
Chapters, sections within each chapter, and subsections within each section render as a tree the user can navigate at any time. The tree is the primary content of the page and remains visible throughout the flow.
**Rationale - TOC, not a per-chapter button.** A per-chapter "report errata in this chapter" button would mean every chapter (and every back-matter listing of chapters) carries its own errata link, multiplying the surfaces the book has to expose and keep in sync as the book is reprinted or revised. A single TOC-driven entry point keeps that responsibility on the site: the book points to one URL, and the site owns navigation to a specific location. The TOC also helps readers who recognize an error but are not sure which chapter, section, or subsection it belongs to - they can browse the structure of the book rather than guess from a list of buttons.
### 3. Reader selects the chapter / section / subsection where the erratum is
The selection becomes the location of the report. The user can drill to whichever level fits the erratum - a chapter-level point stops at the chapter, a paragraph-level point drills into a subsection.
**Rationale.** Forcing the user to pick a location before writing the report (a) gives every report a structurally consistent location field rather than free-text wording like "in chapter X around the part about Y", (b) lets the site key the form's pre-composed email to a canonical location, and (c) lets the user self-correct by re-selecting in the TOC before they start typing, rather than discovering a wrong location after they have written the explanation.
### 4. The form appears with the selected location displayed
The selected location is shown at the top of the form for confirmation, but it is not editable from the form itself - to change it, the user returns to the TOC and re-selects. The form has two fields:
- **Explanation of the error** - required, multi-line text.
- **Proposed correction** - optional, multi-line text.
**Rationale - location not editable from the form.** The TOC selection is the single way the location is established. Allowing edits inside the form would create two independent location-entry paths (TOC click and form text field) that could disagree, and would invite free-text locations ("see the footnote near figure 3") that the canonical TOC selection is meant to avoid. The roundtrip back to the TOC is cheap - one click - and the user has not yet written anything, so there is nothing to lose.
**Rationale - explanation required, proposed correction optional.** The explanation answers the only question the report has to answer: what is wrong. Without it the report has no content. The proposed correction is helpful when the user is confident enough to suggest one, but many valid reports come from readers who can identify a problem without knowing how to repair it - a missing definition, a contradictory claim, a broken cross-reference. Making the correction required would suppress those reports.
### 5. Reader clicks Submit
Submit opens the user's default email client with a pre-composed email:
- **To.** `[email protected]`
- **Subject.** `Erratum: [chapter] / [section] / [subsection]` - with the chapter, section, and subsection filled from the TOC selection. Trailing levels that were not selected are omitted from the subject.
- **Body.** Well-structured plain text containing the location (chapter / section / subsection), the explanation, and - if the user provided one - the proposed correction. Labels appear on their own lines so the email is readable in any mail client.
The site MUST NOT transmit the message or any of its contents over the network. The `mailto:` handoff is the entire submission mechanism.
**Rationale - delegated to the user's email client, not POST-ed to a server.** A server endpoint would mean the site has to (a) accept and store reader input, (b) defend that endpoint against spam, abuse, and attempts to plant PII or harmful content in a public-facing system, (c) operate a mail-sending pipeline with deliverability, retries, and bounce handling, and (d) carry a data-retention surface (errata reports as user-submitted content). Routing through the user's own email client produces the same outcome - a structured email arrives at the errata mailbox - while leaving sending, sender identity, and any retained record entirely on the user's side. The site itself remains a static page with no input-handling responsibilities.
### 6. The user reviews the composed email in their client and sends it themselves
The site has no further role. It does not see the message contents and does not retain the submission.
**Rationale.** The user's review step is a free benefit of the `mailto:` design: the user sees exactly what is about to be sent and can edit, add context, or cancel before it leaves their machine. The site's non-retention follows directly from the delegated-submission design and removes any privacy or data-handling responsibility from the site operator.

The full text of gen-errata-flow.md — the procedure for generating an HTML page that renders the errata-submission user flow specified in errata-flow.md (Appendix G) as a Mermaid flowchart. You can download the file from agentic-spec.com/downloads/gen-errata-flow.md.

# Generate Errata Flow Diagram
This file states the procedure for generating an HTML page that renders the `errata-submission` user flow specified in `errata-flow.md` as a Mermaid flowchart.
## Source and Output
- The procedure's single source for the flow is `errata-flow.md`. The procedure MUST derive every step node from that file's six numbered steps and MUST NOT inject any step the source file does not contain.
- The procedure produces a single output file named `errata-flow.html`, placed in the `artifacts/` subfolder. Before the file is written, the output MUST be registered in the File Registry - protocol `generated`, Instructions `gen-errata-flow.md`, Dependencies including `errata-flow.md`.
- The output file MUST NOT be hand-edited. To change the diagram, edit `errata-flow.md`; to change the rendering procedure, edit this file. Either way, rerun the procedure.
## HTML Document
- The output MUST be a single, self-contained HTML document. The page MUST render with no project-local assets - all runtime is either embedded inline or fetched from a public CDN.
- The Mermaid runtime MUST be loaded from the official Mermaid CDN via a `<script>` tag. Inline-bundling the Mermaid source MUST NOT be used; the CDN load is the required mechanism.
- The document MUST initialize Mermaid so the flowchart renders on page load without user interaction.
- The document MUST NOT contain any rationale text from `errata-flow.md`. Only step headline phrases and labels required by the diagram are permitted.
- The document MUST NOT make outbound network requests other than the single Mermaid CDN fetch. No analytics, no tracking pixels, no extra font fetches - the Mermaid CDN call is the only allowed outbound request.
## Mermaid Diagram
- The diagram MUST be a single `flowchart TD` block embedded in the document body.
- Each numbered step in `errata-flow.md` MUST appear as exactly one node. The node label MUST be the step's headline phrase - the text of the `### N. ...` heading minus the leading number and period - and MUST NOT include rationale.
- Sequential steps MUST be connected with default arrows (`-->`) in the order they appear in `errata-flow.md`.
- The branch inside Step 4 between "explanation only" and "explanation + proposed correction" MUST be drawn explicitly. Render it as two labeled arrows from the Step 4 node toward Step 5 (or via an intermediate decision node), with each arrow's label naming the case it represents.
- The handoff from the on-site portion of the flow to the off-site portion (the user's email client) MUST be visually distinguished from the on-site nodes. Use one of:
- A different Mermaid node shape for the email-client step and any subsequent off-site nodes (for example the stadium shape `([...])` for on-site and the cylinder `[(...)]` or subroutine `[[...]]` shape for off-site), with the rest of the diagram using a single consistent on-site shape; or
- A labeled `subgraph` boundary grouping on-site steps under one label and off-site steps under another.
The chosen mechanism MUST be applied consistently across the diagram, and the on-site/off-site distinction MUST be obvious to a reader without further explanation.

The full text of errata-flow.html — a single-page HTML rendering of the errata-submission user flow as a Mermaid diagram, produced by the procedure in gen-errata-flow.md (Appendix H).

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Errata Flow</title>
<script
src="https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js"></script>
</head>
<body>
<pre class="mermaid">
flowchart TD
subgraph onsite["On-site (agentic-spec.com)"]
S1["Reader visits the errata-submission web page"]
S2["The page displays the book's table of contents as an always-visible tree"]
S3["Reader selects the chapter / section / subsection where the erratum is"]
S4["The form appears with the selected location displayed"]
S5["Reader clicks Submit"]
S6["The site shows an editable preview of the email; the user edits inline if
desired and confirms"]
end
subgraph offsite["Off-site (reader's email client)"]
S7["The user reviews the composed email in their client and sends it
themselves"]
end
S1 --> S2
S2 --> S3
S3 --> S4
S4 -->|"explanation only"| S5
S4 -->|"explanation + proposed correction"| S5
S5 --> S6
S6 --> S7
</pre>
<script>
mermaid.initialize({ startOnLoad: true });
</script>
</body>
</html>

The full text of specs/errata-flow.md v2 — the revised source-of-truth specification of the errata-submission user flow for agentic-spec.com, superseding the v1 reproduced in Appendix G. You can download the file from agentic-spec.com/downloads/specs/errata-flow-v2.md.

# Errata Submission User Flow
Source-of-truth specification of the `errata-submission` user flow for `agentic-spec.com`. The flow lets a reader report an error in the book; submission is delegated to the user's default email client rather than transmitted by the site itself.
## Flow
### 1. Reader visits the `errata-submission` web page
A single, named page is the entry point for every errata report. The book's back-matter and any "report an error" prompt elsewhere point at this one URL.
**Rationale.** A single named entry keeps the surface the book has to expose stable and small - one URL the print and digital editions can reference for the life of the title. It also lets all errata-related behavior (navigation, form, submission) live in one place rather than spread across per-chapter pages.
### 2. The page displays the book's table of contents as an always-visible tree
Chapters, sections within each chapter, and subsections within each section render as a tree the user can navigate at any time. The tree is the primary content of the page and remains visible throughout the flow.
**Rationale - TOC, not a per-chapter button.** A per-chapter "report errata in this chapter" button would mean every chapter (and every back-matter listing of chapters) carries its own errata link, multiplying the surfaces the book has to expose and keep in sync as the book is reprinted or revised. A single TOC-driven entry point keeps that responsibility on the site: the book points to one URL, and the site owns navigation to a specific location. The TOC also helps readers who recognize an error but are not sure which chapter, section, or subsection it belongs to - they can browse the structure of the book rather than guess from a list of buttons.
### 3. Reader selects the chapter / section / subsection where the erratum is
The selection becomes the location of the report. The user can drill to whichever level fits the erratum - a chapter-level point stops at the chapter, a paragraph-level point drills into a subsection.
**Rationale.** Forcing the user to pick a location before writing the report (a) gives every report a structurally consistent location field rather than free-text wording like "in chapter X around the part about Y", (b) lets the site key the form's pre-composed email to a canonical location, and (c) lets the user self-correct by re-selecting in the TOC before they start typing, rather than discovering a wrong location after they have written the explanation.
### 4. The form appears with the selected location displayed
The selected location is shown at the top of the form for confirmation, but it is not editable from the form itself - to change it, the user returns to the TOC and re-selects. The form has two fields:
- **Explanation of the error** - required, multi-line text.
- **Proposed correction** - optional, multi-line text.
**Rationale - location not editable from the form.** The TOC selection is the single way the location is established. Allowing edits inside the form would create two independent location-entry paths (TOC click and form text field) that could disagree, and would invite free-text locations ("see the footnote near figure 3") that the canonical TOC selection is meant to avoid. The roundtrip back to the TOC is cheap - one click - and the user has not yet written anything, so there is nothing to lose.
**Rationale - explanation required, proposed correction optional.** The explanation answers the only question the report has to answer: what is wrong. Without it the report has no content. The proposed correction is helpful when the user is confident enough to suggest one, but many valid reports come from readers who can identify a problem without knowing how to repair it - a missing definition, a contradictory claim, a broken cross-reference. Making the correction required would suppress those reports.
### 5. Reader clicks Submit
Submit assembles the email the site will hand off and advances the flow to the on-site preview (Step 6). The assembled message has the following shape:
- **To.** `[email protected]`
- **Subject.** `Erratum: [chapter] / [section] / [subsection]` - with the chapter, section, and subsection filled from the TOC selection. Trailing levels that were not selected are omitted from the subject.
- **Body.** Well-structured plain text containing the location (chapter / section / subsection), the explanation, and - if the user provided one - the proposed correction. Labels appear on their own lines so the email is readable in any mail client.
The site MUST NOT transmit the message or any of its contents over the network at this step or any later step. The `mailto:` handoff at Step 7 is the entire submission mechanism.
**Rationale - delegated to the user's email client, not POST-ed to a server.** A server endpoint would mean the site has to (a) accept and store reader input, (b) defend that endpoint against spam, abuse, and attempts to plant PII or harmful content in a public-facing system, (c) operate a mail-sending pipeline with deliverability, retries, and bounce handling, and (d) carry a data-retention surface (errata reports as user-submitted content). Routing through the user's own email client produces the same outcome - a structured email arrives at the errata mailbox - while leaving sending, sender identity, and any retained record entirely on the user's side. The site itself remains a static page with no input-handling responsibilities.
### 6. The site shows an editable preview of the email; the user edits inline if desired and confirms
The Subject and Body assembled in Step 5 render on the page as inline-editable text. The user may adjust either field - for example, to soften wording, add context the form did not request, or correct a typo in the location text - or leave both unchanged.
When the user is satisfied, they click Confirm, which advances the flow to Step 7. The user may also Cancel from the preview, returning to the form (Step 4) with their original explanation and proposed-correction text intact.
**Rationale - guaranteed on-site review before the email client takes over.** A `mailto:` handoff is unreliable as a review surface. Some email clients open a minimal compose window, some hide the body until the user interacts with the message, and some platforms - mobile in particular - make inline editing of a pre-composed message awkward or impossible. Without an on-site preview, the user has no consistent guarantee that they will see, and be able to edit, the email before it is loaded into a Send-ready form in their client. Showing the preview on the site removes that dependency on email-client behavior: the user always gets a clear, editable view of exactly what will be handed off, regardless of which client they use. Inline editing on the site also prevents edits from being silently dropped by an email client that does not honor the `mailto:` body parameter in full.
### 7. The user reviews the composed email in their client and sends it themselves
On Confirm in Step 6, the site invokes a `mailto:` link encoding the (possibly edited) Subject and Body. The user's default email client opens a compose window pre-filled with that content. The site has no further role: it does not see the message and does not retain the submission.
**Rationale.** With Step 6 already providing an editable preview on the site, the email-client window is no longer the user's only chance to inspect what will be sent - but it remains useful. The client may add a signature block or other content the on-site preview cannot anticipate, and the final Send action stays under the user's control inside their own client. The site's non-retention follows directly from the delegated-submission design and removes any privacy or data-handling responsibility from the site operator.