Epic: add all-powerful init.lisp with hosted policy hooks for billing and actor quotas #58
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority:P1
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/quasar#58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Give Quasar an Emacs-style trusted Common Lisp init layer for operator/deployment customization without rebuilding Quasar.
This is intentionally different from actor code:
init.lispis trusted application configuration with access to the full Quasar extension API.Init locations
Hosted/system deployment:
/etc/quasar/init.lispDesktop/user deployment:
~/.config/quasar/init.lispExact paths may be refined, but system and user init layers must remain distinguishable.
Required extension surface
init.lispshould be able to:Hosted Quasar use case
The deployment at
quasar.starintel.actormust be able to implement account/product policy in Lisp, including:The authoritative policy must run server-side. The browser may display quota state but cannot enforce it alone.
Lifecycle hooks
Define a stable hook API, including candidates such as:
Critical spawn invariant
Every spawn path must hit the same authoritative quota/policy hook:
No actor may bypass account limits by spawning descendants.
Security boundary
init.lispis trusted operator codeinit.lispis trusted as that local user and must never silently become server authorityTDD acceptance
Dependencies
Non-goals