NaCl BA Glossary For Codex
Maintain a graph-backed glossary for BA terminology. Glossary artifacts remain
Russian by default unless the user explicitly requests another supported output
language.
Read ../nacl-core/SKILL.md, ../references/migration-rules.md,
../references/verification-vocabulary.md, and
../references/ba-codex-contract.md before executing the workflow.
Mandatory Graph Execution Contract
This is a graph writer. Apply the BA graph writer contract before glossary
writes: resolve configuration, inspect schema/query references, check graph
tooling, count existing GlossaryTerm records, load candidate source nodes, and
show the term, definition, alias, and source-link plan. If graph tools or source
nodes are missing, report BLOCKED.
Full rebuild is destructive and requires explicit confirmation before deleting
or replacing existing terms. After writes, read back term counts, DEFINES
links, ALIAS_OF links, and coverage evidence.
Operating Forms
| Form | Purpose |
|---|---|
| full | Scan all named BA nodes and rebuild glossary terms after confirmation. |
| incremental | Add terms for BA nodes that are not yet defined. |
Workflow
- Check graph availability and count existing
GlossaryTermnodes. - For
full, warn about replacing existing terms and stop for confirmation. - Collect candidates from
BusinessEntity,BusinessRole,BusinessProcess,
WorkflowStep, and BusinessRule nodes.
- Present candidates grouped by source type and ask the user to confirm
exclusions and additions.
- For each confirmed term, propose a definition from graph context when
possible; otherwise ask the user.
- Identify possible aliases, propose canonical terms, and ask for confirmation.
- Write confirmed
GlossaryTerm,DEFINES, andALIAS_OFgraph data when
graph write tools are available.
- Verify by graph read and report counts.
The source phase order is mandatory: collection, definition, deduplication and
alias confirmation, linking, verification.
Definition Rules
- Definitions are one or two sentences and understandable without hidden
context.
- Do not define by negation.
- Avoid circular definitions.
- Record the source graph ID for each term whenever available.
- SA terminology may be referenced only as an alignment hint; BA definitions
remain grounded in BA graph context and user input.
GlossaryTermnodes link to BA nodes throughDEFINES; aliases use
ALIAS_OF and require user confirmation.
Capabilities
May Do
- Scan graph nodes for term candidates.
- Propose definitions from descriptions, attributes, triggers, results, and
responsibilities already present in the graph.
- Ask the user to confirm definitions and aliases.
- Write confirmed glossary terms and relationships when graph write tools are
available.
- Report glossary coverage and unresolved terms.
Must Not Do
- Invent meanings absent from graph context or user input.
- Delete or replace existing glossary terms without explicit confirmation.
- Treat aliases as confirmed without user approval.
- Modify project files.
- Claim glossary coverage without graph read evidence.
Conditional Tools And Actions
- Candidate collection requires graph read tools.
- Full rebuild requires graph write tools and explicit confirmation.
- Incremental linking requires existing source nodes in the graph.
- Verification requires graph read tools after writes.
Blocked Or Unverified Reporting
- Use
BLOCKEDwhen graph tooling, source nodes, or required confirmation is
unavailable.
- Use
PARTIALLY_VERIFIEDwhen writes complete but some coverage checks cannot
run.
- Use
UNVERIFIEDwhen definitions cannot be checked against graph context. - Use
FAILEDwith a reason when read-back verification contradicts confirmed
glossary changes.
Source Comparison
- Source Claude skill path:
../../nacl-ba-glossary/SKILL.md
Preserved Methodology
- Graph-sourced term collection.
- Interactive definition and alias confirmation.
GlossaryTerm,DEFINES, andALIAS_OFgraph semantics.- Full and incremental forms.
Removed Claude Mechanics
- Non-Codex frontmatter fields.
- Assumed graph tool names as guaranteed execution capability.
- Platform-specific execution wording.
- Unconditional destructive rebuild behavior.
Codex Replacement Behavior
- Require confirmation before full replacement.
- Treat graph reads and writes as conditional.
- Use closed verification statuses for skipped or partial evidence.
- Keep slash command text as compatibility trigger text.