Rolebook vs Permit: field-level checks in your request
Rolebook fits when a TypeScript request handler should decide field by field, in process, from facts your server has already loaded.
Permit's documentation says permission checks go to a policy decision point, which Permit manages or you run inside your own infrastructure.
The check is a function call
Rolebook Core is a TypeScript library with no network or database dependency. Your server loads the resource through its own data path, wraps it with trustedResource() and calls check() in the same process. A rule can be limited to field paths, and a request names the field it touches.
Maya changes a project title
Maya's role allows project:update on the fields title and metadata.*. Your handler loads project_1 and checks the field title, which is ALLOWED. The same check without a field is NOT_GRANTED, because a field-limited allow never grants a request for the whole resource. Rolebook returns each decision and your handler applies it to the data.