Skip to content

fix(recall): skip recall-dependent built-in skills when recall is disabled - #135

Merged
jeff-r2026 merged 4 commits into
mainfrom
fix/recall-skip-builtin-skills
Jul 3, 2026
Merged

fix(recall): skip recall-dependent built-in skills when recall is disabled#135
jeff-r2026 merged 4 commits into
mainfrom
fix/recall-skip-builtin-skills

Conversation

@jeff-r2026

Copy link
Copy Markdown
Collaborator

Summary

  • When teamai recall disable is run, the built-in skills (team-wiki-codebase, teamai-share-learnings) that depend on recall are now also skipped/removed — matching existing behavior for recall rules and agents.
  • teamai recall enable re-deploys them.
  • teamai pull respects the recallEnabled config for skill deployment.

Changes

  • src/builtin-skills.ts: Added RECALL_DEPENDENT_SKILLS set and skipRecall option to deployBuiltinSkills()
  • src/pull.ts: Pass skipRecall to deployBuiltinSkills() in both call sites
  • src/recall-toggle.ts: Remove recall skills on disable, re-deploy on enable

Test plan

  • Run teamai recall disable → verify team-wiki-codebase and teamai-share-learnings are removed from ~/.claude/skills/
  • Run teamai pull with recall disabled → verify those skills are NOT deployed
  • Run teamai recall enable → verify those skills are re-deployed
  • npx tsc --noEmit passes (no new type errors)
  • npx vitest run passes (no new test failures)

🤖 Generated with Claude Code

jeff-r2026 and others added 4 commits July 3, 2026 13:02
…abled

When `teamai recall disable` is run, the built-in skills (team-wiki-codebase,
teamai-share-learnings) that depend on recall should not be deployed — matching
existing behavior for recall rules and agents.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ission

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When `hooks inject` or `hooks remove` is called explicitly, skip the
tool-root existence check so hooks are injected even if the tool
directory doesn't exist yet (reconcileHooks already creates it via
ensureDir). This fixes the E2E test failures on clean environments.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jeff-r2026
jeff-r2026 merged commit 684da56 into main Jul 3, 2026
7 checks passed
@jeff-r2026
jeff-r2026 deleted the fix/recall-skip-builtin-skills branch July 3, 2026 05:23
@hsuchifeng hsuchifeng mentioned this pull request Jul 3, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant