Skip to content

chore: decommission teamai-wiki skill and wiki/ resource type - #90

Merged
jeff-r2026 merged 1 commit into
mainfrom
decommission-teamai-wiki-issue89
Jul 1, 2026
Merged

chore: decommission teamai-wiki skill and wiki/ resource type#90
jeff-r2026 merged 1 commit into
mainfrom
decommission-teamai-wiki-issue89

Conversation

@jeff-r2026

Copy link
Copy Markdown
Collaborator

Summary

  • Removes the teamai-wiki skill, WikiHandler, and the wiki resource type end-to-end — it was write-only: /teamai-wiki ingest output is never surfaced by teamai recall (the index never covered wiki/), and it has zero README coverage.
  • Deletes src/resources/wiki.ts, skills/teamai-wiki/SKILL.md, and drops wiki from ResourceType/RESOURCE_TYPES, BUILTIN_SKILL_NAMES, REMOVABLE_TYPES, push/pull resource lists, the pull-time wiki tombstone cleanup, the push "sweeper" dir list, and the orphaned per-tool toolPaths.*.wiki schema field/defaults (nothing read that field).
  • Removes isWikiEnabled() / TEAMAI_WIKI_DISABLED / TEAMAI_WIKI_ENABLED entirely, which also resolves the half-wired kill-switch bug noted in the issue (the flag only skipped skill deployment; push/pull kept syncing wiki/ regardless).
  • team-wiki-codebase / teamwiki/ (the code-graph wiki that recall does index) is untouched — this only removes system A per the issue's two-system comparison table.

Test plan

  • npx tsc --noEmit — clean
  • npx vitest run — 125 files, 1642 passed / 4 skipped, 0 failed
  • npm run build (tsup) — success; confirmed no WikiHandler leaked into dist/ (no dynamic-import tree-shaking gap)
  • tclaude-tcodex.test.ts updated to drop the removed wiki: path assertion
  • wiki-bugfix.test.ts's wiki-specific regressions (BUG docs: fix README blockquote spacing #3/docs: split tagline and description into separate paragraphs #4, tied to the deleted WikiHandler) removed; its still-relevant generic case (BUG sync: v0.16.3 from internal #1, filterExistingTopLevelPaths, still used by push/remove) migrated to src/__tests__/push-path-filter.test.ts with wiki-free fixtures

Closes #89

🤖 Generated with Claude Code

teamai-wiki (WikiHandler + wiki/ resource type) is disconnected from the
recall main chain — /teamai-wiki ingest output is never surfaced by
`teamai recall`, and it has no README coverage. The push/pull code already
carried a comment saying wiki routing is handled by an external plugin, and
TEAMAI_WIKI_DISABLED only skipped skill deployment while push/pull kept
syncing wiki/ unconditionally (half-wired kill switch). Remove the skill,
handler, and all resource-lifecycle wiring instead of patching the switch.

team-wiki-codebase / teamwiki/ (the code-graph wiki that recall does index)
is untouched.

Closes #89

Co-Authored-By: Claude <noreply@anthropic.com>
@jeff-r2026
jeff-r2026 merged commit 78ab4d9 into main Jul 1, 2026
7 checks passed
@jeff-r2026
jeff-r2026 deleted the decommission-teamai-wiki-issue89 branch July 2, 2026 08:03
@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.

[chore] teamai-wiki skill 及 wiki/ 资源脱离 recall 主链路,评估下线或接入索引

1 participant