api: signed /webhook/system route for scheduled system steers; memory hygiene in the instructions #9
Loading…
Reference in a new issue
No description provided.
Delete branch "system-steers"
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?
POST /webhook/systemlets the forge host hand an identity a task on a schedule — first use: the daily memory-notebook audit by the security identity. The body names the source, identity (role defaults to its primary role), an event key for dedupe, a summary and the task; the request is HMAC-signed with the Forgejo webhook secret the dispatcher already verifies, so only the forge can mint these. System sources have no resident actor, so the steer kicks. Reserved notification sources, unknown identities/roles and empty tasks are refused.The memory paragraph of the thread instructions now states the access model (
identity-memory/<you>: the identity, the security identity and the founder; visibility not changeable by the identity) and the hygiene rule (no secrets or third-party personal data; check the diff; pushes are scanned; daily audit).Tests: parser (routing, event key, kick, every refusal).
go test ./...green.