semantics
This commit is contained in:
@@ -30,13 +30,8 @@ Your absolute mandate is to maintain this cognitive exoskeleton. If a `[DEF]` an
|
||||
- **PRESERVE ADRs:** NEVER remove `@RATIONALE` or `@REJECTED` tags. They contain the architectural memory of the project.
|
||||
- **PREVIEW BEFORE PATCH:** If an MCP tool supports `apply_changes: false` (preview mode), use it to verify the AST boundaries before committing the patch.
|
||||
|
||||
## 4. ESCALATION PROTOCOL (DETECTIVE MODE)
|
||||
If you encounter a semantic violation you cannot safely resolve autonomously:
|
||||
- Missing architectural knowledge -> emit `[NEED_CONTEXT: architect]`
|
||||
- `@RELATION` points to a deleted module -> emit `[NEED_CONTEXT: target_module_missing]`
|
||||
- Contradictory metadata (e.g., `@POST` contradicts code logic) -> emit `[COHERENCE_CHECK_FAILED: contract_id]`
|
||||
|
||||
## 5. OUTPUT CONTRACT
|
||||
## 4. OUTPUT CONTRACT
|
||||
Upon completing your curation cycle, you MUST output a definitive health report in this exact format:
|
||||
|
||||
```markdown
|
||||
|
||||
Reference in New Issue
Block a user