Step 22 C: metrics over the registry, documentation, PR-doc

The metrics page sums the registered repositories' sizes; the instance
configuration is documented in docs/configuration.md, the architecture skill,
AGENTS.md and the step 22 plan (session C ticked, fairness decided FIFO).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
mhoennig
2026-09-02 09:06:13 +02:00
co-authored by Claude Fable 5.1
parent b66d26a03a
commit 58799ed0ed
8 changed files with 199 additions and 13 deletions
@@ -20,7 +20,7 @@ class SystemMetricsCollectorTest : FunSpec() {
repoSizeBytes: (Path) -> Long = { HALF_GIB_BYTES },
) = SystemMetricsCollector(
stateFile = { tempDir.resolve("system-metrics-state.json") },
workingDir = tempDir,
repoDirs = { listOf(tempDir) },
clock = Clock.fixed(now, ZoneOffset.UTC),
procStat = tempDir.resolve("stat"),
procMeminfo = tempDir.resolve("meminfo"),