93 lines
4.1 KiB
JSON
93 lines
4.1 KiB
JSON
{
|
|
"name": "r2-on",
|
|
"enabled": true,
|
|
"goal": "修复三模块多币种收支报告:amountToCents将有限数值或去空白后的十进制字符串转换为安全整数分,最多两位小数,支持正负号及退款;无效、超精度或越界输入抛TypeError。summarize按去空白大写的三字母币种分组,逐笔计数、整数分求和并按币种排序,拒绝无效行/币种及溢出,不修改调用者数据。formatReport每行输出“币种 金额 (笔数)”,金额精确两位、负数不足一元也准确,空输入返回空字符串。先读取项目、源码和原测试,准备并实际执行test、build保留失败。只修改src/amount.mjs、src/summary.mjs和src/report.mjs,不得改测试、配置、构建脚本、README或owner文件;不能用终端、不能自行Git提交。按真实失败自己准备完整修复提案,用prepare_change_set封存待审查批次。审查应用后继续同一目标,以相同test、build核对并据真实结果修复。只在实际通过后报告子任务完成,等待父工程审查和交付。",
|
|
"sourceTree": "41273610f54e83686aa81c9835bfce565bd504d4",
|
|
"writable": [
|
|
"src/amount.mjs",
|
|
"src/report.mjs",
|
|
"src/summary.mjs"
|
|
],
|
|
"checks": [
|
|
"test",
|
|
"build"
|
|
],
|
|
"model": {
|
|
"id": "09b0293b-faad-45c3-832d-7c8b615813aa",
|
|
"name": "apikey",
|
|
"brand": "Claude 兼容代理",
|
|
"protocol": "chat-completions",
|
|
"model": "claude-opus-5-5",
|
|
"capabilitySchema": 1,
|
|
"capabilityDeclarations": {
|
|
"text": "supported",
|
|
"tools": "supported",
|
|
"streaming": "supported",
|
|
"vision": "unknown",
|
|
"audio": "unknown"
|
|
},
|
|
"streaming": true,
|
|
"baseUrl": "https://api.apikey.fan",
|
|
"enabled": true,
|
|
"requiresKey": true,
|
|
"contextLimit": 32000,
|
|
"maxOutputTokens": 2048,
|
|
"concurrency": 8,
|
|
"revision": 3,
|
|
"source": "manual",
|
|
"createdAt": "2026-10-31T16:36:46.574Z",
|
|
"updatedAt": "2026-11-02T14:51:23.856Z",
|
|
"hasKey": true,
|
|
"credentialRevision": 2,
|
|
"credentialStorage": "memory",
|
|
"savedCredential": {
|
|
"storage": "windows-user-dpapi",
|
|
"status": "source_changed",
|
|
"enabled": true,
|
|
"connectionRevision": 1,
|
|
"credentialRevision": 1,
|
|
"savedAt": "2026-10-31T16:36:46.853Z",
|
|
"message": "原保存块无法用于当前连接;重新填写后保存,或删除原保存。"
|
|
},
|
|
"status": "configured",
|
|
"activeRequests": 0,
|
|
"health": {
|
|
"state": "responded",
|
|
"lastSuccessAt": "2026-11-02T15:00:40.026Z",
|
|
"cooldownUntil": 0,
|
|
"failures": 0
|
|
},
|
|
"capabilities": {
|
|
"text": "protocol_declared",
|
|
"tools": "protocol_declared",
|
|
"streaming": "protocol_declared",
|
|
"vision": "unknown",
|
|
"audio": "unknown"
|
|
}
|
|
},
|
|
"budget": {
|
|
"maxTokens": 105000,
|
|
"maxSteps": 24,
|
|
"maxToolCalls": 80,
|
|
"maxDurationMs": 600000
|
|
},
|
|
"upstreamPluginLoaded": true,
|
|
"treatment": "purge-original-restricted-v1",
|
|
"baselineExitCode": 1,
|
|
"sourceFiles": {
|
|
".gitignore": "d6e46909742b3d341c644244d735fd43232fa0b5860982a0019a1b9be910c6d4",
|
|
"README.md": "8d1d50f52b63f458d8eed9997d74fe8e54aeca32f3295cb1232d35f784a79388",
|
|
"owner-staged.txt": "1cff3085d284ee2ff82da1373bafddbc4e5a169080c7ae72ce55cb894469c2aa",
|
|
"owner-unstaged.txt": "aea863ffbd662e23b33f417055e7f6764eccb73ce77f2097819244ae078e22cf",
|
|
"package.json": "6ad63026b2fe9de7513a4f6704c372a86108ee3d018a1f04883dc0a409ea4c24",
|
|
"scripts/build.mjs": "7279bc7c707c0f3ccbae63b14f0abed248ad3755be14f9e37128124ae9267526",
|
|
"src/amount.mjs": "84cb647328ec52dad27d288f3a6127ff3e1ad87274ae2d227ad44daa49cbb2ed",
|
|
"src/report.mjs": "ba0a014e6e9df710d66e255a3a6f970f4e1c8af48accc81f33627029dcded7c0",
|
|
"src/summary.mjs": "48829850c11ca0cd0ab5e86bbac69a0c5f90297292168c1ba6dc338e2eae6ee7",
|
|
"test/expense.test.mjs": "0bcda551dbaeafad9a6e3df8024492ab67d7c09956f4676c393b78249ab44839"
|
|
},
|
|
"sourceRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\live-retest-e-20261102-c\\purge-r2-on\\source",
|
|
"driverSha256": "e6b901b345b41406e9aaef5dbbace0ebed4dc07b1bf7ad682060a32430d1c43a",
|
|
"createdAt": "2026-11-02T15:01:19.092Z"
|
|
}
|