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:
Aleksey Shakhmatov
2026-08-06 11:22:53 +03:00
parent 1df4ea1b72
commit c068dfae0c
21 changed files with 4970 additions and 131 deletions
+3 -2
View File
@@ -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