Skip to content
zofrusPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Grace Period

Judging? Start with JUDGES.md: the app and the evidence for each sponsor tool, in 2 minutes.

A phone app for KubeCon attendees who need a break: one button with zero setup, and a day plan that keeps itself in line with the real schedule. Built by team vAIking at the Cloud Native Hackathon, November 9, 2026.

Screenshots

From the live app, Nov 9, 2026, 4:12 PM MST (build c52585e).

Three phone screens: the home screen with the large "I need a break" button, the calm screen with Quiet Room 260A, and Your day with a notice labelled Drill

Home screen with the large "I need a break" button, a Focus switch and a Ready offline chip Calm screen: Take your time, Quiet Room 260A on Salt Palace Level 2, hours not listed, Read this aloud and Show this to staff Staff card in large black text: Please point me to Quiet Room 260A, Level 2. I may not be able to talk right now. Preview of Tuesday with a sample plan: a notice reading Drill: simulated change, not from the official schedule. Your 5:30 PM MST talk moved to 5:15 PM MST. It no longer fits.

/demo at 1280 by 800: the app in a phone frame beside live Elasticsearch, Dash0, Radar and Gitar columns

Why it's different

  • Care in one tap. For the attendee who is overwhelmed: one large "I need a break" button, no account, no plan and no reason asked. It shows the quiet room, the all-gender restrooms and a card to show staff.
  • Works when the venue network doesn't. After the first visit the button works offline, and the app installs on a phone.
  • Your day, reconciled like a Kubernetes controller. You declare what you came for. A reconciler compares the real schedule with it every 2 minutes, and the app tells you in one plain sentence what moved, what still fits, and, when a talk no longer fits, a similar talk you still have time for. During the hackathon the official schedule really changed, and Grace Period's reconciler detected it: at 4:36 PM a talk was added (Open Cluster Management (OCM): Live Demo Using k3d/KIND, Tue Nov 10 1:40 PM, Salt Palace Level 1 Project Pavilion) and at 4:41 PM a talk was removed from the official feed. The walkthrough still shows a moved talk in preview as a labelled DRILL.
  • Four sponsor tools, live. /demo shows the app next to live numbers from Elasticsearch, Dash0, Radar and Gitar.

Try it

Open https://grace.effulgentpoint.com on your phone. No account, no install needed.

To see the day being reconciled, open the sample day with a labelled drill: a talk moves, and the app says whether your plan still fits.

QR code that opens https://grace.effulgentpoint.com

The same code is served by the app at https://grace.effulgentpoint.com/qr-grace.svg.

30-second tour

  1. Open https://grace.effulgentpoint.com on a phone and press I need a break: Quiet Room 260A, the all-gender restrooms and Show this to staff, with no sign-up.
  2. Open the staff card, then Close card and Back to the start.
  3. Under Find your talks, search for what you came for (try "kubernetes"). Each result says whether it matched your words or your meaning. Mark one Must-see.
  4. Read Your day, and turn on Show as kubectl to see the same facts as kubectl get and describe output.
  5. Open the preview of Tuesday for a sample saved plan, labelled as simulated, and press the button there. Then open /demo.

Features

Everything below is merged and live.

  • A new look. Redesigned "Your day", kubectl view and plan search (#70, #81), and a redesigned organizer board and live demo (#75, #78). The home screen and break flow were redesigned in #71.
  • Focus mode. Fewer things on screen, no motion and larger text. It's a display choice saved on this phone (#69).
  • Easier-to-read font. A switch inside Focus mode to Atkinson Hyperlegible, bundled so it works offline (#80).
  • KubeCon communication sticker card. Choose the sticker you picked up at registration, and the card shows the event's own words. Green: "Open to communicate." Yellow: "Only if you know me, please." Red: "I’m not interested in communicating (or being videotaped or photographed) at this time." Source: KubeCon + CloudNativeCon NA 2026 Inclusion + Accessibility page, checked Nov 9, 2026. The choice stays on the phone (#64).
  • Sourced venue facts. The calm screen's quiet room, restrooms and first aid come from the event's Inclusion + Accessibility page, with the source line shown (#67).
  • Read aloud. The calm screen and the staff card can read their words out with the phone's own voice (#72).
  • Breathing guide and background sound. Box breathing (in 4, hold 4, out 4, hold 4) with the words and a count always on screen, and quiet background sound (#72). They sit together under More support (#71).
  • Calendar reminders. Add your day to your calendar. The file is built on the phone with no request, and each talk gets reminders 20, 10 and 2 minutes before (#74, #87).
  • A 5-step tour you can replay from the home screen at any time (#73).
  • Labelled drill. In preview mode, a simulated reschedule is marked "Drill · simulated", and its notice starts "Drill: simulated change, not from the official schedule." (#63).
  • Honest offline chip. "Ready offline" once the app is cached, and "Offline. The break button still works." when the connection drops (#66).
  • Share by QR. /demo shows a QR code that opens https://grace.effulgentpoint.com on a phone (#84).
  • Feels like a real app. It installs to the home screen, with an icon, a manifest and a share image (#45, #76).

Accessibility

What we check, and where it lives:

  • axe in CI on every pull request. web/scripts/axe.mjs runs axe with the wcag2a, wcag2aa, wcag21aa and wcag22aa rule sets on 16 page states of the built app: home, calm screen, staff card, the sample plan, the board, the demo page, the share dialog, the first-visit invite and tour, and Focus mode with and without the readable font. It runs in .github/workflows/ci.yml (#22).
  • A review gate. Gitar reports accessibility problems as blocking findings under rules we wrote in .gitar/review/accessibility.md. Audit fixes are in #42.
  • Reduced motion. The app honours prefers-reduced-motion (web/src/index.css, web/src/day.css), and Focus mode turns motion off (#69).
  • 200% zoom and narrow screens. Checked on the live site on Nov 9, 2026 at 15:52 MST: no horizontal scrolling at 640 CSS pixels wide (1280 by 800 at 200% zoom) or at 320 pixels, on the home screen, calm screen, staff card and board. The method is in #83, which added this line.
  • Screen-reader names. Each talk's buttons carry the talk's name (#37), and the number of search results is announced.
  • No colour-only meaning. Sticker colours always come with the word (web/src/Sticker.tsx), the breathing guide always shows words and a count (web/src/Breathe.tsx), and /demo statuses are words, not dots (web/src/pages/Demo.tsx).
  • Venue facts verbatim and sourced. Sticker wording and venue facts are copied from the event's page, with a source line and the date checked (web/src/lib/sticker.ts, web/src/data/facilities.ts, #64, #67).

How it fits together

flowchart LR
  subgraph phone["Phone"]
    pwa["Web app, web/<br/>React PWA"]
    sw["Service worker, web/public/sw.js<br/>offline after the first visit"]
  end
  subgraph ns["Cluster vaiking, namespace team-vaiking"]
    api["API, app/routes/<br/>Fastify"]
    rec["Reconciler, app/reconciler.js<br/>every 2 minutes"]
    prom["Prometheus<br/>in the cluster"]
  end
  es[("Elasticsearch<br/>talks alias: hybrid keyword + semantic search<br/>changes")]
  feed["Sessionize schedule feed"]
  dash0["Dash0<br/>traces, logs, metrics, browser RUM"]
  gh["GitHub repo zofrus/vaiking"]
  gitar["Gitar<br/>reviews PRs, pushes fixes"]
  actions["GitHub Actions<br/>build image to GHCR"]
  argo["Argo CD<br/>syncs deploy/"]
  radar["Radar<br/>Checks, diagnose, AI investigation"]

  pwa --- sw
  pwa -- "search, talks, similar, changes, grace" --> api
  api -- "hybrid search with RRF" --> es
  rec -- "polls" --> feed
  rec -- "compares with talks, writes changes" --> es
  api -- "OpenTelemetry" --> dash0
  rec -- "OpenTelemetry" --> dash0
  pwa -- "RUM, without grace, search and similar" --> dash0
  dash0 -- "metrics for /board and /demo" --> api
  prom -- "pods, restarts, memory for /demo" --> api
  gh -- "PR and Gitar stats for /demo" --> api
  gitar -- "reviews and fix commits" --> gh
  gh -- "push to main" --> actions
  actions -- "deploy commit" --> argo
  argo -- "syncs" --> api
  argo -- "syncs" --> rec
  radar -. "watches" .-> api
  radar -. "watches" .-> rec
Loading
Part Where What it does
Web app web/ React phone UI, built into the server's image. The button path never waits on the network.
API server app/server.js, app/routes/ Fastify. Each file in app/routes/ is an auto-loaded route.
Reconciler app/reconciler.js, deploy/reconciler.yaml Second Deployment on the same image. Every 2 minutes it compares the Sessionize feed with the talks index and records what moved.
Search and data Elasticsearch talks (hybrid keyword and semantic search) and changes, which the reconciler writes.
Facilities web/src/data/facilities.ts, app/data/facilities.json The quiet room and restrooms are bundled with the app, not read from Elasticsearch, so the break screen works offline. The phone uses its own copy, and /api/facilities serves the JSON copy. scripts/ingest-facilities.mjs can also load them into a facilities-v1 index, which the app does not read.
Telemetry OpenTelemetry to Dash0 Traces, logs and metrics. Attendee identity and access needs stay out of them.
Delivery deploy/, Argo CD, Radar A push to main builds an image, and Argo CD syncs the team-vaiking namespace.

The public address, https://grace.effulgentpoint.com, is a proxy in front of the team cluster's own address, https://vaiking.cnh.radarhq.io, which the platform routes to Service app in team-vaiking. Both serve the same build.

Semantic search through Elasticsearch's embeddings is the only AI in the product. Nothing on the break-button path calls a model.

Sponsor tools: evidence

Tool What we used it for Evidence
Elasticsearch The data layer. 582 talks in the talks alias with hybrid search: typo-tolerant keyword search plus semantic_text embeddings, fused with RRF, with facets and per-result match reasons. Also the reconciler's changes index. Facilities are bundled with the app instead, so the break screen works offline. app/lib/search.js, scripts/ingest-sessionize.mjs, PRs #6, #34 and #15, and the Elasticsearch column on /demo
Dash0 OpenTelemetry traces, logs and metrics from the API and the reconciler, browser RUM, and metrics read back for /board and /demo. Agent0 found a false error report in our browser telemetry. app/otel.js, web/src/telemetry.ts, dash0/README.md, PRs #16 and #48, the Agent0 note on #38, and the Dash0 column on /demo
Radar Watching GitOps deploys to team-vaiking. Checks went from 4 medium findings to 1, diagnose found a real crash loop in one call, and the AI investigation is told honestly, including that it was wrong. STORY.md, PRs #19, #23, #27 and #40, and the Radar column on /demo
Gitar Reviews our pull requests against rules we wrote in .gitar/, and pushes fix commits that we read before merging. How Gitar was used to build this, the Gitar review on #13, fix commit c4ef373, and the Gitar column on /demo

How Dash0 is part of the product

Dash0 is where the organizer signal comes from, not only where we look at our own servers.

  • The break press becomes the organizer board. Pressing the button sends one beacon (POST /api/grace) with a floor and live or preview. The server adds 1 to the OpenTelemetry counter grace_requests_total{scheduled_floor, mode} (app/lib/metrics.js). GET /api/board reads it back from Dash0's Prometheus API with a read-only token that stays on the server: round(sum by (scheduled_floor) (increase(grace_requests_total{mode="live"}[1h]))), cached for 30 seconds (app/routes/board.js). The /board page shows the counts by floor, labels a small sample as small, and marks old counts as stale. The floor comes from a fixed list, so no other value can be stored. The floor is the level of the talk you are in or your next one, so a press with no saved plan counts as "Floor not known": most live presses on the board today are that, because most testers had no plan.
  • Plan-screen SLO. plan_requests_total{within_1s} counts GET /api/search and GET /api/talks, with a 5xx counted as slow (app/routes/plan-timing.js). The query for an SLO "plan requests answered within 1 second" is in dash0/README.md. No SLO or dashboard export is committed to this repo.
  • Schedule changes. The reconciler adds to schedule_changes_total{kind} for moved, rescheduled, cancelled and added, and wraps each 2-minute cycle in a reconciler.cycle span with reconciler.outcome, reconciler.reason and reconciler.changes (app/reconciler.js). During the hackathon the official schedule really changed, and Grace Period's reconciler detected it: at 4:36 PM a talk was added (Open Cluster Management (OCM): Live Demo Using k3d/KIND, Tue Nov 10 1:40 PM, Salt Palace Level 1 Project Pavilion) and at 4:41 PM a talk was removed from the official feed.
  • Traces, logs and RUM. The API (vaiking-app) and the reconciler (vaiking-reconciler) send traces, logs and metrics. The browser (vaiking-web) sends RUM, with its token handed out at runtime by /api/public-config (web/src/telemetry.ts).
  • What is kept out. The server records no span for /api/grace or /api/similar (app/otel.js), and the browser sends no RUM for /api/grace, /api/search or /api/similar (web/src/telemetry.ts). Request logs drop query strings. Spans for Elasticsearch calls name the operation, never the query text or ids. No metric or span carries a name, account, reason or search words.
  • Agent0 found a real bug. From our browser telemetry it reported a TimeoutError and a "Request failed: /api/similar" event. The cause was our own deliberate 800 ms cutoff on the similar-talk lookup being reported as a failure. It showed in a local preview, and production showed none in the window we checked. We stopped reporting it (PR #38, Agent0's note, and the same fix for the other lookup in PR #52).
  • Read back live. /demo shows the last hour of button presses and plan requests from the same Prometheus API.

Who it helps

Conferences are loud, long and crowded, and some people need to step away without having to explain why. Grace Period is built for that moment.

  • A break with nothing to fill in. The "I need a break" button needs no account, no plan and no reason. The app asks what helps, never what someone has: no diagnosis words and no disability checkboxes.
  • Something to show instead of explaining. A card for event staff, for anyone who finds it hard to say what they need right then.
  • Places, stated honestly. It names Quiet Room 260A, which is open to everyone, and the venue's all-gender restrooms, transcribed from the event's accessibility page. With no location signal it never says "the nearest". Hours show as "Hours not listed" until someone verifies them, and directions say "Estimated. Confirm routes with event staff."
  • Your plan is kept. A press sets aside the nice-to-have talks before your next must-see. Nothing is cancelled, and "Put them back" restores them.
  • Works in a crowded venue. After the first visit the app keeps working offline, so the button still works when the signal is poor.
  • Accessible by default. Real headings, a skip link, keyboard support and aria-live announcements. CI runs an axe accessibility check on the built app, and Gitar reviews our PRs against accessibility rules we wrote.

Run it yourself

You need Node 22 or newer. Elasticsearch and Dash0 are optional. Without them the app still starts: /api/search, /api/talks, /api/similar and /api/changes answer 503 with a JSON error, while the break button, /api/facilities and /api/board keep working.

Run the API and the UI in two terminals, each starting from the repo root:

# Terminal 1: the API on http://localhost:8080. It serves /healthz, /readyz and /api/*, not the UI.
cd app && npm ci && npm test && npm start
# Terminal 2: the UI. Open http://localhost:5173. It sends /api calls to localhost:8080.
cd web && npm ci && npm run dev

To check the code the way CI does, from the repo root:

(cd app && npm ci && npm run lint && npm test)
(cd web && npm ci && npm run lint && npm test && npm run build)

To run the complete image, as production does (this is also how to see the UI on port 8080):

docker build -t grace-period .
docker run --rm -p 8080:8080 grace-period

Then, in another terminal:

curl localhost:8080/healthz                                   # ok
curl localhost:8080/readyz                                    # ok
curl -s -o /dev/null -w '%{http_code}\n' localhost:8080/      # 200, the web app

Connecting Elasticsearch needs two environment variables, which also let you load the data:

export ELASTICSEARCH_URL=...      # never commit these
export ELASTICSEARCH_API_KEY=...
node scripts/ingest-sessionize.mjs   # add --dry-run to preview without Elasticsearch
node scripts/ingest-facilities.mjs
cd app && node reconciler.js         # optional: the schedule loop

To deploy on a cluster, create Secret app-credentials in the app's namespace with the keys elasticsearch-url, elasticsearch-api-key, otlp-endpoint, dash0-auth-token, rum-endpoint, rum-token, dataset, dash0-read-token and dash0-api-url, then apply argocd/application.yaml. Every key is optional, so pods start without it.

The hackathon's notes on the team cluster (Radar, Argo CD, kubectl, a local cluster) are in docs/RADAR-STARTER.md. You don't need them to run the app.

To ship a change, roll one back, or find where secrets live, see docs/RUNBOOK.md.

How Gitar was used to build this

Gitar reviewed our pull requests against rules we wrote for this product in .gitar/review/ and .gitar/rules/: no personal data in telemetry, times always show a time zone, an accessible UI, and a span for every endpoint. .gitar/config/apply.md lets it push fixes for some kinds of findings, and it pushed each fix commit below itself. We read every Gitar commit before merging.

PR What Gitar found Gitar's fix commit CI and review
#13 Grace route security fixes (review) Security: the server span for /api/grace still exported the client IP and User-Agent, which would link an identifier to a break request. Our review rules forbid that. c4ef373 "fix: omit grace requests from server spans" Passed on c4ef373. Gitar approved, 1 of 1 finding closed.
#12 Plan timing metric, /api/board and Board page (review) Bug: if Dash0 failed after one success, /api/board served old counts with no age limit and no stale marker, so the page kept saying "last hour" for old numbers. fe436e2 "fix: mark stale board counts" Passed on fe436e2. Gitar approved, 1 of 1 closed.
#16 Dash0 read path fix, RUM exclusion (review) Two bugs: the board's sample note said "Small sample: 0 presses" when only preview data existed, and the Board page was never mounted, so nobody could reach it. 61c89de "fix: expose organizer board and clarify sample note" Passed on the next commit after the fix. Gitar approved, 2 of 2 closed.
#22 Axe accessibility check in CI and grace-path review rules (review) Five findings. One was blocking under our rules: change notices showed talk times with no time zone. The others: a wrong "only talk numbers are sent" privacy line, an unchecked buffer input, no suggestion on empty search results, and catch blocks that swallowed errors. fa79a3c "fix: address web review findings" (7 files) Failed earlier on this PR (see below), then passed before merge. Gitar approved, 5 of 5 closed.
#25 Privacy and honesty: search text copy, logs, telemetry (review) No findings. Gitar checked it against our three rules (accessible UI, instrumented endpoints, no private data) and approved. None needed Merged with Gitar's approval.

The one CI failure: run 42695403818 on PR #22 failed at job verify, step "Lint web", because the new axe script under web/scripts used Node globals that eslint was not configured for. We fixed it by hand in a146970 at 20:46:57 UTC, and CI went green. Gitar pushed the identical one-file fix, f8bf65d, about four minutes later at 20:50:45 UTC.

AI use

AI agents wrote most of the code in this repo. I directed the work, reviewed it, ran the acceptance tests and decided what merged.

What I did myself.

  • Chose the problem and the product: Grace Period, a break button for overwhelmed attendees. Then kept steering. I pushed back on a search-only app, asked for the kubectl day view and the four-tools demo page, called a redesign at 2:52 PM after realizing, on my way to a bio break, that other teams were probably building similar search apps, and picked the Pro Product design out of five. I asked for Focus mode, calendar transition reminders, a replayable tour, background sound and breathing, read aloud, and neurodivergent-friendly defaults.
  • Set up every account and integration: this GitHub repo and its Actions (enabled for this repo only), Elastic Cloud Serverless, Dash0, the Radar cluster and Argo CD GitOps, Gitar, a Vercel proxy and Cloudflare DNS for grace.effulgentpoint.com, and Google Drive for the video.
  • Approved the merges and the security trade-offs. Tested on my phone and in the room.
  • Built the setup the agents ran on: two of my Macs, linked over Tailscale and SSH.

How the AI was used. Claude Code ran as a coordinator over parallel agent sessions on both Macs, sharing a work board, session logs and a watchdog. A merge loop merged only pull requests with green CI. Forge agents did intake, a devil's-advocate review, planning, building in separate clones, accessibility and code-review gates, and merge resolution. Research agents read the rules and sponsor docs. A design agent drew five directions. AI-assisted commits carry a Co-Authored-By line naming the model.

Gitar reviewed 108 of our 111 merged pull requests (as of 4:45 PM MST) against our rules and pushed fixes under its own name (How Gitar was used). I read each fix before merging. One would have wiped the search index on an empty feed. Dash0's Agent0 found a false error report in our browser telemetry. Radar's AI investigation called a crash loop "transient". Radar's diagnose and the pod logs found the real cause (STORY.md).

In the product. The only AI is semantic search: Elasticsearch embeds talk titles and abstracts. No language model is called, and nothing on the break-button path uses AI.

Guardrails I set.

  • No secrets in chat or the repo. Keys live in a cluster Secret I applied myself.
  • Venue facts are quoted verbatim with a source and date. A test fails without them.
  • Anything simulated, including the drill, is labelled on screen.
  • A break press sends a floor and a mode. Counts only, nothing identifying.
  • No force pushes, rebases or rm. A local hook blocks them.
  • Accessibility gates: axe in CI and an accessibility review on UI changes.

Credits

Schedule data: KubeCon + CloudNativeCon North America 2026, The Linux Foundation, CC BY 3.0.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

Generated from skyhook-io/cnh-starter