sisyo 1.6.7 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +6 -1
  2. package/bin/known-hashes.json +109 -0
  3. package/bin/sisyo.js +285 -285
  4. package/package.json +30 -30
  5. package/templates/.claude/rules/agents-and-tests.md +24 -0
  6. package/templates/.claude/skills/g6-style/SKILL.md +125 -0
  7. package/templates/.claude/skills/g6-style/references/checks.md +58 -0
  8. package/templates/.claude/skills/g6-style/references/imagery.md +103 -0
  9. package/templates/.claude/skills/g6-style/references/motion.md +121 -0
  10. package/templates/.claude/skills/g6-style/references/sections.md +263 -0
  11. package/templates/.claude/skills/g6-style/references/tokens.md +197 -0
  12. package/templates/.claude/skills/hindsight/SKILL.md +13 -10
  13. package/templates/.claude/skills/i18n-multilang/SKILL.md +153 -0
  14. package/templates/.claude/skills/i18n-multilang/assets/languages.json +47 -0
  15. package/templates/.claude/skills/i18n-multilang/assets/plural-vectors.json +46 -0
  16. package/templates/.claude/skills/i18n-multilang/assets/project/README.md +17 -0
  17. package/templates/.claude/skills/i18n-multilang/assets/project/gitattributes.txt +6 -0
  18. package/templates/.claude/skills/i18n-multilang/assets/project/gitignore.txt +4 -0
  19. package/templates/.claude/skills/i18n-multilang/assets/project/glossary.json +6 -0
  20. package/templates/.claude/skills/i18n-multilang/assets/project/i18n.config.json +22 -0
  21. package/templates/.claude/skills/i18n-multilang/assets/project/locales/__source__/common.json +10 -0
  22. package/templates/.claude/skills/i18n-multilang/assets/project/notes/common.json +5 -0
  23. package/templates/.claude/skills/i18n-multilang/assets/project/style.md +20 -0
  24. package/templates/.claude/skills/i18n-multilang/references/format.md +100 -0
  25. package/templates/.claude/skills/i18n-multilang/references/languages.md +97 -0
  26. package/templates/.claude/skills/i18n-multilang/references/layout-and-versioning.md +256 -0
  27. package/templates/.claude/skills/i18n-multilang/references/numbers.md +161 -0
  28. package/templates/.claude/skills/i18n-multilang/references/platform-unity.md +142 -0
  29. package/templates/.claude/skills/i18n-multilang/references/platform-web.md +107 -0
  30. package/templates/.claude/skills/i18n-multilang/references/translation.md +143 -0
  31. package/templates/.claude/skills/i18n-multilang/references/voice.md +271 -0
  32. package/templates/.claude/skills/i18n-multilang/scripts/i18n.py +1041 -0
  33. package/templates/.claude/skills/i18n-multilang/scripts/numwords.py +1013 -0
  34. package/templates/.claude/skills/i18n-multilang/scripts/voice.py +478 -0
  35. package/templates/.claude/skills/neon-game-ui-ux-skill/COMPONENTS.md +490 -0
  36. package/templates/.claude/skills/neon-game-ui-ux-skill/GAMIFICATION.md +246 -0
  37. package/templates/.claude/skills/neon-game-ui-ux-skill/ICONS.md +249 -0
  38. package/templates/.claude/skills/neon-game-ui-ux-skill/LAYOUT-NAV.md +362 -0
  39. package/templates/.claude/skills/neon-game-ui-ux-skill/MOTION-A11Y.md +168 -0
  40. package/templates/.claude/skills/neon-game-ui-ux-skill/SKILL.md +137 -0
  41. package/templates/.claude/skills/neon-game-ui-ux-skill/TOKENS.md +323 -0
  42. package/templates/SISYO.md +1 -1
@@ -0,0 +1,263 @@
1
+ # g6-style section blueprints
2
+
3
+ Each blueprint: what the section is for, its layout, its motion, and the measurements that make it look right. The
4
+ reference stack is React + Tailwind v4 + framer-motion (`next/image` for pictures); class names below use the tokens
5
+ of `tokens.md` and the animations of `motion.md`. Write the components in the project's own structure, with its
6
+ i18n, icon set (duotone Lucide shapes work), logo and button helpers.
7
+
8
+ Two patterns every section follows:
9
+ - **One media map.** Every image and video of the page, with its alt text per language, in one file
10
+ (`visuals.ts`): sections read from it, nobody hard-codes a path.
11
+ - **Copy per component** in every language the site has. Prices, limits and plan facts come from the product
12
+ catalogue or shared constants, never typed into the copy (a missing catalogue id should fail the build rather
13
+ than show a wrong price).
14
+
15
+ ## Page order (a product homepage)
16
+
17
+ 1. Hero (headline + lead + CTA + video button, 3D phone stack) → 2. Strip (marquee) → 3. "N ways" animated tiles
18
+ meeting at one card → 4. "More than X" (product visual + benefit grid) → 5. Product tour on the real screens
19
+ (click to play) → 6. Plans (free featured + premium black-and-gold) → 7. Products row (scrolls sideways) →
20
+ 8. FAQ → 9. Closing CTA on a photo. Bands (`bg-surface/55` + a `.led-line` on the top edge) alternate with plain
21
+ sections so the page has rhythm.
22
+
23
+ ## Section shell
24
+
25
+ `<section id aria-labelledby="{id}-title" class="relative overflow-x-clip py-16 md:py-24">` (+ `bg-surface/55` and an
26
+ absolute `.led-line inset-x-0 top-0` when it is a band), content `mx-auto max-w-6xl px-4`. `overflow-x-clip` (not
27
+ hidden) so glows never widen the page and sticky still works.
28
+
29
+ Heading block (in a Reveal, `max-w-2xl`, `mx-auto text-center` when centred; centred is the default):
30
+ - Eyebrow: Latin word, `flex items-center gap-3 font-display text-xs font-semibold tracking-[.22em] uppercase
31
+ text-ink-gold`, a `.led-line w-8` dash before it and, when centred, after it.
32
+ - h2 `id="{id}-title"`: `mt-2 text-2xl leading-snug font-bold text-ink-title sm:text-3xl lg:text-4xl lg:leading-tight`.
33
+ - Lead: `mt-3 text-base leading-relaxed text-ink-soft`.
34
+ - Section content starts at `mt-10`.
35
+
36
+ Japanese headings and leads: split the text after each 、 / 。 and wrap every phrase in an `inline-block` span, so a
37
+ line never breaks inside a word (「プロフィー / ル。」). For body text in narrow columns use `[word-break:auto-phrase]`
38
+ + `text-pretty` instead (inline-block phrases leave ragged lines in a 250 px column).
39
+
40
+ ## Phone frame (shared)
41
+
42
+ A phone around a real screen capture (captures 900×1948: a 390 pt iPhone screen). Width from its column, height from
43
+ the screen's ratio, so it scales:
44
+ - Bezel: `rounded-[14%/6.5%] bg-[#15110b] p-[2.6%]` with `shadow-[0_0_0_1px_rgb(255_255_255/.1),inset_0_0_0_1px_rgb(255_255_255/.06),0_28px_70px_rgb(16_24_40/.3)]`;
45
+ black in both themes. A featured phone adds a gold halo, e.g. `0_40px_90px_rgb(16_24_40/.36),0_0_70px_rgb(236_214_166/.22)`.
46
+ - Screen: `data-theme="light"` (a screen stays light like a real one), `relative aspect-[900/1948] overflow-hidden
47
+ rounded-[11.5%/5.4%] bg-white`, the capture as `fill` + `object-cover object-top` with real `sizes`.
48
+ - The capture that can be the page's largest paint loads with `priority` and its phone has no entrance animation.
49
+
50
+ ## 1. Hero
51
+
52
+ - `<section class="relative overflow-hidden">`; a skylight div at the top (`pointer-events-none absolute inset-x-0
53
+ top-0 -z-10 h-[70%] bg-(image:--c-skylight)`).
54
+ - Grid `max-w-6xl px-4 pt-10 pb-12 gap-8`, from `lg` two columns `[minmax(0,1fr)_minmax(0,1.05fr)]`, `gap-10 pt-14 pb-16`.
55
+ - h1: `text-[34px] leading-[1.22] font-extrabold tracking-tight text-ink-title sm:text-5xl sm:leading-[1.16]
56
+ lg:text-[3.6rem]`, two lines as blocks. The copy is an array of parts per line; each part an `inline-block` so the
57
+ line wraps only between parts (Japanese runs parts together, other languages put a space between them, and
58
+ between the two lines). Second line: `bg-gold-ink text-gradient animate-flow bg-[length:200%_200%]` on each part.
59
+ - Lead `mt-5 max-w-lg text-lg leading-relaxed text-ink-soft`; buttons `mt-8 flex flex-col gap-3 sm:flex-row`; a
60
+ reassurance line `mt-6 text-sm font-bold text-ink-soft` with a check icon (e.g. "no purchase needed, viewers need no
61
+ app").
62
+ - Every text block rises with CSS on first paint: `animate-rise` + `animationDelay` `0.08 + 0.09 × step` s (steps
63
+ 0–4: line 1, line 2, lead, buttons, note). Never hide hero text behind JavaScript (it is the LCP candidate).
64
+ - Buttons: the gold hero CTA (the only one with `flow`) + an outline button that opens the intro video in a dialog
65
+ (label with its length, "Watch the intro (45s)") and a play glyph. No video yet: the second button scrolls to the
66
+ tour (`#how`).
67
+ - **Visual** (`relative mx-auto h-[430px] w-full max-w-[560px] [perspective:1400px] sm:h-[540px] lg:h-[600px]`):
68
+ - Aurora behind (`absolute inset-0 -z-10 sm:-inset-12`): three `animate-aurora` round divs, `closest-side` radial
69
+ gradients: 62 % at top 4 % / left 6 % champagne `.34`; 58 % at right 2 % / bottom 6 % bronze `.28`, delay -6 s;
70
+ 46 % at top 26 % / right 18 % gold `.32`, delay -11 s.
71
+ - A `preserve-3d` layer carrying the tilt and the sink. Two phones behind (`w-[35%] sm:w-[34%]`, top 13 % left
72
+ 1 % / top 10 % right 1 %, `sm:` 3 %), rotated -8° / +8°, opacity .95, entering at 0.35 s / 0.5 s, drifting with
73
+ phases -2 s / -4 s. The front phone `top-[3%] left-1/2 w-[44%] sm:w-[42%] -translate-x-1/2
74
+ [transform:translateZ(60px)]`.
75
+ - Tilt (mouse only): pointer position in the box mapped -0.5…0.5 → `rotateY` -10…10°, `rotateX` 8…-8°, through
76
+ `useSpring({ stiffness: 110, damping: 18, mass: 0.6 })`; back to 0 on pointer leave.
77
+ - Scroll (`useScroll({ target, offset: ['start start', 'end start'] })`): back phones spread `x` 0 → -48 / +48 px,
78
+ the stack sinks `y` 0 → 56 px. Reduced motion: no tilt, no spread.
79
+ - A looping tap on a real button of the front screen: a span at the measured spot (percent of the capture, e.g.
80
+ 43 % across / 62.7 % down), `size-[22%]`, holding an `animate-tap` circle `bg-white/70 ring-2 ring-white`.
81
+ - The toast that answers it (`animate-toast`, same 5 s clock) at the bottom centre: `rounded-2xl bg-[#15110b]/90
82
+ py-2 pr-4 pl-2 text-white shadow-float ring-1 ring-white/10 backdrop-blur`, a gold icon tile (`bg-gold/20
83
+ ring-gold/50`) + a bold line + a `text-2xs text-white/70` line.
84
+ - Chips at the edges (URL, "QR too", "no app"): `flex items-center gap-2 rounded-2xl bg-surface/90 py-1.5 pr-3
85
+ pl-1.5 shadow-float ring-1 ring-line backdrop-blur` with a tone icon tile (`size-8 sm:size-9 rounded-xl bg-tone/15
86
+ ring-1 ring-tone/40 ring-inset`). Each in three wrappers: position + `[transform:translateZ(90px)]` →
87
+ `animate-rise` (delays 0.7 / 0.85 / 1 s) → `animate-drift` (phases -1 / -3 / -4.5 s). On phones only the URL
88
+ chip, tucked in the corner; the others from `sm`.
89
+ - Floating things sit at `translateZ(90px)`, above the front phone's 60 px, or the phone hides them.
90
+
91
+ ## 2. Strip (marquee)
92
+
93
+ `aria-hidden` (every item is said again on the page), `data-scroll-x`, `relative overflow-hidden py-3`, a
94
+ `.led-line` at the top and the bottom. Inside, `animate-marquee flex w-max` with
95
+ `[mask-image:linear-gradient(90deg,transparent,#000_8%,#000_92%,transparent)]` and
96
+ `hover:[animation-play-state:paused]`, holding the same `<ul>` twice (`flex shrink-0 gap-3 pr-3`) so the loop is
97
+ seamless. Items: `rounded-full bg-surface/80 px-4 py-2 text-sm font-bold whitespace-nowrap text-ink-title shadow-edge
98
+ ring-1 ring-line` with an 18 px icon; short benefits (free, no app, share by URL, QR, save contact, update anytime,
99
+ the languages).
100
+
101
+ ## 3. "N ways" tiles meeting at one card
102
+
103
+ The strongest section of the style: each way to use the product is a tile whose top is a small looping story that
104
+ SHOWS how it works, then a number, a title and two lines that SAY it. A band section; grid `grid-cols-1 gap-4
105
+ sm:grid-cols-2 lg:grid-cols-4`.
106
+
107
+ - Tile: `.g6-card .g6-glow .tone-gold group flex h-full flex-col p-3 sm:p-4` with the card hover (motion.md §1),
108
+ revealed with `index × 0.08` s. Under the stage: `mt-4` row with the icon tile (`size-9 rounded-xl bg-tone/12
109
+ ring-1 ring-tone/40 ring-inset`, scales on hover) and the number `01`–`04` (`font-display text-xs font-semibold
110
+ tracking-[.16em] text-muted`); title `mt-2 text-lg font-bold`; body `mt-1 text-sm leading-relaxed text-pretty
111
+ text-muted [word-break:auto-phrase]`. Keep labels like "subscription" off these tiles: they explain, they do not
112
+ sell, and none of the stage pretends to be a button.
113
+ - Stage (decorative, `aria-hidden`): `relative h-40 overflow-hidden rounded-2xl bg-surface-2/70 ring-1 ring-line` +
114
+ an inner `bg-[radial-gradient(70%_60%_at_50%_0%,rgb(242_199_110/.18),transparent_70%)]`.
115
+ - Mini phone (CSS): `rounded-[14px] bg-[#15110b] p-[3px]` with `shadow-[0_10px_30px_rgb(20_14_4/.35),0_0_0_1px_rgb(255_255_255/.08)]`,
116
+ screen `data-theme="light" rounded-[11px] bg-[#fffdf8]` and a notch `h-1.5 w-6 rounded-full` at the top. A mini
117
+ profile inside: 30 % cover in `linear-gradient(135deg,#f6d58e,#e2a47c)`, a round avatar (30 %) overlapping it,
118
+ bars for name and rows.
119
+ - **QR**: a real QR of the site's home page, generated client-side (`qrcode`, SVG, margin 0, level M, dark
120
+ `#15110b`, transparent light) when the tile comes near, so scanning it opens the site, never a 404. A 104 px white
121
+ card (`p-2.5 rounded-xl shadow-edge`, `data-theme="light"`), camera corner brackets (four `size-4` spans with
122
+ 2 px borders in `ink-gold`, `-2` outside each corner, rounded on the outer corner), a scan line (`animate-scan h-0.5
123
+ bg-ink-gold shadow-glow [--scan-travel:5.9rem]`) and an `animate-toast` pill at the bottom ("open page",
124
+ `bg-[#15110b] text-white text-xs`).
125
+ - **NFC**: a mini phone (68 × 136 px) and a dark card (`h-10 w-16`, `linear-gradient(135deg,#2a2116,#120e09)`,
126
+ `ring-1 ring-[#f2c76e]/70`, a gold chip and a tiny "NFC" in `#f6d58e`) that slides to the back of the phone
127
+ (`.nfc-card`), two rings at the contact point (`.nfc-ring`, border `ink-gold`), a notification dropping in on the
128
+ screen (`.nfc-banner`: white, "NFC tag" + "Open {host}") and the profile fading in (`.nfc-page`).
129
+ - **Wallet**: a mini phone (74 × 144 px) with "Wallet", two passes in the stack (`#e9dcc2→#cdb98f`,
130
+ `#d9a27c→#a8653f`) and the brand pass (`linear-gradient(160deg,#2a2116,#120e09)`, `ring-[#f2c76e]/60`, logo + name
131
+ in tracked `#f6d58e`, a white QR square) that rises (`.wallet-pass`, `[--stack-y:58%]`) and shows its QR
132
+ (`.wallet-qr`) after a tap (`.wallet-tap`).
133
+ - **URL**: a browser card (`inset-3 rounded-xl bg-surface shadow-edge ring-1 ring-line`), three dots (coral, amber,
134
+ gold), an address field with a lock in `ink-gold` where `{host}/{name}` types itself (motion.md §7), a `bg-cta`
135
+ progress line, then the mini page.
136
+ - Under the row: on `lg` the SVG of lines of light (motion.md §4); on phones an arrow chip instead (`animate-drift
137
+ size-10 rounded-full bg-surface text-ink-gold shadow-glow-sm ring-1 ring-gold/50`). Then "your page" in
138
+ `.g6-sweep rounded-[1.75rem]` around a `.g6-card .g6-glow .tone-gold` (`p-5 sm:p-6`, `max-w-xl`): the logo (64 px)
139
+ over an `animate-glow-pulse` halo, an eyebrow, `{host}/{name}` (`font-display text-lg sm:text-xl`, truncating) and
140
+ pills of what the page holds. Then one closing line `text-xl sm:text-2xl font-bold` in `bg-gold-ink text-gradient`.
141
+
142
+ ## 4. "More than X"
143
+
144
+ Grid `items-center gap-10`, from `lg` `[minmax(0,0.9fr)_minmax(0,1.1fr)] gap-14`.
145
+ - Left (`max-w-[420px] py-6`): an aurora pool (gold `.3` → bronze `.12`) behind a phone at 56 % width with the real
146
+ screen, and three glass chips (`rounded-2xl bg-surface/90 shadow-float ring-1 ring-line backdrop-blur`) floating
147
+ with `animate-drift` on phases 0 / -2 / -4 s, one per thing the product does: a post (top left, 42 % wide, an image
148
+ block + bars), a contact just added (right, at 44 %), a card being read under a scan line (bottom left, 44 % wide,
149
+ a white `aspect-[91/55]` card with `animate-scan [--scan-travel:2.6rem]`).
150
+ - Right: `grid gap-3 sm:grid-cols-2` of benefit cards: `.g6-card .tone-{tone} p-4 sm:p-5` with the smaller hover,
151
+ icon tile `size-10`, title `mt-3 font-bold`, body `text-sm text-muted [word-break:auto-phrase]`, an optional caveat
152
+ `text-xs text-muted/80`. The tone follows the meaning (bronze = identity, gold = done/connect, champagne = sharing).
153
+ A paid feature gets a small badge like 「プラン特典」 rather than the plan's name.
154
+ - Under it, one line about how it goes with the old way (e.g. paper cards), centred, `text-sm font-bold text-ink-soft`.
155
+
156
+ ## 5. Product tour
157
+
158
+ A phone that shows the real app step by step (short silent screen recordings, ~5 s each, 540 px wide, `-an`), the
159
+ list of steps beside it. Grid `items-center gap-8 md:grid-cols-2 lg:gap-14`; the phone `md:order-2`, `w-[66%]
160
+ max-w-[300px] md:w-[72%]`, an aurora pool behind it, a `1 / 6` counter under it (`font-display tabular-nums`).
161
+
162
+ - All steps' media stacked in the phone: a poster (still) per step and, over it, its clip (`muted playsInline
163
+ preload="none"`); the active one at opacity 100, the others 0 (`transition-opacity duration-500`). The last step can
164
+ be a still that stays 4.5 s.
165
+ - **Nothing plays or loads until the visitor presses ▶ or a step.** Until then a play overlay over the phone
166
+ (`bg-[#15110b]/10`, a 56 px play glyph over an `animate-glow-pulse` halo, a "Play the screens" pill). Once started:
167
+ play the active clip from 0, pause every other one, advance on `ended`, play only while `useInView(…, { amount:
168
+ 0.4 })`; after the last step, rest on the first step, not started. A pause button (`size-10 rounded-full
169
+ bg-[#15110b]/75 backdrop-blur`, two bars) at the bottom right while it runs.
170
+ - Steps (`<ol class="space-y-2">`): each a button (`rounded-2xl px-4 py-3 text-left`, `aria-current="step"` on the
171
+ active one) with a number disc (`size-8`: active `bg-cta text-on-gold shadow-glow-sm`, done `bg-gold/20
172
+ text-ink-gold` with a check, upcoming `bg-surface-2 text-muted ring-1 ring-line`), a label (`text-2xs font-bold
173
+ tracking-[.14em] uppercase text-ink-champagne`) and a title. Active: `bg-surface shadow-edge ring-1 ring-gold/70`,
174
+ its description opening with a grid-rows `0fr → 1fr` transition (500 ms) and a `bg-cta` progress bar (`h-0.5`,
175
+ `scaleX` = clip time / duration) on its bottom edge. Others `opacity-70`, full on hover.
176
+ - A note under the list when the screens show made-up data ("demo sample, a made-up person").
177
+
178
+ ## 6. Plans
179
+
180
+ Grid `mx-auto max-w-5xl items-stretch gap-5 md:grid-cols-2`, the second card revealed 0.1 s later.
181
+ - **Free first and featured**: `.g6-card .g6-glow .tone-gold border-gold shadow-glow p-6 sm:p-8`, name `text-2xl
182
+ font-bold` with a "Start here" badge, a tagline, ¥0 (`font-display text-5xl font-bold tracking-tight tabular-nums`)
183
+ + "monthly", its benefits listed with gold check icons (show that free is enough), the gold CTA full width at the
184
+ bottom (`mt-auto pt-8`).
185
+ - **The paid plan as a black-and-gold card in both themes**: a `.g6-sweep rounded-card` wrapper around a `.g6-card`
186
+ with `data-theme="dark"` (the dark tokens apply inside) and `bg-[linear-gradient(160deg,#1e1912,#0b0906)]`; the
187
+ plan name in `bg-foil text-gradient`; monthly and yearly prices (`text-4xl`, a tax note) in a `<dl>`, both read from
188
+ the product catalogue; the yearly saving COMPUTED from them (`round(12 − yearly / monthly)` months), never typed in
189
+ the copy, shown as a badge and as a gift line (`tone-gold rounded-2xl bg-tone/12 p-3 text-sm font-bold
190
+ text-tone-ink ring-1 ring-tone/40 ring-inset`) only when it is above 0; its CTA a 48 px `bg-foil` key with
191
+ `shadow-[0_4px_0_#9a6f22,0_0_22px_rgb(242_199_110/.35)]`, pressed `active:translate-y-[3px]
192
+ active:shadow-[0_1px_0_#9a6f22]`.
193
+ - Renewal terms and secondary products stay off the homepage. If the project tracks it, send a "pricing viewed"
194
+ event once per visit when the section's top enters the upper 60 % of the screen (IntersectionObserver with
195
+ `rootMargin: '0px 0px -40% 0px'`).
196
+
197
+ ## 7. Products row
198
+
199
+ A band section. A row that scrolls sideways: `<ul data-scroll-x class="-mx-4 flex snap-x snap-mandatory gap-5
200
+ overflow-x-auto px-4 pt-2 pb-4 [scrollbar-width:thin] sm:mx-auto sm:w-fit sm:max-w-full sm:px-1">`, items `w-[82%]
201
+ max-w-[340px] shrink-0 snap-start sm:w-[340px]`. Centred while it fits; prev / next arrows (`size-11 rounded-full
202
+ bg-surface shadow-edge ring-1 ring-line`, disabled at each end, scroll by 340 px smoothly) only once it overflows,
203
+ from `sm`: watch `scrollLeft` / `scrollWidth` on scroll and with a ResizeObserver (4 px slack).
204
+
205
+ Each card: `.g6-card .g6-glow .tone-gold group flex h-full flex-col overflow-hidden p-5 sm:p-6` with the card hover;
206
+ the product image at 72 % width, tilted ±3°, `drop-shadow-xl`, scaling to 104 % on hover, on a `h-48`
207
+ `radial-gradient(80%_70%_at_50%_40%,rgb(242_199_110/.22),transparent_70%)` that bleeds to the card edges; name
208
+ `text-lg font-bold`, one line, the price big (`font-display text-4xl font-bold tracking-tight tabular-nums`) + tax /
209
+ shipping note, three ticks, an outline CTA full width (with an `aria-label` naming the product). Adding a product =
210
+ one entry in the list. A line under the row when the product is optional ("you can use it free without a card").
211
+
212
+ ## 8. FAQ
213
+
214
+ The project's accordion in the section shell; answers short, facts true today.
215
+
216
+ ## 9. Closing CTA
217
+
218
+ A Reveal block `relative isolate mx-auto max-w-5xl overflow-hidden rounded-[2rem] bg-[#0d0a06] px-6 py-16
219
+ text-center shadow-float ring-1 ring-white/10 sm:px-12 sm:py-20` over a photo (an atrium in warm gold light works:
220
+ generated, see imagery.md): the photo `fill -z-20 scale-105 object-cover object-[50%_45%] opacity-80`, an overlay
221
+ `bg-[radial-gradient(90%_80%_at_50%_100%,rgb(5_6_10/.92),rgb(5_6_10/.55)_60%,rgb(5_6_10/.35))]`, an aurora pool
222
+ rising from the bottom. Dark in both themes, so the text is always white: eyebrow `tracking-[.18em] text-[#ecd6a6]`,
223
+ headline `text-2xl font-extrabold text-white min-[400px]:text-3xl sm:text-4xl lg:text-5xl` with the second part in
224
+ `bg-foil animate-flow text-gradient bg-[length:200%_200%]`, lead `text-white/80`, the gold CTA (no travelling light:
225
+ that is the hero's), "photo for illustration" in `text-2xs text-white/50` in the bottom right corner.
226
+
227
+ ## Buttons (if the project has none)
228
+
229
+ - **Gold key**: `bg-cta font-bold text-on-gold` + `shadow-[inset_0_1px_0_rgb(255_255_255/.6),0_4px_0_#9a6f22,0_0_22px_rgb(242_199_110/.35)]`;
230
+ hover lifts 1 px and the glow grows; active travels 3 px (`active:translate-y-[3px]`, depth 1 px). The hero's one
231
+ adds `bg-[length:200%_200%] animate-flow`.
232
+ - **Outline key**: `bg-surface ring-1 ring-line-strong` + `0_4px_0_var(--c-keycap-depth)`.
233
+ - Heights 36 / 44 / 48 px, radius 1 rem (`rounded-control`), `inline-flex max-w-full items-center justify-center
234
+ gap-2`, `transition-[transform,box-shadow] duration-200 ease-glide`. `max-w-full` so a long label (English,
235
+ Vietnamese…) never makes the button wider than its box.
236
+ - **Play glyph** (video buttons, the tour): a gold disc `#f2c76e` with a dark triangle `#0d0a06` (24-unit viewBox:
237
+ circle r 12; triangle from about (9.6, 7.6) to (17.3, 12) to (9.6, 16.4) with rounded joins), the same in both
238
+ themes, `aria-hidden`.
239
+
240
+ ## Video dialog
241
+
242
+ A button that opens a native modal `<dialog>` (focus, Esc and the top layer come from the browser): `showModal()`
243
+ then `play()` (the press is the user's gesture, so sound is allowed); closing pauses. Click on the backdrop closes
244
+ (`event.target === dialog`). Dialog `m-auto max-h-none max-w-none overflow-visible bg-transparent p-0
245
+ backdrop:bg-[rgb(5_6_10/.84)] backdrop:backdrop-blur-sm open:animate-pop-in`, `aria-label` = the video's title. The
246
+ video `controls playsInline preload="none"` with a poster, `aspect-[9/16] w-auto rounded-card bg-black
247
+ shadow-float`, `height: min(86dvh, calc((100vw - 2rem) * 16 / 9))` (`w-auto`: the width attribute would otherwise
248
+ beat aspect-ratio and letterbox it). A round close button (`size-11`) at `-top-3 -right-3`.
249
+
250
+ ## Small controls
251
+
252
+ - **Switch**: a label row (`flex items-start justify-between gap-4`: bold label + an optional `text-xs text-muted`
253
+ line) and a `<button role="switch" aria-checked>` track `h-7 w-12 rounded-full`: on = `bg-cta shadow-glow-sm`
254
+ (the gold key), off = `bg-surface-3 ring-1 ring-line-strong ring-inset`; the white knob (`size-5`, `top-1 left-1`,
255
+ `shadow-[0_1px_3px_rgb(0_0_0/.25)]`) slides 1.25 rem (`translate-x-5`) with the pop ease, 200 ms. Disabled:
256
+ `opacity-60 cursor-not-allowed`.
257
+ - **A form filled by the app** (OCR, autofill): fill the fields one after the other, top to bottom (~260 ms apart),
258
+ give each the `.fill-in` class and a new React `key` so the animation restarts; never overwrite what the user
259
+ typed; while waiting, a `.scan-down` line over the photo and a status line that moves on every ~1.8 s (stopping on
260
+ its last step) so a few seconds never look stuck. Around it: scale the photo in the browser to ≤ 1600 px and send
261
+ it as JPEG (small uploads on a phone connection, EXIF rotation applied by the decode); when the reading runs
262
+ longer than one request, ask again a bounded number of times (e.g. 6 long polls of ~9 s); drop an answer that
263
+ belongs to an older photo (retaken or removed); a photo that cannot be read stays attached and the user types.
@@ -0,0 +1,197 @@
1
+ # g6-style tokens
2
+
3
+ Every colour, gradient and surface class of the style, light and dark. Type these values into the project's global
4
+ CSS (Tailwind v4: after `@import "tailwindcss";`) or its own token file. Keyframes and easings are in `motion.md`.
5
+
6
+ Names used here (`--c-*`, `surface-*`, `ink-*`, `gold`, `.g6-card`, `.led-line`, …) are the names the other files
7
+ refer to. A project may rename them (or map them onto its existing tone names), but then everywhere.
8
+
9
+ ## 1. How the layers fit
10
+
11
+ ```
12
+ variables --c-gold-ink: #8a6211 (light) / #f6d58e (dark) one set per theme, under :root
13
+ Tailwind @theme inline { --color-ink-gold: var(--c-gold-ink) } a utility reads the variable where it is used
14
+ markup text-ink-gold bg-gold/12 ring-gold/40 bg-(image:--c-skylight)
15
+ tone scope .tone-gold { --tone: #f2c76e; --tone-ink: var(--c-gold-ink) } → bg-tone/12 ring-tone/40 text-tone-ink
16
+ ```
17
+
18
+ - **Light is the default; dark follows the device** unless the page sets `data-theme`. `[data-theme='light']` opts a
19
+ subtree (or the whole page) out of dark, `[data-theme='dark']` forces dark.
20
+ - **`@theme inline`** (not plain `@theme`) for every colour that reads a `--c-*` variable: the utility then
21
+ resolves the variable on the element it is used on, so a `data-theme` subtree re-themes everything inside it.
22
+ - **Tone fills, rings and glows are the same in both themes**; coloured TEXT and thin lines use the `ink-*` stop,
23
+ which is deep gold on ivory (5.2–6.3:1) and the light itself on black.
24
+
25
+ The dark block is a custom variant used once, inside `:root`:
26
+
27
+ ```css
28
+ @custom-variant theme-dark {
29
+ @media (prefers-color-scheme: dark) { &:not([data-theme='light']) { @slot; } }
30
+ &[data-theme='dark'], & [data-theme='dark'] { @slot; }
31
+ }
32
+ :root, [data-theme='light'] { color-scheme: light; /* light values of §2–§5 */ }
33
+ :root { @variant theme-dark { color-scheme: dark; /* dark values of §2–§5 */ } }
34
+ ```
35
+
36
+ Do not use `theme-dark:` as a class on elements: it does not follow a theme picked with a toggle (`data-theme` on
37
+ `<html>`). Put per-theme values in `--c-*` variables instead and read them.
38
+
39
+ ## 2. Surfaces and lines
40
+
41
+ | Variable | Tailwind colour | Light | Dark | Use |
42
+ |---|---|---|---|---|
43
+ | `--c-void` | `surface-void` | `#f7f3ec` | `#0b0906` | Page (`body` background) |
44
+ | `--c-base` | `surface-base` | `#fbf8f2` | `#100d09` | Header glass (at 75 % + blur) |
45
+ | `--c-surface` | `surface` | `#fffdf8` | `#17130d` | Cards, chips, bands (`bg-surface/55`) |
46
+ | `--c-raised` | `surface-2` | `#f4eee4` | `#1e1912` | Wells, hover, tile stages (`/70`) |
47
+ | `--c-shade` | `surface-3` | `#ebe3d5` | `#272017` | Tracks, the switch groove |
48
+ | `--c-line` | `line` | `#e6dccb` | `#31291d` | Hairlines |
49
+ | `--c-line-strong` | `line-strong` | `#d2c4a8` | `#463a28` | Outline buttons, hover borders |
50
+ | `--c-field` | `field` | `#fffdf8` | `#1e1912` | Inputs |
51
+
52
+ ## 3. Ink (text)
53
+
54
+ | Variable | Tailwind colour | Light | Dark | Use |
55
+ |---|---|---|---|---|
56
+ | `--c-title` | `ink-title` | `#1c1710` | `#fbf3e2` | Headings, values |
57
+ | `--c-body` | `ink-body` | `#3b3327` | `#e3d8c3` | Body text (`body` colour) |
58
+ | `--c-soft` | `ink-soft` | `#5b5142` | `#bfb197` | Leads, notes |
59
+ | `--c-muted` | `muted` | `#6e6352` | `#9c8f76` | Secondary text; the floor for readable text |
60
+ | `--c-faint` | `faint` | `#b6aa95` | `#5a4f3c` | Decoration and disabled only, never text to read |
61
+ | `--c-primary` | `primary` | `#1c1710` | `#f6ecd6` | Strong neutral: selected tab, filled number |
62
+ | `--c-primary-hover` | — | `#3a3125` | `#e3d8c3` | Its hover |
63
+ | `--c-on-primary` | `on-primary` | `#fffaf0` | `#1c1710` | Text on `primary` |
64
+
65
+ ## 4. Tones and their inks
66
+
67
+ Fills, rings and glows (the same in both themes, `@theme inline` literals):
68
+
69
+ | Tone | Tailwind colour | Value | Meaning |
70
+ |---|---|---|---|
71
+ | gold | `gold` | `#f2c76e` | Primary action, selected, done (the CTA key, success ticks) |
72
+ | champagne | `champagne` | `#ecd6a6` | Links, sharing, keyboard focus |
73
+ | bronze | `bronze` | `#e2a47c` | Profile / identity |
74
+ | rose | `rose` | `#f2b8a8` | Rare highlight |
75
+ | on-gold | `on-gold` | `#1a1307` | Text on any gold fill (white on gold fails) |
76
+
77
+ Ink stops (coloured text and thin lines; Tailwind `ink-<tone>` = `var(--c-<tone>-ink)`):
78
+
79
+ | Variable | Light (on ivory) | Dark (on black) |
80
+ |---|---|---|
81
+ | `--c-gold-ink` | `#8a6211` | `#f6d58e` |
82
+ | `--c-champagne-ink` | `#6e5526` | `#efdcb2` |
83
+ | `--c-bronze-ink` | `#97502d` | `#f0b994` |
84
+ | `--c-rose-ink` | `#a3413a` | `#f6c2b4` |
85
+ | `--c-amber-ink` | `#965400` | `#ffb23e` |
86
+ | `--c-coral-ink` | `#cc1a40` | `#ff5c7a` |
87
+ | `--c-sheen-ink` | `#b8862c` | `#fff1c9` |
88
+
89
+ `--c-sheen-ink` is the bright band of metallic gold text (large text only, 3.2:1 on ivory); it has no Tailwind
90
+ colour of its own, only `bg-gold-ink` (§6) reads it. Coral and amber exist as inks only; where a fill is needed (the
91
+ three dots of a drawn browser bar) use `#ff5c7a` and `#ffb23e` at 70 %.
92
+
93
+ Tone scopes pass a tone to a component without building class names. Map `--color-tone: var(--tone, #f2c76e)` and
94
+ `--color-tone-ink: var(--tone-ink, var(--c-gold-ink))` in `@theme inline`, then:
95
+
96
+ | Class | `--tone` | `--tone-ink` |
97
+ |---|---|---|
98
+ | `.tone-gold` | `#f2c76e` | `var(--c-gold-ink)` |
99
+ | `.tone-champagne` | `#ecd6a6` | `var(--c-champagne-ink)` |
100
+ | `.tone-bronze` | `#e2a47c` | `var(--c-bronze-ink)` |
101
+ | `.tone-rose` | `#f2b8a8` | `var(--c-rose-ink)` |
102
+
103
+ Inside a scope: icon tile `bg-tone/12 ring-1 ring-tone/40 ring-inset` (chips use `/15`), text `text-tone-ink`.
104
+
105
+ ## 5. Depth, scrim and light
106
+
107
+ | Variable | Light | Dark |
108
+ |---|---|---|
109
+ | `--c-shadow-edge` (Tailwind `shadow-edge`) | `inset 0 1px 0 rgb(255 255 255 / .9), 0 1px 2px rgb(60 42 12 / .06), 0 12px 32px rgb(60 42 12 / .08)` | `inset 0 1px 0 rgb(255 240 210 / .06), 0 24px 60px rgb(0 0 0 / .4)` |
110
+ | `--c-shadow-float` (`shadow-float`) | `0 1px 2px rgb(60 42 12 / .06), 0 18px 48px rgb(60 42 12 / .14)` | `inset 0 1px 0 rgb(255 240 210 / .07), 0 24px 60px rgb(0 0 0 / .6)` |
111
+ | `--c-keycap-depth` | `#dccfb5` (a light key sits on a sand base) | `rgb(0 0 0 / .5)` |
112
+ | `--c-scrim` | `rgb(28 23 16 / .45)` | `rgb(11 9 6 / .72)` |
113
+ | `--c-lattice` | `rgb(184 134 44 / .16)` | `rgb(242 199 110 / .13)` |
114
+ | `--c-way-line` | `rgb(184 134 44 / .6)` | `rgb(242 199 110 / .45)` |
115
+ | `--c-way-light` | `#b07a1c` | `#fff3d1` |
116
+ | `--c-way-glow` | `rgb(184 134 44 / .7)` | `rgb(242 199 110 / .9)` |
117
+
118
+ `--c-way-*` are the lines of light that travel (tiles meeting at one card, `motion.md` §4). On ivory the moving light
119
+ must be DEEP gold with a glow: the pale cream that looks like an LED on black disappears on the light page.
120
+
121
+ Page backdrop `--c-backdrop` (three radial gradients, the page's only "lighting"):
122
+
123
+ | Layer | Light | Dark |
124
+ |---|---|---|
125
+ | Top glow | `radial-gradient(ellipse 80% 55% at 50% -8%, rgb(242 199 110 / .2), transparent 70%)` | same shape, `/ .14` |
126
+ | Top right | `radial-gradient(600px 380px at 92% 6%, rgb(236 214 166 / .22), transparent 70%)` | `at 92% 12%`, `/ .08` |
127
+ | Side | `radial-gradient(520px 360px at 4% 30%, rgb(226 164 124 / .08), transparent 70%)` | `at 6% 88%`, `/ .07` |
128
+
129
+ Hero skylight `--c-skylight` (read with `bg-(image:--c-skylight)`):
130
+ light `radial-gradient(55% 60% at 50% 0%, rgb(255 236 190 / .45), rgb(242 199 110 / .12) 45%, transparent 75%)`,
131
+ dark `radial-gradient(55% 60% at 50% 0%, rgb(242 199 110 / .24), rgb(242 199 110 / .06) 45%, transparent 75%)`.
132
+
133
+ ## 6. Other theme values and gradient utilities
134
+
135
+ `@theme` (not inline): `--radius-control: 1rem`, `--radius-card: 1.5rem`, `--text-2xs: 0.625rem` with line height
136
+ `0.875rem`, `--shadow-glow-sm: 0 0 10px rgb(242 199 110 / .25)`, `--shadow-glow: 0 0 18px rgb(242 199 110 / .4)`.
137
+ Glow is a signal: the selected, current or primary thing only.
138
+
139
+ Gradients as `@utility` classes:
140
+
141
+ | Utility | Value | Use |
142
+ |---|---|---|
143
+ | `bg-cta` | `linear-gradient(150deg, #fff3d1 0%, #f2c76e 38%, #e2b45c 62%, #fff0c4 80%, #d4a24a 100%)` | The metallic gold key. With `bg-[length:200%_200%] animate-flow` light travels over it; only the one hero CTA of a page gets that. |
144
+ | `bg-foil` | `linear-gradient(120deg, #f6d58e 0%, #fff4d6 28%, #e2b45c 52%, #fff1c9 74%, #e2a47c 100%)` | Gold foil: brand marks, plan name and CTA on the dark plan card, highlight text on dark photos |
145
+ | `bg-gold-ink` | `linear-gradient(120deg, var(--c-gold-ink) 0%, var(--c-sheen-ink) 34%, var(--c-gold-ink) 58%, var(--c-sheen-ink) 80%, var(--c-bronze-ink) 100%)` | Metallic gold TEXT readable in both themes (with `text-gradient`) |
146
+ | `text-gradient` | `-webkit-background-clip: text; background-clip: text; color: transparent` | Turns a gradient background into text colour |
147
+ | `bg-sheen` | `linear-gradient(118deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%)` | A light band over a surface |
148
+
149
+ Base layer: `body { background-color: var(--c-void); color: var(--c-body) }`,
150
+ `:focus-visible { outline: 2px solid var(--c-champagne-ink); outline-offset: 2px }`.
151
+
152
+ ## 7. Surface classes
153
+
154
+ **`.g6-backdrop`**: one fixed layer behind the page, rendered once, static. `pointer-events: none; position: fixed;
155
+ inset: 0; z-index: -10; background: var(--c-backdrop)`. Its `::after` draws the triangle lattice of light that fades
156
+ downwards:
157
+
158
+ ```css
159
+ .g6-backdrop::after {
160
+ content: ''; position: absolute; inset: 0; opacity: .9;
161
+ background-image:
162
+ repeating-linear-gradient(0deg, var(--c-lattice) 0 1px, transparent 1px 41.57px),
163
+ repeating-linear-gradient(60deg, var(--c-lattice) 0 1px, transparent 1px 41.57px),
164
+ repeating-linear-gradient(120deg, var(--c-lattice) 0 1px, transparent 1px 41.57px);
165
+ mask-image: linear-gradient(#000, transparent 60%); /* + -webkit-mask-image */
166
+ }
167
+ ```
168
+
169
+ **`.led-line`**: a strip of gold light, the same in both themes. Section band edges, above and below a marquee,
170
+ eyebrow dashes (`w-8`). `height: 1px; background: linear-gradient(90deg, transparent, rgb(242 199 110 / .85) 18%,
171
+ #fff3d1 50%, rgb(242 199 110 / .85) 82%, transparent); box-shadow: 0 0 10px rgb(242 199 110 / .5), 0 0 2px
172
+ rgb(255 243 209 / .8)`.
173
+
174
+ **`.g6-card`**: `position: relative; border-radius: var(--radius-card); border: 1px solid var(--c-line);
175
+ background-color: var(--c-surface); box-shadow: var(--c-shadow-edge)`.
176
+
177
+ **`.g6-glow`** (needs a `.tone-*` scope): a tinted top-right corner, `background-image: radial-gradient(240px 150px
178
+ at 100% 0%, color-mix(in srgb, var(--tone, #f2c76e) 14%, transparent), transparent 70%)`.
179
+
180
+ **`.g6-sweep`**: a ring of light turning around the one element a section points at; one per screen. The element
181
+ gets `position: relative; isolation: isolate` and the radius of its child; the ring is a masked conic gradient on
182
+ `::before` turned by an animated custom property:
183
+
184
+ ```css
185
+ @property --g6-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
186
+ .g6-sweep::before {
187
+ content: ''; position: absolute; inset: -3px; padding: 3px; border-radius: inherit; pointer-events: none;
188
+ background: conic-gradient(from var(--g6-angle), #f2c76e, #ecd6a6, #e2a47c, rgb(242 199 110 / .15) 70%, #f2c76e);
189
+ mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
190
+ -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
191
+ animation: g6-spin 6s linear infinite;
192
+ }
193
+ @keyframes g6-spin { to { --g6-angle: 360deg; } }
194
+ ```
195
+
196
+ Wrap the card (`<div class="g6-sweep rounded-[1.75rem]"><div class="g6-card …">`), do not put the class on the card
197
+ itself: the card's own `overflow-hidden` would clip the ring.
@@ -2,7 +2,7 @@
2
2
  name: hindsight
3
3
  description: >
4
4
  Add long-term memory to a project with the shared Hindsight server on the LAN
5
- Mac (vectorize-io/hindsight), or operate or redeploy that server. Use when a
5
+ (vectorize-io/hindsight), or operate or redeploy that server. Use when a
6
6
  project, app, agent system or coding setup should remember facts, decisions or
7
7
  user preferences across sessions; when asked to "integrate Hindsight",
8
8
  "add memory", "retain/recall/reflect"; or when the Hindsight stack in
@@ -11,12 +11,15 @@ description: >
11
11
 
12
12
  # Hindsight: long-term memory for any project
13
13
 
14
- One Hindsight server runs on the always-on Mac and serves every project. A
14
+ One Hindsight server runs on an always-on LAN host and serves every project. A
15
15
  **bank** holds one project's memories, and banks never see each other. Integrating a new
16
16
  project means: pick a bank, decide what to retain, recall at the point of use.
17
17
  Do not stand up a second server unless the project must run somewhere else.
18
18
 
19
19
  Server details and the reasons behind its setup: `~/Workspace/LanServer/Hindsight/README.md`.
20
+ `<hindsight-host>` below stands for that host's LAN address. This package is public,
21
+ so the address is not written here: take it from the server README or the
22
+ project's own `SISYO.md`.
20
23
  Paperclip's integration (capture plugin + per-run recall): the "Company memory
21
24
  (Hindsight)" section of `~/Workspace/Hoang/paperclip/DEPLOY-DORAEMON.md`.
22
25
 
@@ -24,8 +27,8 @@ Paperclip's integration (capture plugin + per-run recall): the "Company memory
24
27
 
25
28
  | | |
26
29
  |---|---|
27
- | API (and MCP) | `http://192.168.1.95:26352` from the LAN; `http://host.docker.internal:26352` from a container on the Mac |
28
- | UI | `http://192.168.1.95:26353` (browse, edit, invalidate memories) |
30
+ | API (and MCP) | `http://<hindsight-host>:26352` from the LAN; `http://host.docker.internal:26352` from a container on the host |
31
+ | UI | `http://<hindsight-host>:26353` (browse, edit, invalidate memories) |
29
32
  | Auth | `Authorization: Bearer <HINDSIGHT_API_KEY>`; UI key `HINDSIGHT_UI_ACCESS_KEY` |
30
33
  | Keys | in `~/Workspace/LanServer/Hindsight/.env` (mode 600) |
31
34
  | LLM | Claude Sonnet 5.5 on the Claude **subscription** (`claude-code`), ChatGPT subscription (`openai-codex`) as fallback |
@@ -104,11 +107,11 @@ Client code for TypeScript and Python, and the exact endpoints, are in
104
107
 
105
108
  ## Coding agents (Claude Code, Codex)
106
109
 
107
- Use MCP: `claude mcp add --transport http hindsight http://192.168.1.95:26352/mcp/<bank>/ --header "Authorization: Bearer <key>"`,
110
+ Use MCP: `claude mcp add --transport http hindsight http://<hindsight-host>:26352/mcp/<bank>/ --header "Authorization: Bearer <key>"`,
108
111
  with one bank per repo (`coding-agent::<repo>`).
109
112
 
110
- **Do not install Hindsight hooks globally** (`~/.claude/settings.json`) on the Mac
111
- or in WSL. Paperclip agents on those machines share `~/.claude`, so they would
113
+ **Do not install Hindsight hooks globally** (`~/.claude/settings.json`) on the
114
+ server or in WSL. Paperclip agents on those machines share `~/.claude`, so they would
112
115
  get the hooks too: a second injection of memory, and agent transcripts retained
113
116
  into the bank. Use MCP, or project-level hooks (`.claude/settings.json` in the
114
117
  repo).
@@ -136,15 +139,15 @@ Health signals:
136
139
 
137
140
  ## Deploying a separate instance
138
141
 
139
- Only when a project must run away from this Mac. Copy the directory (compose
142
+ Only when a project must run away from this host. Copy the directory (compose
140
143
  file, `Dockerfile`, `login-*.sh`, README); do not copy `.env`, `codex-home/` or
141
144
  `backups/`. Then:
142
145
 
143
146
  1. **New secrets.** Create a new `.env` with fresh `HINDSIGHT_DB_PASSWORD`,
144
147
  `HINDSIGHT_API_KEY` and `HINDSIGHT_UI_ACCESS_KEY` (`openssl rand -hex 24`),
145
148
  plus the Gemini and Jev keys.
146
- 2. **A free subnet.** Pin `networks.default` to a free 10.x subnet. On this Mac,
147
- an automatic pick lands on 192.168.0.0/20 and cuts containers off from the LAN.
149
+ 2. **A free subnet.** Pin `networks.default` to a free 10.x subnet. On the Mac it
150
+ first ran on, an automatic pick lands on 192.168.0.0/20 and cuts containers off from the LAN.
148
151
  3. **Build for the host's own architecture.** The Dockerfile copies the native
149
152
  Claude CLI binary for that platform.
150
153
  4. **Log in** with `login-claude.sh`, then `login-codex.sh`.