Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

Commit 64aaefd

Browse files
javdlclaude
andauthored
Loop (#96)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f32c324 commit 64aaefd

22 files changed

Lines changed: 59 additions & 753 deletions

.beads/issues.jsonl

Lines changed: 19 additions & 14 deletions
Large diffs are not rendered by default.

.beads/last-touched

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
developer-3us

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@fuww:registry=https://npm.pkg.github.com

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ WORKDIR /app
55
RUN apk add --no-cache python3 py3-setuptools make g++ vips-dev vips
66

77
FROM base AS deps
8-
COPY package.json bun.lock ./
8+
COPY package.json bun.lock .npmrc ./
99
RUN bun install --frozen-lockfile
1010

1111
FROM base AS prod-deps
12-
COPY package.json bun.lock ./
12+
COPY package.json bun.lock .npmrc ./
1313
RUN bun install --frozen-lockfile --production && \
1414
rm -rf /root/.bun/install/cache
1515

PROMPT_build.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
0a. Run `br ready --json --limit 1` to find the highest priority unblocked task.
1+
0a. Run `br ready --json --limit 1 --type task` to find the highest priority unblocked task.
2+
If no tasks are found, try `br ready --json --limit 1 --type bug` for bugs.
3+
Never pick an epic directly — epics contain child tasks to work on instead.
24
0b. Run `br show <task-id>` to read the full specification.
35
0c. For reference, the application source code is in `src/*`.
46

astro.config.mjs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { defineConfig } from 'astro/config';
22
import starlight from '@astrojs/starlight';
3+
import fashionunitedTheme from '@fuww/starlight-plugin-theme';
34
import starlightLlmsTxt from 'starlight-llms-txt';
45
import starlightThemeNext from 'starlight-theme-next';
56
import tailwind from "@astrojs/tailwind";
@@ -23,20 +24,15 @@ export default defineConfig({
2324
},
2425
site: 'https://developer.fashionunited.com',
2526
integrations: [starlight({
26-
components: {
27-
Head: "./src/components/starlight/Head.astro",
28-
PageTitle: "./src/components/starlight/PageTitle.astro",
29-
},
3027
title: 'FashionUnited Docs',
31-
customCss: ['./src/styles/custom.css', '@fontsource/ibm-plex-mono/400.css', '@fontsource/ibm-plex-mono/600.css', '@fontsource-variable/inter', '@fontsource-variable/lora'],
3228
social: [
3329
{
3430
label: 'GitHub',
3531
href: 'https://github.com/fuww/developer.fashionunited.com',
3632
icon: 'github'
3733
}
3834
],
39-
plugins: [starlightLlmsTxt({ rawContent: true }), starlightThemeNext()],
35+
plugins: [fashionunitedTheme(), starlightLlmsTxt({ rawContent: true }), starlightThemeNext()],
4036
head: [{
4137
tag: "script",
4238
attrs: {

bun.lock

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bun.lockb

534 Bytes
Binary file not shown.

docs/PLAN_shared-starlight-theme.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ The `developer` and `about` repos are both Astro Starlight sites with the same F
3030

3131
## Options
3232

33-
### Option A: Shared npm package (`@fashionunited/starlight-theme`)
33+
### Option A: Shared npm package (`@fuww/starlight-theme`)
3434

3535
Create a new repo (or a directory in the org workspace) that publishes an npm package containing:
3636

3737
```
38-
@fashionunited/starlight-theme/
38+
@fuww/starlight-theme/
3939
tailwind.config.mjs # The base config (colors, fonts, gradients, plugins)
4040
tailwind-preset.mjs # Tailwind preset (importable, mergeable)
4141
styles/
@@ -58,7 +58,7 @@ Create a new repo (or a directory in the org workspace) that publishes an npm pa
5858

5959
```js
6060
// tailwind.config.mjs
61-
import { fuThemePreset } from '@fashionunited/starlight-theme/tailwind-preset';
61+
import { fuThemePreset } from '@fuww/starlight-theme/tailwind-preset';
6262
export default {
6363
presets: [fuThemePreset],
6464
// site-specific overrides here
@@ -67,7 +67,7 @@ export default {
6767

6868
```js
6969
// astro.config.mjs
70-
import { starlightConfig } from '@fashionunited/starlight-theme';
70+
import { starlightConfig } from '@fuww/starlight-theme';
7171
export default defineConfig({
7272
integrations: [
7373
starlight({
@@ -96,7 +96,7 @@ export default defineConfig({
9696

9797
Starlight has a [plugin API](https://starlight.astro.build/reference/plugins/) that can inject CSS, components, and configuration. This is what `starlight-theme-next` already does for you.
9898

99-
Create `@fashionunited/starlight-plugin-theme`:
99+
Create `@fuww/starlight-plugin-theme`:
100100

101101
```ts
102102
// index.ts
@@ -109,13 +109,13 @@ export default function fashionunitedTheme(): StarlightPlugin {
109109
setup({ config, updateConfig, addIntegration }) {
110110
updateConfig({
111111
customCss: [
112-
'@fashionunited/starlight-plugin-theme/styles/base.css',
113-
'@fashionunited/starlight-plugin-theme/styles/globals.css',
112+
'@fuww/starlight-plugin-theme/styles/base.css',
113+
'@fuww/starlight-plugin-theme/styles/globals.css',
114114
...config.customCss,
115115
],
116116
components: {
117-
Head: '@fashionunited/starlight-plugin-theme/components/Head.astro',
118-
PageTitle: '@fashionunited/starlight-plugin-theme/components/PageTitle.astro',
117+
Head: '@fuww/starlight-plugin-theme/components/Head.astro',
118+
PageTitle: '@fuww/starlight-plugin-theme/components/PageTitle.astro',
119119
...config.components, // consumer overrides win
120120
},
121121
});
@@ -129,7 +129,7 @@ export default function fashionunitedTheme(): StarlightPlugin {
129129

130130
```js
131131
// astro.config.mjs
132-
import fashionunitedTheme from '@fashionunited/starlight-plugin-theme';
132+
import fashionunitedTheme from '@fuww/starlight-plugin-theme';
133133

134134
starlight({
135135
plugins: [fashionunitedTheme(), starlightLlmsTxt(), starlightThemeNext()],
@@ -196,7 +196,7 @@ The Tailwind preset can ship alongside the plugin as a separate export. The shad
196196

197197
### Phase 1: Extract shared theme (new package)
198198

199-
1. Create `@fashionunited/starlight-plugin-theme` repo (or `/theme` in the org workspace)
199+
1. Create `@fuww/starlight-plugin-theme` repo (or `/theme` in the org workspace)
200200
2. Move into it:
201201
- `styles/base.css` — the shared ~55 lines from custom.css / tailwind.css (dark mode fix, hero gradient, site-title gradient, button gradients, sidebar active state)
202202
- `styles/globals.css` — the shadcn CSS variable system (pick one source of truth, reconcile the HSL drift)
@@ -211,7 +211,7 @@ The Tailwind preset can ship alongside the plugin as a separate export. The shad
211211

212212
### Phase 2: Migrate developer site
213213

214-
1. `bun add @fashionunited/starlight-plugin-theme`
214+
1. `bun add @fuww/starlight-plugin-theme`
215215
2. Replace `tailwind.config.mjs` with preset import + site-specific overrides only
216216
3. Replace `custom.css` with an import of the shared base (or let the plugin inject it)
217217
4. Remove `globals.css`, `utils.ts`, `constants.ts`, `button.tsx`, `card.tsx`, `PageTitle.astro` (now from package)
@@ -220,7 +220,7 @@ The Tailwind preset can ship alongside the plugin as a separate export. The shad
220220

221221
### Phase 3: Migrate about site
222222

223-
1. `bun add @fashionunited/starlight-plugin-theme`
223+
1. `bun add @fuww/starlight-plugin-theme`
224224
2. Replace shared portions of `tailwind.config.mjs` with preset
225225
3. Split `src/tailwind.css` — shared base moves to package, prompt system CSS stays local
226226
4. Remove duplicated files

loop.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ ${C_BOLD}OPTIONS${C_RESET}
13001300
--no-review Disable review phase after each iteration
13011301
--review-model M Review model for codex exec (default: gpt-5.3-codex)
13021302
--review-max-revisions N
1303-
Max revision attempts on REVISE (default: 3)
1303+
Max revision attempts on REVISE (default: 5)
13041304
-v, --verbose Verbose output
13051305
-h, --help Show this help
13061306

0 commit comments

Comments
 (0)