* chore: add a formatter, matching the style this repo already writes
singleQuote=true was chosen by counting this repo's own
imports, not by fleet decree. The fleet is genuinely split and the two repos
that already had a .prettierrc disagreed with each other, so there was no
standard to restore. Quote style does not cross repo boundaries; having a
gate does.
Markdown is ignored for now — prettier rewraps prose, which would bury the
real diff.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* style: format with prettier (20 files)
Mechanical. No behaviour change. This SHA is listed in
.git-blame-ignore-revs so `git blame` skips it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* chore: teach git blame to skip the reformat
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This repo held a 245-line copy of auto-merge-sweep.sh — the OLDEST of the eight
versions the fleet's 22 copies had drifted into, and the one that had fallen
furthest behind. It was missing:
red-base job matching a PR that FIXES a broken base could never land, because
the guard refused every merge onto red without asking
which jobs were actually failing
infra-failure re-run a cancelled or infra-failed CI run stranded the queue
with no signal at all
Neither gap was this repo's fault. Both fixes were written elsewhere in the
fleet, for outages other repos hit, and there was no mechanism by which they
could ever arrive here. That is what a copy costs.
The workflow now calls the reusable one in maonakamoto/dotfiles, so this file is
settings rather than logic. The triggers stay local because they genuinely are
per-repo: "workflow_run" must name the CI workflow exactly, and that name
differs across the fleet.
Two details that are easy to get wrong and silent when wrong:
rearm_workflows is SPACE-separated ('ci.yml deploy.yml'). The sweep word-splits
it; a comma makes one bogus token, every dispatch fails, and the only symptom
is that nothing deploys — while the sweep still exits 0.
permissions are declared on the CALLER too. A called workflow's token is capped
by what the caller grants, so relying on the callee's block alone can hand it a
read-only token; the sweep would then merge nothing while exiting 0, which is
indistinguishable from having nothing to merge.
Fleet duplication: 22 copies -> 21.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
* feat: five more pieces, reveal safety net, deterministic shots
Portfolio goes 16 -> 21. Five distinct pieces were still sitting unused in
the source set; the other four unused frames are alternate angles of work
already shown, so they stay out. The hero counter reads 21 because it is
derived from the manifest, not typed.
- Dayê (chest lettering) was photographed by the client looking down at
their own chest, so it came out upside down. EXIF cannot know that — it
records how the phone was held, not which way up the subject was — so
the manifest now carries an explicit `rotate`. Recropped wide, which
suits horizontal lettering and takes the nipple out of frame.
- Running order is now an explicit sequence rather than insertion order:
the two spiders are no longer side by side, and the wide tiles are
spread across the grid instead of clustered at the end.
- All seven dictionaries gain the Hand and Chest placements plus the five
new titles. A missing translation is a test failure, never a blank.
Fixes a real bug found while reviewing: IntersectionObserver reports once
per frame, so a fast flick, a hash jump or browser scroll restoration can
carry an element past the viewport without it ever being reported. The
reveal is one-shot, so a missed frame is not a late animation — it is
content that stays invisible forever, the same way the clip-path bug
blanked the page. Measured 21 of 35 targets stuck at opacity 0 after a
fast scroll; a scroll sweep backs the observer and takes that to 0.
scripts/shots.mjs was lying in three different ways — jumping past lazy
images, shooting mid-smooth-scroll, and catching the wordmark mid-
scramble. It now walks the page, disables smooth scrolling, and waits on
the page's own state instead of a guessed delay.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* fix: real icon, chat-renderable link preview, branded 404, i18n viewer
Five defects found by auditing the live site rather than the source.
- No favicon anywhere. favicon.ico sat in app/[locale]/, but Next only
honours it at the top level of app/ — the live head carried no icon link
at all and /favicon.ico returned 404. It was also still the default
Next.js logo. Replaced with a generated S. mark; scripts/make-icons.py
holds the geometry once and emits both the SVG and the iOS PNG.
- og:image was a WebP. Link previews are rendered by whatever app the link
was pasted into, and WhatsApp and iMessage show nothing for a WebP — so
the preview that silently failed was the one on the link Sami sends
clients himself. The pipeline now exports a 1200x630 JPEG.
- The lightbox said Close / Previous piece / Next piece in English in all
seven languages. Only reachable by opening a piece, so it went unnoticed;
the i18n test cannot see a string that never entered the dictionary.
- /book and /work 404'd. Those are the URLs people type from memory, and on
a one-page site there is always a section to send them to.
- Unmatched URLs got Next's own unstyled error page: the root layout lives
in app/[locale], so there was no layout to build a 404 from. Fixed with
global-not-found plus dynamicParams=false — without the latter [locale]
matches anything, so /nonsense was a *matched* route throwing notFound()
and never reached the global handler.
Also: migrated middleware.ts to the proxy convention (deprecation warning
in this Next version), and dropped the footer year, which froze at build
time on a prerendered page.
Four new regression tests. 74 passing.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Four things the studio asked for:
- Hero is now Sami at the machine rather than a tattoo close-up. Graded gently
(portrait mode in the media pipeline) so the cold ring light behind him
survives — crushing it to mono the way the close-ups need threw away the best
thing in the frame.
- Full i18n: en, de-CH, fr, tr, zh, ja, ko, each prerendered at its own path,
with a language switcher and Accept-Language negotiation at /. The dictionary
is a typed contract, so a missing translation fails the build instead of
rendering blank.
- Email booking. The primary CTA opens a message with subject and a short
checklist body already written, in the visitor's language.
- Canonical domain is now sinktattoo.com.
Name corrected throughout to Sami Tutar.
Co-authored-by: Mao Nakamoto <georgy.butaev@revamp-it.ch>
* feat: S.Ink portfolio site
One-page portfolio for tattoo artist Sami Sami, built around 16 real pieces
and 2 clips supplied over WhatsApp.
The source photographs are phone snaps with wildly inconsistent backgrounds
(orange parquet, blue cling film, a red hoodie). scripts/process-media.py puts
every frame through one identical crop-and-grade so they read as a single body
of work rather than a camera roll; crops are data in content/works.json, which
the site and the pipeline share as their SSOT.
Design tokens live only in app/globals.css and copy only in lib/site.ts.
Booking links are deliberately empty until real handles are confirmed — the
Book section renders no outbound links rather than dead ones.
* ci: add CI floor and self-host deploy
CI runs the same `verify` script as a local run, plus a check that every
piece in the works manifest has its processed exports — a missing export
renders as an empty tile, which the build alone would not catch.
Deploy delegates to the fleet's reusable selfhost-deploy workflow (app: sink,
registered in fleetcrown apps.conf).
---------
Co-authored-by: Mao Nakamoto <georgy.butaev@revamp-it.ch>