SPaDE

Synthetic Philosophy and Deductive Engineering

View the Project on GitHub rbjones/SPaDE

Task Description for Implementation of Glossary Automation Scripts

Purpose and Scope

The purpose of this task is to implement the automation scripts required to support the incremental glossary procedures defined in amtd002.md (glossary linking) and amtd003.md (glossary augmentation).

The scope includes creating new scripts and enhancing existing scripts in the docs/admin/ directory to enable automated, incremental glossary maintenance.

Background

The glossary procedures have been defined and documented:

These procedures require automation support that does not yet exist or needs enhancement in the current tooling.

Required Scripts

Scripts must follow project naming conventions (subsystem am + document kind cd + number).

1. Create: amcd002.py

Purpose: Parse the glossary file to dynamically extract all terms and their anchor links.

Requirements (per amtd002.md):

2. Enhance: amcd001.py

Purpose: Extend existing glossary linking script to support incremental operation.

Current State: Works for full reviews with hard-coded term list.

Required Enhancements (per amtd002.md):

3. Create: amcd003.py

Purpose: Identify potential terms for glossary augmentation.

Requirements (per amtd003.md and amms007.md):

Deliverables

  1. New script: docs/admin/amcd002.py (glossary term extraction)
  2. Enhanced script: docs/admin/amcd001.py with incremental capabilities
  3. New script: docs/admin/amcd003.py (candidate term discovery)
  4. Updated: docs/admin/README.md to include new scripts in appropriate section
  5. Testing: Verification that scripts work correctly with the procedures in amtd002.md and amtd003.md

Success Criteria

Scripts are complete when: