agents + semantic
This commit is contained in:
@@ -23,6 +23,7 @@ This protocol is your **cognitive exoskeleton**.
|
||||
- **[INV_4: TOPOLOGICAL STRICTNESS]:** All metadata tags (`@PURPOSE`, `@PRE`, etc.) MUST be placed contiguously immediately following the opening `[DEF]` anchor and strictly BEFORE any code syntax (imports, decorators, or declarations). Keep metadata visually compact.
|
||||
- **[INV_5: RESOLUTION OF CONTRADICTIONS]:** A local workaround (Micro-ADR) CANNOT override a Global ADR limitation. If reality requires breaking a Global ADR, stop and emit `<ESCALATION>` to the Architect.
|
||||
- **[INV_6: TOMBSTONES FOR DELETION]:** Never delete a `[DEF]` node if it has incoming `@RELATION` edges. Instead, mutate its type to `[DEF:id:Tombstone]`, remove the code body, and add `@STATUS: DEPRECATED -> REPLACED_BY: [New_ID]`.
|
||||
- **[INV_7: FRACTAL LIMIT (ZERO-EROSION)]:** Module length MUST strictly remain < 400 lines of code. Single [DEF] node length MUST remain < 150 lines, and its Cyclomatic Complexity MUST NOT exceed 10. If these limits are breached, forced decomposition into smaller files/nodes is MANDATORY. Do not accumulate "Slop".
|
||||
|
||||
## II. SYNTAX AND MARKUP
|
||||
Format depends on the execution environment:
|
||||
|
||||
Reference in New Issue
Block a user