phase 6 part 1: eight cross-stack enterprise scenarios and scenarios index

This commit is contained in:
Shikui Wang committed 2026-10-23 16:52:30 +08:00
1 parent 691f738f5f
commit 5b1a7a430f
12 files changed
+1145 -12

No files matched your search

+416 -1
View File
@@ -4097,7 +4097,9 @@
"backend.mongodb.document-model"
],
"related": [
"backend.mongodb.interview"
"backend.mongodb.interview",
"scenario.data-sync",
"scenario.customer-service-kb"
],
"est_hours": 2,
"week": [
@@ -9191,6 +9193,419 @@
"path": "research/index.md",
"sections": []
},
{
"id": "scenario.approval-human-in-loop",
"title": "审批流 + 人工介入的 Agent:高风险操作暂停审批、断点续跑、超时和幂等执行",
"type": "scenario",
"domain": "cross",
"stack": [
"langgraph",
"function-calling",
"postgresql",
"redis",
"fastapi",
"vue"
],
"tags": [
"人机协作",
"interrupt",
"检查点",
"审批",
"幂等",
"超时",
"审计"
],
"level": "advanced",
"prerequisites": [
"ai.langgraph.index",
"ai.function-calling.index"
],
"related": [
"ai.langgraph.scenario.refund-approval",
"ai.function-calling.scenario.safe-business-tools",
"ai.agent-design.index"
],
"est_hours": 3,
"week": [
11,
12
],
"order": null,
"path": "scenarios/approval-human-in-loop.md",
"sections": [
"业务背景与问题",
"约束",
"方案设计",
"关键代码",
"取舍",
"易错点",
"面试怎么讲"
]
},
{
"id": "scenario.content-moderation",
"title": "内容审核:规则 + 模型的分层审核、异步流水线、人工复审、申诉和效果度量",
"type": "scenario",
"domain": "cross",
"stack": [
"mq",
"redis",
"postgresql",
"prompt-engineering",
"agent-ops",
"fastapi",
"react"
],
"tags": [
"内容审核",
"分层过滤",
"敏感词",
"大模型审核",
"人工复审",
"异步",
"召回率",
"误杀率"
],
"level": "intermediate",
"prerequisites": [
"backend.mq.index",
"ai.prompt-engineering.index"
],
"related": [
"ai.prompt-engineering.scenario.injection-defense",
"ai.agent-ops.scenario.agent-quality-gate",
"backend.mq.reliability"
],
"est_hours": 2.5,
"week": [
13,
14
],
"order": null,
"path": "scenarios/content-moderation.md",
"sections": [
"业务背景与问题",
"约束",
"方案设计",
"关键代码",
"取舍",
"易错点",
"面试怎么讲"
]
},
{
"id": "scenario.customer-service-kb",
"title": "客服知识库问答:从文档接入到带引用的流式回答、权限、评测和转人工",
"type": "scenario",
"domain": "cross",
"stack": [
"rag",
"vector-db",
"elasticsearch",
"fastapi",
"vue",
"redis",
"data-pipeline",
"agent-ops"
],
"tags": [
"RAG",
"混合检索",
"权限",
"流式输出",
"评测",
"转人工",
"引用"
],
"level": "intermediate",
"prerequisites": [
"ai.rag.index",
"python.fastapi.index"
],
"related": [
"ai.rag.scenario.permission-aware-kb",
"backend.elasticsearch.scenario.kb-search-sync",
"frontend.vue.scenario.ai-chat-stream",
"ai.agent-ops.scenario.agent-quality-gate"
],
"est_hours": 3,
"week": [
5,
6,
13,
15
],
"order": null,
"path": "scenarios/customer-service-kb.md",
"sections": [
"业务背景与问题",
"约束",
"方案设计",
"关键代码",
"取舍",
"易错点",
"面试怎么讲"
]
},
{
"id": "scenario.data-sync",
"title": "数据同步:业务库到搜索引擎 / 向量库 / 报表库,outbox 与 CDC、幂等、顺序、对账和重建",
"type": "scenario",
"domain": "cross",
"stack": [
"data-pipeline",
"postgresql",
"mongodb",
"elasticsearch",
"vector-db",
"mq"
],
"tags": [
"数据同步",
"outbox",
"CDC",
"变更流",
"幂等",
"顺序",
"对账",
"全量重建"
],
"level": "advanced",
"prerequisites": [
"backend.data-pipeline.index",
"backend.mq.index"
],
"related": [
"backend.elasticsearch.scenario.kb-search-sync",
"backend.data-pipeline.scenario.third-party-sync",
"backend.mongodb.scenario.conversation-store",
"backend.mq.reliability"
],
"est_hours": 3,
"week": [
6,
14
],
"order": null,
"path": "scenarios/data-sync.md",
"sections": [
"业务背景与问题",
"约束",
"方案设计",
"关键代码",
"取舍",
"易错点",
"面试怎么讲"
]
},
{
"id": "scenario.flash-sale",
"title": "秒杀 / 高并发抢购:流量削峰、Redis 原子扣库存、异步下单、防超卖和防刷",
"type": "scenario",
"domain": "cross",
"stack": [
"redis",
"mq",
"postgresql",
"gin",
"nginx",
"vue"
],
"tags": [
"秒杀",
"高并发",
"库存",
"Lua",
"削峰",
"异步下单",
"幂等",
"限流",
"防刷"
],
"level": "advanced",
"prerequisites": [
"backend.redis.index",
"backend.mq.index"
],
"related": [
"backend.redis.scenario.stock-reservation",
"backend.mq.scenario.delayed-order-cancel",
"backend.redis.lock-ratelimit"
],
"est_hours": 3,
"week": [
3,
14,
16
],
"order": null,
"path": "scenarios/flash-sale.md",
"sections": [
"业务背景与问题",
"约束",
"方案设计",
"关键代码",
"取舍",
"易错点",
"面试怎么讲"
]
},
{
"id": "scenario.multi-tenant-saas",
"title": "多租户 SaaS:数据隔离方案、租户上下文、配额与限流、AI 成本分摊和租户级配置",
"type": "scenario",
"domain": "cross",
"stack": [
"postgresql",
"vector-db",
"redis",
"fastapi",
"gin",
"llm-serving",
"k8s"
],
"tags": [
"多租户",
"数据隔离",
"行级安全",
"租户上下文",
"配额",
"限流",
"成本分摊",
"噪声邻居"
],
"level": "advanced",
"prerequisites": [
"backend.postgresql.index",
"ai.vector-db.index"
],
"related": [
"ai.vector-db.scenario.multi-tenant-index",
"ai.rag.scenario.permission-aware-kb",
"ai.llm-serving.scenario.multi-provider-gateway"
],
"est_hours": 3,
"week": [
6,
13,
14
],
"order": null,
"path": "scenarios/multi-tenant-saas.md",
"sections": [
"业务背景与问题",
"约束",
"方案设计",
"关键代码",
"取舍",
"易错点",
"面试怎么讲"
]
},
{
"id": "scenario.report-agent",
"title": "报表生成 Agent:自然语言查数、安全的 Text-to-SQL、结果校验、图表和成本控制",
"type": "scenario",
"domain": "cross",
"stack": [
"agent-design",
"function-calling",
"postgresql",
"data-pipeline",
"web-security",
"react",
"agent-ops"
],
"tags": [
"Text-to-SQL",
"报表",
"只读账号",
"SQL 校验",
"语义层",
"行级安全",
"评测"
],
"level": "advanced",
"prerequisites": [
"ai.agent-design.index",
"backend.postgresql.index"
],
"related": [
"ai.agent-design.scenario.report-agent",
"cs.web-security.scenario.ai-app-security",
"backend.data-pipeline.scenario.third-party-sync"
],
"est_hours": 3,
"week": [
10,
13,
14
],
"order": null,
"path": "scenarios/report-agent.md",
"sections": [
"业务背景与问题",
"约束",
"方案设计",
"关键代码",
"取舍",
"易错点",
"面试怎么讲"
]
},
{
"id": "scenario.ticket-system",
"title": "工单系统:AI 自动分类与路由、状态机、SLA 超时升级和坐席协作",
"type": "scenario",
"domain": "cross",
"stack": [
"postgresql",
"mq",
"redis",
"langchain",
"gin",
"fastapi",
"react"
],
"tags": [
"工单",
"状态机",
"自动分类",
"路由",
"SLA",
"延迟队列",
"审计",
"乐观锁"
],
"level": "intermediate",
"prerequisites": [
"backend.postgresql.index",
"ai.langchain.index"
],
"related": [
"ai.langchain.scenario.ticket-triage",
"backend.postgresql.scenario.order-state-audit",
"backend.mq.scenario.delayed-order-cancel",
"frontend.react.scenario.long-task-ui"
],
"est_hours": 3,
"week": [
3,
11,
14
],
"order": null,
"path": "scenarios/ticket-system.md",
"sections": [
"业务背景与问题",
"约束",
"方案设计",
"关键代码",
"取舍",
"易错点",
"面试怎么讲"
]
},
{
"id": "scenarios.index",
"title": "跨技术栈企业服务场景",