[docs] Roadmap: T4 status and handover
This commit is contained in:
@@ -146,10 +146,61 @@ Identity gate, tunnel, Domi templates, ACME server, HTTP/3, migrating public sit
|
||||
| 2 Control plane | Done | Merged to main 2026-11-07 (PR 3): routes repo, journaled apply with trial/watch/revert, undo, restore, share links, API tokens, REST API + OpenAPI, `--dev`. Four QC rounds; every finding fixed or listed in Handover. Real Gitea, systemd credentials and Authelia not exercised. |
|
||||
| 3 Web UI, PKI, NixOS | Built and merged; Done criteria pending Mark | Merged to main 2026-11-08 (PR 5): web UI (murex palette), Domi CA and device mTLS, UI sign-in behind Authelia, runtime engine switch with changes under Caddy, NixOS flake, module and VM tests. Click smoke test green. Not yet done: VM tests run on a KVM host, Mark's nixos-rebuild on the staging mirror, deploy/test-access.sh there, the LE staging check. |
|
||||
| 4 Hardening and release | Started: the release kit | A `v*` tag's Gitea release carries the notes and screenshots of the web UI under a signed SHA256SUMS (docs/release.md, 2026-11-09). The rest of phase 4 is not started; known gaps carried here: see Handover. |
|
||||
| T4 Anywhere, previews, team (Fabrica docs/32_coherence.md) | Built and merged; release prepared | 2026-11-17: Ianitor off NixOS (Linux installer, Docker image, Windows Server in Caddy mode), branch previews for Fabrica with previews-only tokens, team sign-in without Authelia, the diff suite on Windows. 0.2.0 prepared (pipeline, notes), not tagged. See Handover. |
|
||||
|
||||
## 10. Handover
|
||||
(Rewritten at the end of every session: what changed, what was not verified, which build is deployed, the next step.)
|
||||
|
||||
**2026-11-17: T4, Ianitor anywhere, previews for Fabrica, team sign-in (Fabrica docs/32_coherence.md).**
|
||||
- **Changed:**
|
||||
- core: `preview` (branch and project → one safe label, `<branch>--<project>.<domain>`, hashed where anything was
|
||||
lost; refuses control characters and over-long names) and a `[preview]` table in host files, checked against the
|
||||
host name; compilers ignore it. Compile options take Windows drive paths (`C:/…`).
|
||||
- control: `/api/v1/previews` (open/move, get, list, close by project and branch, kill by host), tokens with
|
||||
`scope = previews` that get `403 token.scope` everywhere else, the upstream allow list (`[previews] upstreams`;
|
||||
control's port, Caddy's admin, unspecified/link-local/multicast never), expiry sweeper. Caddy's admin API over
|
||||
loopback TCP (Windows), applies through Caddy without an edge, `ianitor-control service control|caddy-guard`
|
||||
(Windows services), `--log-file`. Team sign-in (`team.rs`): setup link, invites, `__Host-ianitor` sessions,
|
||||
admin/member roles, Tessera roots with Fundamentum's match code; `ianitor-control team setup-link`; control keeps
|
||||
the admin host itself with `[ui] admin_tls`; the admin host is accepted with any port.
|
||||
- edge: a websocket `101` keeps the upstream's headers (response rules apply to HTTP answers only), as Caddy does;
|
||||
found by the preview fixture in the diff suite. `run_until` on Windows (tests only).
|
||||
- tests/diff runs on Windows (Pingora in-process vs Windows Caddy 2.11.7, drive paths), two preview hosts in the
|
||||
fixtures and five preview cases in the corpus.
|
||||
- web: Previews screen (see 1 click, close 2), sign-in from `#signin=` links, Settings → Team (invite 3 clicks),
|
||||
previews-only tokens; version 0.2.0.
|
||||
- deploy: `deploy/docker` (image, compose, CI target, Linux dist target), `deploy/linux` (install.sh, setup.sh,
|
||||
systemd units), `deploy/windows/install.ps1`, NixOS `services.ianitor.previews.*`. scripts: `preview.sh|.ps1`
|
||||
(Fabrica's client), `package-windows.mjs`, `smoke-windows.ps1`, `smoke-docker.sh`, `smoke-linux.sh`.
|
||||
- docs: previews.md, deploy/anywhere.md, api.md (team, previews), custos-ticket.md (T4 part); release pipeline
|
||||
builds and tests the Linux tarball, the Windows zip and the image; `.fabrica/notes/0.2.0.md`.
|
||||
- **Verified:**
|
||||
- Windows (this PC, Windows 10, not Server): core 112, control 14 unit + api 1, apply 1, caddy_mode 1,
|
||||
engine_switch 1, pki 1, previews 5, stores 6, team 1, ui_auth 1 (the Linux-only targets are skip stubs), diff 3
|
||||
(the real suite, Windows Caddy), apply_sequence 1 (stub), edge 16 unit + stubs, testkit 1. vitest 24, svelte-check
|
||||
0 errors, `fabrica artifex check` 0 problems.
|
||||
- Linux (Docker, `--target ci`, Pebble 2.6.0, Caddy 2.11.7): core 112; control 14 + api 5, apply 25, caddy_mode 1,
|
||||
engine_switch 16, pki 8, previews 5, stores 6, team 1, ui_auth 5; diff 3 + apply_sequence 1; edge 16 + acme 1,
|
||||
device_certs 7, forward_auth 5, qc_sni_stale 4, reload 5, secrets 3, share_links 7, share_throttle 3,
|
||||
trusted_proxies 2, upstreams 4; testkit 1. `pki::device_certificate_needs_the_match_code_and_installs_once`
|
||||
failed once under the full parallel run and passed twice alone (a load flake, not T4 code). The ACME test needs
|
||||
Pebble 2.6.0: with 2.10.3 Pebble cannot resolve the test name.
|
||||
- Smoke, previews end to end with the previews-only token and Fabrica's client: Windows Caddy mode through
|
||||
`install.ps1 -NoService` (`scripts/smoke-windows.ps1`): PASSED. Docker and Linux (systemd): see below.
|
||||
- **Not verified:** the Windows services under the SCM (registration, LocalService ACLs, ports 80/443) and Windows
|
||||
Server itself; `nix build .#ianitor` and the VM tests (no Nix/KVM here); a real browser on the sign-in link; Let's
|
||||
Encrypt for previews; a push of the routes repository to GitHub or GitLab.
|
||||
- **Deployed:** nothing. No tag, no release run.
|
||||
- **Server (Mark):** nothing is required for T4; previews on the NixOS server are opt-in:
|
||||
`services.ianitor.previews = { domain = "preview.<domain>"; upstreams = [ … ]; };` in hyperv-infra's
|
||||
modules/ianitor.nix (the module from docs/deploy/configuration-server.patch, if it is applied by then), a wildcard
|
||||
DNS record, then in hyperv-infra: `nix flake update ianitor && sudo nixos-rebuild switch --flake .#hyperv-vm`.
|
||||
- **Open:** Custos `http-token` target kind, a generic team approval for admin changes, a browser Domi key
|
||||
(docs/custos-ticket.md, T4); Fabrica's `preview:` step and close-on-merge (Fabrica docs/handover/t4-previews.md);
|
||||
the Docker image is not pushed to a registry; plain Linux has no Caddy fallback; Caddy's admin API on Windows is
|
||||
loopback TCP (any local process can reach it).
|
||||
- **Next step:** the main session tags v0.2.0 and starts `release`; Fabrica wires its preview step.
|
||||
|
||||
**2026-11-17: The Domi CA moved to the shared crate domi-pki (Fabrica docs/32_coherence.md, T3a).**
|
||||
- **Changed:** `crates/core/src/pki.rs` is now Ianitor's view of [domi-pki](https://gitea.marek-novak.cz/mnovak/domi-pki)
|
||||
v1.0.0 (git tag in Cargo.toml): the same public API, the same error messages and the same encrypted-key format
|
||||
|
||||
Reference in New Issue
Block a user