This commit is contained in:
2026-04-24 17:10:02 +03:00
parent 55d9d26c28
commit 064ffea330
35 changed files with 5541 additions and 5446 deletions

View File

@@ -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