From 833aa713d4ab9029643180102d5af3b51db90f63 Mon Sep 17 00:00:00 2001 From: Ash Shaw Date: Sun, 7 Jun 2026 14:41:09 +0200 Subject: [PATCH 1/8] Fix search palette and catalogue filtering --- website/src/styles/site-tokens.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/src/styles/site-tokens.css b/website/src/styles/site-tokens.css index 7096d610..7bf8e766 100644 --- a/website/src/styles/site-tokens.css +++ b/website/src/styles/site-tokens.css @@ -11,6 +11,7 @@ /* Surface elevation above --bg */ --panel: #FFFFFF; --panel-2: #F9FAFB; + --overlay-scrim: rgba(9, 9, 9, 0.55); /* Hairline border — use this, NOT var(--border) */ --hair: var(--border); @@ -44,6 +45,7 @@ color-scheme: dark; --panel: #16171D; --panel-2: #1B1C23; + --overlay-scrim: rgba(0, 0, 0, 0.65); --hair: rgba(255, 255, 255, 0.09); --shadow-sm: 0 1px 3px rgba(0,0,0,.28), 0 1px 2px rgba(0,0,0,.18); From 3c0bc94b2008b8889aaa3376f489babcac6db939 Mon Sep 17 00:00:00 2001 From: Ash Shaw Date: Sun, 7 Jun 2026 12:21:07 +0200 Subject: [PATCH 2/8] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ash Shaw --- website/src/components/WapuuHero.astro | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/website/src/components/WapuuHero.astro b/website/src/components/WapuuHero.astro index 317dbcad..4fb85c9e 100644 --- a/website/src/components/WapuuHero.astro +++ b/website/src/components/WapuuHero.astro @@ -35,17 +35,3 @@ const src = WAPUU_MAP[page] ?? FALLBACK; class:list={["page-hero-wapuu", className]} /> - From 6c7c8d16bcd3bb289e8f446eb63d03aed210ec65 Mon Sep 17 00:00:00 2001 From: Ash Shaw Date: Sun, 7 Jun 2026 12:21:21 +0200 Subject: [PATCH 3/8] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ash Shaw --- website/src/pages/c/[cat].astro | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/website/src/pages/c/[cat].astro b/website/src/pages/c/[cat].astro index 04b4b581..5134739b 100644 --- a/website/src/pages/c/[cat].astro +++ b/website/src/pages/c/[cat].astro @@ -246,18 +246,6 @@ function typeBadgeClass(type: string): string { background: var(--bg); } - .page-hero-inner { - display: flex; - align-items: center; - justify-content: space-between; - gap: 32px; - } - - .page-hero-text { - flex: 1; - max-width: 680px; - } - .cat-icon-row { display: flex; margin-bottom: 12px; From be9dffa7cd4705280c8d41ff9c13c38f8f68efe1 Mon Sep 17 00:00:00 2001 From: Ash Shaw Date: Sun, 7 Jun 2026 15:40:06 +0200 Subject: [PATCH 4/8] fix: allow audit replay branches --- docs/BRANCHING_STRATEGY.md | 3 ++ .../__tests__/validate-branch-name.test.js | 32 +++++++++++++++++++ scripts/validation/validate-branch-name.js | 3 ++ 3 files changed, 38 insertions(+) create mode 100644 scripts/validation/__tests__/validate-branch-name.test.js diff --git a/docs/BRANCHING_STRATEGY.md b/docs/BRANCHING_STRATEGY.md index 6744abe0..fd458d4b 100644 --- a/docs/BRANCHING_STRATEGY.md +++ b/docs/BRANCHING_STRATEGY.md @@ -149,6 +149,7 @@ hotfix/ga4-purchase-duplicate - If the current branch belongs to a different issue, PR, or task, create a new branch from `develop` before making changes. - Do not reuse in-flight branches for unrelated work, even when the working tree is already open. - If unrelated local changes are present, use a clean worktree rather than mixing scopes. +- Temporary audit replay branches created for PR merge prep may use the form `pr--audit` when they need to keep a live PR attached to a historical review branch. Use a single regex in a workflow to enforce naming discipline: @@ -172,6 +173,8 @@ jobs: BRANCH="${{ github.head_ref }}" # Allow dependabot/renovate if [[ "$BRANCH" =~ ^(dependabot|renovate)/ ]]; then exit 0; fi + # Allow temporary audit replay branches used for PR merge prep + if [[ "$BRANCH" =~ ^pr-[0-9]+-audit$ ]]; then exit 0; fi if [[ ! "$BRANCH" =~ ^(feat|fix|hotfix|release|refactor|chore|docs|test|perf|ci|build|deps|security|revert|research|design|a11y|ux|i18n|ops|proto|ds|api|schema|telemetry|content|seo|config|migrate|qa|uat)/[a-zA-Z0-9._-]+$ ]]; then echo "❌ Branch '$BRANCH' must match the required pattern." exit 1 diff --git a/scripts/validation/__tests__/validate-branch-name.test.js b/scripts/validation/__tests__/validate-branch-name.test.js new file mode 100644 index 00000000..c2d3e978 --- /dev/null +++ b/scripts/validation/__tests__/validate-branch-name.test.js @@ -0,0 +1,32 @@ +/** + * @jest-environment jsdom + */ + +const { spawnSync } = require("child_process"); +const path = require("path"); + +const scriptPath = path.join(__dirname, "../validate-branch-name.js"); + +function runValidator(branchName) { + return spawnSync(process.execPath, [scriptPath, "--branch", branchName], { + encoding: "utf8", + }); +} + +describe("Branch name validation", () => { + it("accepts temporary audit replay branches", () => { + const result = runValidator("pr-895-audit"); + + expect(result.status).toBe(0); + expect(result.stdout).toContain( + "matches the repository branching strategy", + ); + }); + + it("rejects malformed branch names", () => { + const result = runValidator("audit-branch"); + + expect(result.status).toBe(1); + expect(result.stderr).toContain("does not follow the required format"); + }); +}); diff --git a/scripts/validation/validate-branch-name.js b/scripts/validation/validate-branch-name.js index 1968359b..b1010cfd 100644 --- a/scripts/validation/validate-branch-name.js +++ b/scripts/validation/validate-branch-name.js @@ -44,6 +44,7 @@ const ALLOWED_PREFIXES = [ ]; const BOT_PREFIXES = /^(dependabot|renovate)\//; +const AUDIT_BRANCH_PATTERN = /^pr-\d+-audit$/; const PROTECTED_BRANCHES = new Set(["main", "develop"]); const BRANCH_PATTERN = new RegExp( `^(${ALLOWED_PREFIXES.join("|")})/[a-zA-Z0-9._-]+$`, @@ -90,6 +91,7 @@ function isAllowed(branchName) { return ( PROTECTED_BRANCHES.has(branchName) || BOT_PREFIXES.test(branchName) || + AUDIT_BRANCH_PATTERN.test(branchName) || BRANCH_PATTERN.test(branchName) ); } @@ -100,6 +102,7 @@ function printFailure(branchName) { "Expected: {prefix}/{branch-slug} (see docs/BRANCHING_STRATEGY.md)", ); console.error(`Allowed prefixes: ${ALLOWED_PREFIXES.join(", ")}`); + console.error("Audit replay branches: pr--audit"); console.error( "Examples: fix/frontmatter-validation, docs/canonical-configs-guide, ops/branch-governance-guardrails", ); From 576b37456a1a7111902630f4f889b1c600d95f9e Mon Sep 17 00:00:00 2001 From: Ash Shaw Date: Sun, 7 Jun 2026 15:50:18 +0200 Subject: [PATCH 5/8] chore: retrigger checks From de867f8ca559eceee185f74c2f336d19b467544b Mon Sep 17 00:00:00 2001 From: Warwick Booth Date: Mon, 8 Jun 2026 20:27:36 +0200 Subject: [PATCH 6/8] Update website/src/scripts/search-utils.js Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Warwick Booth --- website/src/scripts/search-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/scripts/search-utils.js b/website/src/scripts/search-utils.js index 34468c42..ada014c4 100644 --- a/website/src/scripts/search-utils.js +++ b/website/src/scripts/search-utils.js @@ -30,7 +30,7 @@ function scoreField(field, token, weight) { let score = weight; if (field === token) score += weight * 0.75; if (field.startsWith(token)) score += weight * 0.5; - if (field.includes(` ${token} `)) score += weight * 0.25; + if ((" " + field + " ").includes(" " + token + " ")) score += weight * 0.25; return score; } From d4d43058dddd9b0c0ed654041e121dd522153682 Mon Sep 17 00:00:00 2001 From: Warwick Booth Date: Mon, 8 Jun 2026 20:27:57 +0200 Subject: [PATCH 7/8] Update website/src/scripts/search.js Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Warwick Booth --- website/src/scripts/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/scripts/search.js b/website/src/scripts/search.js index 3479874e..cfe20311 100644 --- a/website/src/scripts/search.js +++ b/website/src/scripts/search.js @@ -1,7 +1,7 @@ /* eslint-env browser */ /* search.js — Search palette controller */ -import { rankSearchItems } from "./search-utils.js"; +import { rankSearchItems, getSearchTokens } from "./search-utils.js"; const root = document.getElementById("search-palette"); const input = document.getElementById("sp-input"); From 1be0244bb1444262020394b140771ac42b296913 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 9 Jun 2026 12:26:28 +0000 Subject: [PATCH 8/8] chore: bump frontmatter last_updated and version for changed files https://claude.ai/code/session_01HntQfZXJeEGp6EGZGYzFCw --- docs/BRANCHING_STRATEGY.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/BRANCHING_STRATEGY.md b/docs/BRANCHING_STRATEGY.md index fd458d4b..a01ffcb5 100644 --- a/docs/BRANCHING_STRATEGY.md +++ b/docs/BRANCHING_STRATEGY.md @@ -2,10 +2,10 @@ file_type: documentation title: Org-wide Git Branching Strategy description: Canonical branch naming, protection, merge discipline, and automation rules for LightSpeedWP repositories. -last_updated: '2026-06-08' +last_updated: '2026-06-09' owners: - LightSpeed Team -version: v1.4 +version: v1.5 status: active stability: stable domain: governance