query
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseQuery Knowledge
查询知识库
Search the FPF knowledge base and display hypothesis details with assurance information.
搜索FPF知识库并显示带有可信度信息的假设详情。
Action (Run-Time)
运行时操作
- Search and
.fpf/knowledge/by user query..fpf/decisions/ - For each found hypothesis, display:
- Basic info: title, layer (L0/L1/L2), kind, scope
- If layer >= L1: read audit section for R_eff
- If has dependencies: show dependency graph
- Evidence summary if exists
- Present results in table format.
- 搜索:根据用户查询检索和
.fpf/knowledge/目录。.fpf/decisions/ - 针对每个找到的假设,展示:
- 基础信息:标题、层级(L0/L1/L2)、类型、适用范围
- 若层级 >= L1:读取审计部分获取R_eff值
- 若存在依赖关系:展示依赖图
- 若存在证据:展示证据摘要
- 以表格形式呈现结果。
Search Locations
搜索位置
| Location | Contents |
|---|---|
| Proposed hypotheses |
| Verified hypotheses |
| Validated hypotheses |
| Rejected hypotheses |
| Design Rationale Records |
| Evidence and audit files |
| 位置 | 内容 |
|---|---|
| 待验证假设 |
| 已验证假设 |
| 已确认假设 |
| 已否决假设 |
| 设计依据记录(DRR) |
| 证据与审计文件 |
Output Format
输出格式
markdown
undefinedmarkdown
undefinedSearch Results for "<query>"
「<query>」的搜索结果
Hypotheses Found
找到的假设
| Hypothesis | Layer | Kind | R_eff |
|---|---|---|---|
| redis-caching | L2 | system | 0.85 |
| cdn-edge | L2 | system | 0.72 |
| 假设ID | 层级 | 类型 | R_eff |
|---|---|---|---|
| redis-caching | L2 | system | 0.85 |
| cdn-edge | L2 | system | 0.72 |
redis-caching (L2)
redis-caching (L2)
Title: Use Redis for Caching
Kind: system
Scope: High-load systems, Linux only
R_eff: 0.85
Weakest Link: internal test (0.85)
Dependencies:
[redis-caching R:0.85]
└── (no dependencies)Evidence:
- ev-benchmark-redis-caching-2025-01-15 (internal, PASS)
标题:使用Redis实现缓存
类型:system
适用范围:高负载系统,仅支持Linux
R_eff:0.85
最弱环节:内部测试(0.85)
依赖关系:
[redis-caching R:0.85]
└── (无依赖)证据:
- ev-benchmark-redis-caching-2025-01-15(内部,通过)
cdn-edge (L2)
cdn-edge (L2)
Title: Use CDN Edge Cache
Kind: system
Scope: Static content delivery
R_eff: 0.72
Weakest Link: external docs (CL1 penalty)
Evidence:
- ev-research-cdn-2025-01-10 (external, PASS)
undefined标题:使用CDN边缘缓存
类型:system
适用范围:静态内容分发
R_eff:0.72
最弱环节:外部文档(CL1惩罚)
证据:
- ev-research-cdn-2025-01-10(外部,通过)
undefinedSearch Methods
搜索方式
By Keyword
关键词搜索
Search file contents for matching text:
/fpf:query caching
-> Finds all hypotheses with "caching" in title or content在文件内容中搜索匹配文本:
/fpf:query caching
-> 查找所有标题或内容包含"caching"的假设By Specific ID
特定ID查询
Look up a specific hypothesis:
/fpf:query redis-caching
-> Shows full details for redis-caching
-> Displays dependency tree
-> Shows R_eff breakdown查找特定假设:
/fpf:query redis-caching
-> 展示redis-caching的完整详情
-> 显示依赖树
-> 展示R_eff细分数据By Layer
按层级筛选
Filter by knowledge layer:
/fpf:query L2
-> Lists all L2 hypotheses with R_eff scores按知识层级筛选:
/fpf:query L2
-> 列出所有带有R_eff分数的L2假设By Decision
按决策记录搜索
Search decision records:
/fpf:query DRR
-> Lists all Design Rationale Records
-> Shows what each DRR selected/rejected搜索决策记录:
/fpf:query DRR
-> 列出所有设计依据记录(DRR)
-> 展示每条DRR选中/否决的内容R_eff Display
R_eff展示
For L1+ hypotheses, read the audit section and display:
markdown
**R_eff Breakdown**:
- Self Score: 1.00
- Weakest Link: ev-research-redis (0.90)
- Dependency Penalty: none
- **Final R_eff**: 0.85对于L1及以上层级的假设,读取审计部分并展示:
markdown
**R_eff细分**:
- 自评分:1.00
- 最弱环节:ev-research-redis(0.90)
- 依赖惩罚:无
- **最终R_eff**:0.85Dependency Tree Display
依赖树展示
If hypothesis has , show the tree:
depends_on[api-gateway R:0.80]
└──(CL:3)── [auth-module R:0.85]
└──(CL:2)── [rate-limiter R:0.90]Legend:
- = R_eff score
R:X.XX - = Congruence Level (1-3)
CL:N
若假设包含字段,展示依赖树:
depends_on[api-gateway R:0.80]
└──(CL:3)── [auth-module R:0.85]
└──(CL:2)── [rate-limiter R:0.90]图例:
- = R_eff分数
R:X.XX - = 一致性等级(1-3)
CL:N
Examples
示例
Search by keyword:
User: /fpf:query caching
Results:
| Hypothesis | Layer | R_eff |
|------------|-------|-------|
| redis-caching | L2 | 0.85 |
| cdn-edge-cache | L2 | 0.72 |
| lru-cache | invalid | N/A |Query specific hypothesis:
User: /fpf:query redis-caching关键词搜索:
用户:/fpf:query caching
结果:
| 假设ID | 层级 | R_eff |
|------------|-------|-------|
| redis-caching | L2 | 0.85 |
| cdn-edge-cache | L2 | 0.72 |
| lru-cache | invalid | N/A |特定假设查询:
用户:/fpf:query redis-cachingredis-caching (L2)
redis-caching (L2)
Title: Use Redis for Caching
Kind: system
Scope: High-load systems
R_eff: 0.85
Evidence: 2 files
**Query decisions:**User: /fpf:query DRR
标题:使用Redis实现缓存
类型:system
适用范围:高负载系统
R_eff:0.85
证据:2个文件
**决策记录查询:**用户:/fpf:query DRR
Design Rationale Records
设计依据记录
| DRR | Date | Winner | Rejected |
|---|---|---|---|
| DRR-2025-01-15-caching | 2025-01-15 | redis-caching | cdn-edge |
undefined| DRR编号 | 日期 | 选中方案 | 否决方案 |
|---|---|---|---|
| DRR-2025-01-15-caching | 2025-01-15 | redis-caching | cdn-edge |
undefined