amos 73a5240295 Batches 21 and 18: add 74 calibrated tasks (40 Bos redo, 34 HWE code-gen)
Batch 21 (20261027-A-bos-redo-21) rebuilt 40 of the 53 rejected Bos-qiao
environments: hidden assertions that ran inside the candidate's process
now run in a trusted parent that reads observations from a low-UID
worker; gold bytes are unchanged. 9 were excluded for scope (ROS2,
oversize, security core), 3 are blocked because the source requires an
exec bit the platform does not freeze, 1 lacks requests/bs4 in trace6.

Batch 18 (20261026-C-hwe-codegen-18) adds its last 34 of 134 tasks; the
first 100 landed in 2f32624d.

Claude reviewed 74/74 USABLE against current digests, canonical
families, no ID or source overlap with main, plain public docs. Only the
new task directories are taken; the stale pre-batch-20 copies of
concur-release-capsule and resource-temp-link on the batch 21 branch and
both branches' progress notes stay as main has them. Difficulty is
unmeasured.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:23:12 +08:00

6.5 KiB
Raw Permalink Blame History

任务规格:numeric-order-sequences

身份:version 1,family numeric-reliability,source hwe/syn-arm-189,作者 /root/order_sequences,审核状态 DRAFT_AWAITING_ROOT_FIRST_FREEZE。 来源路线 C:本批只读HWE素材中的qsort整数单调排序主题,metadata public/easy。原reference使用减法比较器;本题不采用该溢出fault。重复记录、ticket、稳定排列、归并/别名、范围统计与协议为原创software-only合同,不声称来自硬件或真实现场。split键 syn-arm-189;去重由root派发检查。难度UNMEASURED;未运行Qwen、真实Agent、板卡或模型服务。

候选 sequence.hpp / engine.cpp / protocol.cpp / main.cpp。公开README、docs/contract.md及smoke.in完整提供;私有check.py/observer.cc/spec.md,verify.py逐字复制rollout/bos_verify.py。C++17标准库,普通Linux进程,不需要真实时钟/网络/特权。正式image固定trace6 digest 1519f8daa403998e5401eeb70b973e8aac8346e25a937033bc502dc5de1641a1,实际image_id以正式receipt为准;当前门未运行。整task timeout120,checker每子进程15秒。

缺陷A:双游标merge在left耗尽后遗漏right尾段;公开完整smoke使用不同key,预期5记录而初态4记录,应用exit0。缺陷B:order在key相等时把payload作为次关键字,违背排序前次序;非smoke精确边界类型为相等元素稳定次序/全记录比较偏差,公开合同普通句只写一次。至少A横跨protocol调用、业务engine和main导出;题面不点名根因位置。fix_tail只修A,fix_stability只修B;mask_symptom只对smoke的2+3输入长度补尾,仍错其他合同。gold物化三个序列、bottom-up稳定merge sort与双游标merge;valid_replay仅保存已接受变更事件,每次从初始State重放,稳定插入排序并将两源连接后稳定插入,派生State不缓存为权威。

候选有效业务行排除空白、注释和全部预处理指令:gold501、template501;另报去纯括号gold382、template382。gold无仅供valid的未使用Event结构,初态直接省略丢失尾段,未保留不可达占行代码。

依据表共16条,每条涉及数值参数同时覆盖API和真实CLI成功上下端、邻居、native int64两极值;下表行号均为template/docs/contract.md。协议错误与API错误独立;所有返回code、values长度/每值、每条key/payload/ticket与next_ticket均原样观察,不hash替代。

检查项 公开依据 实际场景
Object lifetime / isolated state docs/contract.md:2 N for both slots, interleaved append/item/inspect/CLI/reset
Initial banks / ticket cursor / exhaustion docs/contract.md:3 empty,255 successful appends,reset retains cursor,exhaust/full combined
Raw Reply fields / failure immutability docs/contract.md:4 all code and vector fields, post-every-call full state
reset docs/contract.md:5 nonempty/empty,bank domains/API+CLI successful endpoints
append docs/contract.md:6 key/payload endpoints,capacity/ticket/key ordering,zero after nonzero
stable order and returned permutation docs/contract.md:7 ascending/descending equal keys with reversed payload,tickets/permutation
merge ordering and all tails docs/contract.md:8 both directions,empty and nonempty,source sortedness/capacity
merge aliases / equal source order / preserved fields docs/contract.md:8 self and destination aliases,ticket duplicates,locate positions
item raw record docs/contract.md:9 all indices,empty/missing,domain endpoints/native extremes
range sums and empty/min/max docs/contract.md:10 offset/count endpoints,16 int32 min/max sums,zero at end
locate ticket positions docs/contract.md:11 ticket1/255 successful,missing/domain,ticket duplicates
inspect value independence docs/contract.md:12 raw all banks/cursor and mutate returned State
run_cli caller object and physical count docs/contract.md:13 338 calls,1023 mixed lines then1024 append;post raw state/item,N+1 suppressed
run_cli grammar and integer domain docs/contract.md:14 all17 argument positions malformed,overflow,bounds;256/257,NUL/highbyte,CR/tab,noLF
CLI verbs/code vectors/canonical formatting docs/contract.md:15 per-verb actual code sets equal API sets;hex/showbase/showpos,width/fill/grouped locale
standalone exact bytes/stderr/exit docs/contract.md:16 independent app smoke/empty/mixedlimit;stdout/stderr/exit-only controls

开发事实与计数由factory report.json / 当前development evidence.json保留:Model独立Python排序/列表语义,observer仅接收stdin、调用公开API并输出原始值;不生成测试、不含预期/断言,unique_ptr持有两个不可赋值Engine,不复制候选对象。同进程run_cli后直接读取caller拥有对象。每编译/场景实际PID/argv/cwd/trueexit/timeout/输入-期望-actual-stderr len+SHA16及原因并集记录,compact JSON<3900B。compiler只按exit/timeout判断,诊断流保留;runtime严格stdout、stderr、exit、timeout分别取原因并集。开发全流base64包括成功/失败,factory-only exit_only输出正确/空stderr而仅应用exit9;warnings_only编译诊断非空但行为PASS;success_lines_only仅成功行计数变体被raw和独立app上限拒绝。正式原候选完整stdout不持久时只报告摘要/NOT_CAPTURED。

首次compiler前完成所有trusted源码读取/写入、输入与期望生成,scratch使用mkdtemp(dir=Path.cwd());之后只subprocess argv与内存比较,不再读写scratch。wrapper独占cwd负责退出时回收,check不chmod/chown。候选运行在子进程,Docker通过bos_verify降UID65534且独立私有grader;reader仅尝试fopen hint/check.py并关闭,不读取内容,拒读时exit23;可信host可读而PASS允许例外,保留原整体FAIL/exit1。不得把host称作隔离验收。

校准须root完整只读业务/开发原件审阅给ROOT129_FIRST_FREEZE_GO后,包含spec全树mode-size-SHA首冻,唯一每类5次host和Docker。11fixtures:gold/valid_replay应PASS;template/noop/cheat/cheat_read_grader/fix_tail/fix_stability/mask_symptom/stdout_noise/stderr_noise应FAIL。普通负例2build0及4runtime0后按行为FAIL;reader拒读exit23单列。全部原件唯一目录,双盘每秒append wall/monotonic采样,任一<10GiB停止本门控制器、真实wait并保留事实。monitor独立SID与PPid1、driver和controller独立SID;driver保存controller wait,monitor保存driver wait。未测试断网/硬件/真实Agent/难度,无训练或采样。