|
34 | 34 | <!ATTLIST toc-item level CDATA #IMPLIED> |
35 | 35 |
|
36 | 36 | <!-- Content sections (the main body) --> |
37 | | -<!ELEMENT content-sections (rule-section | question-section | template-section | workflow-section | instruction-section | example-section | reference-section)*> |
| 37 | +<!ELEMENT content-sections (rule-section | question-section | template-section | workflow-section | instruction-section | output-requirements-section | example-section | reference-section)*> |
38 | 38 |
|
39 | 39 | <!-- Rule section with guidelines --> |
40 | 40 | <!ELEMENT rule-section (rule-header, rule-description, code-examples?)> |
|
108 | 108 | <!ELEMENT validation (validation-criteria*)> |
109 | 109 | <!ELEMENT validation-criteria (#PCDATA)> |
110 | 110 |
|
111 | | -<!-- Instruction section for AI behavior --> |
112 | | -<!ELEMENT instruction-section (instruction-header, instruction-description?, instruction-rules?, restrictions?)> |
| 111 | +<!-- Simplified Instruction section for AI behavior - supports both complex and simple structures --> |
| 112 | +<!ELEMENT instruction-section ((instruction-header, instruction-description?, instruction-rules?, restrictions?) | (instruction-title, instruction-description?, instruction-rules?, restrictions?))> |
113 | 113 | <!ELEMENT instruction-header (instruction-title, instruction-subtitle?)> |
114 | 114 | <!ELEMENT instruction-title (#PCDATA)> |
115 | 115 | <!ELEMENT instruction-subtitle (#PCDATA)> |
|
129 | 129 | type (mandatory | optional | conditional) #IMPLIED |
130 | 130 | priority (high | medium | low) #IMPLIED> |
131 | 131 |
|
| 132 | +<!-- Simplified Output requirements section - supports both complex and simple structures --> |
| 133 | +<!ELEMENT output-requirements-section ((output-requirements-header, output-requirements-description?, output-requirements-rules?) | (output-requirements-title, output-requirements-description?, output-requirements-rules?))> |
| 134 | +<!ELEMENT output-requirements-header (output-requirements-title, output-requirements-subtitle?)> |
| 135 | +<!ELEMENT output-requirements-title (#PCDATA)> |
| 136 | +<!ELEMENT output-requirements-subtitle (#PCDATA)> |
| 137 | +<!ELEMENT output-requirements-description (#PCDATA | emphasis | code-inline)*> |
| 138 | +<!ELEMENT output-requirements-rules (output-requirements-rule*)> |
| 139 | +<!ELEMENT output-requirements-rule (#PCDATA | emphasis | code-inline)*> |
| 140 | +<!ATTLIST output-requirements-rule |
| 141 | + type (mandatory | optional | conditional) #IMPLIED |
| 142 | + priority (high | medium | low) #IMPLIED> |
| 143 | + |
132 | 144 | <!-- Example section --> |
133 | 145 | <!ELEMENT example-section (example-header, example-description?, example-content)> |
134 | 146 | <!ATTLIST example-section type CDATA #IMPLIED> |
|
0 commit comments