summaryrefslogtreecommitdiffstats
path: root/tests/architecture.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/architecture.rs')
-rw-r--r--tests/architecture.rs21
1 files changed, 11 insertions, 10 deletions
diff --git a/tests/architecture.rs b/tests/architecture.rs
index e957f53..d3a4142 100644
--- a/tests/architecture.rs
+++ b/tests/architecture.rs
@@ -44,16 +44,17 @@ const RANKS: &[(&str, u8, &str)] = &[
("watch", 6, "detection: turns a moved upstream into a candidate, so it needs review"),
("pipeline", 7, "the step machine: orchestrates watch, review and sandbox"),
("ops", 8, "retention, metrics, backup: reads across the modules it reports on"),
- ("http", 9, "the UI: the top of the tree, everything is beneath it"),
- ("main", 10, "the CLI: composition root"),
- ("lib", 10, "the crate root: declares the modules and re-exports the error type"),
- ("bin/sandbox-agent", 10, "the sandbox agent: composition root on the far side of the wire"),
- ("bin/gpg", 10, "a shim binary: composition root for one tool"),
- ("bin/makepkg", 10, "a shim binary: composition root for one tool"),
- ("bin/makechrootpkg", 10, "a shim binary: composition root for one tool"),
- ("bin/mkarchroot", 10, "a shim binary: composition root for one tool"),
- ("bin/pacman", 10, "a shim binary: composition root for one tool"),
- ("bin/repo-add", 10, "a shim binary: composition root for one tool"),
+ ("usecase", 9, "the workflows both front ends run: orchestrates review, watch, pipeline and ops"),
+ ("http", 10, "the UI: renders use-case results, so only the composition roots are above it"),
+ ("main", 11, "the CLI: composition root"),
+ ("lib", 11, "the crate root: declares the modules and re-exports the error type"),
+ ("bin/sandbox-agent", 11, "the sandbox agent: composition root on the far side of the wire"),
+ ("bin/gpg", 11, "a shim binary: composition root for one tool"),
+ ("bin/makepkg", 11, "a shim binary: composition root for one tool"),
+ ("bin/makechrootpkg", 11, "a shim binary: composition root for one tool"),
+ ("bin/mkarchroot", 11, "a shim binary: composition root for one tool"),
+ ("bin/pacman", 11, "a shim binary: composition root for one tool"),
+ ("bin/repo-add", 11, "a shim binary: composition root for one tool"),
];
/// `pub use … ::*` a module is still allowed to keep, as `module -> count`.