Files
archie/ui/src/settings/ConfigNotices.vue
T
sam 5367731216 docs(architecture): purge the deleted runtime config overlay
2311529d deleted the overlay but not its documentation of record, leaving
docs/architecture/ asserting a subsystem that no longer exists.

safe-change-and-recovery.md was the dangerous one. It listed three ways back
from a bad runtime setting, all of them gone, so its recovery section was a
dead end. The replacement records the posture honestly: the control plane
fails closed, a stored value that will not validate stops the daemon starting,
and there is no escape hatch until archie-core-6zw0 lands.

configuration.md's ledger rows for the overlay store and the two dashboard
write routes become one row for the control-plane command. migration-decisions
marks the config-write descope superseded rather than deleting it, per
docs/prds/RULES.md.

Also removes leftovers the gate could not catch: a dashboard banner bound to
ReloadStatus.overlay_unavailable, a field the server stopped sending, and a
delivery-snapshot scan pointed at ApplyOverlayValues in a composition root that
no longer calls it.

The reload trace behind this found archie-core-ju85: SIGHUP republishes the
file document alone, reverting every database-owned setting until restart.
Recorded in the ledger as current behaviour.
2026-09-21 12:30:24 +10:00

20 lines
687 B
Vue

<script setup lang="ts">
import { computed } from "vue";
import { Alert, AlertDescription } from "@/components/ui/alert";
import { config } from "./state";
/**
* What the running configuration says about itself: whether the last reload was
* applied. The running config is unchanged after a failed reload, so the notice
* is a statement about state rather than a warning about the values below it.
*/
const lastError = computed(() => config.value?.reload?.last_error ?? "");
</script>
<template>
<Alert v-if="lastError" class="mb-4">
<AlertDescription>The last config reload failed; the running config is unchanged: {{ lastError }}</AlertDescription>
</Alert>
</template>