semantic update
This commit is contained in:
@@ -130,7 +130,8 @@ class SemanticEntity:
|
||||
self.compliance_issues.append(f"Missing Mandatory Tag: @{req_tag}")
|
||||
|
||||
# 3. Check for Belief State Logging (Python only)
|
||||
if self.type == "Function" and self.file_path.endswith(".py"):
|
||||
# Skip check for logger.py to avoid circular dependencies
|
||||
if self.type == "Function" and self.file_path.endswith(".py") and "backend/src/core/logger.py" not in self.file_path:
|
||||
if not getattr(self, 'has_belief_scope', False):
|
||||
self.compliance_issues.append("Missing Belief State Logging: Function should use belief_scope context manager.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user