新增: Phase2 阶段收尾(Sprint 1-20)

重构:删 5 零引用 crate(df-evolve/plugin/stages/task/traceability)+ 清死模块、ai.rs 拆 11 子 module、ai.ts 拆 6 composable、i18n 拆目录
功能:知识库全栈(df-project/scan + CRUD + 时间线 + 前端)、Settings 拆分、appSettings KV 迁移、模型池、LLM 并发 Semaphore
修复:审批持久化根治、ConditionEngine 默认拒绝、NodeRegistry unimplemented 清除、promote 补偿删除、工具结果截断 50KB、路径校验防 symlink 逃逸
文档:B-03 人工审批设计、决策记录三分档、规格契约自检、经验记录、todo 看板、PROGRESS 更新

详见 PROGRESS.md。src-tauri/儿童每日打卡应用/ 与本项目无关,已排除。
This commit is contained in:
lxy
2026-06-14 14:08:20 +08:00
parent 98393b4908
commit cf017f81e2
167 changed files with 19549 additions and 6886 deletions
+78
View File
@@ -0,0 +1,78 @@
export default {
knowledge: {
title: '📚 Knowledge Base',
add: '+ New Knowledge',
tab: {
library: 'Library',
inbox: 'Inbox',
},
searchPlaceholder: 'Search title, tags, content...',
categoryAll: 'All',
emptyInbox: '✅ No pending items',
emptyLibrary: '📭 No matching knowledge',
edit: '✏️ Edit',
publish: 'Publish',
reject: 'Reject',
archive: 'Archive',
reuseCount: '🔄 Reused {n} times',
confidenceBadge: 'Confidence: {label}',
contentLabel: 'Content',
tagsLabel: 'Tags',
tagsNone: 'None',
tagsPlaceholder: 'comma separated',
traceTitle: '🔍 Provenance',
traceMethod: 'Origin',
traceSource: 'Source conversation',
traceTime: 'Created at',
originExtracted: '🤖 Extracted by AI',
originManual: '✍️ Manually added',
originUnknown: '—',
reasoningLabel: '🤖 AI Reasoning',
refTitle: '🔄 References ({n})',
refEmpty: 'Not referenced yet',
loadMore: 'Load more ({n} left)',
lifecycleTitle: '📅 Lifecycle',
detailEmptyHint: 'Select a knowledge on the left to view its full lifecycle',
createTitle: 'New Knowledge',
kindLabel: 'Type',
titleLabel: 'Title',
titlePlaceholder: 'Short title',
contentPlaceholder: 'Reusable content',
tagsFieldLabel: 'Tags (comma separated)',
tagsFieldPlaceholder: 'Go, concurrency, context',
confidenceLabel: 'Confidence',
confidenceNone: 'Not set',
create: 'Create',
timeline: {
extracted: 'AI extracted',
created: 'Manually added',
published: 'Approved',
archived: 'Archived',
enterReview: 'Entered review',
referenced: 'Referenced',
statusChanged: 'Status → {to}',
summarySource: 'Source: {title}',
summaryConv: 'Conversation: {title}',
},
status: {
candidate: 'Pending',
pending_review: 'Reviewing',
published: 'Published',
archived: 'Archived',
},
confidence: {
high: 'High',
medium: 'Medium',
low: 'Low',
},
kind: {
review_rule: 'Review Rule',
prompt_template: 'Prompt Template',
pitfall: 'Pitfall',
architecture_pattern: 'Architecture Pattern',
diagnosis: 'Diagnosis',
deployment_note: 'Deployment Note',
workflow_optimization: 'Workflow Optimization',
},
},
}