refactor
This commit is contained in:
@@ -15,16 +15,15 @@
|
||||
indexing:
|
||||
# If empty, indexes the entire workspace (default behavior).
|
||||
# If specified, only these directories are scanned for contracts.
|
||||
include:
|
||||
- "backend/src/"
|
||||
- "frontend/src/"
|
||||
# include:
|
||||
# - "src/"
|
||||
# - "tests/"
|
||||
|
||||
# Excluded paths/patterns applied on top of include (or full workspace).
|
||||
# Supports directory names and glob patterns.
|
||||
exclude:
|
||||
# Directories
|
||||
- "specs/"
|
||||
#- "specs/"
|
||||
- ".ai/"
|
||||
- ".git/"
|
||||
- ".venv/"
|
||||
@@ -35,7 +34,7 @@ indexing:
|
||||
- ".ruff_cache/"
|
||||
- ".axiom/"
|
||||
# File patterns
|
||||
- "*.md"
|
||||
#- "*.md"
|
||||
- "*.txt"
|
||||
- "*.log"
|
||||
- "*.yaml"
|
||||
@@ -88,12 +87,14 @@ tags:
|
||||
- IMPLEMENTS
|
||||
- DISPATCHES
|
||||
- BINDS_TO
|
||||
min_complexity: 3
|
||||
- VERIFIES # Добавлено для тестов
|
||||
# min_complexity: 3 <-- УБРАНО! RELATION может быть в ADR (C1-C5) или Тестах (C1-C2)
|
||||
contract_types:
|
||||
- Module
|
||||
- Function
|
||||
- Class
|
||||
- Component
|
||||
- ADR # Добавлено! ADR обязан линковаться
|
||||
|
||||
LAYER:
|
||||
type: string
|
||||
@@ -193,8 +194,8 @@ tags:
|
||||
RATIONALE:
|
||||
type: string
|
||||
multiline: true
|
||||
protected: true
|
||||
description: "Почему выбран этот путь, какое ограничение/цель защищается"
|
||||
protected: true
|
||||
contract_types:
|
||||
- Module
|
||||
- Function
|
||||
@@ -204,8 +205,8 @@ tags:
|
||||
REJECTED:
|
||||
type: string
|
||||
multiline: true
|
||||
protected: true
|
||||
description: "Какой путь запрещен и какой риск делает его недопустимым"
|
||||
protected: true
|
||||
contract_types:
|
||||
- Module
|
||||
- Function
|
||||
@@ -285,3 +286,11 @@ tags:
|
||||
- Function
|
||||
- Class
|
||||
- Component
|
||||
|
||||
STATUS:
|
||||
type: string
|
||||
description: "Статус жизненного цикла узла (например, DEPRECATED -> REPLACED_BY: [ID])"
|
||||
contract_types:
|
||||
- Tombstone
|
||||
- Module
|
||||
- ADR
|
||||
Reference in New Issue
Block a user