Debug a no
The rolebook-debug-denial agent skill.
Finds out why Rolebook said no to someone and how to fix it, by reproducing the exact check through the app’s own loaders and reading its decision code and trace. Use when a user cannot open, edit, or see something they expect to, or when a check returns NOT_GRANTED, EXPLICIT_DENY, UNKNOWN_ROLE, INVALID_ASSIGNMENT, RESOURCE_MISMATCH, INVALID_REQUEST, or INVALID_SUBJECT.
Skill name: rolebook-debug-denial. Ask your agent for the task in your own words, or invoke the skill by name where your tool supports it.
Packages it needs
| Requirement | Package and supported versions |
|---|---|
| Always | rolebook >=4.0.0 <5.0.0 |
The skill checks the installed versions against these ranges before it uses each part, and stops rather than up- or downgrading without your consent.
What it does
- Before you start
- Pin down the question
- Reproduce with the app’s own loaders
- Read the answer
- Missing from a list
- Propose the fix
- Check your work
Reference files
The skill loads these files from its references/ folder when a step needs them:
decision-codes.mdlisting.mdreproduce.mdsecurity-rules.mdsharing-codes.md