Skip to content

The contract view places the toolchain's libc contract in its own file; sqlite3 cites its last seven items (§31.9 rule 2) - #3323

Merged
ehartford merged 3 commits into
mainfrom
cite-sqlite3
Nov 14, 2026
Merged

ehartford merged 3 commits into
mainfrom
cite-sqlite3

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Three commits.

  1. The contract view placed the toolchain's libc contract (<toolchain facade libc>, a synthetic file) at the importing file's path with the contract text's own line numbers. A file's uncited count then judged strdup or fopen claims against that file's comment lines. The rows now name <toolchain facade libc>:<line>, and those claims are no part of a file's own count. One file-id-to-name function on Sema replaces two loops. bzip2's recorded count falls 1 to 0.
  2. The seven sqlite3 items that had no citation quote sqlite3.h 3.51.0 (the host SDK's header). The example's byte-for-byte copy is synced (comments only). Recorded count falls 11 to 0.
  3. The new test states what the audit prints; its snapshot holds the place.

Test ok_toolchain_contract_place reads uncited=1 at the wrong place on the installed compiler.

Battery GREEN on dfa4f77 (darwin-aarch64, pinned seed). Two earlier batteries on this branch were red on the new test's own harness requirements and one ceremony count, all fixed here.

Eric Hartford added 3 commits November 14, 2026 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant