From 12747349c6a971e1cfa71cbf838554f6e9bf20ce Mon Sep 17 00:00:00 2001 From: piquel Date: Wed, 4 Nov 2026 11:23:03 +0100 Subject: [PATCH 1/2] docs: bring AGENTS.md up to date List what the repository holds, add the operator CLI to the surfaces, and state when an admin operation may stay CLI-only. --- AGENTS.md | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index b6151850c..661c27be3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,8 +1,15 @@ # piquel-fr -This repository conatains everything under the piquel.fr domain. -For now, that is an authentication service, its utility crates and SDKs for the -authentication service. +This repository contains everything under the piquel.fr domain: + +- `apps/auth-service`: auth.piquel.fr (OIDC, its sign-in pages, the account + settings and the developer console), the admin dashboard and the operator CLI. +- `apps/web`: piquel.fr's own site. +- `crates/`: `auth-sdk` (the Rust SDK), `common`, `crypto`, `database`, + `telemetry` and `ui`. +- `packages/auth`: the TypeScript SDK. +- `infra/`: Dockerfiles and piqueld deployments. +- `tests/browser` (Playwright) and `tests/sdk-vectors` (cases every SDK passes). This is still very early development. Breaking changes are expected. There are no real users yet so breaking things doesn't matter. @@ -10,6 +17,15 @@ no real users yet so breaking things doesn't matter. ## Guidelines When adding a feature, make sure all our surfaces get the feature as -appropriate. This include the developer console, the user settings, the -admin panel and the SDKs. All surfaces should support all features. Don't let -anything be left behind. +appropriate. This includes the operator CLI (`apps/auth-service/src/cli`), the +developer console, the user settings, the admin panel and the SDKs. All surfaces +should support all features. Don't let anything be left behind. + +The CLI is the most complete surface. An admin operation may stay CLI-only +(`App::page()` in `apps/auth-service/src/web/admin/mod.rs` maps it to `None`) +only with a documented reason next to its arm, as `PurgeUser` and +`PruneAuditChain` have. + +Generated files are committed; regenerate them with `just db prepare` (SQLx +cache), `just sdk-vectors` and `just sdk-types`. `just validate` is the local +check. From 5635e694570af104a309ee0ec605cf11be9663c5 Mon Sep 17 00:00:00 2001 From: piquel Date: Wed, 4 Nov 2026 11:25:26 +0100 Subject: [PATCH 2/2] docs(agents): name AdminApplication::page() and the pages still to build --- AGENTS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 661c27be3..827f54d2e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -22,9 +22,9 @@ developer console, the user settings, the admin panel and the SDKs. All surfaces should support all features. Don't let anything be left behind. The CLI is the most complete surface. An admin operation may stay CLI-only -(`App::page()` in `apps/auth-service/src/web/admin/mod.rs` maps it to `None`) -only with a documented reason next to its arm, as `PurgeUser` and -`PruneAuditChain` have. +(`AdminApplication::page()` in `apps/auth-service/src/web/admin/mod.rs` maps +it to `None`) only with a documented reason next to its arm, as `PurgeUser` and +`PruneAuditChain` have; the other `None` arms are pages still to build. Generated files are committed; regenerate them with `just db prepare` (SQLx cache), `just sdk-vectors` and `just sdk-types`. `just validate` is the local