Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
# 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.

## 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
(`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
check.
Loading