Commit Graph
5 Commits
Author SHA1 Message Date
dckcandClaude Opus 5.5 b5411466e3 pola: mechanism vs policy as extreme modularity
Frame the API-shaping section with MarkM's "Security as Extreme
Modularity" slide: keeping policy out of a mechanism is modularity,
and in ocap code it's least authority too, since policy is which
references get handed out. The allowlist bullet now points to
acls-dont. The flower bullet gains its distinguishing force: each
step returns a new immutable handle, since a mutable builder passed
along can be widened. The section moves after the test example it had
split from its list, and a sources footer cites the slide.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 21:20:17 -06:00
dckcandClaude Opus 5.5 5e468ef525 pola: shaping an API: attenuate rather than allowlist, flower-shaped handles, mechanism vs policy
From designing a toybox Discord bot (dckc/vattr97#57): access by narrowed
capability, not a checked allowlist; the service hands out and narrows
access while its creator composes policy (a $1-per-user seller); narrow
then fire; narrowings follow the protocol (host patterns for resume URLs);
patterns as data rather than predicates; refs to secrets, redeemable only
where they belong; one timer primitive with schedules as a library.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 20:56:06 -06:00
dckc d25d46557e pola: the test takes the spontaneous step; actors decide the rest
Replaces the self/puppet split: `alice.tradeWith(bob)` rather than
`alice.pay(to, amount)`, per the actor-sim skill.

Generated-by: Claude Opus 5.5
2026-10-12 17:01:00 -05:00
dckc 8cf472636d pola: split a party's self facet from its puppet facet
From a review of vattr97 #33: a public `pay` method is as good as
handing out the purse.

Generated-by: Claude Opus 5.5
2026-10-12 16:54:34 -05:00
dckc b64b80efd5 pola: organize all code by the flow of authority
From Mark Miller's SOSP panel statement and Navigating the Attack
Surface talk, after a review found two parties' purses in one test
scope.

Generated-by: Claude Opus 5.5
2026-10-12 16:22:32 -05:00