diff --git a/AGENTS.md b/AGENTS.md index 696ac7d..95b72ae 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,7 +4,8 @@ Для обычной разработки не создавай и не обновляй planning artifacts ради процесса. До edits найди/создай подходящую Gitea Issue, проверь AC и ветку; чтение допускается без Issue. Выбор lightweight/SDD — по -[Engineering Workflow](https://git.personal.ksv741.ru/WealthLedger/main/src/branch/develop/.ai/conventions/engineering-workflow.md); +[Engineering Workflow](https://git.personal.ksv741.ru/WealthLedger/main/src/commit/59e0831ad28d6990416e651f55d783b8d2ac98c2/.ai/conventions/engineering-workflow.md) +(main#28; после merge — актуальная версия `develop`); OpenSpec lifecycle начинается только после явного решения Change Owner. Если нужна существующая behavioral spec, выбери точный target через diff --git a/commitlint.config.cjs b/commitlint.config.cjs index 2a6c08b..512700c 100644 --- a/commitlint.config.cjs +++ b/commitlint.config.cjs @@ -1,6 +1,10 @@ module.exports = { extends: ["@commitlint/config-conventional"], - ignores: [(message) => /^chore\(release\): \d+\.\d+\.\d+/.test(message)], + defaultIgnores: false, + ignores: [ + message => /^chore\(release\): \d+\.\d+\.\d+$/.test(message.trim()), + message => /^Merge pull request ['"].+['"] \(#\d+\) from .+ into .+$/.test(message.trim()), + ], rules: { "type-enum": [2, "always", ["feat", "fix", "perf", "docs", "spec", "refactor", "build", "ci", "test", "style", "chore", "revert"]], "references-empty": [2, "never"],