Files
teamai-cli/examples
Jiahe GengandClaude Opus 4.8 f2739caeb2 refactor(codebase): remove domains subsystem, drift command, and legacy aggregate (#225)
Fully migrate team knowledge to teamwiki and drop the deprecated
docs/team-codebase pipeline. The domains.yaml assignment, domain
aggregation, and legacy codebase-lint paths are no longer produced or
consumed by the real knowledge base.

Removed:
- src/domains/ (schema, store, cluster, recommend, review, index)
- src/aggregate.ts (regenerateAggregate -> docs/team-codebase)
- src/drift-cmd.ts and the hidden `teamai domains drift` command
- src/codebase-lint.ts (legacy docs/team-codebase lint; teamwiki lint stays)
- examples/ci/*-teamai-sync.{yml,yaml} (add-empty sync templates)

Cleaned up:
- import-repo/import-repo-list/import-org: drop dead domain functions,
  loadDomains/saveDomains/recommendDomain imports, step-5 aggregate,
  --skip-aggregate, and the unused --bootstrap flag
- review-cmd/pull: drop appendHistory calls and domains.yaml sync block
- codebase-cmd: --lint now only runs the teamwiki knowledge-graph lint
- examples/ci: README + codebase-lint.yml point at teamwiki/

codebase summaries and the knowledge graph continue to be produced under
teamwiki/ via import-repo -> extractCodebase + aggregateGlobalGraph +
deepEnrich, unchanged.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 17:48:40 +08:00
..