Initial commit: company-kb framework

- 完整的知识库框架(P0-P5 路线图)
- 12篇治理文档
- 工具脚本(kb-init.sh, kb-lint-fm.py, feishu-sync.py, kb-bot)
- 7个 Claude 命令
- 示例项目和测试项目(wanniu-l1)
- 契约文件(meta/kb-contract.yaml)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
yangqianqian
2026-07-16 18:24:39 +08:00
commit 84f7950589
60 changed files with 4410 additions and 0 deletions

34
.gitignore vendored Executable file
View File

@@ -0,0 +1,34 @@
# ── Obsidian 本地配置(插件清单共享在 docs/obsidian-setup.md──
.obsidian/
.trash/
# ── 编译产物gitignore本地按需由 CC 重建(消除并发合并冲突)──
# 全库导航非 _index.md 部分P4 起才由单一执行者生成
hot.md
log.md
index.md
wiki/
# ── 飞书凭据 / 环境变量(绝不入库)──
.env
.env.*
!.env.example
# ── 大附件 / 二进制assets 里体积大的按需忽略;小附件可入库)──
*.mp4
*.mov
*.zip
*.pdf.large
# ── Python / 工具运行时 ──
__pycache__/
*.pyc
.venv/
venv/
# ── OS ──
.DS_Store
# kb-bot 运行时产物(长连接事件、已处理台账)
tools/kb-bot/events/
tools/kb-bot/.seen-msg-ids