api: signed /webhook/system route for scheduled system steers; memory hygiene in the instructions #9

Merged
founder merged 1 commit from system-steers into main 2026-08-23 05:55:12 +00:00
Owner

POST /webhook/system lets 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.

`POST /webhook/system` lets 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.
POST /webhook/system lets 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 are
refused, as are unknown identities/roles.

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).
founder deleted branch system-steers 2026-08-23 05:55:12 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
key-store/dispatch!9
No description provided.