Add Forgejo edit/refresh sync path for space content (T05)

Keep git as source of truth: deep-link to Forgejo editor, manual refresh to
drop cache, and optional signed push webhook for automatic invalidation.
This commit is contained in:
tegwick 2026-08-12 03:29:26 +02:00
parent 9c10037f34
commit 3f30bcd340
9 changed files with 458 additions and 5 deletions

View file

@ -145,7 +145,7 @@ command; env `FORGEJO_BASE_URL` / optional `FORGEJO_TOKEN`.
```task
id: CSOC-WP-0004-T05
status: todo
status: done
priority: medium
state_hub_task_id: "30ed5def-2718-4379-834c-920e751e4d0b"
```
@ -160,6 +160,10 @@ Prefer the smaller path that keeps git as source of truth.
**Done when:** a content change in Forgejo appears in the app without redeploy,
and (if in-app write exists) a save produces a commit without secrets in git.
2026-08-12: **Edit in Forgejo** + **View source** + **Refresh content** on space
detail; repo-scoped cache invalidate; optional push webhook
`POST /app/spaces/hooks/forgejo/` (HMAC or shared secret). Docs:
`docs/spaces-content.md`. No in-app editor (git remains SoR).
## T06 — Seed and runbook for app.coulomb.social
```task