forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/im-core/src/services.rsClear filter

2026-09-09

Services and clients merge into one admin sectionAhmet Kaan Gümüş · b163bda
Services and clients merge into one admin section

As concepts they were one thing wearing two tables: the family
wordmarks and the relying-party credentials that sign in as them.

services gains client_id (migration-guarded ALTER over the owner
precedent): POST /family/register stamps the client id it authenticated
beside the row — insert and refresh alike — so the panel can join the
wordmark to its credential; im's own boot row stays NULL, the IdP is
not its own client. Existing rows heal the next time their app
re-registers; no code backfill. register grew the client_id parameter
(register_self passes None), and the Service struct carries the field
without serializing it — /family's wire shape is untouched.

The panel's Services section is now the merged table: key/name/address
half, client id/redirect URIs/registered half, Rotate/Revoke on any
client-bearing row (linked or stray), wordmark controls where they
apply, the dash where a half is missing, and both add lines — a
service and a client — under the table. section=clients lands there
too, so the old address keeps working; the separate Clients section
and its nav tab are gone. The landing's services home and /family
readers are untouched.

Tests: the register stamp (append, claim, refresh) at the store level,
the route stamp across two registers, and the merged section's three
row shapes — linked, credential-only, client-less — plus the alias.
Browser-verified on a scratch server: section renders, a client made
in the panel links to its service row after a real /family/register
curl, and the confirm pop still overlays without growing scroll area.
cargo test -p im-core (63) and -p im-web (37) green; workspace check
with zero warnings.

2026-09-08

the family maintains its own addresses: services rows carry an owner, im writes its own row from issuer on every boot, and a sibling writes its own over the new POST /family/register behind the same client pair as GET /family — a key nobody holds is appended or claimed keeping the admin's name, the same app's next boot moves the address only, another app's key is a 409 — while the admin panel keeps names and order but can neither remove nor re-point a row an app keeps, since the next boot would undo it; the seed stays first-boot-only and the toml comment says soAhmet Kaan Gümüş · e759615
the family maintains its own addresses: services rows carry an owner, im writes its own row from issuer on every boot, and a sibling writes its own over the new POST /family/register behind the same client pair as GET /family — a key nobody holds is appended or claimed keeping the admin's name, the same app's next boot moves the address only, another app's key is a 409 — while the admin panel keeps names and order but can neither remove nor re-point a row an app keeps, since the next boot would undo it; the seed stays first-boot-only and the toml comment says so

Claude-Session: https://claude.ai/code/session_01JDMA1TAen2UjGRvUVu96KE

2026-09-07