Commit Graph
11 Commits
Author SHA1 Message Date
Aleksey Shakhmatov 3c44853cde fix(install): gate confluence for every profile and dedup PROFILE selection
- Add 'confluence' (always-enabled, per README) to COMMON_BUNDLED so a
  default install (no PI_KIT_PROFILE / no tty) no longer silently strips
  it from settings.json. The allowlist now covers every skill under skills/.
- Deduplicate PROFILES in profiles_from_text: skip a canonical name already
  present, so 'frontend,1' or 'backend backend' no longer causes a redundant
  'npx skills add' call or a misleading 'Профили: frontend frontend'.
- Ship the multi-profile refactor it builds on: merged profile sets,
  profile_skills()/add_word() helpers, README updates, and the pm-task-spec
  bundled skill.

Validated: bash -n; functional checks for dedup and allowlist coverage.
2026-08-10 12:11:53 +03:00
Aleksey Shakhmatov 0c6e590273 refactor(extensions): simplify lib helpers, tool registration and kit-doctor
Behavior-preserving cleanups:
- extract shared resolveBaseUrl helper for jira/confluence base-URL logic
- extract shared registerTool helper; port jira/gitlab/confluence tools to it
- make scanSecrets declarative (filter/map)
- collapse ok/warn pair into status() and drop double existsSync in kit-doctor

Typecheck clean; npm test 71 PASS, 0 FAIL.
2026-08-07 00:24:04 +03:00
Aleksey Shakhmatov 88eb02e17f docs(skills): document simplify in common public skills 2026-08-06 15:14:26 +03:00
Aleksey Shakhmatov 3570377a88 feat(skills): add simplify (brianlovin/claude-config) to common public skills 2026-08-06 15:14:23 +03:00
Aleksey Shakhmatov c2f45da70c docs(api-tools): document native Jira/Confluence/GitLab tools, drop MCP references 2026-08-06 14:43:23 +03:00
Aleksey Shakhmatov 7804681356 test(api): add unit tests for Jira/Confluence/GitLab helpers, drop obsolete shell test 2026-08-06 14:43:20 +03:00
Aleksey Shakhmatov f802f06930 feat(install): default URLs from company.json, Confluence token setup, token hints 2026-08-06 14:43:17 +03:00
Aleksey Shakhmatov 8b273c9a72 feat(api-tools): native TS tools for Jira/Confluence/GitLab, drop MCP bridge 2026-08-06 14:43:10 +03:00
Aleksey Shakhmatov 035bededb0 feat(uninstall): one-command full uninstall with confirmation
- uninstall.sh: removes pi-kit from settings.json (string + gated object
  entries), the package clone, kit-installed public skills, ~/.config/pi-kit
  (env.sh with tokens, audit.jsonl) and the shell-rc sourcing block
- confirmation prompt by default; PI_KIT_UNINSTALL=1 for non-interactive,
  PI_KIT_KEEP_CONFIG=1 / PI_KIT_KEEP_SKILLS=1 to retain parts
- works without the pi binary (settings edited directly); notes how to
  remove pi itself
- tests: test/uninstall.test.sh against a throwaway $HOME (14 checks:
  full/partial removal, refusal without flag, idempotent re-run), wired
  into npm test
2026-08-06 11:45:50 +03:00
Aleksey Shakhmatov 7b25f0eea1 docs(readme): reflect review fixes — profile-neutral /review, <lang>-standards, /mcp-status, TODO-warnings, test layout 2026-08-06 11:41:22 +03:00
Aleksey Shakhmatov c068dfae0c 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)
2026-08-06 11:22:53 +03:00