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
lib/facades/*.w (libcurl, sqlite3, sdl, zlib, bzip2) are unreachable from with get: users copy them out of the compiler repo #3118
The compiler repo ships hand-written facades in lib/facades/ (libcurl, sqlite3, sdl, zlib, bzip2). with get c.libcurl does not use them; the postal-mcp user had to find ~/with/lib/facades/libcurl.w, copy it into src/facades/, and extend it. A facade the project wrote is the compiler's knowledge, and a user should never copy it.
Fix: every facade the toolchain owns lives where with get resolves it (the registry, registry/c/<lib>/), versioned against the package, and with get uses it over the generated draft. Lookup order: project override > registry > generated draft. The UATs that copy lib/facades/*.w into a fresh project (the release UAT does) switch to with get.
Done when: lib/facades/ is empty or gone, each of its facades is reached through with get, and no UAT or doc tells a user to copy one.
State after #3349 (Eric, 2026-11-14): lib/contracts/ no longer exists. The five hand-written contracts are written inline by the acceptance scenarios that use them (uat/<lib>.uat), and the four the compiler tests import live under test/lib/contracts/. Nothing in With's own lib/ describes another project's package. The fix here is unchanged: each contract a user should get belongs in the registry (registry/c/<lib>/), delivered by with get, and the scenarios then stop writing their own.
Closing: what this asked for is done or tracked elsewhere, checked on main 6a29fb9.
lib/facades/ is gone. No UAT copies a contract from the compiler repo: each scenario states its contract inline in its .uat (uat/sqlite3.uat, sdl.uat, zlib.uat, libcurl.uat, bzip2.uat), per the ruling that a scenario's support files are written inline.
The only remaining mentions of lib/facades are in proposals (uat-plan.md, claims.md, wcl-implementation-plan.md) and one comment in src/SemaDecl.w; no user-facing doc tells a user to copy one.
Activity
The toolchain's libc contract is cited, each item by its C11 or POSIX…
ehartford commentedon Nov 15, 2026
State after #3349 (Eric, 2026-11-14):
lib/contracts/no longer exists. The five hand-written contracts are written inline by the acceptance scenarios that use them (uat/<lib>.uat), and the four the compiler tests import live undertest/lib/contracts/. Nothing in With's ownlib/describes another project's package. The fix here is unchanged: each contract a user should get belongs in the registry (registry/c/<lib>/), delivered bywith get, and the scenarios then stop writing their own.ehartford commentedon Nov 17, 2026
Closing: what this asked for is done or tracked elsewhere, checked on main 6a29fb9.
lib/facades/is gone. No UAT copies a contract from the compiler repo: each scenario states its contract inline in its.uat(uat/sqlite3.uat,sdl.uat,zlib.uat,libcurl.uat,bzip2.uat), per the ruling that a scenario's support files are written inline.lib/facadesare in proposals (uat-plan.md,claims.md,wcl-implementation-plan.md) and one comment insrc/SemaDecl.w; no user-facing doc tells a user to copy one.with getresolves a registry contract over the generated draft (registry/c/zlib,libxml2,raylibexist). The four that are still inline in a UAT and not in the registry are the per-library issues: Registry facade for c.libcurl (HTTP): complete, reviewed, with a zero-unsafe UAT #3143 (libcurl), Registry facade for c.sqlite3 (database): complete, reviewed, with a zero-unsafe UAT #3146 (sqlite3), Registry facade for c.sdl (windows and input): complete, reviewed, with a zero-unsafe UAT #3157 (sdl), Registry facade for c.bzip2 (compression): complete, reviewed, with a zero-unsafe UAT #3138 (bzip2).