Skip to content

fix(import): confine teamwiki and docs/team-codebase to .teamai/ directory#74

Merged
jeff-r2026 merged 2 commits into
Tencent:mainfrom
m0Nst3r873:fix/confine-knowledge-to-teamai-dir
Jun 30, 2026
Merged

fix(import): confine teamwiki and docs/team-codebase to .teamai/ directory#74
jeff-r2026 merged 2 commits into
Tencent:mainfrom
m0Nst3r873:fix/confine-knowledge-to-teamai-dir

Conversation

@m0Nst3r873

Copy link
Copy Markdown
Contributor

Summary

  • Remove teamwiki/ copy-to-project-root during teamai pull
  • Change import --from-repo default output from <cwd>/docs/team-codebase/ to .teamai/team-repo/docs/team-codebase/
  • Update recall, codebase-cmd, and codebase-wiki-lint to read from .teamai/team-repo/ path
  • Fix flaky auto-recall tests caused by project config leaking into test environment

Test plan

  • npx tsc --noEmit passes
  • npm run build passes
  • npx vitest run — 117 files, 1587 tests all green
  • E2E: teamai import --from-repo writes to .teamai/team-repo/ not cwd
  • E2E: teamai pull no longer creates teamwiki/ in project root

…ctory

Previously, `teamai pull` copied teamwiki/ into the project root and
`teamai import --from-repo` wrote docs/team-codebase/ into cwd. This
polluted the user's working directory with teamai-managed artifacts.

Now all knowledge artifacts stay inside .teamai/team-repo/:
- Remove teamwiki/ copy-to-cwd in pull
- Default import output to team-repo/docs/team-codebase/
- Update recall, codebase-cmd, and lint to read from team-repo path
- Fix auto-recall tests that relied on real project config leaking in

--story=0
@m0Nst3r873 m0Nst3r873 force-pushed the fix/confine-knowledge-to-teamai-dir branch from 0e0b994 to 185ca49 Compare June 30, 2026 08:38
@m0Nst3r873 m0Nst3r873 force-pushed the fix/confine-knowledge-to-teamai-dir branch from 2e259e3 to b6602d8 Compare June 30, 2026 09:30
@jeff-r2026 jeff-r2026 merged commit 806bf80 into Tencent:main Jun 30, 2026
7 checks passed
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.

2 participants