fix(review): address review findings (guardrails, prompts, tests, docs)
- permission-gate: block refs/tags/v* pushes, rm -r -f separated flags, git reset --hard, git clean (verified against actual bypasses) - prompts: /bugfix /feature /review no longer hardcode go-standards — reference profile-gated <lang>-standards instead - company-context: drop hardcoded Go stack, note TRACKER_URL priority, warn on context truncation instead of silently dropping rules - repo-map/docs-map: graceful degradation when config values are TODO - /kit-doctor: warn on unfilled config fields (repoMap/trackerUrl/docsUrl) - audit: retry POSTs to endpoint (3 attempts, backoff), still best-effort - install.sh: remove TODO course URL from cheat sheet - tests: expand guardrails (43 node checks), add shell tests for create-mr.sh (scp/https origin parse, GITLAB_HOST override, protected branch refusal), cover company-context lib (normalize/fetch/truncation) and mcp-bridge - commit package-lock.json for reproducible installs - document npm test Node >= 22.6 requirement (type stripping)
This commit is contained in:
+3
-2
@@ -15,8 +15,9 @@
|
||||
## Как выпустить релиз
|
||||
|
||||
1. Собрать изменения в `main` через MR с ревью (правило репозитория).
|
||||
2. Прогнать проверки: `npm test` (guardrails), `npm run typecheck` (при наличии peer-типов),
|
||||
`pi install ./` + `/kit-doctor`.
|
||||
2. Прогнать проверки: `npm test` (guardrails + shell-скрипты; нужен Node ≥ 22.6),
|
||||
`npm run typecheck` (при наличии peer-типов), `pi install ./` + `/kit-doctor`
|
||||
(должно быть без предупреждений о TODO-значениях конфига).
|
||||
3. Обновить версию в `package.json` и запись в `CHANGELOG.md` (раздел из `Unreleased`).
|
||||
4. Поставить тег на нужный коммит `main`:
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user