Files
goodbuddy/tests/fixtures/knowledge-retrieval/synthetic-bilingual-v1.json
T
mesalogo 56ebd40bd8 feat: unify execution and add workspace file imports
Remove Ask/Execute modes and general product tool approvals so requests use the selected runtime, enabled capabilities, and execution account permissions. Migrate retired application metadata while preserving user content.

Retire the Results page while retaining conversation images and stored artifacts. Add local and remote workspace file imports, timestamps and sorting, improve image discovery and saving, and refine workspace navigation and supervision responsiveness. Include the accompanying web-search changes, tests, probes, and product documentation.

Remote imports require an updated Agent. Existing artifacts are not automatically copied into project directories. Validation evidence and outstanding failures remain documented in feature progress files; no full test suite or real-model calls were rerun for this commit.

Release note: Run requests without switching work modes, import files into a selected local or remote workspace folder, sort workspace files by date, and keep using conversation images after removal of the Results page.
2026-10-04 20:02:59 +08:00

444 lines
11 KiB
JSON

{
"version": 1,
"id": "synthetic-bilingual-v1",
"provenance": {
"kind": "synthetic",
"license": "CC0-1.0"
},
"documents": [
{
"id": "doc-secrets",
"title": "Credential storage",
"chunks": [
{
"id": "chunk-secrets-main",
"content": "API tokens and service keys stay in the main process encrypted settings store. The renderer never receives the credential value."
}
]
},
{
"id": "doc-secrets-secondary",
"title": "凭据轮换",
"chunks": [
{
"id": "chunk-secrets-secondary",
"content": "轮换访问凭据后,应立即撤销旧令牌,并确认新密钥只保存在加密存储中。"
}
]
},
{
"id": "doc-offline",
"title": "Offline operation",
"chunks": [
{
"id": "chunk-offline-main",
"content": "Offline search uses the local SQLite index and does not require a network connection. Local files remain on the device."
}
]
},
{
"id": "doc-cancel",
"title": "任务取消",
"chunks": [
{
"id": "chunk-cancel-main",
"content": "用户取消索引任务时,系统会中止当前批次,保留旧索引,并将任务标记为已取消。"
}
]
},
{
"id": "doc-backup",
"title": "Backup and restore",
"chunks": [
{
"id": "chunk-backup-main",
"content": "Create a backup before migration. To restore, close the application and replace the database with the verified backup copy."
}
]
},
{
"id": "doc-accessibility",
"title": "键盘导航",
"chunks": [
{
"id": "chunk-accessibility-main",
"content": "分段控件支持键盘导航:左右方向键移动焦点,Tab 键离开控件,当前选项使用清晰的焦点样式。"
}
]
},
{
"id": "doc-image",
"title": "Image handling",
"chunks": [
{
"id": "chunk-image-main",
"content": "Generated images are accepted only as bounded inline image data. Provider-returned image URLs are not fetched."
}
]
},
{
"id": "doc-sqlite",
"title": "数据库更新",
"chunks": [
{
"id": "chunk-sqlite-main",
"content": "SQLite 数据迁移在事务中执行;任一步骤失败都会回滚,以保护现有用户数据。"
}
]
},
{
"id": "doc-runtime",
"title": "Runtime execution",
"chunks": [
{
"id": "chunk-runtime-main",
"content": "Requests use the selected Runtime and enabled capabilities. Tools run with the execution account permissions without a product work mode or general approval gate."
}
]
},
{
"id": "doc-fonts",
"title": "界面字体",
"chunks": [
{
"id": "chunk-fonts-main",
"content": "界面使用随应用打包的 Inter Variable 和 Noto Sans SC Variable 字体,不发起远程字体请求。"
}
]
},
{
"id": "doc-release",
"title": "Release verification",
"chunks": [
{
"id": "chunk-release-main",
"content": "Each release package includes a release manifest containing SHA-256 hashes for the packaged artifacts."
}
]
},
{
"id": "doc-chunking",
"title": "上下文分块",
"chunks": [
{
"id": "chunk-chunking-main",
"content": "检索结果可加入相邻分块来补充上下文,但合并后的内容必须遵守字符预算。"
}
]
},
{
"id": "doc-language",
"title": "Interface language",
"chunks": [
{
"id": "chunk-language-main",
"content": "The interface supports Simplified Chinese and English. Release notes are shown in the current interface language."
}
]
},
{
"id": "doc-permissions-secondary",
"title": "执行权限",
"chunks": [
{
"id": "chunk-permissions-secondary",
"content": "工具使用执行账户的权限,仍须遵循用户指令,并保留取消和超时控制。"
}
]
},
{
"id": "doc-manifest-secondary",
"title": "包清单检查",
"chunks": [
{
"id": "chunk-manifest-secondary",
"content": "发布检查会核对包清单,但测试构建可以跳过签名步骤。"
}
]
}
],
"queries": [
{
"id": "query-secrets-en",
"language": "en",
"query": "Where should API tokens be stored?",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-secrets-main",
"relevance": 3,
"spans": [
{
"text": "API tokens and service keys stay in the main process encrypted settings store."
}
]
},
{
"chunkId": "chunk-secrets-secondary",
"relevance": 1,
"spans": [
{
"text": "新密钥只保存在加密存储中"
}
]
}
]
},
{
"id": "query-secrets-zh",
"language": "zh-CN",
"query": "怎样安全保存访问凭据",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-secrets-main",
"relevance": 2,
"spans": [
{
"text": "main process encrypted settings store"
}
]
},
{
"chunkId": "chunk-secrets-secondary",
"relevance": 3,
"spans": [
{
"text": "新密钥只保存在加密存储中"
}
]
}
]
},
{
"id": "query-offline-zh",
"language": "zh-CN",
"query": "没有网络时能否检索本地资料",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-offline-main",
"relevance": 3,
"spans": [
{
"text": "Offline search uses the local SQLite index and does not require a network connection."
}
]
}
]
},
{
"id": "query-cancel-en",
"language": "en",
"query": "What happens when indexing is aborted?",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-cancel-main",
"relevance": 3,
"spans": [
{
"text": "系统会中止当前批次,保留旧索引"
}
]
}
]
},
{
"id": "query-backup-en",
"language": "en",
"query": "How do I restore the database backup?",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-backup-main",
"relevance": 3,
"spans": [
{
"text": "To restore, close the application and replace the database with the verified backup copy."
}
]
}
]
},
{
"id": "query-keyboard-en",
"language": "en",
"query": "How does focus move inside a segmented control?",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-accessibility-main",
"relevance": 3,
"spans": [
{
"text": "左右方向键移动焦点"
}
]
}
]
},
{
"id": "query-image-zh",
"language": "zh-CN",
"query": "模型生成的图片数据如何接收",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-image-main",
"relevance": 3,
"spans": [
{
"text": "accepted only as bounded inline image data"
}
]
}
]
},
{
"id": "query-sqlite-en",
"language": "en",
"query": "How are failed database migrations protected?",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-sqlite-main",
"relevance": 3,
"spans": [
{
"text": "任一步骤失败都会回滚"
}
]
}
]
},
{
"id": "query-runtime-zh",
"language": "zh-CN",
"query": "请求使用哪个运行时,工具执行由什么权限决定",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-runtime-main",
"relevance": 3,
"spans": [
{
"text": "Requests use the selected Runtime and enabled capabilities."
},
{
"text": "Tools run with the execution account permissions without a product work mode or general approval gate."
}
]
},
{
"chunkId": "chunk-permissions-secondary",
"relevance": 1,
"spans": [
{
"text": "工具使用执行账户的权限"
}
]
}
]
},
{
"id": "query-font-en",
"language": "en",
"query": "Are interface typefaces downloaded remotely?",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-fonts-main",
"relevance": 3,
"spans": [
{
"text": "不发起远程字体请求"
}
]
}
]
},
{
"id": "query-release-zh",
"language": "zh-CN",
"query": "发布产物怎样校验完整性",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-release-main",
"relevance": 3,
"spans": [
{
"text": "release manifest containing SHA-256 hashes"
}
]
},
{
"chunkId": "chunk-manifest-secondary",
"relevance": 1,
"spans": [
{
"text": "发布检查会核对包清单"
}
]
}
]
},
{
"id": "query-chunk-en",
"language": "en",
"query": "Can neighboring sections be added to retrieved context?",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-chunking-main",
"relevance": 3,
"spans": [
{
"text": "检索结果可加入相邻分块来补充上下文"
}
]
}
]
},
{
"id": "query-language-zh",
"language": "zh-CN",
"query": "界面提供哪些语言",
"noAnswer": false,
"judgments": [
{
"chunkId": "chunk-language-main",
"relevance": 3,
"spans": [
{
"text": "supports Simplified Chinese and English"
}
]
}
]
},
{
"id": "query-noanswer-weather",
"language": "zh-CN",
"query": "明天火星天气预报",
"noAnswer": true,
"judgments": []
},
{
"id": "query-noanswer-payroll",
"language": "en",
"query": "employee payroll tax withholding schedule",
"noAnswer": true,
"judgments": []
},
{
"id": "query-noanswer-recipe",
"language": "en",
"query": "sourdough cinnamon recipe temperature",
"noAnswer": true,
"judgments": []
}
]
}