diff --git a/.fabrica/.gitignore b/.fabrica/.gitignore new file mode 100644 index 0000000..a045855 --- /dev/null +++ b/.fabrica/.gitignore @@ -0,0 +1,2 @@ +# Local Fabrica runs: records, logs and artifacts (Fabrica core docs/FORMATS.md) +runs/ diff --git a/.fabrica/app.yaml b/.fabrica/app.yaml new file mode 100644 index 0000000..1071433 --- /dev/null +++ b/.fabrica/app.yaml @@ -0,0 +1,11 @@ +# Ianitor Domi declares itself to Fabrica (Fabrica core docs/FORMATS.md, "Fabrica: the app"): a server part only, +# the reverse proxy with its control plane and web UI, deployed by .fabrica/artifex/deploy.yaml through the server's +# fabrica-deploy@ianitor. Fabrica's Apps screen shows one card for it: Deploy, then the Custos card. The colour is +# the murex accent (packages/ui/src/tokens.css, --accent). +name: Ianitor +icon: globe +color: "#e0a3dc" +parts: + server: + pipeline: deploy + input: ianitor diff --git a/.fabrica/artifex/deploy.yaml b/.fabrica/artifex/deploy.yaml new file mode 100644 index 0000000..6713b82 --- /dev/null +++ b/.fabrica/artifex/deploy.yaml @@ -0,0 +1,15 @@ +# Ianitor Domi onto the server (Fabrica docs/04_deploy.md): `fabrica deploy ianitor`, or Fabrica's Apps → Ianitor → +# Deploy. The NixOS runner starts fabrica-deploy@ianitor: the server's clone is fast-forwarded, the flake input +# `ianitor` updated (inputs.ianitor.nixosModules.ianitor, docs/deploy/configuration-server.patch), the system +# switched, the health check asked, and the switch rolled back if it does not answer. After a deploy run +# deploy/test-access.sh from a LAN machine (CLAUDE.md). +name: deploy +on: + manual: true +runner: nixos +steps: + - id: approve + approve: "Deploy Ianitor ${{ commit }} to the server?" + - id: switch + needs: [approve] + deploy: ianitor diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index fd63b7b..667039e 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -150,6 +150,15 @@ Identity gate, tunnel, Domi templates, ACME server, HTTP/3, migrating public sit ## 10. Handover (Rewritten at the end of every session: what changed, what was not verified, which build is deployed, the next step.) +**2026-11-08: Ianitor declared to Fabrica.** +- **Changed:** `.fabrica/app.yaml` (a server part, flake input `ianitor`) and `.fabrica/artifex/deploy.yaml` (approve, + then `deploy: ianitor`), so Fabrica's Apps screen shows an Ianitor card with Deploy. `fabrica artifex check`: 0 problems. +- **Deployed:** nothing; no deploy was started. +- **For Mark, before the card's Deploy can work:** the server flake needs the `ianitor` input (the patch in + docs/deploy/configuration-server.patch; with `rev=` pinned, `nix flake update ianitor` cannot move it, so drop the + `rev=` once the first lock is reviewed), and `ianitor` in `services.fabrica-artifex.deploy.inputs` (Fabrica + docs/04_deploy.md) with its health URL. + **2026-11-08: Phase 3, web UI, PKI, NixOS.** - **Changed:** - apps/web and packages/ui: Svelte 5 UI from the designer's hand-off (docs/ui-handoff.md, decisions in docs/ui-decisions.md), murex palette, self-hosted fonts, no outside requests (CSP). vitest click smoke test for every §4 flow, with the accepted 4th clicks.