Almost every access control system in a corporate estate works the same way: you prove who you are once, and then the system decides, at the moment of each request, whether the identity you carry is allowed to do the thing you asked for. Identity in, policy lookup, yes or no. It is so universal that most engineers never notice it is a design choice rather than a law of physics. Spritely's architecture is interesting precisely because it refuses that choice, and the refusal is worth understanding even if you never run a line of Scheme in production.
Ambient authority is the thing that actually burns you
The technical name for the default model is ambient authority. Your process, your session, your service principal carries a bundle of permissions that apply to everything it touches, invisibly, all the time. Code doesn't have to ask for authority; it simply has it, by virtue of running as you. That is why a compromised browser tab, a malicious npm postinstall script or a rogue PowerShell module is so dangerous. None of them need to break authentication. They just need to execute inside a context that is already trusted, and then help themselves.
Look at how most real-world escalation actually unfolds and it is rarely a cryptographic failure. It is a managed identity with Contributor on the subscription because scoping it properly was fiddly. It is a service account that needed one SharePoint site and got tenant-wide Sites.ReadWrite.All because that was the permission that existed. It is a CI runner holding a token that can deploy to anything. The authentication worked perfectly in all three cases. The authority was simply far wider than the task.
What a capability model does differently
An object-capability system inverts this. Authority is not something you look up — it is something you hold. A reference to an object is the permission to use that object, and you can only use what you have been handed. There is no global namespace to enumerate, no ambient role to inherit from, and no way to name a resource you were never given. Spritely's Goblins library and the OCapN protocol extend this across the network, so that a reference passed between machines carries the same semantics as one passed within a process. The actor model does the plumbing: everything is a message to an object you hold a reference to, and references can be attenuated before you pass them on.
That attenuation point is the one I'd most like infrastructure people to sit with. In a capability system, delegating a narrower slice of your authority is the normal, cheap operation. In Entra ID, in AWS IAM, in Kubernetes RBAC, narrowing authority is the expensive operation — it means new app registrations, new roles, new policy documents, new review cycles. We have built stacks where least privilege is technically possible and administratively punitive, and then we act surprised when teams reach for the broad role. The incentive gradient runs the wrong way, and no amount of governance tooling fixes a gradient.
Petnames, or: the naming problem you already have
The petname concept is the part most likely to be dismissed as academic, and it shouldn't be. The idea is that names come in three flavours: globally unique but unmemorable identifiers, nicknames suggested by others, and local names you assign yourself and therefore trust. Global human-readable names are the problem child, because squatting, homoglyphs and lookalikes are unavoidable when a short memorable string must be unique across the whole world.
Which is, of course, the entire mechanism behind display-name spoofing in Teams and Outlook, lookalike domains in business email compromise, and malicious guest accounts whose UPN nobody reads because the friendly name looks right. We solved none of that; we bolted banners and training onto it. A petname system says the trusted name is the one you assigned, and everything else renders as untrusted-until-confirmed. Whether that model ever reaches mainstream collaboration tooling is a separate question, but it is a sharper diagnosis of the phishing problem than most security awareness programmes manage.
Local-first is an availability argument, not an ideology
Spritely leans on CRDTs and local-first design so that peers can work without a central server and reconcile afterwards. In the decentralisation conversation this gets framed politically. For anyone who runs IT, it is simply an availability and blast-radius argument. Cloud-only architectures concentrate failure: when the regional endpoint goes, the work stops, and the only recovery lever you hold is a status page and a refresh key. Conflict-free replicated data types are a genuinely mature answer to the sync problem that stopped offline-capable design being practical, and they are already shipping in collaborative editors you use today.
Where I'd temper the enthusiasm
None of this is procurement-ready, and pretending otherwise does the ideas no favours. Scheme and a Scheme-to-WebAssembly compiler are elegant choices for a research platform and a hiring problem for an enterprise. Capability discipline is unforgiving in a way role-based systems are not: if authority travels only by reference, then losing the reference means losing access, and recovery, auditability and break-glass all need answers that the industry has far less operational muscle memory for. The audit question in particular is non-trivial — centralised policy engines are awkward, but they do give you one place to ask "who could have done this?"
The transferable value is in the model, not the stack. Concretely, three things I'd take back into a Microsoft-centric estate:
- Treat every broad application permission as a design defect with a ticket, not a configuration state. Start with anything carrying a tenant-wide
.Allscope. - Make narrow delegation cheap. If scoping a managed identity to one resource group takes longer than granting subscription Contributor, your platform team has the wrong backlog.
- Stop relying on globally unique human-readable names as a trust signal anywhere a human makes a decision — external senders, guest invitations, app consent screens.
[AUTHOR: add a real example from your own work here, if you have one, showing a case where scoping was the expensive option and a broad role won.]
Research platforms earn their keep by showing which of our constraints are actually accidents. Ambient authority is an accident. We have simply been living with it long enough to mistake it for architecture.
Source: Presentation: Spritely: Infrastructure for the Future of the Internet