User Story
As a software developer,
I want to correct the XML tag typo in prompts.py
so that downstream systems can parse templates without failures.
Background
The malformed closing </nodes> tag in prompts.py violates XML syntax rules, specifically in the SYSTEM_PROMPT template. This error occurs in the final line of the prompt definition where <nodes> is incorrectly closed. Current unit tests in test_eknowledge.py validate node extraction logic but don't check XML structural integrity, leaving risk undetected. Downstream systems relying on well-formed XML (e.g., ontology visualizers) would fail to process outputs containing this error.
Acceptance Criteria
User Story
As a software developer,
I want to correct the XML tag typo in
prompts.pyso that downstream systems can parse templates without failures.
Background
The malformed closing
</nodes>tag inprompts.pyviolates XML syntax rules, specifically in theSYSTEM_PROMPTtemplate. This error occurs in the final line of the prompt definition where<nodes>is incorrectly closed. Current unit tests intest_eknowledge.pyvalidate node extraction logic but don't check XML structural integrity, leaving risk undetected. Downstream systems relying on well-formed XML (e.g., ontology visualizers) would fail to process outputs containing this error.Acceptance Criteria
eknowledge/prompts.pyto replace</nodes>with</node>in theSYSTEM_PROMPTtemplatetest_eknowledge.py:SYSTEM_PROMPTduring test setupxml.etree.ElementTreeto parse the template and confirm well-formednessSYSTEM_PROMPT