Skip to content

with get must say what it delivered: coverage on fetch, and with facade report c.<lib> to explain the raw rest #3117

Closed

Description

@ehartford

Part of #3115.

Today with get c.libcurl succeeds silently; the user finds out that 137 of 152 functions are raw only by trying to call them. The fetch should end with one line per package, e.g.

libcurl 8.23.0: 152/152 presented (registry facts v1)
yyjson 0.10.0: 41/66 presented; 25 raw (run `with facade report c.yyjson`)

and with facade report c.<lib> should print, per raw function, the refusal in plain words and what would present it (a grammar clause, a registry facts entry, or "this function is unsafe by nature: "). A call of a raw function from user code should point at the same report line rather than a generic "unsafe required".

Done when: a fetch prints coverage, the report command exists, and calling a raw function names its report entry.

Activity

  1. added a commit that references this issue on Nov 11, 2026
  2. ehartford commented on Nov 11, 2026

    @ehartford
    ContributorAuthor

    Partly landed in #3258: with get already prints coverage, and a call of a raw function now quotes the report's reason and names the report file. The with facade report c.<package> [function] command is built and tested on branch facade-report-cmd; it adds a CLI command, so it waits on its §18.5 line. Also fixed there: macro-supplied attributes in the report, a variadic reported as presented, and an empty facade file for a package with nothing to state.

  3. ehartford commented on Nov 14, 2026

    @ehartford
    ContributorAuthor

    with contract report c.<package> [function] landed in #3318. Coverage printed on fetch is the part still open.

  4. added a commit that references this issue on Nov 17, 2026
  5. ehartford commented on Nov 17, 2026

    @ehartford
    ContributorAuthor

    Done with #3405: with get prints the coverage of each drawn contract (facade <lib>: N functions, S presented safely, R raw) and, when any stay raw, names with contract report c.<lib>; the report command landed in #3318 and a call of a raw function names its report entry (SemaCheck.w, the raw-call diagnostic).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions