amos 913d3c367f Add the usable task catalog and admit batch 6 tasks
All 161 task packages, including the 21 batch 6 C++17 tasks that passed
gates 1/2, are now in Git. rollout.catalog builds docs/task-catalog.{json,md}
from the task packages, a fresh trace5 calibration (128/128 PASS), every
verified controller receipt on the current task digest, documented holds
and digest-bound difficulty reviews. 123 tasks are usable (6 HARD),
5 are on hold and 33 still need a subprocess-only grader.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:43:15 +08:00

23 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 公开观察行协议
ASCII空白分词,每行一个命令;字符串用逐字节小写hex,空串写-。数据行只读入内存,不是待评分API的输出。索引0起;命令编码有效且索引存在,错误合同通过API输入字段表达。
* R:清空待编译的raw Group列表,输出0。
* G NAME MASTER MODE PIN:在raw追加一组,MODE为整数枚举,输出0。
* S GI NAME LINK:给raw第GI组追加Slot,输出0。
* C GI PATH PRIORITY ENABLED:给raw第GI组追加Candidate,PRIORITY为int32整数,ENABLED为0/1,输出0。
* T GI CI SLOT TARGET:给raw组GI候选CI追加Attachment,输出0。
* W:compile_world(raw,dirtyWorld),输出[error,world,input_unchanged];保存此World,仅成功World可供P/F使用。
* K TEXT:parse_priority(TEXT,nonzero),输出[error,value,input_unchanged]。
* I TEXT:先保存TEXT原值,调用valid_id/valid_path后输出[valid_id(TEXT),valid_path(TEXT),input_unchanged]。
* P:project当前成功World,输出[projection,input_unchanged]。
* X:清空待回放events,输出0。
* E OP GROUP PATH PRIORITY ENABLED COUNT [SLOT TARGET]...:追加一个Event;COUNT指定附件对数,输出0。
* F:replay(World,events,dirtyTranscript),输出[error,transcript,input_unchanged];保存结果但不改变当前World。
* U:仅在最近F成功时,将其final_world的副本设为当前World,输出0。
* J:复制当前World和最近Transcript,修改副本中的组名/候选/附件及历史/变化,输出[world_copy_independent,transcript_copy_independent],只比较原对象是否仍等于复制前,输出后不保留副本。
error为none=0/invalid=1;Mode和Operation整数值见header。world编码为Group数组,每Group=[name,master_link,mode,pin,slots,candidates];Slot=[name,link];Candidate=[path,priority,enabled,attachments];Attachment=[slot,target]。projection=[selections,bindings],Selection=[group,mode,pin,current],Binding=[link,target]。transcript=[final_world,frames],Frame=[world,projection,changes],Change=[link,before,after]。bool输出JSON true/false。所有字符串输出JSON字节转义;stdin不依赖宿主编码。协议成功时stdout一行一个JSON,stderr可写任意诊断。
W前output.groups预置dirty;F前final_world和frames均预置dirty;K前value=987654321。input_unchanged比较API调用前后完整输入序列化,包含嵌套附件与events。