You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Registry facade for c.cjson (JSON): complete, reviewed, with a zero-unsafe UAT #3151
Deliver registry/c/cjson/: a reviewed facts file (§16.2b.15) so that with get c.cjson presents the library's whole public API safely, or names, for each function left raw, why it is unsafe by nature.
UAT (fresh project, with get c.cjson, no unsafe, no project facade): cJSON_Parse, typed item access, cJSON_CreateObject/AddItemToObject, cJSON_Print, cJSON_Delete ownership.
Steps: draft and read the coverage report (#3116); file any grammar gap or proof misread it shows under #3115 rather than working around it; write the facts with each clause citing the library's manual; the UAT lands with the facts. Done when with get c.cjson reports full coverage (#3117) and the UAT passes on every platform its dependency chain supports.
From the #3116 survey rerun on main 6d478f1: cjson is now read whole (79 functions, #3167), but 0 present: cJSON_New_Item allocates through global_hooks.allocate and cJSON_Delete frees through global_hooks.deallocate, function-pointer fields of cJSON_Hooks (default malloc/free). Law 4 forbids taking those by name (#3172), so the registry facts for c.cjson must state the hooks convention: allocate is the allocation, deallocate the drop; then cJSON_Parse/Create*/Delete present. Same class as yyjson (#3150).
Blocked: a complete facade for this library waits on the contract-language rulings its raw functions need (#3173 buffers paired with record fields, #3174 calls through function-pointer fields, #3177 a destroyer at another position) and on the decision on #3115 whether with get builds from source by default, since a prebuilt binary's proofs grant nothing (13 functions presented across 22 libraries today, 1,239 from source). Unblock when those close.
Activity
ehartford commentedon Nov 9, 2026
From the #3116 survey rerun on main 6d478f1: cjson is now read whole (79 functions, #3167), but 0 present:
cJSON_New_Itemallocates throughglobal_hooks.allocateandcJSON_Deletefrees throughglobal_hooks.deallocate, function-pointer fields of cJSON_Hooks (default malloc/free). Law 4 forbids taking those by name (#3172), so the registry facts for c.cjson must state the hooks convention: allocate is the allocation, deallocate the drop; then cJSON_Parse/Create*/Delete present. Same class as yyjson (#3150).ehartford commentedon Nov 18, 2026
Blocked: a complete facade for this library waits on the contract-language rulings its raw functions need (#3173 buffers paired with record fields, #3174 calls through function-pointer fields, #3177 a destroyer at another position) and on the decision on #3115 whether
with getbuilds from source by default, since a prebuilt binary's proofs grant nothing (13 functions presented across 22 libraries today, 1,239 from source). Unblock when those close.Bundle 1: registry facades and zero-unsafe UATs for cjson, xz_utils, …