`import json:lib/json.mq.md` binds file libraries; `import fmt:time.format` binds member short names (replaces `> use`). Legacy `> path.mq.md` / `> use` now hard-error with a hint. Migrates repo docs, skills, ext, lib, public, examples, man-test and tests; adds a negative gold and updates view/catalog rendering. Co-authored-by: Cursor <cursoragent@cursor.com>
748 B
748 B
title: async writeback via subtask description: Fire-and-forget persist_slot with explicit line=; join on exit. import writeback:lib/writeback.mq.md import subtask:lib/subtask.mq.md import json:lib/json.mq.md
persist_slot
+ `key`
+ `value`
+ `line`
writeback.ensure key=ok placeholder=pending line=
linewriteback.ensure key=error placeholder=pending line=linewriteback.record value=valuekey=keyline=line
main
*anchor = > host_outer_call_line *
*wb = > json.parse text={"key":"ok","value":"async-ok"} *
*wb = > json.set map=wb key=line value=anchor *
subtask.spawn fn=persist_slot args=
wb
print text=spawned