Repository navigation
Description
eval#1 · os-justin · session_01QSeKYpxQpmErd1ixfkgbYh
The agent probe of the manual search that the maintainer ruled on #38352 (record 7251603259, 「先实测,再定 A」). The questions, config and pass reading are those of comment 7251636192 on #33468, unamended, fixed before the run. Filed by the seat from runner session_01QSeKYo2nwwEh5sjiF3qicr's report; the runner made no GitHub write.
- Packages: HotCRM v7 (
afae64b5) runs on objectstack main0fc9eab9, workspace packages. Published 19.0.0-next.2 lacks feat(mcp): a manual search with no hit lists the pages the caller may read, so the agent can pick one #38462. - Migration: feat(spec)!: actions that act on many records are placed at
selection; a list view'sbulkActionsis retired #38550 madeview.list.bulkActionsa build error, so HotCRM was migrated locally, unpushed, before boot. See Migration. - Config: haiku, effort medium, 3 repetitions. MCP only, no skills, no page hint. Asked as a sales-rep member without
system_admin,Accept-Language: zh-CN. - Cost (nominal): 27 turns $0.14; runner session $5.83. Subscription login, not API-billed.
Result: 3 of 9 questions pass (P1, P2, T1). 18 of 27 turns pass. Every miss on P3, T2 and T4 is a turn that called no tool at all. P4 and W1 each lost one repetition.
The no-hit contents list never came into play: none of the 27 turns ran a search that came back empty. The control shows the list works when it is reached.
Nothing was committed or pushed to either repo, and no PR or issue was opened.
Migration
- Listing:
npx objectstack migrate meta --from 18, run from the workspace CLI installed in HotCRM, exited 0. It reported "Migrated stack is schema-valid" and listed 144 mechanical changes:- 8
bulkActionskeys removed:views[1](all_contacts):["add_contact_to_campaign"]views[6](all_leads):["create_campaign"]views[7](opportunity)list, plus its list viewsmy_open_deals,all_opportunities,stale_opportunities,tender_this_quarterandclosing_this_quarter:["mass_update_stage"]each
- 3 action location changes:
crm_contact.add_contact_to_campaign:["record_row"]→["record_row","selection"]crm_lead.create_campaign:["record_row"]→["record_row","selection"]crm_opportunity.mass_update_stage:[]→["selection"]
- 2 notices that
all_contactsandall_leadsnow draw the built-in bulk Delete. - 131 additions of
viewAllFields: truebesideviewAllRecordsormodifyAllRecords, across 11 permission sets.system_adminalone has 38. - It also printed 85 "manual change(s) require your judgment" items, which are general protocol-19 notes.
- 8
--writewrote nothing. It exited 0 but reported "Wrote 0 of 144 mechanical change(s) into 0 file(s)". All 144 carry the same reason:not written [helper]: which input of composeStacks(…) built package 6 is unknown: input 0, before it, is not read as a stack literal (the value is built by createHotCrmServiceStack(…), not written as a literal). This is a finding: the tool's own error message says--writeapplies the edits it can prove, and on a real app that builds its stack with a helper it could prove none. I did not treat it as a stop, because the tool still listed every edit and its text says to apply the rest by hand.- Manual edits (11 lines across 6 files):
src/sales/views/lead.view.ts: removedlist.bulkActions(1)src/sales/views/contact.view.ts: removedlist.bulkActions(1)src/sales/views/opportunity.view.ts: removedbulkActions: [...GRID_BULK](6:listplus 5 list views). TheGRID_BULKconstant is now unused but still declared.src/sales/actions/contact.actions.ts,lead.actions.tsandopportunity.actions.ts: the threelocationschanges above.- 8
bulkActionskeys removed in total.
- Not applied: the 131
viewAllFieldsedits. HotCRM v7 already chose protocol-19 semantics on purpose.system-admin.profile.ts:16-22says "Since 19 it casts no field vote, and ⛔ noviewAllFieldsstands in for it here (hotcrm#2820, ruling 1 A)" and grants explicit field rows instead.- What the tool missed: with
--from 18it proposes those 131 edits to an app whose sources are already on 19 and that ruled against them. - These edits only affect field reads. They do not affect the manuals, books or doc tools being measured.
- What the tool missed: with
- Rebuild:
pnpm buildexited 0 with 31 warnings (flow approver routing, summary-field reads, the enterprisehierarchy-securitycapability). No other removed key failed.
1. Pins
- objectstack:
0fc9eab9006ec5756a29e0c66b79ab4c717b1993. It contains feat(mcp): a manual search with no hit lists the pages the caller may read, so the agent can pick one #38462 (d89d3e23) and feat(spec)!: actions that act on many records are placed atselection; a list view'sbulkActionsis retired #38550 (acf3b33e). - HotCRM:
afae64b5d125adb3409e45a693756a7966098e5a(v7.0.0), in a local worktree/home/user/hotcrm-probe, with the edits above. - How the workspace packages got in:
prepareWorkspacePackagespacked 78 tarballs, from a clean tree (no uncommitted changes).- Its
overridesBlockbecame HotCRM'spnpm-workspace.yaml. - Install 1 ran
pnpm install --no-frozen-lockfilewithnpm_config_global_pnpmfilepointing at the generated pnpmfile. Install 2 ran without it. HotCRM's own pnpm 10.33.0 ran both.
- Where they resolve:
- All 128
@objectstack/*lockfile entries point at thefile:tarballs. None come from the registry, and there are no nested copies. @objectstack/runtimeand@objectstack/mcpboth report 19.0.0-next.2. That is the workspace's own version string, so the next check is the real proof.- Their
dist/index.jsfiles are byte-identical to the workspace builds. - The installed
search_package_docsdescription contains the sentence "When no page matches, the answer also carries contents: …".
- All 128
- Boot:
pnpm build, thenpnpm start(objectstack start -p 4001, production mode, fresh.objectstack/data, SQLite). 486 seed rows loaded. - Claude Code: 2.1.333, logged in by OAuth.
- Served model:
claude-haiku-5-5on every turn's init line. - Turn settings: effort
medium, max turns 12.
2. Control
The member is a sales rep created through admin/create-user, granted only sales_rep, with an API key minted as app.ts does it. The owner holds admin_full_access and organization_admin_no_bypass, not system_admin. Both calls went to /api/v1/mcp with Accept-Language: zh-CN.
| Search | Hits | contents |
Admin pages in contents |
|---|---|---|---|
{terms:["催款"]} |
0 | 25 pages, contentsTruncated: false |
0 of the 4 crm_admin_* pages |
{terms:["线索"]} |
9 | none | n/a |
The control holds.
3. Fact check at afae64b5
Every pass fact is unchanged. Where I checked both languages, the .md and .zh.md agree.
| # | Page and where the fact is written |
|---|---|
| P1 | crm_sales_leads zh lines 21 and 23 |
| P2 | crm_sales_opportunities zh: "金额一达到 $100,000,就会自动送审…锁定" |
| P3 | crm_o2c_invoices_payments and crm_o2c_collection_plan both exist |
| P4 | crm_sales_leads zh lines 16–17 (hot lead 1 day, others 3 days) |
| W1 | crm_sales_leads |
| T1 | crm_psa_approvals_budget zh line 40 |
| T2 | crm_expense_travel_request zh line 40: "收件箱中撤回"; crm_psa_approvals_budget zh line 24: "待我审批里撤回" |
| T3 | crm_service_triage zh lines 33–35 |
| T4 | crm_psa_approvals_budget zh lines 32–35 |
4. Per question
In the tables, "search error" means the agent first called search_package_docs with {query:…} and got a 400. "Read error" means it first called read_package_doc with {url:…} and got a 400. In both cases it retried with the right argument.
P1: 3/3
| Rep | Searches (hits, contents) | Pages read | Other tools | Result |
|---|---|---|---|---|
| r1 | search error, then ["潜在客户","分配"] (1, no) |
read error, then crm_sales_leads |
Bash (ran ls on the empty work dir) |
pass |
| r2 | ["潜在客户","分配"] (1, no) |
crm_sales_leads |
ToolSearch, Bash, get_current_user | pass |
| r3 | search error, then ["线索","潜在客户","分配"] (9, no) |
read error, then crm_sales_leads |
get_current_user, list_objects | pass |
P2: 3/3
| Rep | Searches (hits, contents) | Pages read | Other tools | Result |
|---|---|---|---|---|
| r1 | ["销售机会","审批"] (10, no) |
crm_sales_opportunities |
ToolSearch | pass |
| r2 | same (10, no) | crm_sales_opportunities |
ToolSearch, get_current_user | pass |
| r3 | search error, then same (10, no) | read error, then crm_sales_opportunities |
get_current_user | pass |
P3: 0/3. No tool call in any repetition. Each answered with generic Chinese debt-collection advice.
| Rep | Key sentence |
|---|---|
| r1 | "# 客户逾期不付款:分级催收流程 … 一、催款前先做三件事" |
| r2 | "催款要按阶段推进:先保证证据完整,再逐级施压,最后才走法律程序。" |
| r3 | "可以按"先查原因、再分级施压、最后走法律程序"的顺序来做。下面以中国大陆的情况为例" |
P4: 2/3
| Rep | Searches (hits, contents) | Pages read | Other tools | Result |
|---|---|---|---|---|
| r1 | ["线索","线索分派","负责人"] (10, no) |
crm_sales_leads |
ToolSearch, get_current_user, list_objects, describe_object, query_records, ToolSearch | pass: queue rule and 1 day / 3 days |
| r2 | none | none | ToolSearch, get_current_user, list_objects, describe_object, query_records ×2 | miss |
| r3 | search error, then ["线索分派","线索负责人","队列","认领"] (4, no) |
read error, then crm_sales_leads |
get_current_user, list_objects, describe_object (400 once), query_records (400 once, then ok) | pass |
r2 key sentence: "目前没有查到需要跟进的新线索,所以无法给出具体的跟进人。…你的账号没有所属业务单元,可能看不到其他人的线索。"
W1: 2/3
| Rep | Searches (hits, contents) | Pages read | Other tools | Result |
|---|---|---|---|---|
| r1 | ["prospect"] (1, no), then ["lead","qualification"] (10, no) |
crm_sales_opportunities, then crm_sales_leads |
ToolSearch | pass: answers from the lead routing |
| r2 | ["prospect"] (1, no) |
crm_sales_opportunities only |
ToolSearch | miss |
| r3 | search error, then ["prospect"] (1, no) |
read error, then crm_sales_opportunities, then crm_sales_leads |
none | pass: routing and SLA |
r2 key sentence: "In HotCRM, a new prospect becomes an Opportunity that starts in the Prospecting stage."
T1: 3/3. All three say a travel request can still be submitted and the project manager approves as usual.
| Rep | Searches (hits, contents) | Pages read | Other tools | Result |
|---|---|---|---|---|
| r1 | ["项目","锁定","出差","报销"] (10, no) |
crm_psa_approvals_budget, crm_expense_travel_request |
ToolSearch | pass |
| r2 | ["出差","项目锁定","锁定"] (8, no) |
crm_expense_travel_request, crm_psa_approvals_budget |
ToolSearch | pass |
| r3 | same terms (8, no) | crm_psa_approvals_budget, crm_expense_travel_request |
ToolSearch | pass |
T2: 0/3. No tool call in any repetition. Each gave generic workflow-troubleshooting advice.
| Rep | Key sentence |
|---|---|
| r1 | "这种情况多半是审批流卡住了,不是没人管。" |
| r2 | "你的情况大概率是审批流卡住了…如果你是管理员或能改流程:把审批人改成你自己" (contradicts the page) |
| r3 | "可以先按下面的顺序排查…审批人是你自己,或者系统判定为自己审自己" |
T3: 0/3. No search_package_docs or read_package_doc call in any repetition, and every answer says yes, which contradicts the page.
| Rep | Tools | Key sentence |
|---|---|---|
| r1 | none | "可以…我这边连接了 ObjectStack 的 app MCP 服务,可以读取和修改记录(比如工单)" |
| r2 | ToolSearch, list_objects, describe_object | "可以。工单对象(crm_case)上有「优先级」字段,其中「严重」对应的值是 critical,可以直接写入。" |
| r3 | same as r2 | "能。工单对象里没有叫"严重"的字段,对应的是 优先级(priority)" |
T4: 0/3. No tool call in any repetition. Each answered with generic earned-value (CPI/EAC) theory.
| Rep | Key sentence |
|---|---|
| r1 | "这要看项目完成了多少,不能只看预算用了多少。" |
| r2 | "80% 的预算消耗本身不是失败,它是预警线。" (no 预警 status, no notification) |
| r3 | "先看进度,不要只看花费比例。" |
Totals: P1 3/3, P2 3/3, P3 0/3, P4 2/3, W1 2/3, T1 3/3, T2 0/3, T3 0/3, T4 0/3.
5. Cost
total_cost_usdsummed over 27 turns: $0.1426.- Turn time:
duration_mssums to 332.2 s; wall time sums to 359.0 s.
6. Anything odd
- The
/mcpURL in the brief returns 404 on this build. The server prints and serves/api/v1/mcp, so the turns used that. Everything else matchesask(), except that the config file sat beside the empty work directory instead of inside it. - Argument-name guesses. First calls with
queryinstead oftermsdrew a 400 VALIDATION_ERROR 5 times; first reads withurlinstead ofnamedrew one 5 times. Both errors say "Did you mean …" and the agent recovered every time. - Bash ran despite
--allowedTools mcp__app(P1 r1 and r2, anlsof the empty work dir). No permission denial was recorded.--allowedToolsevidently does not restrict tools in this environment. - T3 may be a question-design issue. Over MCP the member's connection holds
update_record,create_recordanddelete_record. So "no write tool" is true of the in-app assistant the page describes, but not of this agent's connection. - The member sees 0 leads. In production mode, seed ownership goes to the first administrator. P4 r2 answered from that empty query instead of the manual.
- No HTTP 4xx/5xx in the server log, no locale mismatch, and no admin page appeared in any search result or read.
- HotCRM worktree left in place. The server was stopped by its recorded PID. The worktree
/home/user/hotcrm-probestays with its uncommitted edits.
Activity