The owner graded the last site a C minus: grey, hard to navigate, broken
on a phone. This is the re-run, page by page.
Structure: two halves. Act (/act): checklists for one situation each,
ticked off as you go (progress stays in the browser), plus booking, the
full Safety Plan and the quick check. Library (/library): the ten fields,
guides, research and how Skif decides. Nav: Act · Library · Academy ·
Protectors. /safety redirects to /library.
Design: licensed photographs (Unsplash, self-hosted, credited on /credits,
SSOT config/photos.ts), a lucide icon per field, Scythian gold for the
mark. Page openings carry the photograph (PageHero); field pages show
every step as a card with privacy and freedom meters instead of a
six-column table; tables from sitekit data stack into cards on phones
(sitekit's own table needed 560px and broke at 390). The Academy shows
one area at a time (12 phone screens -> 4).
Research: two articles, every number tied to a numbered source that was
read — the science of safety (lighting, CCTV, resistance, de-escalation,
MFA, Swiss statistics, CPR, micromorts) and what protective professionals
publish (Secret Service/NTAC, Run Hide Tell, CPNI, Swiss FIS, Zürich
threat management). A test checks every [n] has a source and every
source is cited.
Also: sign-in says it creates accounts too and lists the methods read
live from OrangeCat; Protectors page with the carry policy (only where
licensed and the job calls for it); sport-risk text corrected to sourced
figures.
Claude-Session: https://claude.ai/code/session_01TTH5cy8bKmEqzdTyAsbbT8
Co-authored-by: Claude <noreply@anthropic.com>
- Mark: a recumbent stag in the Scythian animal style, in the header, the
signed-in header, the footer and the favicon (currentColor, themes).
- Guides (/guides, /guides/[slug]), sitekit data in src/config/guides:
the self-defence ladder (escape first, parkour's way of seeing a street,
Swiss StGB arts. 15-16), weapons and the Swiss Weapons Act, combat sports
compared on live resistance and range, women's and children's safety,
devices and disk encryption, scams and Bitcoin keys, nature/travel/sport
risk, and published public programmes (Run Hide Tell, Stop the Bleed,
NTAC threat assessment) instead of agency mystique. Each field page lists
its guides; the home page shows four.
- Academy: Firearms becomes Weapons (literacy and the law, firearms at
licensed ranges, Kali/Escrima, defence against weapons); new Escape,
Striking, Grappling and Self-defence areas, women's and children's
courses, Stop the Bleed, scams.
- Theme: safety and freedom — headline, footer, and a statement band.
Claude-Session: https://claude.ai/code/session_01TTH5cy8bKmEqzdTyAsbbT8
Co-authored-by: Claude <noreply@anthropic.com>
The landing page is replaced by a site that explains safety from every
side, built from the same config the product runs on, so the site cannot
claim what the product does not do.
- Home: the safety map (the ten fields around one person, each a link,
drawn from harm-families.ts, replacing the illustrations), a quick check
that runs the real buildSafetyPlan in the browser and shows the free
first steps without sign-in, the fields index, the loop, three ways in.
- /safety and /safety/[field]: per field, the concerns asked about and
every step that helps, least intrusive first, with cost, privacy,
freedom, benefit and confidence.
- /method: how a plan and a Protector match are decided, with the scales,
hard limits and axes rendered from config.
- /academy: courses from config/academy.ts, each tied to the capability it
builds; honest that none runs yet. /join: Protectors, schools,
specialists (the provider types the plan already recommends).
Packages: content pages are @bitbaum/sitekit data rendered by its
renderers and validated against its schema in site.test.ts; the nav is
sitekit's SiteNav. The masthead is Skif's own because sitekit's cannot
carry a sign-in action or the stage. One (public) layout carries header,
footer (with the emergency numbers) and the feedback widget.
Claude-Session: https://claude.ai/code/session_01TTH5cy8bKmEqzdTyAsbbT8
Co-authored-by: Claude <noreply@anthropic.com>
From a review at 390px of the assessment home, form and plans (one with
worries and a small budget, one with nothing raised):
- Plan: "Your steps" leads after the verdict — each recommended step
once, with the worries it answers (planSteps() in the domain, tested).
A step already shown in full under an earlier finding is a one-line
reference after it. "What you told us" and the limits fold into "What
this plan is based on", previewing budget and limits; "Over your
budget" folds like the other options. 5691 -> 3225px.
- Form: each family of harm, "Does any of this apply?" and "What do you
already have or do?" fold (FormFold); a known threat stays open (it
raises priority and carries the emergency numbers). Long option lists
use a divided list instead of a box per option. 5691 -> 3009px.
- "Budget you gave: up to chf 100" lowercased the currency; it reads
"Your budget: Up to CHF 100."
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
From a review at 390px of the Protector home and a job in every state
(assigned → completed, taken off), with a question from Operations:
- Forms: a refused submit wiped every field — React resets a form passed
to <form action> after any submit — so one missed "What happened?" box
cost a whole incident report. ActionForm now dispatches the submit
itself, keeps the fields when the server refuses, and clears them only
on success. Every form in Skif uses it.
- Home: a question from Operations waiting on an answer comes first;
jobs are Coming up / Past (BookingSections, now shared with the
customer's list); availability folds once set, its hours in one line
("Every day 00:00–23:59"). 2251 -> 1890px.
- Job: during the job the report form is folded behind "File a report
or incident" (open and leading once completed); severity appears only
for an incident. In progress 3134 -> 2095px.
- FoldCard in ui.tsx: the folded-card pattern (Protector profile,
availability, the customer's "Something wrong?").
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
From a review at 390px of the bookings list, the request form and a
booking in every state (requested → cancelled):
- List: "Coming up" (still to happen or happening now, soonest first)
and "Past" (latest first), via comingAndPast() in the lifecycle
domain. A cancelled booking topped the list and the one in progress
was fourth.
- Booking: your Protector and the messages come before the details;
"How it felt" appears once completed (it was an empty placeholder on
every live booking); the complaint form folds behind "Something
wrong?" (open once you have filed one). Accepted 2640 -> 2130px.
- Rating: each question is one row of five (RatingScale); "Nothing tense
happened" is its own row on the optional question. 3859 -> 2731px.
- Request: a service's description shows once it is chosen
(describeChosen on the choice group); must-haves are inline.
- segmentClass in ui.tsx: the segmented-choice style, now used by lean
axes, capability levels and the rating scale.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
From a review of every Ops page at 390px with seeded data (two
Protectors, a completed booking with an incident and a complaint, a
waiting booking):
- Booking: an open incident or complaint leads the page (it was the
last card, ~1700px down). The rating card appears once the booking is
completed and the reports card once there is a report or it is
completed, instead of empty cards on a request.
- Audit log: the four-column table was clipped at 390px; a phone gets
one entry per event, the table stays from md up.
- Protector: capability text takes the full width on a phone, Verify /
Reject wrap below it instead of squeezing it.
- DefinitionList: the label column is capped on a phone, so a long label
wraps instead of pushing every value into a narrow column.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Protector application (phone, empty): 6925px -> 3821px tall.
- Capabilities: each is a chip; only a ticked one opens its level
(three buttons, required), "where you gained it" and, where it applies,
certificate and expiry. Unticking clears the level, so the parser sees
it as not held, as before. A level the AI assistant fills opens its row.
- Basics first (styles moved up), capabilities last, right above the
submit. Languages are inline here and on preferences.
Protector page: an existing Protector's profile is folded behind "Your
profile" (open after a rejection, when changing it is the next step).
Approved or applying with no availability: a prompt at the top that
links to it. Availability is one row per day at 390px.
Next step first:
- Job page: Accept / Check in / Start / Complete in a "Next step" card
under the title (was below the emergency notice and seven rows of
details); once completed, the report form leads.
- Customer booking: once completed and unrated, "How it felt" leads.
Packages: the header's account corner is @bitbaum/accountkit's
AccountMenu (44px trigger, keyboard, a sign-out that says when it
failed) in place of a hand-rolled name and button.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
From a dogfooding review of every app page at 390px (iPhone 13) with a
booking driven through Ops:
- Header: was three wrapped rows of small links. Now Skif + account on
one row and the sections as one sideways-scrolling row (AppNav), every
link a 44px target, the current section marked with aria-current. One
row on desktop.
- "Where do you lean?": three-way choices wrapped into a pair and an
orphan, so "Observability" read as its own option. Each axis is now a
labelled fieldset of three equal columns, the poles either side of
Balanced.
- Ops queue: the six-column table was clipped at 390px ("Ar", "Kre").
A phone gets one card per booking; the table stays from md up. The
status and service chips are one sideways row each on a phone instead
of eight wrapped rows above the results (page 1755px -> 1183px tall).
- Protector page: the submit and the AI helper's button were both
"Apply". The submit is now "Send application".
- "1 booking(s)", "1 completed Night Out job(s)": counted() agrees the
noun with the count (Intl.PluralRules), used at all three sites.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
SPEC §24: any assistance surface must not pretend to be a public emergency
service. The Swiss numbers (117, 144, 118, 112) now live once in
config/emergency.ts. EmergencyNotice shows them as tel: links (44px targets)
on the booking request, on a live booking (customer), and on a live job
(Protector), where the booking thread could otherwise look like a way to
call for help. The assessment's threat hint derives its numbers from the
same config.
docs/GAP.md: closes §24, and marks messaging closed by #31.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Customer, Protector and Operations can coordinate a booking in place
("I'm at the meeting point, blue coat"). Permission is participation
(threadkit), derived from the booking's lifecycle, never a role check:
- the customer and Operations take part from the start
- a Protector joins when they ACCEPT and sees only from that moment; one
taken off the job keeps what they saw and gets nothing after
- writing closes for everyone once the booking ends
- speakers are named by role, never by name or id; unread is per person
- new UNASSIGN action (Ops, before the job starts) releases the Protector;
events record whose job it was, so stints read back from the lifecycle
- migration 0013: booking_messages, booking_thread_reads
- MESSAGE rate limit 60 / 10 min per person; 1000-char messages
- chatkit UI themed from Skif's tokens; voice input off (Web Speech would
send spoken meeting points off our database); chatkit's sizes lifted to
14px text and 44px controls
Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The Operations page loaded every booking ever made into one table. It is now
a listkit ListSpec (src/domain/ops-queue.ts), so the URL codec, the SQL
engine and the page all read one definition:
- facets: status and service, each option with a count that lifts its own
facet (listkit's rule); empty selection = the whole queue, as before
- search over what the queue already shows (ref, service label, area,
Protector name), LIKE-escaped through listkit so "_" matches nothing extra
- sort by requested or start time, either order; 25 per page, paged in SQL
- GET form canonicalised to listkit's own URL spelling; out-of-range pages
clamp by redirect
- every control 44px; search and selects at 16px
listAllBookings is removed; the lifecycle test reads the queue instead.
listkit is the fleet's GitHub package (npm "listkit" is unrelated).
Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
One AI-assisted form, by decision: the Protector application, where a person
describes their OWN professional background. Bookings, assessments,
preferences, reports, incidents and complaints carry location or incident
data and are not registered (src/config/ai-forms.ts), and a model never
matches, dispatches or judges anyone.
- @bitbaum/ai-kit freeChain across vendors; a vendor joins only when its key
is set. With none, the form says so and works by hand.
- POST /api/ai/form-assist: signed-in only, then configured, then rate-limited
(FORM_ASSIST, 20/h per person). The body is rebuilt from the form registry,
so only declared fields reach a model.
- Certificate numbers and expiry dates are never model-filled.
- A disclosure above the box says what leaves Skif; every filled field is
marked "check it". The model never submits.
- /api/health reports ai: configured | unconfigured from the env alone.
Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The Loki profile only carries operator run summaries ("wrote docs/GAP.md …
PR #4") and no roadmap, so /changelog read as a build log and /roadmap was
empty. Both now render a curated profile in src/config/development.ts, still
through bip-kit's shared renderer:
- changelog: what a person can now do, in plain words, newest first
- roadmap: five honest next steps from docs/DOCTRINE.md, undated
- a test keeps PR numbers, file names and build jargon out, and the roadmap
at 3–5 items
- the pages are static; the fleet-map fetch and its schemas are removed
- bip-kit's header links are 44px tap targets
Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat(landing): self-made illustrations, 44px tap targets, 14px text floor
- Four hand-drawn SVG scenes in public/art (a walk home along the Limmat,
a night tram stop, a kitchen table, a venue doorway): calm people and
ordinary places, no cameras, locks or muscle. Sources and alt text live in
src/config/landing.ts; a test checks each file exists and is described.
- Every button variant is min-h-11 (44px); header, footer and secondary
links are too, via a new buttonClass.link.
- text-xs (12px) is gone site-wide; form inputs are 16px.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(footer): Roadmap and Changelog links are 44px tap targets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The public page now opens on the doctrine's first question and three doors
(someone with me / concerned about my safety / venue or event), shows the ten
families of harm rendered from src/config/harm-families.ts, the
assess-improve-protect-learn loop with "you don't need to buy anything" as a
first-class answer, the existing principles, and an invitation to Protectors.
Copy lives in src/config/landing.ts; sections are small components under
src/components/landing/. Sign-in, Become a Protector and the feedback widget
are kept. Stage stated as Beta; no stats, prices or claims.
Screenshots before/after at 390 (light, dark), 320 and 1440 in
docs/proofs/landing/.
Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The Protected Life ("My life as a whole", environment type PERSON) is now
the root assessment, created once per person. Concerns, exposures, threats
and measures cover all ten harm families from docs/DOCTRINE.md. Each family
has at least one free step and at least one provider who can help. New
provider types: cyber, privacy, reputation, preparedness, legal referral.
Plans can now answer "your current measures are adequate", and every option
shows its privacy and freedom cost next to its benefit.
Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
SPEC.md was written before the conversation reached its conclusion. This is
the conclusion, and where they disagree it wins.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The customer's words stay with Operations; the Protector sees only a summary
Operations writes, can respond and appeal. A complaint never changes the
ranking by itself.
Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Adds Personal Protection, Protector + Driver and Specialist Support. A service
can require capabilities and a customer can add must-haves; matching excludes
anyone not holding each one verified and valid on the day, with the reason.
Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Protectors set one window per weekday (may run past midnight). Back-to-back
windows chain, and Sunday runs into Monday. Matching excludes anyone whose
availability does not cover the whole booking, or who never set any; Ops sees
each Protector's week.
Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Capabilities replace v1's flat skill tags (migrated across as self-declared).
Ops verifies or rejects each one and is recorded as assessor; a changed
declaration needs verifying again. Matching weighs level and verification and
ignores rejected capabilities and certificates expired on the day of the job.
Protector status moves are declared once (domain/protector-status.ts).
Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The one-shot build prompt written with ChatGPT on 2026-09-08, which never
ran (Codex's GitHub connector failed). Kept verbatim so the build agent
works from the whole thing rather than the condensed brief Loki carries.
A short header records the four places fleet rules override it: OrangeCat
sign-in instead of Supabase auth (fleet STACK.md, CI-enforced since
fleet#139), Drizzle + self-hosted Postgres, Vitest, and a payment
abstraction with a manual PAYMENT_PENDING state.
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>