BigBoard: Meta-observability for the Auth/Technic portfolio
Summary
BigBoard is Auth/Technic's internal meta-observability dashboard, a single page that answers "what is the state of everything I have shipped right now?" across the practice's portfolio of public apps. It is the fourth sibling consumer of the Blok component library, alongside AuthTechnic, Route Companion, and Heiress, and treats Blok exactly the way those properties do: as the shared infrastructure floor every Auth/Technic surface sits on. The build was scaffolded on May 6, 2026, and operated against live portfolio signals within four days. A few days later, the build added a local-LLM layer (llama.cpp running natively on the same host, no cloud calls) that produces in-depth nightly health analyses, on-demand incident summaries, and semantic search across the entire signal history. BigBoard remains internal today (single super-admin user, no public port on the hosting machine), but the authentication and session model are built from Blok 017 on day one so the property can deploy publicly later without retrofit. Since July 11, 2026, the Keyhole remote viewer has extended an authenticated, read-only view of the front panel to authtechnic.com/keyhole, gated by the Auth/Technic site's own auth and carried over a private Tailscale tailnet; the pattern was lifted whole from Tanzaku's Tōmi viewer and replicated in under an hour of build time. The runtime has moved twice since the build: off Docker onto a dedicated native Linux host during the LLM work, and in July 2026 onto the practice's M2 Mac Studio fleet host, where BigBoard runs alongside Tanzaku and shares the fleet's Qwen2.5-14B inference model for its daily and weekly reporting. As a side effect of needing BigBoard's connectivity poller, Blok 036 was extended and installed across the portfolio... a venture-studio loop in which one consumer's needs propagated improvements to every sibling. In the weeks since, the board itself grew from a four-app screen into a fleet panel: the layout learned to fold closed apps into status tiles so one screen can hold a sixteen-app fleet, coverage reached every live project the practice operates (seven, as of August 2026), and BigBoard began sampling its own vitals... backend, both llama servers, DNS, disk, Postgres, Redis... through the same pipeline it points at everything else.
The Problem
Running multiple public-facing apps from a single practice produces an observability problem the apps themselves cannot solve. Each Auth/Technic property already carries its own observability surface: a Blok 004 system dashboard for manifest visibility, Render's deploy and logs pages for service state, Google Analytics for traffic, ad hoc dependency checks per integration. Watching the portfolio meant opening multiple browser tabs across multiple providers and remembering which app used which integration. The cost compounded as the portfolio grew. Three live apps already pushed against the limit; a fourth would have made portfolio-wide situational awareness depend on a routine no person actually performs reliably.
A second pressure point sat alongside the first. Account-wide service usage... Anthropic token spend, Cloudflare R2 storage and ops, Resend email volume, Twilio SMS volume... lives in each provider's billing console, not in any individual app's dashboard. A practice running multiple apps against the same provider accounts has no single place to see whether the month is on track. The same browser-tab tax that applied to per-app health applied to portfolio-wide spend.
The decision was to build one meta-dashboard, one screen aggregating health, uptime, traffic, dependency status, deploy state, resource utilization, certificate and registrar expiry, repository activity, project-board state, and account-wide cost across every public Auth/Technic property. The screen would not replace per-app observability. It would aggregate it.
The Idea
Seven architectural commitments shaped the build.
- Build on the Blok foundation, not a Blok feature. BigBoard is a separate top-level project, sibling to Blok and to every other Auth/Technic property, consuming the same component library. It is the cleanest test of whether the venture studio model produces sibling apps that share infrastructure without coupling.
- One small generic schema. Two trunk tables (
monitored_appsandapp_signal_samples) plus anapp_signal_latestcache, withsignal_typeas a string column and a JSONBpayloadper sample. Every provider-specific detail (a Render deploy event, a GA4 metric snapshot, an SSL certificate expiry date) lives inside the payload. Adding a new signal class never requires a schema migration. - Treat the per-app dependency surface as a remote API. Each monitored app exposes a Blok 036
GET /api/connectivityendpoint that probes its own integrations with auth-validated calls and returns a structured verdict. BigBoard polls those endpoints and aggregates. No per-app dependency adapter is required in BigBoard's codebase; the aggregator is a single client. - Tiered polling for cost discipline. The fast tier (
health,uptime,connectivity) runs every fifteen seconds; Render service state and resource utilization run every five minutes; provider signals (R2, GitHub, Tanzaku) every ten minutes; certificate and registrar expiry every twelve hours. The orchestrator fans the tier's due work across a four-worker thread pool. No signal class polls faster than its source actually changes. - Build the auth surface properly from day one. A single super-admin user today, but Blok 017's full feature set (bcrypt at twelve rounds, JWT cookies with refresh-token family rotation and reuse detection, double-submit CSRF, TOTP MFA, role-based access control, multi-tenant orgs) is installed on the first commit. The property can be exposed publicly later without auth retrofit.
- Local LLM, no cloud calls. Incident summaries, nightly in-depth analyses, and semantic search all run against models on the practitioner's own host. Llama 3.1 8B Q4 for chat at build time (today the fleet's shared Qwen2.5-14B), nomic-embed-text-v1.5 Q8 for embeddings, both served by
llama.cppover loopback. Data about which apps are healthy never leaves the box, the inference cost is zero per call, and the LLM layer is just another host service alongside Postgres and Redis. - Honest about what BigBoard is, and what it is not. It is internal practice tooling, not a SaaS product. The credibility this project earns is the credibility of a craftsman's own workbench: visible to the practitioner, useful to him, evidence of how he treats his own portfolio.
The Implementation
Roughly four days from initial commit to a running build polling three live apps; another three days for the local-LLM layer. The shape of the commits tells the story: scaffold plus first cards on day one, more service views and UI polish on day two, helper extraction and a backend efficiency pass on day three, notifications and ninety-day retention on day four, the de-Docker move and trend history on day six, and the local-LLM project (incident summaries, nightly analysis, pgvector semantic search) landing on day seven. Each integration was small enough that the build compressed the original six-phase plan into four days and absorbed the LLM addition as a focused follow-on.
Schema
The migrations land twenty-five Alembic versions through 2026-05-12. The BigBoard-specific migrations are eleven of them; the rest carry the Blok foundation forward (Blok 000 manifest, Blok 016 R2 file pointers, Blok 017 auth scaffolding, Blok 004 v2 org KV settings). The trunk pair plus its caches and the new LLM-side tables:
monitored_appscarries one row per public property with the slug, landing URL, optional health URL, optional Render service IDs (a JSONB array, since most apps deploy multiple Render resources... a frontend service, a backend service, a Postgres database, and sometimes a key-value store), optional GA4 property ID, optional Tanzaku project slug, optional GitHub repo, optional R2 bucket name, an icon URL pointing into R2, an opaque per-appbigboard_api_tokenfor Blok 036 connectivity, and anis_activeflag that excludes the row from polling.app_signal_samplesrecords every probe result. Each row carries the app, the signal type (render,resources,health,uptime,connectivity,r2,github,tanzaku,smrt_usage,ssl,activity), the verdict (ok,warn,fail,unknown), a JSONB payload with provider-specific shape, an optional error message, and aconsecutive_countcolumn added later for alert hysteresis.app_signal_latestmirrors only the most recent sample per(app_id, signal_type)pair, so the home page renders in one indexed lookup instead of a window-function scan over the time series.signal_sample_embeddingis the LLM-side companion toapp_signal_samples: one pgvector(768) row per sample, populated by a background worker that drives the local nomic-embed-text-v1.5 model. An HNSW index over the embedding column (withvector_cosine_ops) backs the semantic search endpoint. Cascade-delete from the parent sample means the ninety-day retention sweep also prunes embeddings without an explicit cleanup task.daily_app_analysiscaches one in-depth LLM-generated health report per(app_id, calendar day), written by an end-of-day worker. The Daily Analysis preview panel on the dashboard reads the first three lines of the executive-summary paragraph; clicking opens the full Markdown report in a modal. Weekly and monthly companions (weekly_app_analysis,monthly_app_analysis) cache the rollup summaries that feed the Monday digest email described below.
A daily retention job inside cleanup_service.run_all_cleanup_tasks deletes app_signal_samples rows older than PORTFOLIO_SAMPLE_RETENTION_DAYS (default ninety). Raw storage stays cheap; trend windows stay long enough for meaningful comparison.
One additional table, service_credentials, holds encrypted-in-DB credentials for each external provider (Cloudflare, Anthropic, Resend, Twilio, Render, Tanzaku, GitHub). Values are Fernet-encrypted with TOTP_ENCRYPTION_KEY; in development a plain: prefix sidesteps the encrypter so local setup does not require a Fernet key. The allowed field names per service live in a Python registry, not in the database; adding a field becomes writable through the admin panel without a migration.
Signal samplers
backend/services/signal_service.py is the orchestrator. The portfolio poll loop ticks at the shortest tier's interval, dispatches each tier's due work onto asyncio.to_thread, and fans the (app, signal_type) work-list across a ThreadPoolExecutor whose size is PORTFOLIO_POLL_WORKERS (default four). Each worker creates its own SessionLocal, calls the sampler, commits one AppSignalSample, and updates the AppSignalLatest cache row. The samplers as currently installed:
renderdispatches on the Render resource ID prefix (srv-for services,dpg-for Postgres,red-for key-value) and rolls per-resource verdicts up into a single status. A single failed deploy or suspended service paints the whole signalfail.resourcespulls Render's batched CPU and memory metrics endpoints, filters static sites out of the metric set (they have no metrics series and reject the batched request), and applies a worst-of-utilization rule: peak above ninety percent fails, peak between seventy-five and ninety percent warns.healthhits each app's own/healthendpoint, records latency and status, and dedups on unchanged status so the table does not fill with identical rows every fifteen seconds when nothing is changing.uptimeruns a synthetic GET against the public landing URL, following redirects up to six hops, recording latency and status. Latency above 1,500ms warns.connectivitycalls each app's Blok 036/api/connectivityendpoint authenticated with the per-appbigboard_api_token(Blok 036 honors anX-BigBoard-Tokenheader) and aggregates the per-integration probe results into one verdict.r2verifies bucket presence and pulls Cloudflare's GraphQL usage figures for the app's R2 bucket.tanzakupulls each app's project-board state from Tanzaku's read API: backlog size, cards in Review with items awaiting sign-off, and the active milestone or epic derived from cards in flight. The verdict warns when something needs a human (awaiting sign-off, flagged, or stale) and stays ok otherwise; working-column counts are deliberately not tracked because they churn too fast to signal anything. This sampler replaced the retiredtrellosampler in June 2026 when the practice's project tracking moved to its own Tanzaku system.smrt_usagesamples Route Companion's SMRT API usage: org-level call counts against warn and fail thresholds, with an estimated dollar cost per call. It runs only for the apps in its slug allowlist rather than portfolio-wide.githubrecords commits-this-week, last-commit time, and the latest CI run status for the app's GitHub repo.ssl(rendered in the UI as "Domain") combines a live TLS handshake against the landing URL's host with an RDAP registrar lookup, applying a worst-of rule across certificate days-remaining and registrar days-remaining.activitypulls GA4 page-view totals (today, seven days, thirty days, ninety days) for the app's GA4 property; runs on-demand only via a Sync Activity button rather than on a polling tier.
The orchestrator is provider-agnostic by design: adding a new signal class means adding a new sampler module, adding the signal_type string to the appropriate tier's frozenset, registering the sampler in _portfolio_poll_tick, and rendering a new SignalRow case on the frontend. No schema migration is involved.
flowchart LR
R[Render API] -->|services + metrics + deploys| S
G[GA4 Data API] -->|pageviews| S
CF[Cloudflare API] -->|R2 bucket + usage| S
AN[Anthropic Admin API] -->|usage| Strip
RE[Resend API] -->|sends| Strip
TW[Twilio API] -->|messages| Strip
TZ[Tanzaku API] -->|board state| S
GH[GitHub API] -->|commits + CI| S
A[7 monitored apps<br/>/health + /api/connectivity<br/>landing URL] -->|per-app probes| S
SELF[BigBoard sentinel<br/>backend + llama + DNS<br/>disk + Postgres + Redis] -->|self signals| S
S[signal_service<br/>11 samplers<br/>4 tiers] -->|record_sample| DB[(app_signal_samples<br/>app_signal_latest)]
DB --> P[portfolio router]
Strip[provider cache<br/>5min success / 30s failure] --> P
P -->|/api/dashboard-snapshot| UI[HomePage<br/>7 app cards + 4 strips<br/>30s visible poll]
Persistent HTTP clients
Every outbound provider service holds a module-level httpx.Client with keep-alive enabled. This was originally load-bearing because Docker's userland DNS resolver paid roughly four hundred milliseconds per cold lookup and wedged intermittently after rapid bursts; reusing a client kept the resolver warm and dropped probes from approximately seven hundred milliseconds cold to roughly sixty milliseconds. The pattern survived the native move, and the later move to the fleet host, because HTTP keep-alive is still worth a few tens of milliseconds per probe and a meta-observability tool fanning out across many signals compounds those wins. Each service exposes a reset_client() helper, and saving new credentials in the admin panel calls credentials_service.invalidate_service_clients() to drop the cached client so the next request goes out with the new token without a process restart.
The same probe-side discipline runs through a probe_url_guard.ensure_safe_probe_url check on every outbound URL: the scheme must be HTTP or HTTPS, the hostname must resolve, and the resolved IPs across address families must not be private, loopback, link-local, multicast, reserved, or unspecified. A PROBE_ALLOWED_HOST_SUFFIXES allowlist can lock probes to specific public hostnames, and the guard re-runs after every redirect so a 302 to localhost is still blocked. The guard is the SSRF defense for a service whose entire job is making outbound HTTP calls based on database-stored URLs.
Runtime: from Docker to native Linux to the fleet Mac Studio
The runtime story has three acts, and each move was driven by a measured constraint rather than fashion.
The original deployment plan put BigBoard in a docker-compose stack: a backend container, a frontend container, a Postgres container, and a Redis container. That plan held through the initial build and into the first weeks of operation. Two pressures combined to retire it, and the LLM project that followed validated the call.
First, the latency tax inside the container layer was structural rather than incidental. The persistent-httpx.Client work above mitigated the DNS-resolver overhead for outbound provider calls but could not address container-to-container traffic on the host, where Docker's userland networking and DNS sat between the backend and the local Postgres on every query, and between the backend and the local Redis on every rate-limit check. Worse, the same userland resolver wedged intermittently after rapid bursts of cold lookups, producing transient "No address associated with hostname" failures during normal polling. A meta-observability tool that fans out across four polling tiers and many per-app signals is latency-sensitive on the inside by design; "shave milliseconds wherever you can find them" is the operational posture, not a stylistic preference.
Second, the deployment plan was always tentative. The original design doc's Decision #11 (Runtime: local Docker, always-on on this system) drifted once toward "Render preferred" as a production target; it drifted again, decisively, toward running directly on a dedicated host. That host was an Intel Mini-PC running Ubuntu Linux, deliberately laptop-class silicon (an i7-10510U at 1.8 GHz, four physical cores, eight threads, AVX2 but no AVX-512, 32 GB of RAM, 1.8 TB of NVMe). Postgres 18 and Redis 7 were installed from Ubuntu's apt packages and ran as system services; the backend ran natively on the host. No container layer, no docker compose, no userland networking in the request path. For the second act of BigBoard's life, native was the only supported runtime.
The hardware ceiling mattered because it shaped every subsequent decision. The mini-PC was the same shape as a developer workstation that anyone could clone and run BigBoard on, and everything BigBoard did had to fit inside that envelope alongside an interactive editor, a browser, and each monitored app's own dev servers. The de-Docker move bought back roughly a gigabyte and a half of RAM and double-digit milliseconds per request; the LLM project that followed used both. With chat inference at roughly three tokens per second on that CPU, a daily-analysis report at eight hundred tokens already took about five minutes per app; inserting any kind of container hop between FastAPI and llama-server would have shown up as visible UI latency on top of an already slow baseline. Removing Docker before adding the LLM was, in retrospect, the prerequisite that made the LLM layer affordable to add.
The third act arrived in July 2026: BigBoard migrated off the Mini-PC onto the practice's M2 Mac Studio (Apple Silicon, M2 Max, 32 GB of unified memory), the shared fleet host where Tanzaku and the rest of the practice's fleet tooling already run. The move looks like a reversal of act two, because the app stack went back into Docker: frontend, backend, Postgres, and Redis run as a compose stack on BigBoard's fleet ports with restart: unless-stopped, the same way the rest of the fleet's products run, and the Keyhole build joined the stack as an overlay. It is better read as the same principle applied to a new constraint. On the Mini-PC the scarce resource was CPU and memory headroom, so the container tax on every database query and probe was the thing to eliminate. On the Mac Studio the scarce resource is the GPU: Docker Desktop on macOS has no Metal passthrough, so the one layer that must stay native is inference. The llama.cpp servers run directly on the host and the containerized backend reaches them via host.docker.internal; everything else pays a small, now-affordable standardization tax so that one fleet host runs every board the same way.
The migration also folded BigBoard's inference into shared fleet infrastructure. Two launchd agents (com.authtechnic.fleet.llama-chat, com.authtechnic.fleet.llama-embed) replace the old per-project systemd units, serving Qwen2.5-14B-Instruct Q4_K_M for chat and the same nomic-embed-text-v1.5 Q8 for embeddings on the same loopback ports, so BigBoard's LLAMACPP_* configuration carried over unchanged. The chat model is the same 14B that Tanzaku uses for estimate proposals and narrative summaries; one resident model now serves both boards' reporting. The hardware delta is not subtle: Qwen2.5-14B Q4 generates at roughly twenty-five to thirty-five tokens per second on the M2 Max against the old host's three, so the nightly analysis that took about five minutes per app now finishes in well under a minute, written by a model nearly twice the size.
The packaging tracks that act two clarified (systemd installer, Tauri desktop, embedded SQLite) have now been reframed twice: first as alternatives to Docker, then as candidate shapes for how a second consumer would install BigBoard. None is committed, and the practice's general rule that a pattern becomes a blok when it has two homes rather than one applies here too. Distribution gets chosen when a second consumer materializes.
The async migration
In late July 2026 the backend moved to async SQLAlchemy on psycopg v3, staged rather than big-banged: a dual sync/async engine layer landed first (carried back into Blok 000 as v3.0.0), then an async test harness, then the routers converted in eleven labelled clusters over three days, with the scheduler lock and the weekly digest gaining async twins so background jobs can hold an AsyncSession. The staging mattered more than the destination: every cluster shipped with its tests converted, and the board kept polling throughout. The migration also pulled the surrounding Bloks forward to catalog versions... 001, 008 with its new async surface, 012 with a Redis failure policy for the send throttle, and 017's session-check and forced sign-out... which is the sibling-consumer loop running in the quiet direction, from the library into the app.
Cost and usage strips
A second class of signal sits outside the per-app rows: portfolio-wide service usage strips render at the bottom of the dashboard. These pull from each external provider's billing or usage API and surface month-to-date cost and volume:
- Claude usage pulls from Anthropic's Admin API
/v1/organizations/usage_report/messages, showing month-to-date cost and the input/output/cache token mix. - R2 usage combines Cloudflare's GraphQL analytics with an S3 list-buckets call, showing storage, object count, ops, and estimated cost.
- Resend usage counts paginated send records and estimates cost.
- Twilio usage counts paginated SMS records and reports cost.
These strips bypass app_signal_samples entirely; they cache in-process for five minutes on success and thirty seconds on failure (so the strip recovers quickly after a transient outage), and they use single-flight locking so the first caller after expiry runs the upstream load while concurrent callers wait on a per-key lock. Account-wide usage is a different shape from a per-app health verdict, and the strip layout keeps that distinction visible.
Notifications
Notifications were added on day four. The opt-in lives on each user, not in a global settings page: three columns on the User row (notify_signals, notify_statuses, notify_on_recovery) decide who is paged about what. Only admin and super-admin users are queried by the notifier; manager, user, and guest accounts never receive signal notifications.
The debounce is a consecutive_count column on every sample, incremented when the status is unchanged and reset to one on a status change. notifier.handle_sample fires only when consecutive_count hits NOTIFY_THRESHOLD (currently three). At the fast tier's fifteen-second interval, that produces a roughly thirty-second confirmation window before paging. Single transient blips never reach the threshold. A cold-start guard checks for a prior non-matching status; if the system has never seen a different status for this (app, signal_type) before the threshold-crossing sample, no notification fires, which stops a fresh deploy from blasting health=ok consecutive=3 notifications as soon as polling starts.
Dispatch runs on a dedicated two-worker thread pool through Blok 012 (Resend) for email and a Twilio client for SMS. Email and SMS failures are logged and do not block the polling tick. A manual test endpoint bypasses the debounce and opt-in filter so an admin can verify that channels are wired up.
Two honest notes on the channels, both from operating the pipeline rather than designing it. Email is the channel that delivers; the Twilio SMS path is wired but has never sent a production alert, and the self-monitoring described below now reports an unconfigured provider as "not configured" rather than letting it read as either healthy or failing. And the pipeline earned a repair in late July 2026: email delivery failed silently for five days behind a sender that returned a bare boolean, so the fix made the sender name its failure cause and put the notification path itself under BigBoard's own watch. A notifier that can fail without telling anyone is the one component a monitoring tool cannot afford to take on faith.
Watching the watcher
BigBoard monitors itself the same way it monitors everything else. A self-signal suite samples the board's own backend, both llama.cpp servers with real inference round-trips, DNS resolution, disk headroom, Postgres, Redis, the scheduler, and the notification channels, writing through the standard sampling pipeline against a sentinel app row, so BigBoard's own vitals get the same debounce, history, and dashboard treatment as any monitored app. The suite earned its keep during the fleet-host move, when checks written for a systemd host quietly stopped meaning anything on launchd; the repair replaced "ask the supervisor" checks with "exercise the capability" checks, which travel with the app instead of with the host.
One boundary was drawn deliberately in August 2026: BigBoard is not the fleet's paging tier. A self-hosted monitor cannot page about its own death, so the page-a-human duty consolidated on an off-fleet error-tracking service, and BigBoard keeps the roles it is structurally fit for... continuous sampling, ninety days of history, diagnosis, and the LLM reporting layer. The same discipline retired two of BigBoard's own features: the cron-heartbeat signal still records but no longer pages, because a receiver that is sometimes off would page about healthy apps on restart, and a dead-man's-switch that turned out to be unrunnable on the current host was deleted rather than left in the tree as false reassurance. A monitoring tool's credibility is spent fastest by its own false alarms.
Local LLM layer
Three days after the foundation shipped, BigBoard grew a local-LLM layer. The motivation was simple: a meta-observability tool that already aggregated ten signal classes (eleven today) was one prompt away from telling its operator what the signals collectively mean, and a meta-observability tool that already kept ninety days of signal history was one embedding away from semantic search across that history. The two capabilities (summarisation and search) want different models, and both can run on the same host without paying any cloud bill.
The choice of runtime was direct. llama.cpp builds from source against the host's exact capabilities (AVX2 on the original Linux host; Metal on the Mac Studio that succeeded it); it serves an OpenAI-compatible HTTP API on loopback; and it runs as a plain host service alongside Postgres and Redis. Ollama would have added a container layer between FastAPI and inference, which the de-Docker move had just deliberately removed; running llama.cpp directly kept the request path free of userland networking then, and it is the same directness that lets the fleet host hand the GPU straight to inference today.
Two llama-server instances run on the host:
- Chat binds to
127.0.0.1:8080. At build time it hosted Llama 3.1 8B Instruct quantised to Q4_K_M (about four gigabytes on disk, three point seven gigabytes resident), generating at roughly three tokens per second on the i7-10510U; that rate ceiling shaped every UI decision below. Today the same port is served by the fleet's shared Qwen2.5-14B-Instruct Q4_K_M on the M2 Mac Studio at roughly twenty-five to thirty-five tokens per second, and the UI decisions built for the slow model simply got faster. - Embed binds to
127.0.0.1:8081and hosts nomic-embed-text-v1.5 quantised to Q8 (about one hundred forty megabytes on disk, one hundred fifty megabytes resident). It produces 768-dimensional mean-pooled vectors and processes a short input in under one hundred milliseconds.
Both were managed as systemd user units with linger enabled on the Linux host; today they are the com.authtechnic.fleet.* launchd agents described in the runtime section. Either way they survive logout and start at boot. The backend reaches them through LLAMACPP_CHAT_URL and LLAMACPP_EMBED_URL (defaults to the loopback ports); if either env var is blank, the LLM-backed endpoints degrade with a clear "not configured" response and the rest of BigBoard keeps running.
Four feature surfaces sit on top of the two servers:
- On-demand incident summaries.
POST /api/summarize/{app_id}builds a compact digest of recent signal samples (latest verdict per signal type, transition counts, recent failure excerpts), prompts the chat model for a three-to-four-sentence summary, and caches the result in Redis for five minutes per(app_id, window). Cold latency landed around seventy to ninety seconds on the original hardware and is far shorter on the fleet host; cache hits return in under thirty milliseconds. The endpoint is callable from the Service Connections admin panel as a one-shot summarisation; the dashboard itself does not poll it. - Nightly in-depth daily analysis. A scheduler loop fires once per calendar day at
DAILY_ANALYSIS_HOUR_UTC(08:00 UTC, midnight Pacific Standard Time) and walks every active app sequentially, building a seven-day digest per app and prompting the chat model for a structured multi-section report (executive summary, signal-by-signal status, notable incidents, cross-signal patterns, recommendations). Each report produces roughly two to three kilobytes of Markdown; on the original hardware a report ran about five minutes per app (about fifteen minutes nightly for three apps), and on the Mac Studio's shared 14B each finishes in well under a minute. The reports land indaily_app_analysisand are read by the dashboard at request time. The endpoint that fetches a report is read-only; generation happens server-side. The worker is idempotent on restart: it skips any app whose row for today already exists, so a partial run is resumable. - Weekly rollups and a Monday digest email. The daily reports roll up into per-app weekly summaries (
weekly_app_analysis), with calendar-month rollups (monthly_app_analysis) written as each month closes. A digest worker fires Monday morning local time, after the nightly worker has written the day's row, and emails a Sunday-to-Sunday view of the portfolio: the week's top actionable failures and warnings, SLA deltas, and recurring-incident flags surfaced through the embedding similarity index. The digest goes only to users who opt in (notify_weekly_digest, independent of the per-signal notification toggles), and a monthly rollup rides along only while it is fresh, the first digest or two after a month closes, so the same month's summary never repeats in every subsequent email. - Semantic search across the signal history. A background
embedding_loopticks every sixty seconds, scansapp_signal_samplesfor rows without an embedding, builds a compact human-readable input string per row, prefixes it withsearch_document:(the standard task prefix for nomic-embed-text-v1.5), and writes 768-dim vectors intosignal_sample_embedding. The HNSW cosine index made nearest-neighbour search subsecond against the ~3500 rows indexed at the time of the LLM build, and the ninety-day retention sweep keeps the index bounded since.GET /api/search?qembeds the user's query with the matchingsearch_query:prefix, runs the cosine search, joins back to the sample and app rows, and returns ranked hits. The endpoint defaults to filtering forstatus IN ('warn', 'fail')so search targets things that need attention; aninclude_all=trueopts back into healthy and unknown rows.
Two gotchas surfaced during the LLM build and are worth naming because they apply to anyone building a similar layer.
First, nomic-embed-text-v1.5 is trained for asymmetric search: documents are embedded with search_document: prepended, queries with search_query:. Without the prefixes the model still produces vectors, but similarity scores compress by four to five percentage points and short queries (an app name alone, for example) can fall off the HNSW candidate window entirely. After adding the prefixes and re-embedding the entire history, the same heiress query that had returned zero hits started returning the relevant warn rows at 0.74 similarity.
Second, HNSW with a minority WHERE filter needs iterative scan. pgvector's default ef_search=40 returns 40 nearest candidates before the filter applies, and BigBoard's data is severely imbalanced (over three thousand ok samples against a couple hundred warn or fail). A naive query for a healthy-app keyword would return forty ok candidates, the filter would wipe all of them, and the user would see zero results. The fix is SET LOCAL hnsw.iterative_scan='strict_order' (pgvector 0.8+) before the SELECT, which makes the planner keep probing the graph until the WHERE clause is satisfied. The search endpoint sets this on every filtered call.
Admin configuration
Both the list of monitored apps (landing URL, health URL, Render service IDs, GA4 property, R2 bucket, Tanzaku slug, GitHub repo, per-app icon) and the API credentials for every external provider (Cloudflare, Anthropic, Resend, Twilio, Render, Tanzaku, GitHub) are editable through admin panels under /system-dashboard. Neither lives in the environment, so new apps and new providers land without a redeploy.
Frontend
The home page renders one column unit per active monitored app (seven today, spanning the practice's public properties and its fleet-run internal tools). Since late July 2026 each app card opens and closes from a caret in its header: open apps hold full-height columns on the left, closed apps tile into a wrapping grid of status tiles that keep their rollup badge, so a collapsed app can still show that it is broken. A closed card also stops polling its trends. With every app open the layout is the original board; with every app closed it is a grid that holds a sixteen-app fleet on one screen. The closed set is what persists per browser, so a newly onboarded app appears open by default rather than hidden. Each column has a header (logo, name, rollup status pill), a Daily Analysis preview strip immediately below the header showing the first three lines of the executive summary from that app's most recent nightly report, and one card per signal row. The portfolio API at /api/dashboard-snapshot returns the latest snapshot plus the four cached provider strips; the frontend polls it every thirty seconds through a visibility-aware hook that pauses polling when the tab is hidden. Click into a signal row opens a drawer with a 24-bucket sparkline of recent verdict history (a 1D / 7D / 30D toggle scopes the window), the latest payload, and the noisy-probe flag when transitions have crossed the configured threshold. Click into the Daily Analysis strip opens a fixed-height modal with the full Markdown-rendered report and a copy button. Click into the app header deep-links to the app's own Blok 004 system dashboard.
A magnifying-glass icon in the top bar opens a wide search modal: a single input bound to GET /api/search, debounced at 300 ms, with results streamed into a tall scrolling list. Each result shows app name, signal type, sampled-at timestamp (rendered through Blok 005's time helpers in the viewer's local timezone), similarity percentage, a two-line excerpt, and a copy icon that grabs the excerpt to the clipboard. The modal opens at a fixed 80% screen height so results streaming in don't change the modal's size; results default to warn and fail status only, with an include_all toggle for the rare case when the operator actually wants to find a healthy sample.
Auth runs through Blok 017. The session uses HttpOnly access plus refresh cookies with the refresh-token family rotation and reuse detection that Blok 017 ships with; the frontend reads a non-HttpOnly csrf_token cookie and echoes it back as an X-CSRF-Token header on every mutating verb. No tokens live in JavaScript.
Keyhole: the read-only remote viewer
In early July 2026, Tanzaku (the practice's fifth Blok sibling and its project-operations system) shipped Tōmi, an authenticated remote view of its live board embedded in the Auth/Technic site at authtechnic.com/tomi. The transport is a chain of narrow hops: a Render rewrite sends the path to the Auth/Technic backend, a FastAPI reverse proxy carries requests across a private Tailscale tailnet to the dev host, and the actual SPA build plus the API answer on loopback ports there, with no public port opened on the hosting machine and a port-scoped tailnet grant rather than an allow-all. Tōmi was built under the practice's blue/red adversarial requirements process, in which one agent builds from the card requirements while a second, independent agent writes tests from the same requirements alone; two adversarial review rounds on the requirements caught six blocking specification gaps and one genuine security flaw (a forgeable attribution header) before any code was written.
On July 11, 2026, BigBoard inherited that pattern as Keyhole: an authenticated, read-only remote view of the front panel, live at authtechnic.com/keyhole behind the same super-admin gate, one user-menu item below Tōmi. The BigBoard side is a dedicated static build of the SPA rooted at /keyhole/, served loopback-only on its own fleet port, with a keyhole mode derived from the base path that skips BigBoard's own sign-in, renders the front panel read-only, and hides every admin affordance. A dedicated read-only API key (separate from the static key, for rotation and log attribution) is accepted on GET and HEAD only and answers auth/me with a synthetic "Keyhole (remote)" principal, so the route-surface audit still sees a named auth dependency on every endpoint.
Where Tōmi is a full read-write board, Keyhole deliberately tightens the pattern in two places. The proxy forwards only GET and HEAD; every other method returns 405 and reaches no BigBoard endpoint. And the API surface is allowlist-only: the proxy forwards just the read endpoints the front panel needs, and everything else, including the System Dashboard and every admin and auth surface, returns 404 after path normalization without confirming the path exists. The credential is injected server-side; the browser talks only to Auth/Technic and never holds the key or the dev host's address. On transport failure the surface freezes to a stable unavailable page rather than leaking errors, and until its upstream settings are configured it is a bare 404 that reveals nothing. The tailnet work was pure extension: no new nodes, no new join, two more ports added to the existing port-scoped grant.
The number worth recording is the build time: replicating Tōmi's functionality for BigBoard took less than an hour. That speed was not luck. Both platforms sit on the same Blok spine, so the proxy had a sibling to copy, the SPA had an established base-path mode pattern to follow, and the backend had an existing session-or-API-key dependency to extend. And because Tōmi had been driven through the blue/red adversarial process, the design being copied had already had its specification gaps and its security flaw found and fixed; the only genuine design work left for Keyhole was deciding where a read-only surface should be stricter than its read-write parent. The first build under a hardened process is the expensive one; the replicas inherit the hardening for free.
The venture studio loop made operational
BigBoard required each monitored app to expose /api/connectivity (Blok 036). At project start, none of AuthTechnic, Route Companion, or Heiress had Blok 036 installed, and the blok itself also needed a BIGBOARD_API_TOKEN authentication path before BigBoard could call it as a non-session client. The work happened as a focused cross-portfolio sprint on May 6, 2026: Blok 036 grew the new service-token auth path; AuthTechnic and Heiress absorbed the updated Blok 036 directly; Route Companion required an additional retrofit because its repository was on an older Blok fork that predated the manifest registry. The Companion retrofit brought the Blok manifest system into Companion's codebase as a prerequisite, then installed Blok 036 on top of it, then added the BigBoard-support wiring the following day. A single day of cross-portfolio work landed /api/connectivity on all three monitored apps and made BigBoard's connectivity sampler readable uniformly across the portfolio.
The capability now travels with Blok. The next sibling app to need observability inherits the same surface without rebuilding any of the work, and the next Blok consumer that arrives on a pre-manifest fork has a worked example of how the retrofit unfolds.
The Outcome
BigBoard runs on the practice's fleet host, polling every live project the practice operates: seven monitored projects as of August 2026, the public properties plus Tanzaku and BigBoard itself under its own sentinel row. The practitioner's situational-awareness routine collapsed from "open multiple tabs across multiple providers" to "glance at one screen, then click Explain for the nightly LLM report when you want depth." Project tracking began on a Trello board, whose Done column carried the original thirty-one cards through milestones M0 through M6 plus the trend-history and local-LLM follow-ons; when the practice's own Tanzaku work-lifecycle system shipped in June 2026, tracking moved there, and BigBoard's Tanzaku board carries eighty delivered cards as of this writing, the most recent being the fleet-board layout, self-health, and async-migration sets. The build is in active use and is between directions on next major scope.
Six specific outcomes are worth naming.
- Confirmation that the Blok foundation scales sideways. BigBoard is the fourth sibling consumer of Blok, after AuthTechnic, Route Companion, and Heiress. The same scaffold that produced a marketing site and a logistics SaaS produced an internal observability dashboard at the same velocity. The venture studio model is not theoretical when there are four working sibling apps on the same core.
- A second use case for Blok 036. The connectivity probe panel was originally specified for per-app observability... a service's dependencies surfaced inside the service's own admin dashboard. BigBoard turned the same endpoint into an aggregation contract, with a service-token auth path added to support cross-app polling. That second consumer is what proves the design generalizes; the new auth path is now a Blok-level capability available to any future aggregator.
- A small generic schema that did not need to grow. Eleven signal types, eight external providers (Render, GA4, Cloudflare, Anthropic, Resend, Twilio, GitHub, Tanzaku) plus each app's own
/healthand/api/connectivity, and no schema redesign to add any signal after the trunk pair was in place. Eleven migrations covered the initial BigBoard surface (the trunk pair, the cache, two LLM-side tables, the credentials and notification-subscribers tables, and a handful of column additions), and the bulk of new functionality landed inside JSONB payloads governed by Python registries instead of inside new columns. The June 2026 swap of the Trello signal for the Tanzaku reporter is the worked example: retiring one provider and installing its replacement cost one nullable column (tanzaku_slug) and a cleanup migration, not a redesign. Thesignal_type-string-plus-JSONB-payload shape is doing exactly what generic schemas are supposed to do when designed correctly. - A local-LLM layer that paid for itself the first night it ran. The chat model produces in-depth nightly reports during sleeping hours and the embedding model indexes new signal samples continuously in the background; the only resource cost is electricity, and the only privacy surface is the host itself. The Daily Analysis preview on the dashboard captures the day's executive summary in three lines that take five seconds to read; the modal expands into the full report when something looks off. Semantic search finds prior incidents by description rather than by exact log substring, which is the search the operator actually wants in practice. None of this would have been affordable to add on the original hardware if the runtime were still paying container overhead, which is part of why removing Docker happened first. The layer has since moved with the board to the M2 Mac Studio, where the fleet's shared Qwen2.5-14B writes the daily and weekly reports roughly ten times faster, and keeping a model resident no longer needs a single-app justification because Tanzaku shares it.
- A remote surface replicated in under an hour. The Keyhole viewer put the live front panel at
authtechnic.com/keyholebehind the Auth/Technic site's own authentication, over the existing private tailnet, with zero public ports opened and no BigBoard endpoint reachable except the read allowlist. The build took less than an hour because the pattern already existed: Tanzaku's Tōmi viewer, built on the same Blok spine and hardened through the blue/red adversarial requirements process, supplied a proven design whose specification gaps and security flaw had already been found and paid for. This is the venture studio model measured in wall-clock time; the second consumer of a hardened pattern pays a fraction of the first consumer's cost. - A backup pipeline that has actually been drilled. BigBoard's backups are scripted and checksummed, and a backup is not considered healthy until it restores: verification builds a disposable database, restores into it, and runs smoke checks rather than trusting the dump's exit code. On June 12, 2026 the practice drilled the full path against the live 1.3 GB database... backup in 19 seconds, disposable restore plus smoke checks in 3 minutes 14 seconds. Those scripts are now the template the rest of the fleet's backup discipline lifts from rather than reinvents.
- Test coverage that matches the surface, not the calendar. Coverage at the 2026-05-09 audit landed at seventy-two percent on the backend and ninety-seven percent on frontend logic, measured against roughly twenty-eight BigBoard-specific backend test files and the canonical frontend pattern. The LLM and search work since then added another seven test files (
llm_service, the summarise router, the search router, the embedding-worker text builder, the trends router, and the shared_httpretry helper) for thirty-five at that point; the July 2026 async migration then brought an async test harness and converted every router cluster with its tests, and the count stands at sixty-two BigBoard-specific backend test files as of August 2026. Coverage has not been re-measured. A four-day internal-tooling build does not have to ship at this coverage level, and a follow-on LLM project does not have to maintain it. The discipline of the test pass is itself evidence of how the practice treats its own workbench.
Constraints and What We Would Do Differently
Three honest notes, plus one note about what is and is not still open.
The four-day build velocity is real, and the design doc was wrong about it. The original bigboard-design.md planned six phases over roughly five to nine days, with notifications and retention as the final phase. The actual build compressed phases one through six into four days, because the Blok foundation made each integration small enough that the boundaries between phases collapsed. The honest reading is not "we beat the estimate." It is "the design doc planned for friction that the Blok foundation removed, and the planning artifact aged out of sync with the build before the build ended." Future BigBoard-class internal projects will plan for that gap rather than against it.
Internal-only with auth built proper is a deliberate posture, not a hedge. A reasonable reader might ask why a single-user internal dashboard carries TOTP MFA, role-based access control, multi-tenant orgs, refresh-token family rotation with reuse detection, and Fernet-encrypted service credentials. The answer is that the cost of installing Blok 017 fully on day one is negligible compared to the cost of retrofitting auth later if BigBoard ever becomes a public-facing status page or a customer-facing portfolio view. The posture is a bet on optionality at low cost; it is not over-engineering when the underlying capability is a single manifest install. The same answer applies to the Service Connections panel: paying the cost of an admin surface for credentials once means no future provider integration needs a redeploy to land its keys.
The cross-portfolio Blok 036 sprint was a one-day undertaking, not an ongoing constraint. Earlier drafts of this case study framed Companion's pre-manifest-system Blok fork as a still-open gating constraint on the connectivity signal. That framing was wrong by the time it was written. The May 6, 2026 sprint completed the Companion manifest-system retrofit, installed Blok 036 on Companion, and installed Blok 036 on AuthTechnic and Heiress, all in the same day's work. The connectivity signal reads cleanly on all monitored apps today. The honest note is therefore the inverse of the original draft: cross-portfolio upgrades of this shape are a one-day undertaking when the venture studio model is operating, and a careful reading of the work surfaces that fact rather than letting an early-draft constraint persist into the published record.
The open note worth naming in passing: the runtime has now moved twice (Docker to native Linux, native Linux to the fleet Mac Studio), the local-LLM layer moved with it, and the distribution question is the one still open. The old packaging tracks (a systemd service plus installer, a Tauri desktop app with a Python sidecar, and an embedded rewrite onto SQLite without Redis) were originally framed as alternatives to Docker; with the practitioner's own copy now running as a compose stack on a shared fleet host, they read instead as candidate shapes for how a second consumer would install BigBoard. None has been started, and choosing a shape is deliberately deferred until a second consumer materializes. A second consumer would also force the harder question of how to ship llama.cpp and the GGUF weights as part of a distributable artifact. The fleet host sidesteps that question today by treating inference as shared host infrastructure rather than part of any one app, which is a fine answer for one machine and no answer at all for distribution; it is the kind of question worth waiting on a real use case to clarify.
Related
- Blok case study – the component library BigBoard consumes and the meta-dashboard's foundation. BigBoard's connectivity poller drove the new service-token auth path now living in Blok 036.
- Auth/Technic case study – the first substantial Blok consumer and one of the four apps BigBoard monitors.
- Route Companion case study – the client engagement that catalyzed Blok and the second app BigBoard monitors; required a Blok-manifest-system retrofit on May 6, 2026 as a prerequisite before Blok 036 could be installed.
- Heiress case study – the third app under BigBoard's monitoring and, in the Trello era, the board-pattern reference used to set up BigBoard's original project board; tracking for both has since moved to Tanzaku.
- Tanzaku case study – the practice's project-operations system and the source of the Tōmi remote-viewer pattern that BigBoard's Keyhole viewer replicates, along with the blue/red adversarial requirements process that hardened it.