From 0b449bb590f8b9b9c84c2911a31d864770f8575d Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 2 Nov 2026 08:32:11 -0500 Subject: [PATCH 01/14] content(tabletopics): +60 questions for 2026-11-02 Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_015maz8YTBwvhmWVjoUsEcwP --- apps/table-topics/content/questions.json | 300 +++++++++++++++++++++++ 1 file changed, 300 insertions(+) diff --git a/apps/table-topics/content/questions.json b/apps/table-topics/content/questions.json index ff6abf44..399d379d 100644 --- a/apps/table-topics/content/questions.json +++ b/apps/table-topics/content/questions.json @@ -235,6 +235,21 @@ "id": "icebreakers-046", "text": "What is one thing you have gotten better at without ever trying to?", "added": "2026-10-19" + }, + { + "id": "icebreakers-047", + "text": "What small purchase has brought you more joy than its price tag suggested?", + "added": "2026-11-02" + }, + { + "id": "icebreakers-048", + "text": "Who is the person you call first with good news, and why them?", + "added": "2026-11-02" + }, + { + "id": "icebreakers-049", + "text": "What is a skill you picked up almost by accident rather than on purpose?", + "added": "2026-11-02" } ] }, @@ -472,6 +487,21 @@ "id": "childhood-memories-046", "text": "What imaginary friend or made-up game kept you company when you were young?", "added": "2026-10-19" + }, + { + "id": "childhood-memories-047", + "text": "What family recipe did you only get to eat on birthdays as a child?", + "added": "2026-11-02" + }, + { + "id": "childhood-memories-048", + "text": "Who was the first adult outside your family who ever apologized to you?", + "added": "2026-11-02" + }, + { + "id": "childhood-memories-049", + "text": "What was the longest you ever managed to keep a secret from your parents?", + "added": "2026-11-02" } ] }, @@ -709,6 +739,21 @@ "id": "travel-places-046", "text": "What does the ideal first morning in a brand-new place look like for you?", "added": "2026-10-19" + }, + { + "id": "travel-places-047", + "text": "What is the most unexpected friendship you have made while traveling alone?", + "added": "2026-11-02" + }, + { + "id": "travel-places-048", + "text": "Which small town's pace of life made you want to stay longer than planned?", + "added": "2026-11-02" + }, + { + "id": "travel-places-049", + "text": "What is the first meal you seek out after returning home from a long trip?", + "added": "2026-11-02" } ] }, @@ -946,6 +991,21 @@ "id": "work-career-046", "text": "What do the five minutes before a big meeting usually look like for you?", "added": "2026-10-19" + }, + { + "id": "work-career-047", + "text": "What is the quietest lesson a difficult boss ever taught you?", + "added": "2026-11-02" + }, + { + "id": "work-career-048", + "text": "How do you decide when a job's perks no longer make up for its downsides?", + "added": "2026-11-02" + }, + { + "id": "work-career-049", + "text": "What is the first task you tackle on a Monday to feel in control of the week?", + "added": "2026-11-02" } ] }, @@ -1183,6 +1243,21 @@ "id": "leadership-046", "text": "Who taught you that leading well sometimes means stepping out of the way?", "added": "2026-10-19" + }, + { + "id": "leadership-047", + "text": "What does it feel like the moment a team finally starts to trust your judgment?", + "added": "2026-11-02" + }, + { + "id": "leadership-048", + "text": "Who is a leader you quietly disagreed with but followed anyway, and why?", + "added": "2026-11-02" + }, + { + "id": "leadership-049", + "text": "How do you decide how much of your own life to share with people you lead?", + "added": "2026-11-02" } ] }, @@ -1420,6 +1495,21 @@ "id": "technology-046", "text": "How did a recent software update change the way you do something small?", "added": "2026-10-19" + }, + { + "id": "technology-047", + "text": "What is the last piece of technology that surprised you with how simple it was?", + "added": "2026-11-02" + }, + { + "id": "technology-048", + "text": "How has autocorrect or predictive text changed the way you actually write?", + "added": "2026-11-02" + }, + { + "id": "technology-049", + "text": "Which everyday task did a gadget end up making harder instead of easier?", + "added": "2026-11-02" } ] }, @@ -1657,6 +1747,21 @@ "id": "food-drink-046", "text": "What is the longest you have ever waited for a meal that was worth it?", "added": "2026-10-19" + }, + { + "id": "food-drink-047", + "text": "What is the first meal you learned to cook well enough to feel proud of?", + "added": "2026-11-02" + }, + { + "id": "food-drink-048", + "text": "Which restaurant dish have you tried and failed to recreate at home?", + "added": "2026-11-02" + }, + { + "id": "food-drink-049", + "text": "What food would you cross town for, no matter how bad the weather was?", + "added": "2026-11-02" } ] }, @@ -1894,6 +1999,21 @@ "id": "hypotheticals-046", "text": "If your hometown gained one new tradition overnight, what should it be?", "added": "2026-10-19" + }, + { + "id": "hypotheticals-047", + "text": "If you could add one law of physics just for your own house, what would it be?", + "added": "2026-11-02" + }, + { + "id": "hypotheticals-048", + "text": "What would change about your mornings if the sun rose an hour later every day?", + "added": "2026-11-02" + }, + { + "id": "hypotheticals-049", + "text": "If you woke up able to understand every language at once, what would you listen to first?", + "added": "2026-11-02" } ] }, @@ -2131,6 +2251,21 @@ "id": "would-you-rather-046", "text": "Would you rather keep every photo you have taken or every letter you have received?", "added": "2026-10-19" + }, + { + "id": "would-you-rather-047", + "text": "Would you rather have a quiet superpower or a loud one, and which would you pick?", + "added": "2026-11-02" + }, + { + "id": "would-you-rather-048", + "text": "Would you rather give up social media forever or give up television forever?", + "added": "2026-11-02" + }, + { + "id": "would-you-rather-049", + "text": "Would you rather always get the window seat or always get the aisle, and why?", + "added": "2026-11-02" } ] }, @@ -2368,6 +2503,21 @@ "id": "quotes-proverbs-046", "text": "\"You can lead a horse to water, but you can't make it drink\": when did you learn you could not change someone's mind?", "added": "2026-10-19" + }, + { + "id": "quotes-proverbs-047", + "text": "\"Knowledge is power\": when has learning something changed what you could do?", + "added": "2026-11-02" + }, + { + "id": "quotes-proverbs-048", + "text": "\"Time heals all wounds\": has that proven true for you, or not?", + "added": "2026-11-02" + }, + { + "id": "quotes-proverbs-049", + "text": "\"The customer is always right\": do you agree, and why or why not?", + "added": "2026-11-02" } ] }, @@ -2605,6 +2755,21 @@ "id": "storytelling-046", "text": "What is the story of the time a map, real or otherwise, led you badly astray?", "added": "2026-10-19" + }, + { + "id": "storytelling-047", + "text": "What is the story behind advice you ignored and later came to regret?", + "added": "2026-11-02" + }, + { + "id": "storytelling-048", + "text": "When did an ordinary errand turn into the most interesting part of your day?", + "added": "2026-11-02" + }, + { + "id": "storytelling-049", + "text": "How did the strangest phone call of your life begin, and how did it end?", + "added": "2026-11-02" } ] }, @@ -2842,6 +3007,21 @@ "id": "persuasion-046", "text": "How would you convince a friend that slow mornings beat rushed ones?", "added": "2026-10-19" + }, + { + "id": "persuasion-047", + "text": "Why is it worth learning one card game or board game really well?", + "added": "2026-11-02" + }, + { + "id": "persuasion-048", + "text": "What is the strongest case for memorizing a poem instead of a phone number?", + "added": "2026-11-02" + }, + { + "id": "persuasion-049", + "text": "How would you convince a friend to try sitting in silence for ten minutes a day?", + "added": "2026-11-02" } ] }, @@ -3079,6 +3259,21 @@ "id": "seasons-celebrations-046", "text": "Which seasonal smell convinces you that a new chapter has started?", "added": "2026-10-19" + }, + { + "id": "seasons-celebrations-047", + "text": "What is the first smell of the year that tells you winter is finally over?", + "added": "2026-11-02" + }, + { + "id": "seasons-celebrations-048", + "text": "Which celebration do you start preparing for weeks before it even arrives?", + "added": "2026-11-02" + }, + { + "id": "seasons-celebrations-049", + "text": "How do you decide when it is finally time to take down holiday decorations?", + "added": "2026-11-02" } ] }, @@ -3316,6 +3511,21 @@ "id": "humor-046", "text": "What is the strangest thing you have ever practiced saying out loud alone?", "added": "2026-10-19" + }, + { + "id": "humor-047", + "text": "What is the most absurd household rule you invented that everyone now follows?", + "added": "2026-11-02" + }, + { + "id": "humor-048", + "text": "Which ordinary household item do you talk to out loud without meaning to?", + "added": "2026-11-02" + }, + { + "id": "humor-049", + "text": "What is the silliest voice you use that nobody has ever actually asked for?", + "added": "2026-11-02" } ] }, @@ -3553,6 +3763,21 @@ "id": "dilemmas-046", "text": "How do you decide whether to wake someone with good news or let them sleep?", "added": "2026-10-19" + }, + { + "id": "dilemmas-047", + "text": "What do you do when a friend asks for advice they clearly do not want to hear?", + "added": "2026-11-02" + }, + { + "id": "dilemmas-048", + "text": "How do you handle it when a shared gift turns out to be something only you wanted?", + "added": "2026-11-02" + }, + { + "id": "dilemmas-049", + "text": "What would you do if you overheard plans for a surprise you were not meant to know?", + "added": "2026-11-02" } ] }, @@ -3790,6 +4015,21 @@ "id": "learning-growth-046", "text": "Who showed you that being wrong in public is actually survivable?", "added": "2026-10-19" + }, + { + "id": "learning-growth-047", + "text": "What is the first thing you had to unlearn before you could truly improve?", + "added": "2026-11-02" + }, + { + "id": "learning-growth-048", + "text": "Who gave you criticism so blunt it took you years to finally appreciate it?", + "added": "2026-11-02" + }, + { + "id": "learning-growth-049", + "text": "How do you know when curiosity has quietly turned into real obsession?", + "added": "2026-11-02" } ] }, @@ -4027,6 +4267,21 @@ "id": "nature-outdoors-046", "text": "How do you decide where to sit when you are outside and have the choice?", "added": "2026-10-19" + }, + { + "id": "nature-outdoors-047", + "text": "What is the first wildflower or plant you ever learned to recognize by name?", + "added": "2026-11-02" + }, + { + "id": "nature-outdoors-048", + "text": "Which weather forecast have you completely ignored, and what happened next?", + "added": "2026-11-02" + }, + { + "id": "nature-outdoors-049", + "text": "How do you feel about the very first frost of the year arriving?", + "added": "2026-11-02" } ] }, @@ -4264,6 +4519,21 @@ "id": "habits-routines-046", "text": "How do you know a brand-new habit has finally stuck for good?", "added": "2026-10-19" + }, + { + "id": "habits-routines-047", + "text": "What is the smallest habit you have that makes the biggest difference to your day?", + "added": "2026-11-02" + }, + { + "id": "habits-routines-048", + "text": "Which routine do you keep secret because you think people would laugh at it?", + "added": "2026-11-02" + }, + { + "id": "habits-routines-049", + "text": "How does your bedtime routine change the night before something important?", + "added": "2026-11-02" } ] }, @@ -4496,6 +4766,21 @@ "id": "creativity-arts-045", "text": "Which unfinished creative idea do you still think about returning to?", "added": "2026-10-19" + }, + { + "id": "creativity-arts-046", + "text": "What is the first piece of writing you ever felt proud enough to share?", + "added": "2026-11-02" + }, + { + "id": "creativity-arts-047", + "text": "Which instrument's sound can stop you in your tracks, wherever you hear it?", + "added": "2026-11-02" + }, + { + "id": "creativity-arts-048", + "text": "What creative project would you finally tackle if nobody could see you fail?", + "added": "2026-11-02" } ] }, @@ -4733,6 +5018,21 @@ "id": "contest-style-046", "text": "What is the quiet difference between confidence and certainty?", "added": "2026-10-19" + }, + { + "id": "contest-style-047", + "text": "What does it cost to stay kind when everyone around you has stopped being kind?", + "added": "2026-11-02" + }, + { + "id": "contest-style-048", + "text": "How do you decide what deserves a second chance and what does not?", + "added": "2026-11-02" + }, + { + "id": "contest-style-049", + "text": "What is the bravest kind of honesty, the kind that actually costs you something?", + "added": "2026-11-02" } ] } From 1d1c5ce5d39e42eab48538c37b5d29dcb012d903 Mon Sep 17 00:00:00 2001 From: Shuhao Date: Sat, 7 Nov 2026 21:38:24 -0500 Subject: [PATCH 02/14] ci(factory): add the factory workflows and templates to master master is the default branch. GitHub runs issue-label workflows and reads issue and PR templates from it, and claude-code-action only runs a workflow identical to the default branch's copy. These files are byte-identical to dev's (chore/factory-workflows-sync), so merging dev into master later adds nothing new for them. --- .github/ISSUE_TEMPLATE/factory.yml | 41 ++++++++++++++ .github/pull_request_template.md | 28 ++++++++++ .github/workflows/factory-build.yml | 84 +++++++++++++++++++++++++++++ .github/workflows/factory-plan.yml | 84 +++++++++++++++++++++++++++++ 4 files changed, 237 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/factory.yml create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/factory-build.yml create mode 100644 .github/workflows/factory-plan.yml diff --git a/.github/ISSUE_TEMPLATE/factory.yml b/.github/ISSUE_TEMPLATE/factory.yml new file mode 100644 index 00000000..baca7de1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/factory.yml @@ -0,0 +1,41 @@ +name: Factory-ready issue +description: A bug or feature written so the factory can plan it (testable acceptance criteria). +labels: [idea] +body: + - type: textarea + id: problem + attributes: + label: Problem + description: Who hits it, what they see, why it matters. 2–4 lines. + validations: + required: true + - type: textarea + id: evidence + attributes: + label: Evidence + description: Numbers with their date range, user quotes, a reproduction. "None yet" is fine. + - type: textarea + id: criteria + attributes: + label: Acceptance criteria + description: One per user-visible behaviour, each observable. + value: | + - AC-1: Given …, when …, then … + validations: + required: true + - type: dropdown + id: surfaces + attributes: + label: Surfaces + multiple: true + options: [zoom-app, web, worker, table-topics, shared] + - type: dropdown + id: risk + attributes: + label: Risk + description: High when it touches billing, auth, entitlements, env flags or production data. + options: [low, high] + - type: textarea + id: out-of-scope + attributes: + label: Out of scope diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..4fc7d323 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,28 @@ +Closes # + +## Why + + +## What changes + + +## Security + + +## Production impact + + +## Testing +- `npm test`: +- `npm run test:e2e`: +- `npm run test:specs`: +- Oracle: + +## Evidence (real Zoom client) + + +## Not verified + + +## Look here first + diff --git a/.github/workflows/factory-build.yml b/.github/workflows/factory-build.yml new file mode 100644 index 00000000..8875d7a4 --- /dev/null +++ b/.github/workflows/factory-build.yml @@ -0,0 +1,84 @@ +# Factory station "build" in the cloud: oracle → implement → verify, ending at +# needs:zoom-test for the Mac's Zoom station. Runs when a factory actor adds plan:approved to +# a factory PR. Same switches as factory-plan.yml (FACTORY_ENABLED, Claude GitHub App, secret). +# +# Keep this file identical on dev and master. GitHub runs issue-triggered workflows from the +# default branch (master), and the Claude action skips any workflow whose file differs from +# the default branch's copy. The last step fails the run when that happens. +name: Factory · build + +on: + pull_request: + types: [labeled] + workflow_dispatch: + inputs: + issue: + description: Issue number + required: true + +concurrency: + group: factory-build-${{ github.event.pull_request.number || inputs.issue }} + cancel-in-progress: false + +permissions: + contents: write + pull-requests: write + issues: write + checks: read + id-token: write + +jobs: + build: + if: >- + vars.FACTORY_ENABLED == 'true' && ( + github.event_name == 'workflow_dispatch' || + (github.event.label.name == 'plan:approved' && startsWith(github.event.pull_request.head.ref, 'factory/'))) + runs-on: ubuntu-24.04 # Playwright 1.58 has no browsers for ubuntu-latest (26.04) + timeout-minutes: 120 + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.ref || 'dev' }} + fetch-depth: 0 + - uses: actions/setup-node@v4 + with: + node-version: 22 + - name: Check the gate (plan:approved by a factory actor) + id: gate + env: + GH_TOKEN: ${{ github.token }} + BRANCH: ${{ github.event.pull_request.head.ref }} + INPUT_ISSUE: ${{ inputs.issue }} + run: | + n="${INPUT_ISSUE:-$(echo "$BRANCH" | sed -nE 's#^factory/([0-9]+)-.*#\1#p')}" + next=$(node scripts/factory/state.mjs "$n" | jq -r '.next // empty') + if [ "$next" != build ]; then echo "#$n: next is '$next', not build."; exit 0; fi + echo "issue=$n" >> "$GITHUB_OUTPUT" + - name: Install + if: steps.gate.outputs.issue + run: | + npm ci + npm ci --prefix apps/zoom-app + npm ci --prefix apps/web + npm ci --prefix apps/table-topics + npx playwright install --with-deps chromium + - uses: anthropics/claude-code-action@v1 + if: steps.gate.outputs.issue + env: + FACTORY_STATION: build + with: + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + prompt: /factory-build ${{ steps.gate.outputs.issue }} + claude_args: --max-turns 200 --allowedTools Bash,Read,Edit,Write,MultiEdit,Glob,Grep,Task,Skill + - name: Check the station ran + if: steps.gate.outputs.issue + env: + GH_TOKEN: ${{ github.token }} + N: ${{ steps.gate.outputs.issue }} + run: | + next=$(node scripts/factory/state.mjs "$N" | jq -r '.next // empty') + if [ "$next" = build ]; then + echo "::error::#$N still needs build: the station didn't finish. If the Claude step logged 'Workflow validation failed', this file differs from master's copy." + exit 1 + fi diff --git a/.github/workflows/factory-plan.yml b/.github/workflows/factory-plan.yml new file mode 100644 index 00000000..7b15847f --- /dev/null +++ b/.github/workflows/factory-plan.yml @@ -0,0 +1,84 @@ +# Factory station "plan" in the cloud. Runs when a factory actor promotes an issue +# (factory:ready) and when a factory PR closes (a WIP slot frees up), then plans the oldest +# ready issue if the WIP limit allows. See .factory/README.md. +# +# Inert until: repository variable FACTORY_ENABLED = true, the Claude GitHub App is installed +# (github.com/apps/claude; its token lets pushes trigger CI), and the secret +# CLAUDE_CODE_OAUTH_TOKEN (from `claude setup-token`) or ANTHROPIC_API_KEY exists. +# +# Keep this file identical on dev and master. GitHub runs issue-triggered workflows from the +# default branch (master), and the Claude action skips any workflow whose file differs from +# the default branch's copy. The last step fails the run when that happens. +name: Factory · plan + +on: + issues: + types: [labeled] + pull_request: + types: [closed] + workflow_dispatch: + +concurrency: + group: factory-plan + cancel-in-progress: false + +permissions: + contents: write + pull-requests: write + issues: write + id-token: write + +jobs: + plan: + if: >- + vars.FACTORY_ENABLED == 'true' && ( + github.event_name == 'workflow_dispatch' || + (github.event_name == 'issues' && github.event.label.name == 'factory:ready') || + (github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'factory/'))) + runs-on: ubuntu-24.04 + timeout-minutes: 45 + steps: + - uses: actions/checkout@v4 + with: + ref: dev + fetch-depth: 0 + - uses: actions/setup-node@v4 + with: + node-version: 22 + - name: Pick the issue (oldest ready, WIP allowing, gate opened by a factory actor) + id: pick + env: + GH_TOKEN: ${{ github.token }} + run: | + n=$(node scripts/factory/state.mjs --queue | jq -r '.pick // empty') + if [ -z "$n" ]; then echo "Nothing to plan: WIP limit reached or no factory:ready issue."; exit 0; fi + next=$(node scripts/factory/state.mjs "$n" | jq -r '.next // empty') + if [ "$next" != plan ]; then echo "#$n: next is '$next', not plan."; exit 0; fi + echo "issue=$n" >> "$GITHUB_OUTPUT" + - name: Install + if: steps.pick.outputs.issue + run: | + npm ci + npm ci --prefix apps/zoom-app + npm ci --prefix apps/web + npm ci --prefix apps/table-topics + - uses: anthropics/claude-code-action@v1 + if: steps.pick.outputs.issue + env: + FACTORY_STATION: plan + with: + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + prompt: /factory-plan ${{ steps.pick.outputs.issue }} + claude_args: --max-turns 80 --allowedTools Bash,Read,Edit,Write,MultiEdit,Glob,Grep,Task,Skill + - name: Check the station ran + if: steps.pick.outputs.issue + env: + GH_TOKEN: ${{ github.token }} + N: ${{ steps.pick.outputs.issue }} + run: | + next=$(node scripts/factory/state.mjs "$N" | jq -r '.next // empty') + if [ "$next" = plan ]; then + echo "::error::#$N still needs plan: the station didn't finish. If the Claude step logged 'Workflow validation failed', this file differs from master's copy." + exit 1 + fi From 3b7c52793d1a5d54e4ce3933437f896c353a355f Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 9 Nov 2026 08:10:21 -0500 Subject: [PATCH 03/14] content(tabletopics): +60 questions for 2026-11-09 Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_015maz8YW6L6EGogUaVtouqa --- apps/table-topics/content/questions.json | 300 +++++++++++++++++++++++ 1 file changed, 300 insertions(+) diff --git a/apps/table-topics/content/questions.json b/apps/table-topics/content/questions.json index 399d379d..6d0fe01b 100644 --- a/apps/table-topics/content/questions.json +++ b/apps/table-topics/content/questions.json @@ -250,6 +250,21 @@ "id": "icebreakers-049", "text": "What is a skill you picked up almost by accident rather than on purpose?", "added": "2026-11-02" + }, + { + "id": "icebreakers-050", + "text": "What small win from this morning are you still quietly proud of?", + "added": "2026-11-09" + }, + { + "id": "icebreakers-051", + "text": "Which stranger's smile today changed your mood?", + "added": "2026-11-09" + }, + { + "id": "icebreakers-052", + "text": "What is the first thing you do after walking through your own front door?", + "added": "2026-11-09" } ] }, @@ -502,6 +517,21 @@ "id": "childhood-memories-049", "text": "What was the longest you ever managed to keep a secret from your parents?", "added": "2026-11-02" + }, + { + "id": "childhood-memories-050", + "text": "What game did your whole neighborhood seem to play one particular summer?", + "added": "2026-11-09" + }, + { + "id": "childhood-memories-051", + "text": "Which childhood injury or scrape came with the best story to tell?", + "added": "2026-11-09" + }, + { + "id": "childhood-memories-052", + "text": "What did your family's front porch, stoop, or doorway look like growing up?", + "added": "2026-11-09" } ] }, @@ -754,6 +784,21 @@ "id": "travel-places-049", "text": "What is the first meal you seek out after returning home from a long trip?", "added": "2026-11-02" + }, + { + "id": "travel-places-050", + "text": "Which unplanned stop on a trip turned out to be the best part?", + "added": "2026-11-09" + }, + { + "id": "travel-places-051", + "text": "Which travel photo do you wish you had taken but never did?", + "added": "2026-11-09" + }, + { + "id": "travel-places-052", + "text": "What is the first word you learn in a new country, and why that one?", + "added": "2026-11-09" } ] }, @@ -1006,6 +1051,21 @@ "id": "work-career-049", "text": "What is the first task you tackle on a Monday to feel in control of the week?", "added": "2026-11-02" + }, + { + "id": "work-career-050", + "text": "Which work friendship outlasted the job itself?", + "added": "2026-11-09" + }, + { + "id": "work-career-051", + "text": "What is the first task you teach a new hire at your job?", + "added": "2026-11-09" + }, + { + "id": "work-career-052", + "text": "How do you decide which emails can wait until tomorrow?", + "added": "2026-11-09" } ] }, @@ -1258,6 +1318,21 @@ "id": "leadership-049", "text": "How do you decide how much of your own life to share with people you lead?", "added": "2026-11-02" + }, + { + "id": "leadership-050", + "text": "What is the bravest decision you have seen a new leader make in their first week?", + "added": "2026-11-09" + }, + { + "id": "leadership-051", + "text": "How do you decide when to lead by example instead of by instruction?", + "added": "2026-11-09" + }, + { + "id": "leadership-052", + "text": "What is the first question a new leader should ask their team?", + "added": "2026-11-09" } ] }, @@ -1510,6 +1585,21 @@ "id": "technology-049", "text": "Which everyday task did a gadget end up making harder instead of easier?", "added": "2026-11-02" + }, + { + "id": "technology-050", + "text": "What is the first technology you remember your parents struggling to use?", + "added": "2026-11-09" + }, + { + "id": "technology-051", + "text": "Which digital skill do you wish schools actually taught?", + "added": "2026-11-09" + }, + { + "id": "technology-052", + "text": "What would surprise a kid today about how you communicated before smartphones?", + "added": "2026-11-09" } ] }, @@ -1762,6 +1852,21 @@ "id": "food-drink-049", "text": "What food would you cross town for, no matter how bad the weather was?", "added": "2026-11-02" + }, + { + "id": "food-drink-050", + "text": "What meal do you cook differently than your family taught you, and why?", + "added": "2026-11-09" + }, + { + "id": "food-drink-051", + "text": "Which drink do you associate with a single unforgettable conversation?", + "added": "2026-11-09" + }, + { + "id": "food-drink-052", + "text": "What is the first thing you check when you walk into someone else's kitchen?", + "added": "2026-11-09" } ] }, @@ -2014,6 +2119,21 @@ "id": "hypotheticals-049", "text": "If you woke up able to understand every language at once, what would you listen to first?", "added": "2026-11-02" + }, + { + "id": "hypotheticals-050", + "text": "If your shadow could run errands for you, what would you send it to do first?", + "added": "2026-11-09" + }, + { + "id": "hypotheticals-051", + "text": "If you could add one extra sense, what would you want to perceive?", + "added": "2026-11-09" + }, + { + "id": "hypotheticals-052", + "text": "If everyone had to trade homes for a month, what would you want to learn?", + "added": "2026-11-09" } ] }, @@ -2266,6 +2386,21 @@ "id": "would-you-rather-049", "text": "Would you rather always get the window seat or always get the aisle, and why?", "added": "2026-11-02" + }, + { + "id": "would-you-rather-050", + "text": "Would you rather have a perfect singing voice or perfect dance moves?", + "added": "2026-11-09" + }, + { + "id": "would-you-rather-051", + "text": "Would you rather always get the last word or always get the final say?", + "added": "2026-11-09" + }, + { + "id": "would-you-rather-052", + "text": "Would you rather live without salt or without sugar, and how would you cope?", + "added": "2026-11-09" } ] }, @@ -2518,6 +2653,21 @@ "id": "quotes-proverbs-049", "text": "\"The customer is always right\": do you agree, and why or why not?", "added": "2026-11-02" + }, + { + "id": "quotes-proverbs-050", + "text": "\"The best time to plant a tree was twenty years ago\": what have you put off starting?", + "added": "2026-11-09" + }, + { + "id": "quotes-proverbs-051", + "text": "\"Don't count your chickens before they hatch\": when did getting ahead of yourself cost you?", + "added": "2026-11-09" + }, + { + "id": "quotes-proverbs-052", + "text": "\"A chain is only as strong as its weakest link\": when has one weak point changed everything?", + "added": "2026-11-09" } ] }, @@ -2770,6 +2920,21 @@ "id": "storytelling-049", "text": "How did the strangest phone call of your life begin, and how did it end?", "added": "2026-11-02" + }, + { + "id": "storytelling-050", + "text": "What is the story of the time you had to improvise a speech with no notice?", + "added": "2026-11-09" + }, + { + "id": "storytelling-051", + "text": "How did the strangest night shift or late night of your life unfold?", + "added": "2026-11-09" + }, + { + "id": "storytelling-052", + "text": "What is the story behind the longest you ever had to wait for news?", + "added": "2026-11-09" } ] }, @@ -3022,6 +3187,21 @@ "id": "persuasion-049", "text": "How would you convince a friend to try sitting in silence for ten minutes a day?", "added": "2026-11-02" + }, + { + "id": "persuasion-050", + "text": "Why should every town keep at least one truly quiet public space?", + "added": "2026-11-09" + }, + { + "id": "persuasion-051", + "text": "What is the strongest case for learning to repair things instead of replacing them?", + "added": "2026-11-09" + }, + { + "id": "persuasion-052", + "text": "Why is it worth mastering one recipe well enough to make from memory?", + "added": "2026-11-09" } ] }, @@ -3274,6 +3454,21 @@ "id": "seasons-celebrations-049", "text": "How do you decide when it is finally time to take down holiday decorations?", "added": "2026-11-02" + }, + { + "id": "seasons-celebrations-050", + "text": "Which celebration have you thrown together at the very last minute, and how did it go?", + "added": "2026-11-09" + }, + { + "id": "seasons-celebrations-051", + "text": "What is the first song that makes a season feel official to you?", + "added": "2026-11-09" + }, + { + "id": "seasons-celebrations-052", + "text": "How do you celebrate a win that nobody else thinks is a big deal?", + "added": "2026-11-09" } ] }, @@ -3526,6 +3721,21 @@ "id": "humor-049", "text": "What is the silliest voice you use that nobody has ever actually asked for?", "added": "2026-11-02" + }, + { + "id": "humor-050", + "text": "What is the most dramatic way you have ever reacted to losing a game?", + "added": "2026-11-09" + }, + { + "id": "humor-051", + "text": "What is the strangest thing you have ever said while half asleep?", + "added": "2026-11-09" + }, + { + "id": "humor-052", + "text": "Which childhood lie did you tell that somehow nobody ever caught?", + "added": "2026-11-09" } ] }, @@ -3778,6 +3988,21 @@ "id": "dilemmas-049", "text": "What would you do if you overheard plans for a surprise you were not meant to know?", "added": "2026-11-02" + }, + { + "id": "dilemmas-050", + "text": "What do you do when a friend invites themselves along to something private?", + "added": "2026-11-09" + }, + { + "id": "dilemmas-051", + "text": "How do you decide whether to tell a host the food did not agree with you?", + "added": "2026-11-09" + }, + { + "id": "dilemmas-052", + "text": "What do you do when you are asked to keep score in a game and a friend cheats?", + "added": "2026-11-09" } ] }, @@ -4030,6 +4255,21 @@ "id": "learning-growth-049", "text": "How do you know when curiosity has quietly turned into real obsession?", "added": "2026-11-02" + }, + { + "id": "learning-growth-050", + "text": "What is the first thing you do when you realize you have been doing something wrong for years?", + "added": "2026-11-09" + }, + { + "id": "learning-growth-051", + "text": "Which skill did you learn only because someone else refused to do it for you?", + "added": "2026-11-09" + }, + { + "id": "learning-growth-052", + "text": "How do you know when a mentor has taught you everything they can?", + "added": "2026-11-09" } ] }, @@ -4282,6 +4522,21 @@ "id": "nature-outdoors-049", "text": "How do you feel about the very first frost of the year arriving?", "added": "2026-11-02" + }, + { + "id": "nature-outdoors-050", + "text": "What is the most surprising thing you have ever grown yourself?", + "added": "2026-11-09" + }, + { + "id": "nature-outdoors-051", + "text": "Which outdoor chore did you dread as a kid and now actually enjoy?", + "added": "2026-11-09" + }, + { + "id": "nature-outdoors-052", + "text": "How do you decide when it is finally too cold to stay outside?", + "added": "2026-11-09" } ] }, @@ -4534,6 +4789,21 @@ "id": "habits-routines-049", "text": "How does your bedtime routine change the night before something important?", "added": "2026-11-02" + }, + { + "id": "habits-routines-050", + "text": "What is the first habit you ever built with nobody asking you to?", + "added": "2026-11-09" + }, + { + "id": "habits-routines-051", + "text": "Which small habit do you keep even though you cannot explain why?", + "added": "2026-11-09" + }, + { + "id": "habits-routines-052", + "text": "How do you talk yourself into a habit you know is good for you but dread starting?", + "added": "2026-11-09" } ] }, @@ -4781,6 +5051,21 @@ "id": "creativity-arts-048", "text": "What creative project would you finally tackle if nobody could see you fail?", "added": "2026-11-02" + }, + { + "id": "creativity-arts-049", + "text": "What is the first piece of art you remember making someone else cry, laugh, or stop?", + "added": "2026-11-09" + }, + { + "id": "creativity-arts-050", + "text": "Which creative tool do you reach for before you even know what you are making?", + "added": "2026-11-09" + }, + { + "id": "creativity-arts-051", + "text": "How do you decide when to show someone an idea before it is finished?", + "added": "2026-11-09" } ] }, @@ -5033,6 +5318,21 @@ "id": "contest-style-049", "text": "What is the bravest kind of honesty, the kind that actually costs you something?", "added": "2026-11-02" + }, + { + "id": "contest-style-050", + "text": "What does it mean to stay curious after you think you already know enough?", + "added": "2026-11-09" + }, + { + "id": "contest-style-051", + "text": "What is the quiet difference between giving up and letting go?", + "added": "2026-11-09" + }, + { + "id": "contest-style-052", + "text": "How do you decide when silence has gone on long enough?", + "added": "2026-11-09" } ] } From e742f452574d53155ae195eb3353402ec34e58b4 Mon Sep 17 00:00:00 2001 From: Shuhao Date: Tue, 10 Nov 2026 16:21:44 -0500 Subject: [PATCH 04/14] ci(factory): run the cloud stations on Opus 5.5 at high effort Without --model the action used its default, Sonnet 5.5 (#90's build). Pin plan and build to claude-opus-5-5 with --effort high, matching interactive sessions. Byte-identical to dev's copies. --- .github/workflows/factory-build.yml | 2 +- .github/workflows/factory-plan.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/factory-build.yml b/.github/workflows/factory-build.yml index 8875d7a4..55bb39b3 100644 --- a/.github/workflows/factory-build.yml +++ b/.github/workflows/factory-build.yml @@ -70,7 +70,7 @@ jobs: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} prompt: /factory-build ${{ steps.gate.outputs.issue }} - claude_args: --max-turns 200 --allowedTools Bash,Read,Edit,Write,MultiEdit,Glob,Grep,Task,Skill + claude_args: --model claude-opus-5-5 --effort high --max-turns 200 --allowedTools Bash,Read,Edit,Write,MultiEdit,Glob,Grep,Task,Skill - name: Check the station ran if: steps.gate.outputs.issue env: diff --git a/.github/workflows/factory-plan.yml b/.github/workflows/factory-plan.yml index 7b15847f..d1dd688e 100644 --- a/.github/workflows/factory-plan.yml +++ b/.github/workflows/factory-plan.yml @@ -70,7 +70,7 @@ jobs: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} prompt: /factory-plan ${{ steps.pick.outputs.issue }} - claude_args: --max-turns 80 --allowedTools Bash,Read,Edit,Write,MultiEdit,Glob,Grep,Task,Skill + claude_args: --model claude-opus-5-5 --effort high --max-turns 80 --allowedTools Bash,Read,Edit,Write,MultiEdit,Glob,Grep,Task,Skill - name: Check the station ran if: steps.pick.outputs.issue env: From 45595b35b2dbcf132108fdabf6b5c0b582d7be6a Mon Sep 17 00:00:00 2001 From: Shuhao Date: Sat, 14 Nov 2026 20:45:48 -0500 Subject: [PATCH 05/14] ci(factory): let cloud stations run node/npm on the bot's own factory PRs claude-code-action 3fd0895 (2026-11-12, anthropics/claude-code-action#2001) denies code-running commands on PRs whose author lacks write access, and counts bots as untrusted. Factory PRs are opened by the Claude bot, so the #80 build (run 43660639722) had node, npm and vitest denied and stopped before doing anything. Set restrict_untrusted_prs: "false" on the plan and build stations. Their trust check is the gate: state.mjs only lets a station run after a factory actor opened the human gate, and fork PRs get no secrets. Both files stay identical on dev and master. --- .github/workflows/factory-build.yml | 5 +++++ .github/workflows/factory-plan.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/factory-build.yml b/.github/workflows/factory-build.yml index 55bb39b3..774e6ab8 100644 --- a/.github/workflows/factory-build.yml +++ b/.github/workflows/factory-build.yml @@ -71,6 +71,11 @@ jobs: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} prompt: /factory-build ${{ steps.gate.outputs.issue }} claude_args: --model claude-opus-5-5 --effort high --max-turns 200 --allowedTools Bash,Read,Edit,Write,MultiEdit,Glob,Grep,Task,Skill + # Factory PRs are opened by the Claude bot, which the action counts as untrusted since + # 2026-11-12 (restrict_untrusted_prs, on by default) and so denies node/npm/vitest. + # The trust check is this workflow's gate: state.mjs only lets a station run after a + # factory actor opened the human gate (.factory/README.md), and fork PRs get no secrets. + restrict_untrusted_prs: "false" - name: Check the station ran if: steps.gate.outputs.issue env: diff --git a/.github/workflows/factory-plan.yml b/.github/workflows/factory-plan.yml index d1dd688e..88953809 100644 --- a/.github/workflows/factory-plan.yml +++ b/.github/workflows/factory-plan.yml @@ -71,6 +71,11 @@ jobs: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} prompt: /factory-plan ${{ steps.pick.outputs.issue }} claude_args: --model claude-opus-5-5 --effort high --max-turns 80 --allowedTools Bash,Read,Edit,Write,MultiEdit,Glob,Grep,Task,Skill + # Factory PRs are opened by the Claude bot, which the action counts as untrusted since + # 2026-11-12 (restrict_untrusted_prs, on by default) and so denies node/npm/vitest. + # The trust check is this workflow's gate: state.mjs only lets a station run after a + # factory actor opened the human gate (.factory/README.md), and fork PRs get no secrets. + restrict_untrusted_prs: "false" - name: Check the station ran if: steps.pick.outputs.issue env: From 022aa4a0123e50ea876f137a96bee15262867f51 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 16 Nov 2026 08:10:32 -0500 Subject: [PATCH 06/14] content(tabletopics): +60 questions for 2026-11-16 Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_015maz8Xciv6oYnHyf4fybNu --- apps/table-topics/content/questions.json | 300 +++++++++++++++++++++++ 1 file changed, 300 insertions(+) diff --git a/apps/table-topics/content/questions.json b/apps/table-topics/content/questions.json index 6d0fe01b..afa97a5b 100644 --- a/apps/table-topics/content/questions.json +++ b/apps/table-topics/content/questions.json @@ -265,6 +265,21 @@ "id": "icebreakers-052", "text": "What is the first thing you do after walking through your own front door?", "added": "2026-11-09" + }, + { + "id": "icebreakers-053", + "text": "What small gesture from a stranger made you feel instantly welcome somewhere new?", + "added": "2026-11-16" + }, + { + "id": "icebreakers-054", + "text": "Which song could you not get out of your head this week?", + "added": "2026-11-16" + }, + { + "id": "icebreakers-055", + "text": "What is the first question you ask when you meet someone from a new place?", + "added": "2026-11-16" } ] }, @@ -532,6 +547,21 @@ "id": "childhood-memories-052", "text": "What did your family's front porch, stoop, or doorway look like growing up?", "added": "2026-11-09" + }, + { + "id": "childhood-memories-053", + "text": "What small lie did your family tell you as a kid that you believed for years?", + "added": "2026-11-16" + }, + { + "id": "childhood-memories-054", + "text": "Which chore did you bribe a sibling into doing for you as a child?", + "added": "2026-11-16" + }, + { + "id": "childhood-memories-055", + "text": "Which neighbor's yard were you forbidden to play in, and did you anyway?", + "added": "2026-11-16" } ] }, @@ -799,6 +829,21 @@ "id": "travel-places-052", "text": "What is the first word you learn in a new country, and why that one?", "added": "2026-11-09" + }, + { + "id": "travel-places-053", + "text": "Which city's public transit system impressed you the most, and why?", + "added": "2026-11-16" + }, + { + "id": "travel-places-054", + "text": "What is the strangest food you were offered as a guest while traveling?", + "added": "2026-11-16" + }, + { + "id": "travel-places-055", + "text": "Who did you become friends with only because your flight or train was delayed?", + "added": "2026-11-16" } ] }, @@ -1066,6 +1111,21 @@ "id": "work-career-052", "text": "How do you decide which emails can wait until tomorrow?", "added": "2026-11-09" + }, + { + "id": "work-career-053", + "text": "What does your ideal office soundtrack, or silence, sound like?", + "added": "2026-11-16" + }, + { + "id": "work-career-054", + "text": "Which task would you gladly do for free if your job did not require it?", + "added": "2026-11-16" + }, + { + "id": "work-career-055", + "text": "What is the most memorable thing a client ever said about your work?", + "added": "2026-11-16" } ] }, @@ -1333,6 +1393,21 @@ "id": "leadership-052", "text": "What is the first question a new leader should ask their team?", "added": "2026-11-09" + }, + { + "id": "leadership-053", + "text": "What is the kindest way a leader has ever told you that you were wrong?", + "added": "2026-11-16" + }, + { + "id": "leadership-054", + "text": "Which decision did you delay too long before finally leading from the front?", + "added": "2026-11-16" + }, + { + "id": "leadership-055", + "text": "How do you know when a team needs you to listen more than to talk?", + "added": "2026-11-16" } ] }, @@ -1600,6 +1675,21 @@ "id": "technology-052", "text": "What would surprise a kid today about how you communicated before smartphones?", "added": "2026-11-09" + }, + { + "id": "technology-053", + "text": "What is the last gadget you bought on impulse and regretted, or loved?", + "added": "2026-11-16" + }, + { + "id": "technology-054", + "text": "How do you feel about smart speakers listening in your own home?", + "added": "2026-11-16" + }, + { + "id": "technology-055", + "text": "Which online rabbit hole cost you the most time this year?", + "added": "2026-11-16" } ] }, @@ -1867,6 +1957,21 @@ "id": "food-drink-052", "text": "What is the first thing you check when you walk into someone else's kitchen?", "added": "2026-11-09" + }, + { + "id": "food-drink-053", + "text": "What is the messiest meal you refuse to eat in front of other people?", + "added": "2026-11-16" + }, + { + "id": "food-drink-054", + "text": "Which drink do you order just to look more sophisticated than you feel?", + "added": "2026-11-16" + }, + { + "id": "food-drink-055", + "text": "What is the first thing you cook when you want to feel like a kid again?", + "added": "2026-11-16" } ] }, @@ -2134,6 +2239,21 @@ "id": "hypotheticals-052", "text": "If everyone had to trade homes for a month, what would you want to learn?", "added": "2026-11-09" + }, + { + "id": "hypotheticals-053", + "text": "If your commute took you through a different country every day, how would you spend it?", + "added": "2026-11-16" + }, + { + "id": "hypotheticals-054", + "text": "What would you do if you had to cook dinner for twenty guests tonight with no warning?", + "added": "2026-11-16" + }, + { + "id": "hypotheticals-055", + "text": "If you had to give up one modern convenience forever, which would you choose and why?", + "added": "2026-11-16" } ] }, @@ -2401,6 +2521,21 @@ "id": "would-you-rather-052", "text": "Would you rather live without salt or without sugar, and how would you cope?", "added": "2026-11-09" + }, + { + "id": "would-you-rather-053", + "text": "Would you rather never watch another sunset or never hear live music again?", + "added": "2026-11-16" + }, + { + "id": "would-you-rather-054", + "text": "Would you rather host every holiday gathering or be a guest at all of them?", + "added": "2026-11-16" + }, + { + "id": "would-you-rather-055", + "text": "Would you rather read minds or control the weather, and why?", + "added": "2026-11-16" } ] }, @@ -2668,6 +2803,21 @@ "id": "quotes-proverbs-052", "text": "\"A chain is only as strong as its weakest link\": when has one weak point changed everything?", "added": "2026-11-09" + }, + { + "id": "quotes-proverbs-053", + "text": "\"Don't cry over spilled milk\": what have you finally learned to let go of?", + "added": "2026-11-16" + }, + { + "id": "quotes-proverbs-054", + "text": "\"When life gives you lemons, make lemonade\": what setback did you turn into something good?", + "added": "2026-11-16" + }, + { + "id": "quotes-proverbs-055", + "text": "\"All that glitters is not gold\": when did something shiny let you down?", + "added": "2026-11-16" } ] }, @@ -2935,6 +3085,21 @@ "id": "storytelling-052", "text": "What is the story behind the longest you ever had to wait for news?", "added": "2026-11-09" + }, + { + "id": "storytelling-053", + "text": "What happened the day you tried a new hobby and were surprisingly good at it?", + "added": "2026-11-16" + }, + { + "id": "storytelling-054", + "text": "How did you end up responsible for a pet that was never supposed to be yours?", + "added": "2026-11-16" + }, + { + "id": "storytelling-055", + "text": "What happened the night you were the last one awake at a party or gathering?", + "added": "2026-11-16" } ] }, @@ -3202,6 +3367,21 @@ "id": "persuasion-052", "text": "Why is it worth mastering one recipe well enough to make from memory?", "added": "2026-11-09" + }, + { + "id": "persuasion-053", + "text": "Why should every home have a shelf of books nobody has read yet?", + "added": "2026-11-16" + }, + { + "id": "persuasion-054", + "text": "What is the strongest case for talking to strangers on public transit?", + "added": "2026-11-16" + }, + { + "id": "persuasion-055", + "text": "How would you convince a friend that slow travel beats rushing through a trip?", + "added": "2026-11-16" } ] }, @@ -3469,6 +3649,21 @@ "id": "seasons-celebrations-052", "text": "How do you celebrate a win that nobody else thinks is a big deal?", "added": "2026-11-09" + }, + { + "id": "seasons-celebrations-053", + "text": "What is the first thing you crave the moment autumn arrives?", + "added": "2026-11-16" + }, + { + "id": "seasons-celebrations-054", + "text": "Which celebration do you plan entirely around the weather forecast?", + "added": "2026-11-16" + }, + { + "id": "seasons-celebrations-055", + "text": "How do you make peace with a holiday that falls during a hard year?", + "added": "2026-11-16" } ] }, @@ -3736,6 +3931,21 @@ "id": "humor-052", "text": "Which childhood lie did you tell that somehow nobody ever caught?", "added": "2026-11-09" + }, + { + "id": "humor-053", + "text": "What is the silliest voicemail you have ever accidentally left someone?", + "added": "2026-11-16" + }, + { + "id": "humor-054", + "text": "Which household item has betrayed you in the most dramatic fashion?", + "added": "2026-11-16" + }, + { + "id": "humor-055", + "text": "What is the funniest nickname a pet has earned in your home?", + "added": "2026-11-16" } ] }, @@ -4003,6 +4213,21 @@ "id": "dilemmas-052", "text": "What do you do when you are asked to keep score in a game and a friend cheats?", "added": "2026-11-09" + }, + { + "id": "dilemmas-053", + "text": "How do you handle it when a friend's gift to you was clearly regifted?", + "added": "2026-11-16" + }, + { + "id": "dilemmas-054", + "text": "What do you do when you are the only one who noticed a mistake on the bill?", + "added": "2026-11-16" + }, + { + "id": "dilemmas-055", + "text": "How do you decide whether to tell a friend their new haircut does not suit them?", + "added": "2026-11-16" } ] }, @@ -4270,6 +4495,21 @@ "id": "learning-growth-052", "text": "How do you know when a mentor has taught you everything they can?", "added": "2026-11-09" + }, + { + "id": "learning-growth-053", + "text": "What is a lesson you had to learn the expensive way, financially or otherwise?", + "added": "2026-11-16" + }, + { + "id": "learning-growth-054", + "text": "Which skill did you master only to watch it become obsolete?", + "added": "2026-11-16" + }, + { + "id": "learning-growth-055", + "text": "How do you handle praise for something you do not think you deserve credit for?", + "added": "2026-11-16" } ] }, @@ -4537,6 +4777,21 @@ "id": "nature-outdoors-052", "text": "How do you decide when it is finally too cold to stay outside?", "added": "2026-11-09" + }, + { + "id": "nature-outdoors-053", + "text": "Which wild animal would you trust to guide you home if you got lost?", + "added": "2026-11-16" + }, + { + "id": "nature-outdoors-054", + "text": "What is the most peaceful body of water you have ever sat beside?", + "added": "2026-11-16" + }, + { + "id": "nature-outdoors-055", + "text": "How do you feel about foraging for your own food outdoors?", + "added": "2026-11-16" } ] }, @@ -4804,6 +5059,21 @@ "id": "habits-routines-052", "text": "How do you talk yourself into a habit you know is good for you but dread starting?", "added": "2026-11-09" + }, + { + "id": "habits-routines-053", + "text": "What is the first habit you taught yourself purely out of necessity?", + "added": "2026-11-16" + }, + { + "id": "habits-routines-054", + "text": "Which part of getting ready in the morning could you honestly skip?", + "added": "2026-11-16" + }, + { + "id": "habits-routines-055", + "text": "How does your routine shift in the week after a holiday ends?", + "added": "2026-11-16" } ] }, @@ -5066,6 +5336,21 @@ "id": "creativity-arts-051", "text": "How do you decide when to show someone an idea before it is finished?", "added": "2026-11-09" + }, + { + "id": "creativity-arts-052", + "text": "Which movie soundtrack do you still hum years after seeing the film?", + "added": "2026-11-16" + }, + { + "id": "creativity-arts-053", + "text": "What is a craft supply you have bought but never actually used?", + "added": "2026-11-16" + }, + { + "id": "creativity-arts-054", + "text": "How do you decide whether a half-finished painting, song, or story is worth saving?", + "added": "2026-11-16" } ] }, @@ -5333,6 +5618,21 @@ "id": "contest-style-052", "text": "How do you decide when silence has gone on long enough?", "added": "2026-11-09" + }, + { + "id": "contest-style-053", + "text": "What does it mean to choose courage over comfort in a small, daily way?", + "added": "2026-11-16" + }, + { + "id": "contest-style-054", + "text": "How do you decide when a goal has stopped being worth the sacrifice?", + "added": "2026-11-16" + }, + { + "id": "contest-style-055", + "text": "How do you measure whether a hard year was also a good one?", + "added": "2026-11-16" } ] } From e026cce6f8a5fa30a586be87eebc9c5c95c57945 Mon Sep 17 00:00:00 2001 From: Shuhao Date: Sat, 21 Nov 2026 22:11:43 -0500 Subject: [PATCH 07/14] ci(factory): give the build station the job token, which outlives the hour (master) Same change as the dev PR; the file stays identical on dev and master. The Claude App token expires after 60 minutes, so builds that ran longer ended silently (#80, #167). The job's GITHUB_TOKEN lasts the whole job. --- .github/workflows/factory-build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/factory-build.yml b/.github/workflows/factory-build.yml index 774e6ab8..f2c1093a 100644 --- a/.github/workflows/factory-build.yml +++ b/.github/workflows/factory-build.yml @@ -76,6 +76,13 @@ jobs: # The trust check is this workflow's gate: state.mjs only lets a station run after a # factory actor opened the human gate (.factory/README.md), and fork PRs get no secrets. restrict_untrusted_prs: "false" + # The job's own token, not the Claude App token. The App token expires after 60 + # minutes and a build runs longer: past that hour every push, label and PR comment + # fails, so the station ends silently (#80 on 2026-11-15, #167 on 2026-11-21). + # This token lasts the whole job, with the permissions above, and labels it adds come + # from github-actions[bot], never a factory actor. Pushes made with it don't start + # CI, so the PR's checks stay on the last human or Mac push until the Zoom station. + github_token: ${{ github.token }} - name: Check the station ran if: steps.gate.outputs.issue env: From b736d8cda90ede4dd6dafd93be71c465557d9aa7 Mon Sep 17 00:00:00 2001 From: Shuhao Date: Sat, 21 Nov 2026 23:00:33 -0500 Subject: [PATCH 08/14] ci(factory): print how Claude ended when a build runs (master) Same change as the dev PR; factory-build.yml stays identical on dev and master. --- .github/workflows/factory-build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/factory-build.yml b/.github/workflows/factory-build.yml index f2c1093a..3bb88864 100644 --- a/.github/workflows/factory-build.yml +++ b/.github/workflows/factory-build.yml @@ -63,6 +63,7 @@ jobs: npm ci --prefix apps/table-topics npx playwright install --with-deps chromium - uses: anthropics/claude-code-action@v1 + id: claude if: steps.gate.outputs.issue env: FACTORY_STATION: build @@ -83,6 +84,26 @@ jobs: # from github-actions[bot], never a factory actor. Pushes made with it don't start # CI, so the PR's checks stay on the last human or Mac push until the Zoom station. github_token: ${{ github.token }} + - name: Show how Claude ended + # The action logs only a summary and keeps Claude's final message in a file on the + # runner, so a station that died on an API error or a usage limit left no reason + # (#167, 2026-11-22: is_error after 6 turns, nothing else). Print the final result and + # the last assistant text, never the transcript: this repository is public. + if: always() && steps.gate.outputs.issue + env: + EXECUTION_FILE: ${{ steps.claude.outputs.execution_file }} + run: | + f="${EXECUTION_FILE:-$RUNNER_TEMP/claude-execution-output.json}" + [ -f "$f" ] || { echo "No Claude output file at $f."; exit 0; } + jq -rs ' + flatten + | (map(select(.type == "result")) | last) as $r + | (map(select(.type == "assistant")) | last | .message.content // [] + | map(select(.type == "text") | .text) | join("\n")) as $a + | "subtype: \($r.subtype // "?"), is_error: \($r.is_error), turns: \($r.num_turns // "?")", + "result: \(($r.result // "(none)") | .[0:4000])", + "last assistant text: \($a | .[0:2000])" + ' "$f" || echo "Couldn't parse $f." - name: Check the station ran if: steps.gate.outputs.issue env: From 1af15eff0497af6dacc54affbacd8e7f76905bac Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 08:09:26 -0500 Subject: [PATCH 09/14] content(tabletopics): +60 questions for 2026-11-23 Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_015maz8azuz21VNC3UfqvDjA --- apps/table-topics/content/questions.json | 300 +++++++++++++++++++++++ 1 file changed, 300 insertions(+) diff --git a/apps/table-topics/content/questions.json b/apps/table-topics/content/questions.json index afa97a5b..3144a83d 100644 --- a/apps/table-topics/content/questions.json +++ b/apps/table-topics/content/questions.json @@ -280,6 +280,21 @@ "id": "icebreakers-055", "text": "What is the first question you ask when you meet someone from a new place?", "added": "2026-11-16" + }, + { + "id": "icebreakers-056", + "text": "What is a small detail about yourself that most people get wrong at first?", + "added": "2026-11-23" + }, + { + "id": "icebreakers-057", + "text": "Which object within arm's reach right now has a story worth telling?", + "added": "2026-11-23" + }, + { + "id": "icebreakers-058", + "text": "What is the easiest way for someone to make you laugh within a minute of meeting you?", + "added": "2026-11-23" } ] }, @@ -562,6 +577,21 @@ "id": "childhood-memories-055", "text": "Which neighbor's yard were you forbidden to play in, and did you anyway?", "added": "2026-11-16" + }, + { + "id": "childhood-memories-056", + "text": "What was the view from your childhood bedroom window, and did you ever tire of it?", + "added": "2026-11-23" + }, + { + "id": "childhood-memories-057", + "text": "Which grown-up rule did you secretly break the most as a child?", + "added": "2026-11-23" + }, + { + "id": "childhood-memories-058", + "text": "What did you believe about the world at age six that turned out to be completely wrong?", + "added": "2026-11-23" } ] }, @@ -844,6 +874,21 @@ "id": "travel-places-055", "text": "Who did you become friends with only because your flight or train was delayed?", "added": "2026-11-16" + }, + { + "id": "travel-places-056", + "text": "What is the one souvenir you regret not buying on a trip?", + "added": "2026-11-23" + }, + { + "id": "travel-places-057", + "text": "Which local tradition did you accidentally stumble into while traveling?", + "added": "2026-11-23" + }, + { + "id": "travel-places-058", + "text": "What does an ideal rainy day look like in a city you have visited?", + "added": "2026-11-23" } ] }, @@ -1126,6 +1171,21 @@ "id": "work-career-055", "text": "What is the most memorable thing a client ever said about your work?", "added": "2026-11-16" + }, + { + "id": "work-career-056", + "text": "What is the best piece of praise you ever overheard about your own work?", + "added": "2026-11-23" + }, + { + "id": "work-career-057", + "text": "Which part of your job would you teach to a complete beginner first?", + "added": "2026-11-23" + }, + { + "id": "work-career-058", + "text": "How do you tell the difference between a bad week at work and a bad job?", + "added": "2026-11-23" } ] }, @@ -1408,6 +1468,21 @@ "id": "leadership-055", "text": "How do you know when a team needs you to listen more than to talk?", "added": "2026-11-16" + }, + { + "id": "leadership-056", + "text": "What is the first thing you look for in someone before you trust their judgment?", + "added": "2026-11-23" + }, + { + "id": "leadership-057", + "text": "How do you decide when a team's failure is actually your own?", + "added": "2026-11-23" + }, + { + "id": "leadership-058", + "text": "Who modeled patience for you in a way you still try to copy?", + "added": "2026-11-23" } ] }, @@ -1690,6 +1765,21 @@ "id": "technology-055", "text": "Which online rabbit hole cost you the most time this year?", "added": "2026-11-16" + }, + { + "id": "technology-056", + "text": "Which everyday errand got easier because of a gadget you almost did not buy?", + "added": "2026-11-23" + }, + { + "id": "technology-057", + "text": "What is the oldest habit of yours that technology completely replaced?", + "added": "2026-11-23" + }, + { + "id": "technology-058", + "text": "How do you decide when a screen has truly earned your attention tonight?", + "added": "2026-11-23" } ] }, @@ -1972,6 +2062,21 @@ "id": "food-drink-055", "text": "What is the first thing you cook when you want to feel like a kid again?", "added": "2026-11-16" + }, + { + "id": "food-drink-056", + "text": "What meal would you cook if you had exactly one ingredient to work with?", + "added": "2026-11-23" + }, + { + "id": "food-drink-057", + "text": "Which flavor do you avoid in public but secretly enjoy at home?", + "added": "2026-11-23" + }, + { + "id": "food-drink-058", + "text": "What is the first thing you taste for when judging a new dish?", + "added": "2026-11-23" } ] }, @@ -2254,6 +2359,21 @@ "id": "hypotheticals-055", "text": "If you had to give up one modern convenience forever, which would you choose and why?", "added": "2026-11-16" + }, + { + "id": "hypotheticals-056", + "text": "If you could instantly fix one habit of yours, which would you choose and why?", + "added": "2026-11-23" + }, + { + "id": "hypotheticals-057", + "text": "What would your ideal neighborhood include if you could design it from scratch?", + "added": "2026-11-23" + }, + { + "id": "hypotheticals-058", + "text": "If you could mute one sound from the world forever, which would you pick?", + "added": "2026-11-23" } ] }, @@ -2536,6 +2656,21 @@ "id": "would-you-rather-055", "text": "Would you rather read minds or control the weather, and why?", "added": "2026-11-16" + }, + { + "id": "would-you-rather-056", + "text": "Would you rather always arrive with no plan or always arrive overprepared?", + "added": "2026-11-23" + }, + { + "id": "would-you-rather-057", + "text": "Would you rather lose your sense of direction or your sense of humor?", + "added": "2026-11-23" + }, + { + "id": "would-you-rather-058", + "text": "Would you rather spend a year without sweets or a year without caffeine?", + "added": "2026-11-23" } ] }, @@ -2818,6 +2953,21 @@ "id": "quotes-proverbs-055", "text": "\"All that glitters is not gold\": when did something shiny let you down?", "added": "2026-11-16" + }, + { + "id": "quotes-proverbs-056", + "text": "\"Strike while the iron is hot\": when did acting fast actually pay off for you?", + "added": "2026-11-23" + }, + { + "id": "quotes-proverbs-057", + "text": "\"An ounce of prevention is worth a pound of cure\": what have you prepared for that never happened?", + "added": "2026-11-23" + }, + { + "id": "quotes-proverbs-058", + "text": "\"A rolling stone gathers no moss\": has staying in motion ever served you well?", + "added": "2026-11-23" } ] }, @@ -3100,6 +3250,21 @@ "id": "storytelling-055", "text": "What happened the night you were the last one awake at a party or gathering?", "added": "2026-11-16" + }, + { + "id": "storytelling-056", + "text": "What happened the time a small white lie nearly unraveled in front of everyone?", + "added": "2026-11-23" + }, + { + "id": "storytelling-057", + "text": "How did the strangest favor you ever agreed to actually turn out?", + "added": "2026-11-23" + }, + { + "id": "storytelling-058", + "text": "What is the story behind a risk you almost did not take?", + "added": "2026-11-23" } ] }, @@ -3382,6 +3547,21 @@ "id": "persuasion-055", "text": "How would you convince a friend that slow travel beats rushing through a trip?", "added": "2026-11-16" + }, + { + "id": "persuasion-056", + "text": "Why should everyone keep a short list of questions ready for small talk?", + "added": "2026-11-23" + }, + { + "id": "persuasion-057", + "text": "What is the strongest case for choosing the longer, scenic way home?", + "added": "2026-11-23" + }, + { + "id": "persuasion-058", + "text": "How would you convince a skeptic that handwritten letters still matter?", + "added": "2026-11-23" } ] }, @@ -3664,6 +3844,21 @@ "id": "seasons-celebrations-055", "text": "How do you make peace with a holiday that falls during a hard year?", "added": "2026-11-16" + }, + { + "id": "seasons-celebrations-056", + "text": "What is the first task on your list the week before a big celebration?", + "added": "2026-11-23" + }, + { + "id": "seasons-celebrations-057", + "text": "Which season's arrival do you announce to everyone around you?", + "added": "2026-11-23" + }, + { + "id": "seasons-celebrations-058", + "text": "How do you keep a long-distance tradition alive with people far away?", + "added": "2026-11-23" } ] }, @@ -3946,6 +4141,21 @@ "id": "humor-055", "text": "What is the funniest nickname a pet has earned in your home?", "added": "2026-11-16" + }, + { + "id": "humor-056", + "text": "What is the most ridiculous thing you have ever practiced in front of a mirror?", + "added": "2026-11-23" + }, + { + "id": "humor-057", + "text": "Which household object seems to move on its own just to annoy you?", + "added": "2026-11-23" + }, + { + "id": "humor-058", + "text": "What is the silliest thing you have ever done to win an argument with yourself?", + "added": "2026-11-23" } ] }, @@ -4228,6 +4438,21 @@ "id": "dilemmas-055", "text": "How do you decide whether to tell a friend their new haircut does not suit them?", "added": "2026-11-16" + }, + { + "id": "dilemmas-056", + "text": "What do you do when a friend's plan is clearly a bad idea but they are excited?", + "added": "2026-11-23" + }, + { + "id": "dilemmas-057", + "text": "How do you decide whether to interrupt a story you have already heard twice?", + "added": "2026-11-23" + }, + { + "id": "dilemmas-058", + "text": "What do you do when a mutual friend asks you to take sides in their falling-out with someone else?", + "added": "2026-11-23" } ] }, @@ -4510,6 +4735,21 @@ "id": "learning-growth-055", "text": "How do you handle praise for something you do not think you deserve credit for?", "added": "2026-11-16" + }, + { + "id": "learning-growth-056", + "text": "What is a skill you quietly dropped and now wish you had kept practicing?", + "added": "2026-11-23" + }, + { + "id": "learning-growth-057", + "text": "How do you know when you are ready to teach something instead of just learning it?", + "added": "2026-11-23" + }, + { + "id": "learning-growth-058", + "text": "Which small failure this year taught you something a success never could?", + "added": "2026-11-23" } ] }, @@ -4792,6 +5032,21 @@ "id": "nature-outdoors-055", "text": "How do you feel about foraging for your own food outdoors?", "added": "2026-11-16" + }, + { + "id": "nature-outdoors-056", + "text": "Which outdoor sound makes you feel instantly like a kid again?", + "added": "2026-11-23" + }, + { + "id": "nature-outdoors-057", + "text": "How do you feel when a favorite outdoor spot gets paved over or redeveloped?", + "added": "2026-11-23" + }, + { + "id": "nature-outdoors-058", + "text": "How do you decide between watching a sunrise and sleeping in?", + "added": "2026-11-23" } ] }, @@ -5074,6 +5329,21 @@ "id": "habits-routines-055", "text": "How does your routine shift in the week after a holiday ends?", "added": "2026-11-16" + }, + { + "id": "habits-routines-056", + "text": "What is the one habit you would keep even if nobody ever noticed it?", + "added": "2026-11-23" + }, + { + "id": "habits-routines-057", + "text": "Which part of your routine falls apart first when your day goes sideways?", + "added": "2026-11-23" + }, + { + "id": "habits-routines-058", + "text": "How do you talk yourself out of bed on the hardest mornings?", + "added": "2026-11-23" } ] }, @@ -5351,6 +5621,21 @@ "id": "creativity-arts-054", "text": "How do you decide whether a half-finished painting, song, or story is worth saving?", "added": "2026-11-16" + }, + { + "id": "creativity-arts-055", + "text": "What is the first thing you create when you are feeling anxious or unsettled?", + "added": "2026-11-23" + }, + { + "id": "creativity-arts-056", + "text": "Which piece of music do you wish you had written yourself?", + "added": "2026-11-23" + }, + { + "id": "creativity-arts-057", + "text": "How do you decide whether an idea is worth turning into something real?", + "added": "2026-11-23" } ] }, @@ -5633,6 +5918,21 @@ "id": "contest-style-055", "text": "How do you measure whether a hard year was also a good one?", "added": "2026-11-16" + }, + { + "id": "contest-style-056", + "text": "What does it mean to stay humble after real success?", + "added": "2026-11-23" + }, + { + "id": "contest-style-057", + "text": "How do you decide which parts of your past are worth revisiting?", + "added": "2026-11-23" + }, + { + "id": "contest-style-058", + "text": "What is the quiet difference between being needed and being wanted?", + "added": "2026-11-23" } ] } From fbb534a8dacd073ba4af4db11363947feafa4f5c Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 30 Nov 2026 08:08:05 -0500 Subject: [PATCH 10/14] content(tabletopics): +60 questions for 2026-11-30 Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_015maz8bYARws75DiViwPksZ --- apps/table-topics/content/questions.json | 300 +++++++++++++++++++++++ 1 file changed, 300 insertions(+) diff --git a/apps/table-topics/content/questions.json b/apps/table-topics/content/questions.json index 3144a83d..fb41a80a 100644 --- a/apps/table-topics/content/questions.json +++ b/apps/table-topics/content/questions.json @@ -295,6 +295,21 @@ "id": "icebreakers-058", "text": "What is the easiest way for someone to make you laugh within a minute of meeting you?", "added": "2026-11-23" + }, + { + "id": "icebreakers-059", + "text": "What is the last small risk you took that turned out well?", + "added": "2026-11-30" + }, + { + "id": "icebreakers-060", + "text": "Which part of your morning would you protect no matter how busy you get?", + "added": "2026-11-30" + }, + { + "id": "icebreakers-061", + "text": "What is a word or phrase you use more than anyone else around you?", + "added": "2026-11-30" } ] }, @@ -592,6 +607,21 @@ "id": "childhood-memories-058", "text": "What did you believe about the world at age six that turned out to be completely wrong?", "added": "2026-11-23" + }, + { + "id": "childhood-memories-059", + "text": "Which neighborhood sound from your childhood could you still recognize instantly?", + "added": "2026-11-30" + }, + { + "id": "childhood-memories-060", + "text": "What was the first household rule your family enforced without ever explaining why?", + "added": "2026-11-30" + }, + { + "id": "childhood-memories-061", + "text": "Which childhood birthday gift surprised you the most, and why?", + "added": "2026-11-30" } ] }, @@ -889,6 +919,21 @@ "id": "travel-places-058", "text": "What does an ideal rainy day look like in a city you have visited?", "added": "2026-11-23" + }, + { + "id": "travel-places-059", + "text": "Which airport or train station has become oddly familiar to you over the years?", + "added": "2026-11-30" + }, + { + "id": "travel-places-060", + "text": "What is the first thing you look for when you check into a new hotel room?", + "added": "2026-11-30" + }, + { + "id": "travel-places-061", + "text": "Which stretch of road has given you the most time to think?", + "added": "2026-11-30" } ] }, @@ -1186,6 +1231,21 @@ "id": "work-career-058", "text": "How do you tell the difference between a bad week at work and a bad job?", "added": "2026-11-23" + }, + { + "id": "work-career-059", + "text": "What is the first thing you do when a workday starts going badly?", + "added": "2026-11-30" + }, + { + "id": "work-career-060", + "text": "Which coworker's small habit always manages to make you smile?", + "added": "2026-11-30" + }, + { + "id": "work-career-061", + "text": "How do you recover your focus after a meeting runs long?", + "added": "2026-11-30" } ] }, @@ -1483,6 +1543,21 @@ "id": "leadership-058", "text": "Who modeled patience for you in a way you still try to copy?", "added": "2026-11-23" + }, + { + "id": "leadership-059", + "text": "How do you decide how quickly to make a decision when time is short?", + "added": "2026-11-30" + }, + { + "id": "leadership-060", + "text": "What is the funniest way you have seen someone lead without realizing it?", + "added": "2026-11-30" + }, + { + "id": "leadership-061", + "text": "Who is the first person who ever trusted you to lead something small?", + "added": "2026-11-30" } ] }, @@ -1780,6 +1855,21 @@ "id": "technology-058", "text": "How do you decide when a screen has truly earned your attention tonight?", "added": "2026-11-23" + }, + { + "id": "technology-059", + "text": "Which piece of technology makes you feel instantly like an expert?", + "added": "2026-11-30" + }, + { + "id": "technology-060", + "text": "What is the first thing you teach an older relative about a new phone?", + "added": "2026-11-30" + }, + { + "id": "technology-061", + "text": "Which digital file or folder on your device would be hardest to explain to someone else?", + "added": "2026-11-30" } ] }, @@ -2077,6 +2167,21 @@ "id": "food-drink-058", "text": "What is the first thing you taste for when judging a new dish?", "added": "2026-11-23" + }, + { + "id": "food-drink-059", + "text": "Which meal have you cooked that turned out far better than you expected?", + "added": "2026-11-30" + }, + { + "id": "food-drink-060", + "text": "What is the one food rule your family insists on at the table?", + "added": "2026-11-30" + }, + { + "id": "food-drink-061", + "text": "How do you decide what to cook when guests arrive with no warning?", + "added": "2026-11-30" } ] }, @@ -2374,6 +2479,21 @@ "id": "hypotheticals-058", "text": "If you could mute one sound from the world forever, which would you pick?", "added": "2026-11-23" + }, + { + "id": "hypotheticals-059", + "text": "If you had to trade your phone for a notebook for one month, what would change first?", + "added": "2026-11-30" + }, + { + "id": "hypotheticals-060", + "text": "If you could instantly read anyone's mood accurately, how would you use it?", + "added": "2026-11-30" + }, + { + "id": "hypotheticals-061", + "text": "If you had an identical twin for just one week, what task would you hand them first?", + "added": "2026-11-30" } ] }, @@ -2671,6 +2791,21 @@ "id": "would-you-rather-058", "text": "Would you rather spend a year without sweets or a year without caffeine?", "added": "2026-11-23" + }, + { + "id": "would-you-rather-059", + "text": "Would you rather always have to whisper or always have to shout, and why?", + "added": "2026-11-30" + }, + { + "id": "would-you-rather-060", + "text": "Would you rather never use stairs again or never use elevators again?", + "added": "2026-11-30" + }, + { + "id": "would-you-rather-061", + "text": "Would you rather live in a house full of windows or a house full of doors?", + "added": "2026-11-30" } ] }, @@ -2968,6 +3103,21 @@ "id": "quotes-proverbs-058", "text": "\"A rolling stone gathers no moss\": has staying in motion ever served you well?", "added": "2026-11-23" + }, + { + "id": "quotes-proverbs-059", + "text": "\"Idle hands are the devil's workshop\": when has staying busy kept you out of trouble?", + "added": "2026-11-30" + }, + { + "id": "quotes-proverbs-060", + "text": "\"There's no place like home\": where do you feel that most strongly?", + "added": "2026-11-30" + }, + { + "id": "quotes-proverbs-061", + "text": "\"The apple doesn't fall far from the tree\": which trait do you share with a parent?", + "added": "2026-11-30" } ] }, @@ -3265,6 +3415,21 @@ "id": "storytelling-058", "text": "What is the story behind a risk you almost did not take?", "added": "2026-11-23" + }, + { + "id": "storytelling-059", + "text": "What happened the day you tried to teach someone else your favorite hobby?", + "added": "2026-11-30" + }, + { + "id": "storytelling-060", + "text": "How did the smallest decision of your week turn into the most memorable one?", + "added": "2026-11-30" + }, + { + "id": "storytelling-061", + "text": "What is the story behind a gift you almost gave away by mistake?", + "added": "2026-11-30" } ] }, @@ -3562,6 +3727,21 @@ "id": "persuasion-058", "text": "How would you convince a skeptic that handwritten letters still matter?", "added": "2026-11-23" + }, + { + "id": "persuasion-059", + "text": "Why should every neighborhood have a place where people can sit and talk for free?", + "added": "2026-11-30" + }, + { + "id": "persuasion-060", + "text": "How would you convince a friend to finally learn one card trick well?", + "added": "2026-11-30" + }, + { + "id": "persuasion-061", + "text": "Why is it worth keeping one drawer in your home completely empty?", + "added": "2026-11-30" } ] }, @@ -3859,6 +4039,21 @@ "id": "seasons-celebrations-058", "text": "How do you keep a long-distance tradition alive with people far away?", "added": "2026-11-23" + }, + { + "id": "seasons-celebrations-059", + "text": "Which holiday leftovers do you secretly look forward to more than the meal itself?", + "added": "2026-11-30" + }, + { + "id": "seasons-celebrations-060", + "text": "How do you decide when a season has truly changed for you?", + "added": "2026-11-30" + }, + { + "id": "seasons-celebrations-061", + "text": "What is the first thing you plan the moment a new year begins?", + "added": "2026-11-30" } ] }, @@ -4156,6 +4351,21 @@ "id": "humor-058", "text": "What is the silliest thing you have ever done to win an argument with yourself?", "added": "2026-11-23" + }, + { + "id": "humor-059", + "text": "What is the silliest thing you have ever done purely to avoid eye contact with a stranger?", + "added": "2026-11-30" + }, + { + "id": "humor-060", + "text": "Which everyday errand turns you into a surprisingly competitive person?", + "added": "2026-11-30" + }, + { + "id": "humor-061", + "text": "What is the most dramatic way you have ever announced ordinary good news?", + "added": "2026-11-30" } ] }, @@ -4453,6 +4663,21 @@ "id": "dilemmas-058", "text": "What do you do when a mutual friend asks you to take sides in their falling-out with someone else?", "added": "2026-11-23" + }, + { + "id": "dilemmas-059", + "text": "How do you decide whether to tell a friend their business idea will not work?", + "added": "2026-11-30" + }, + { + "id": "dilemmas-060", + "text": "What do you do when you are the only one who remembers a promise was made?", + "added": "2026-11-30" + }, + { + "id": "dilemmas-061", + "text": "How do you handle a friend who always forgets their wallet when the bill arrives?", + "added": "2026-11-30" } ] }, @@ -4750,6 +4975,21 @@ "id": "learning-growth-058", "text": "Which small failure this year taught you something a success never could?", "added": "2026-11-23" + }, + { + "id": "learning-growth-059", + "text": "What is a skill you are learning right now purely for fun, not for any goal?", + "added": "2026-11-30" + }, + { + "id": "learning-growth-060", + "text": "How do you know when you have finally stopped improving at something?", + "added": "2026-11-30" + }, + { + "id": "learning-growth-061", + "text": "Which lesson from a stranger reshaped how you approach your work?", + "added": "2026-11-30" } ] }, @@ -5047,6 +5287,21 @@ "id": "nature-outdoors-058", "text": "How do you decide between watching a sunrise and sleeping in?", "added": "2026-11-23" + }, + { + "id": "nature-outdoors-059", + "text": "Which wild plant or weed have you come to secretly admire?", + "added": "2026-11-30" + }, + { + "id": "nature-outdoors-060", + "text": "How do you feel about swimming in open water versus a pool?", + "added": "2026-11-30" + }, + { + "id": "nature-outdoors-061", + "text": "Which sound do you listen for first thing when you step outside each morning?", + "added": "2026-11-30" } ] }, @@ -5344,6 +5599,21 @@ "id": "habits-routines-058", "text": "How do you talk yourself out of bed on the hardest mornings?", "added": "2026-11-23" + }, + { + "id": "habits-routines-059", + "text": "Which small habit do you keep only on weekdays and drop completely on weekends?", + "added": "2026-11-30" + }, + { + "id": "habits-routines-060", + "text": "What is the last routine you built around a pet or a plant?", + "added": "2026-11-30" + }, + { + "id": "habits-routines-061", + "text": "What is the first habit you pass on to a roommate or partner without meaning to?", + "added": "2026-11-30" } ] }, @@ -5636,6 +5906,21 @@ "id": "creativity-arts-057", "text": "How do you decide whether an idea is worth turning into something real?", "added": "2026-11-23" + }, + { + "id": "creativity-arts-058", + "text": "Which piece of handwriting, yours or someone else's, feels like a work of art to you?", + "added": "2026-11-30" + }, + { + "id": "creativity-arts-059", + "text": "What is the first thing you create when a blank page feels intimidating?", + "added": "2026-11-30" + }, + { + "id": "creativity-arts-060", + "text": "Which craft have you taught yourself entirely from online videos?", + "added": "2026-11-30" } ] }, @@ -5933,6 +6218,21 @@ "id": "contest-style-058", "text": "What is the quiet difference between being needed and being wanted?", "added": "2026-11-23" + }, + { + "id": "contest-style-059", + "text": "What does it mean to be generous with your time rather than your money?", + "added": "2026-11-30" + }, + { + "id": "contest-style-060", + "text": "How do you decide when a sacrifice was actually worth making?", + "added": "2026-11-30" + }, + { + "id": "contest-style-061", + "text": "What is the quiet difference between ambition and restlessness?", + "added": "2026-11-30" } ] } From 417f81a9c2707a67fe9cf28d50c8b021b5f17aca Mon Sep 17 00:00:00 2001 From: Shuhao Date: Wed, 2 Dec 2026 12:26:20 -0500 Subject: [PATCH 11/14] ci(factory): install WebKit in the build station (master) The same factory-build.yml line as #189 on dev, so the file stays byte-identical on both branches (blob 341daa0). The build station's verify step runs `npm run test:e2e`, which #189 extends with the zoom-webkit Playwright project; without WebKit installed, that project can't launch. --- .github/workflows/factory-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/factory-build.yml b/.github/workflows/factory-build.yml index 3bb88864..341daa0c 100644 --- a/.github/workflows/factory-build.yml +++ b/.github/workflows/factory-build.yml @@ -61,7 +61,7 @@ jobs: npm ci --prefix apps/zoom-app npm ci --prefix apps/web npm ci --prefix apps/table-topics - npx playwright install --with-deps chromium + npx playwright install --with-deps chromium webkit - uses: anthropics/claude-code-action@v1 id: claude if: steps.gate.outputs.issue From 718aae92012145c2b82c5a5927a5264c5385ea9e Mon Sep 17 00:00:00 2001 From: Shuhao Date: Wed, 2 Dec 2026 22:47:35 -0500 Subject: [PATCH 12/14] content(tabletopics): theme tags for the 60 questions of 2026-11-30 Master's newest weekly batch arrived after the tags were written (#166), so the merged tree had 60 questions with no entry in tags.json and validate.test.js failed. 7 tags each, 299 of the 304 distinct tags reused. --- apps/table-topics/content/tags.json | 62 ++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/apps/table-topics/content/tags.json b/apps/table-topics/content/tags.json index 8350846d..eb3a9c61 100644 --- a/apps/table-topics/content/tags.json +++ b/apps/table-topics/content/tags.json @@ -57,6 +57,9 @@ "icebreakers-056": ["identity", "first impression", "assumption", "misunderstanding", "misconception", "quirk", "personality"], "icebreakers-057": ["storytelling", "story", "sentimental", "observation", "keepsake", "object", "possession"], "icebreakers-058": ["humor", "laughter", "connection", "first impression", "joke", "banter", "funny"], + "icebreakers-059": ["risk", "courage", "small win", "success", "comfort zone", "trying new things", "growth"], + "icebreakers-060": ["morning routine", "priorities", "boundaries", "morning", "routine", "habit", "self-care"], + "icebreakers-061": ["quirk", "communication", "personality", "language", "word", "saying", "identity"], "childhood-memories-001": ["play", "nostalgia", "game", "fun", "friendship", "joy"], "childhood-memories-002": ["mentor", "role model", "influence", "neighbor", "teacher", "gratitude"], "childhood-memories-003": ["home", "hometown", "neighborhood", "sensory memory", "street", "nostalgia"], @@ -115,6 +118,9 @@ "childhood-memories-056": ["nostalgia", "home", "familiarity", "observation", "window", "view", "bedroom", "childhood home"], "childhood-memories-057": ["rebellion", "mischief", "independence", "rule", "rule breaking", "disobedience", "secret", "parent"], "childhood-memories-058": ["innocence", "imagination", "belief", "misconception", "childhood", "growing up", "perspective", "truth"], + "childhood-memories-059": ["sound", "neighborhood", "childhood", "nostalgia", "sensory memory", "home", "memory"], + "childhood-memories-060": ["rules", "family", "upbringing", "authority", "tradition", "childhood", "household"], + "childhood-memories-061": ["gift", "birthday", "surprise", "childhood", "joy", "gratitude", "special occasion"], "travel-places-001": ["expectation", "surprise", "travel", "discovery", "perspective", "first impression"], "travel-places-002": ["food", "culture", "travel", "meal", "memory", "hospitality"], "travel-places-003": ["decision", "planning", "vacation", "time off", "preferences", "destination"], @@ -173,6 +179,9 @@ "travel-places-056": ["regret", "missed opportunity", "hindsight", "souvenir", "keepsake", "shopping", "travel"], "travel-places-057": ["serendipity", "culture", "discovery", "surprise", "tradition", "festival", "local custom", "travel"], "travel-places-058": ["coziness", "comfort", "relaxation", "rain", "rainy day", "weather", "city", "travel"], + "travel-places-059": ["airport", "familiarity", "train station", "travel", "transition", "comfort", "journey"], + "travel-places-060": ["hotel", "check in", "settling in", "routine", "comfort", "habit", "travel"], + "travel-places-061": ["road trip", "driving", "reflection", "solitude", "journey", "self-reflection", "scenery"], "work-career-001": ["first job", "learning", "beginnings", "teenager", "work ethic", "lesson"], "work-career-002": ["colleague", "teamwork", "role model", "collaboration", "coworker", "admiration"], "work-career-003": ["decision", "change", "career", "quitting", "resignation", "new chapter"], @@ -231,6 +240,9 @@ "work-career-056": ["recognition", "pride", "reputation", "validation", "praise", "compliment", "kind words", "feedback"], "work-career-057": ["mentor", "teaching", "fundamentals", "expertise", "priorities", "beginner", "basics", "training"], "work-career-058": ["perspective", "judgment", "self-awareness", "resilience", "bad week", "job satisfaction", "burnout", "rough patch"], + "work-career-059": ["bad day", "coping", "resilience", "routine", "stress", "reset", "workday"], + "work-career-060": ["coworker", "small habit", "colleague", "humor", "smile", "workplace", "quirk"], + "work-career-061": ["focus", "meeting", "recovery", "productivity", "time management", "discipline", "attention"], "leadership-001": ["role model", "leadership", "admiration", "mentor", "character", "inspiration"], "leadership-002": ["courage", "decision", "conflict", "conviction", "disagreement", "accountability"], "leadership-003": ["leadership", "authority", "influence", "responsibility", "management", "character"], @@ -289,6 +301,9 @@ "leadership-056": ["trust", "judgment", "credibility", "character", "integrity", "track record", "reliability", "first impression"], "leadership-057": ["accountability", "responsibility", "humility", "ownership", "failure", "team", "blame", "self-reflection"], "leadership-058": ["patience", "role model", "influence", "calm", "admiration", "mentor", "parent", "teacher"], + "leadership-059": ["decision-making", "urgency", "judgment", "pressure", "timing", "leadership", "risk"], + "leadership-060": ["leadership", "humor", "quiet leadership", "influence", "informal leadership", "example", "funny story"], + "leadership-061": ["trust", "leadership", "first time", "responsibility", "beginnings", "stepping up", "confidence"], "technology-001": ["dependence", "essentials", "gadget", "smartphone", "minimalism", "must-have"], "technology-002": ["routine", "morning", "smartphone", "habit", "alarm clock", "daily ritual"], "technology-003": ["open-mindedness", "adaptation", "resistance to change", "new gadget", "early skeptic", "conversion"], @@ -347,6 +362,9 @@ "technology-056": ["convenience", "simplicity", "surprise", "gadget", "errand", "shopping", "life hack", "game changer"], "technology-057": ["habit", "routine", "change", "nostalgia", "adaptation", "progress", "technology", "obsolete"], "technology-058": ["mindfulness", "boundaries", "attention", "priorities", "screen time", "evening", "digital detox", "discipline"], + "technology-059": ["expertise", "confidence", "mastery", "skill", "technology", "gadget", "pride"], + "technology-060": ["teaching", "elder", "patience", "phone", "smartphone", "generational gap", "family"], + "technology-061": ["clutter", "privacy", "organization", "explanation", "secret", "nostalgia", "technology"], "food-drink-001": ["home", "nostalgia", "comfort food", "family recipe", "mother", "homesickness"], "food-drink-002": ["memory", "nostalgia", "unforgettable meal", "restaurant", "special occasion", "delicious"], "food-drink-003": ["learning", "kitchen", "cooking", "self-reliance", "avoidance", "beginner cook"], @@ -405,6 +423,9 @@ "food-drink-056": ["creativity", "resourcefulness", "simplicity", "constraint", "ingredient", "cooking", "improvisation", "minimalism"], "food-drink-057": ["guilty pleasure", "secret", "authenticity", "embarrassment", "flavor", "taste", "food", "indulgence"], "food-drink-058": ["judgment", "standards", "first impression", "taste", "flavor", "seasoning", "food critic", "palate"], + "food-drink-059": ["cooking", "surprise", "pride", "achievement", "kitchen", "meal", "creativity"], + "food-drink-060": ["family", "rules", "tradition", "dinner", "etiquette", "manners", "habit"], + "food-drink-061": ["hospitality", "guest", "resourcefulness", "improvisation", "cooking", "last minute", "spontaneity"], "hypotheticals-001": ["nostalgia", "second chance", "ordinary day", "time travel", "savoring", "memory lane"], "hypotheticals-002": ["freedom", "priorities", "financial security", "universal basic income", "sabbatical", "purpose"], "hypotheticals-003": ["learning", "language", "wish", "communication", "fluency", "travel"], @@ -463,6 +484,9 @@ "hypotheticals-056": ["self-improvement", "self-awareness", "discipline", "change", "growth", "habit", "bad habit", "resolution"], "hypotheticals-057": ["community", "belonging", "imagination", "design", "neighborhood", "neighbor", "urban planning", "utopia"], "hypotheticals-058": ["peace", "annoyance", "silence", "calm", "sound", "noise", "pet peeve"], + "hypotheticals-059": ["digital detox", "simplicity", "phone", "writing", "habit", "change", "unplugging"], + "hypotheticals-060": ["empathy", "emotion", "mood", "understanding", "superpower", "communication", "kindness"], + "hypotheticals-061": ["delegation", "time management", "priorities", "fantasy", "sibling", "chore", "productivity"], "would-you-rather-001": ["home", "nature", "sea", "mountain", "lifestyle", "where to live"], "would-you-rather-002": ["priorities", "time", "money", "balance", "work-life balance", "wealth"], "would-you-rather-003": ["superpower", "flight", "invisibility", "freedom", "power", "fantasy"], @@ -521,6 +545,9 @@ "would-you-rather-056": ["planning", "preparation", "spontaneity", "flexibility", "control", "winging it", "improvisation"], "would-you-rather-057": ["humor", "identity", "personality", "direction", "navigation", "getting lost", "laughter", "wit"], "would-you-rather-058": ["sacrifice", "discipline", "willpower", "habit", "health", "sweets", "caffeine", "coffee"], + "would-you-rather-059": ["sound", "voice", "communication", "quiet", "noise", "annoyance", "humor"], + "would-you-rather-060": ["convenience", "exercise", "building", "habit", "transportation", "trade-off", "limits"], + "would-you-rather-061": ["home", "house", "window", "doorway", "openness", "design", "preference"], "quotes-proverbs-001": ["perseverance", "patience", "consistency", "race", "determination", "tortoise and hare"], "quotes-proverbs-002": ["integrity", "trust", "action", "character", "promise", "role model"], "quotes-proverbs-003": ["routine", "morning", "productivity", "early bird", "discipline", "night owl"], @@ -579,6 +606,9 @@ "quotes-proverbs-056": ["opportunity", "timing", "decisiveness", "initiative", "risk", "carpe diem", "quick decision", "momentum"], "quotes-proverbs-057": ["preparation", "prevention", "foresight", "caution", "planning", "worry", "backup plan", "emergency"], "quotes-proverbs-058": ["momentum", "change", "freedom", "restlessness", "stagnation", "staying active", "keep moving", "wanderlust"], + "quotes-proverbs-059": ["productivity", "boredom", "temptation", "trouble", "discipline", "self-control", "work ethic"], + "quotes-proverbs-060": ["home", "comfort", "belonging", "happy place", "sanctuary", "security", "familiarity"], + "quotes-proverbs-061": ["family", "parent", "personality", "heritage", "identity", "inheritance", "upbringing"], "storytelling-001": ["kindness", "gratitude", "generosity", "stranger", "good deed", "pay it forward"], "storytelling-002": ["generosity", "gift", "thoughtfulness", "surprise", "giving", "present"], "storytelling-003": ["getting lost", "adventure", "travel", "navigation", "detour", "trip gone wrong"], @@ -637,6 +667,9 @@ "storytelling-056": ["white lie", "honesty", "embarrassment", "close call", "deception", "fib", "truth"], "storytelling-057": ["favor", "odd request", "helping", "saying yes", "generosity", "kindness"], "storytelling-058": ["risk", "courage", "hesitation", "cold feet", "leap", "fear", "opportunity"], + "storytelling-059": ["teaching", "hobby", "patience", "funny story", "sharing", "passion", "mishap"], + "storytelling-060": ["decision", "serendipity", "small gesture", "unexpected", "consequence", "story", "turning point"], + "storytelling-061": ["gift", "mistake", "mix-up", "sentimental", "generosity", "funny story", "keepsake"], "persuasion-001": ["cooking", "life skill", "self-reliance", "kitchen", "food", "meal"], "persuasion-002": ["morning", "routine", "productivity", "sunrise", "early bird", "day start"], "persuasion-003": ["handwritten note", "communication", "thoughtfulness", "writing", "letter", "gratitude"], @@ -695,6 +728,9 @@ "persuasion-056": ["small talk", "conversation", "conversation starter", "asking questions", "networking", "preparation", "awkward silence"], "persuasion-057": ["scenic route", "detour", "commute", "journey", "slow down", "savoring", "beauty"], "persuasion-058": ["letter", "handwriting", "snail mail", "thank-you note", "thoughtfulness", "keepsake", "connection"], + "persuasion-059": ["community", "neighborhood", "public space", "conversation", "connection", "loneliness", "togetherness"], + "persuasion-060": ["magic", "practice", "skill", "friendship", "encouragement", "hobby", "mastery"], + "persuasion-061": ["minimalism", "simplicity", "clutter", "home", "freedom", "household", "mindset"], "seasons-celebrations-001": ["season", "nature", "energy", "outdoors", "vitality", "favorite time of year"], "seasons-celebrations-002": ["spring", "warm weather", "celebration", "outdoors", "ritual", "sunshine"], "seasons-celebrations-003": ["new year", "family", "tradition", "celebration", "resolution", "fresh start"], @@ -753,6 +789,9 @@ "seasons-celebrations-056": ["to-do list", "preparation", "planning", "priorities", "hosting", "party", "celebration"], "seasons-celebrations-057": ["favorite season", "season", "season change", "arrival", "enthusiasm", "excitement", "joy"], "seasons-celebrations-058": ["long distance", "tradition", "connection", "family", "friendship", "video call"], + "seasons-celebrations-059": ["holiday", "leftovers", "food", "anticipation", "comfort food", "tradition", "guilty pleasure"], + "seasons-celebrations-060": ["season change", "season", "autumn", "perception", "transition", "spring", "weather"], + "seasons-celebrations-061": ["new year", "planning", "resolution", "fresh start", "beginnings", "goal", "anticipation"], "humor-001": ["embarrassment", "public", "funny story", "laughter", "awkward moment", "humor"], "humor-002": ["habit", "quirk", "self-awareness", "strange", "funny", "alien"], "humor-003": ["excuse", "honesty", "embarrassment", "regret", "humor", "white lie"], @@ -811,6 +850,9 @@ "humor-056": ["mirror", "rehearsal", "practice", "preparation", "confidence", "embarrassment", "self-image"], "humor-057": ["household", "lost property", "keys", "remote control", "annoyance", "mystery", "forgetfulness"], "humor-058": ["argument", "inner conflict", "self-talk", "indecision", "inner voice", "rationalization", "silly"], + "humor-059": ["stranger", "avoidance", "awkward moment", "embarrassment", "silly", "social anxiety", "funny story"], + "humor-060": ["errand", "competition", "chore", "humor", "quirk", "shopping", "everyday task"], + "humor-061": ["drama", "good news", "exaggeration", "celebration", "personality", "humor", "sharing"], "dilemmas-001": ["honesty", "gift", "tact", "friendship", "politeness", "white lie"], "dilemmas-002": ["honesty", "integrity", "money", "stranger", "ethics", "doing the right thing"], "dilemmas-003": ["honesty", "friendship", "courage", "difficult conversation", "tact", "hard truth"], @@ -869,6 +911,9 @@ "dilemmas-056": ["bad idea", "friendship", "honesty", "support", "encouragement", "tact", "reality check"], "dilemmas-057": ["interrupting", "listening", "patience", "manners", "tact", "repeated story", "conversation"], "dilemmas-058": ["taking sides", "loyalty", "neutrality", "diplomacy", "conflict", "feud", "friendship"], + "dilemmas-059": ["honesty", "tact", "friendship", "feedback", "hard truth", "encouragement", "judgment"], + "dilemmas-060": ["promise", "memory", "accountability", "keeping your word", "integrity", "responsibility", "forgetfulness"], + "dilemmas-061": ["friendship", "generosity", "bill", "forgetfulness", "money", "fairness", "etiquette"], "learning-growth-001": ["adult learning", "self-improvement", "regret", "new skill", "late bloomer", "hobby"], "learning-growth-002": ["mistake", "failure", "resilience", "lesson learned", "trial and error", "hindsight"], "learning-growth-003": ["feedback", "criticism", "humility", "openness", "unsolicited advice", "constructive criticism"], @@ -927,6 +972,9 @@ "learning-growth-056": ["regret", "practice", "lost skills", "hobby", "instrument", "language", "second chance"], "learning-growth-057": ["teaching", "mastery", "mentor", "readiness", "confidence", "learning", "giving back"], "learning-growth-058": ["failure", "setback", "silver lining", "life lesson", "resilience", "success", "year-end"], + "learning-growth-059": ["new skill", "hobby", "curiosity", "play", "joy", "lifelong learning", "passion"], + "learning-growth-060": ["plateau", "mastery", "improvement", "self-awareness", "progress", "acceptance", "expertise"], + "learning-growth-061": ["lesson", "stranger", "perspective", "wisdom", "work", "life lesson", "insight"], "nature-outdoors-001": ["animal", "kinship", "pet", "identity", "wildlife", "spirit animal"], "nature-outdoors-002": ["scenic place", "nature", "beauty", "awe", "landscape", "travel"], "nature-outdoors-003": ["outdoors", "mood", "wellbeing", "fresh air", "mental health", "nature"], @@ -985,6 +1033,9 @@ "nature-outdoors-056": ["sound", "childhood", "nostalgia", "innocence", "sensory memory", "birdsong", "summer"], "nature-outdoors-057": ["redevelopment", "urban sprawl", "green space", "happy place", "loss", "nostalgia", "conservation"], "nature-outdoors-058": ["sunrise", "morning", "sleeping in", "early bird", "rest", "priorities", "wonder"], + "nature-outdoors-059": ["plant", "admiration", "weed", "nature", "garden", "resilience", "appreciation"], + "nature-outdoors-060": ["swimming", "water", "lake", "ocean", "comfort", "fear", "preference"], + "nature-outdoors-061": ["morning", "sound", "birdsong", "nature", "outdoors", "mindfulness", "ritual"], "habits-routines-001": ["morning routine", "habit", "mornings", "beginnings", "daily ritual", "early riser"], "habits-routines-002": ["evening ritual", "routine", "wind down", "closure", "comfort", "night"], "habits-routines-003": ["motivation", "procrastination", "morning", "discipline", "getting started", "momentum"], @@ -1043,6 +1094,9 @@ "habits-routines-056": ["habit", "integrity", "character", "authenticity", "intrinsic motivation", "values", "self-respect"], "habits-routines-057": ["routine disruption", "bad day", "chaos", "stress", "priorities", "self-care", "coping"], "habits-routines-058": ["morning", "waking up", "snooze button", "motivation", "self-talk", "perseverance", "discipline"], + "habits-routines-059": ["weekday", "weekend", "routine", "small habit", "work-life balance", "schedule", "boundaries"], + "habits-routines-060": ["pet", "plant", "routine", "responsibility", "habit", "daily ritual", "household"], + "habits-routines-061": ["roommate", "partner", "influence", "habit", "example", "relationship", "autopilot"], "creativity-arts-001": ["music", "song", "mood", "emotion", "favorite song", "playlist"], "creativity-arts-002": ["handmade", "craft", "diy", "making", "hands-on", "project"], "creativity-arts-003": ["creativity", "role model", "inspiration", "innovation", "originality", "admiration"], @@ -1100,6 +1154,9 @@ "creativity-arts-055": ["anxiety", "coping", "creative outlet", "stress relief", "art therapy", "journaling", "self-care"], "creativity-arts-056": ["music", "song", "songwriting", "masterpiece", "admiration", "inspiration", "envy"], "creativity-arts-057": ["idea", "side project", "follow-through", "judgment", "initiative", "innovation", "ambition"], + "creativity-arts-058": ["handwriting", "art", "beauty", "writing", "craftsmanship", "personality", "appreciation"], + "creativity-arts-059": ["blank page", "creative process", "getting started", "fear", "creativity", "writing", "beginnings"], + "creativity-arts-060": ["craft", "self-taught", "self-teaching", "diy", "handmade", "technology", "hobby"], "contest-style-001": ["courage", "bravery", "everyday life", "fear", "resilience", "character"], "contest-style-002": ["priorities", "time", "values", "decision", "time management", "worth"], "contest-style-003": ["productivity", "busyness", "priorities", "time management", "effectiveness", "focus"], @@ -1157,5 +1214,8 @@ "contest-style-055": ["hardship", "silver lining", "perspective", "gratitude", "resilience", "self-reflection", "year-end", "new year"], "contest-style-056": ["humility", "success", "ego", "pride", "staying grounded", "achievement", "gratitude"], "contest-style-057": ["past", "memory lane", "looking back", "nostalgia", "self-reflection", "closure", "letting go"], - "contest-style-058": ["belonging", "love", "self-worth", "relationship", "obligation", "feeling valued", "acceptance"] + "contest-style-058": ["belonging", "love", "self-worth", "relationship", "obligation", "feeling valued", "acceptance"], + "contest-style-059": ["generosity", "time", "money", "giving", "values", "priorities", "presence"], + "contest-style-060": ["sacrifice", "regret", "decision", "hindsight", "values", "commitment", "trade-off"], + "contest-style-061": ["ambition", "restlessness", "contentment", "motivation", "purpose", "self-awareness", "satisfaction"] } From 4622f929927e45c9c9c7ccce7a258dabd8a5928c Mon Sep 17 00:00:00 2001 From: Shuhao Date: Wed, 2 Dec 2026 22:47:35 -0500 Subject: [PATCH 13/14] test(tabletopics): the abstract-theme test allows a question that says "second chance" It expected no keyword match at all for "second chances", which held on dev's 919 questions and broke on master's contest-style-048. It now checks that text alone cannot fill a list and that tags find more than text does. --- apps/table-topics/test/themeMatch.test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/table-topics/test/themeMatch.test.js b/apps/table-topics/test/themeMatch.test.js index e0dfee14..bc5a2b8f 100644 --- a/apps/table-topics/test/themeMatch.test.js +++ b/apps/table-topics/test/themeMatch.test.js @@ -74,7 +74,10 @@ describe('quick match with theme tags', () => { it('finds abstract themes the text rarely names: a full list for gratitude and second chances', () => { expect(shortlist('gratitude', {}).filter((q) => q.source !== 'general').length).toBeLessThan(SHORTLIST_SIZE); expect(shortlist('gratitude').every((q) => q.source === 'tag')).toBe(true); - expect(shortlist('second chances', {}).filter((q) => q.source !== 'general')).toEqual([]); + // The wording may name "second chance" in a question or two, but never enough to fill a list. + const byText = shortlist('second chances', {}).filter((q) => q.source !== 'general'); + expect(byText.length).toBeLessThan(SHORTLIST_SIZE); + expect(shortlist('second chances').filter((q) => q.source === 'tag').length).toBeGreaterThan(byText.length); expect(shortlist('second chances').filter((q) => q.source === 'tag').length).toBeGreaterThanOrEqual(5); }); From 51f5e9277afb36c4f3385029a7ab8374c6b2cbc0 Mon Sep 17 00:00:00 2001 From: Shuhao Date: Wed, 2 Dec 2026 22:52:30 -0500 Subject: [PATCH 14/14] fix(agenda): the paste box no longer loses speakers without saying so Two layouts dropped people on import, and the dialog only said "Found N speakers": - "1st Speaker - Sarah Chen" (a counted role, a spaced hyphen, a name) was taken for a role line with no name, so four such lines gave one garbled row. A hyphen beside a space now sets the two parts apart, as a colon does. A hyphen inside a word ("Table-Topics") is still the role's own. - A role alone on its line still takes one name: a second name under it cannot be told from a speech's title. The reader now counts the lines it took nothing from, the line under the box ends "N lines not used.", and "Add each line as a speaker" is offered there too, not only for a text it cannot read. agenda-import.md: reviewed, no step moves; unit tests stand in (no Zoom-only surface). --- apps/web/src/components/AgendaTab.jsx | 4 +- apps/zoom-app/src/hooks/useAgendaEditor.js | 4 +- e2e/zoom-client/agenda-import.md | 13 ++++ .../shared/__tests__/agendaReader.test.js | 72 ++++++++++++++++++- packages/shared/agendaReader.js | 30 +++++--- packages/ui/AgendaImport.jsx | 22 ++++-- packages/ui/AgendaImport.test.jsx | 20 ++++++ 7 files changed, 146 insertions(+), 19 deletions(-) diff --git a/apps/web/src/components/AgendaTab.jsx b/apps/web/src/components/AgendaTab.jsx index fa7c6468..1052a2ae 100644 --- a/apps/web/src/components/AgendaTab.jsx +++ b/apps/web/src/components/AgendaTab.jsx @@ -94,10 +94,10 @@ export default memo(function AgendaTab({ onSwitchToLive }) { // AI read or an upload. The web session is a cookie, so the read needs no token. const aiAccess = useAgendaAiAccess(); const matchImport = useCallback((text) => { - const { ok, items, leftOut } = readAgendaText(text, roleOptions); + const { ok, items, leftOut, unused } = readAgendaText(text, roleOptions); // Counted the way importAgendaText will store the rows: the role the agenda names, else the role as written. const needs = (item) => agendaItemNeedsRole({ role: item.role ?? item.roleText ?? '' }, roleOptions); - return { recognised: ok, count: items.length, needsRole: items.filter(needs).length, leftOut }; + return { recognised: ok, count: items.length, needsRole: items.filter(needs).length, leftOut, unused }; }, [roleOptions]); // A row the Worker read has a role only when it names one of this user's roles. const readRowNeedsRole = useCallback((item) => !roleOptions.includes(item.role), [roleOptions]); diff --git a/apps/zoom-app/src/hooks/useAgendaEditor.js b/apps/zoom-app/src/hooks/useAgendaEditor.js index 11e9d09a..322ffefa 100644 --- a/apps/zoom-app/src/hooks/useAgendaEditor.js +++ b/apps/zoom-app/src/hooks/useAgendaEditor.js @@ -96,10 +96,10 @@ export function useAgendaEditor({ onSwitchToLive } = {}) { const aiAccess = useAgendaAiAccess(); const matchImport = useCallback( (text) => { - const { ok, items, leftOut } = readAgendaText(text, roleOptions); + const { ok, items, leftOut, unused } = readAgendaText(text, roleOptions); // Counted the way importAgendaText will store the rows: the role the agenda names, else the role as written. const needs = (item) => agendaItemNeedsRole({ role: item.role ?? item.roleText ?? '' }, roleOptions); - return { recognised: ok, count: items.length, needsRole: items.filter(needs).length, leftOut }; + return { recognised: ok, count: items.length, needsRole: items.filter(needs).length, leftOut, unused }; }, [roleOptions] ); diff --git a/e2e/zoom-client/agenda-import.md b/e2e/zoom-client/agenda-import.md index aceff715..635797a3 100644 --- a/e2e/zoom-client/agenda-import.md +++ b/e2e/zoom-client/agenda-import.md @@ -434,6 +434,19 @@ demo table: "Found 9 speakers. 9 need a role: you pick it after import. 5 left o does not time those roles."). `verified_at` stays where it was: the next real-client run of this spec (the release check lists it) covers IM-02, IM-07, IM-14 and IM-15. +Reviewed 2026-12-02 (fix/pre-master-blockers, lost speakers): the reader no longer takes +"1st Speaker - Sarah Chen" (a counted role, a spaced hyphen, a name) for a role line with no +name, so such lines read as their colon form does; and it counts the lines it took nothing from +and does not know for a header, a time or a speech's details (a second name under a role line, +a line of notes). When that count is above zero the line under the box ends "N line(s) not +used." and the dialog offers "Add each line as a speaker" under it, as it does for a text it +cannot read. A role line still takes one name. No step's paste has such a line (IM-02, IM-07, +IM-14 and IM-15 read with none unused), so no Do or Expect moves. Logic only, no Zoom-only +surface: not run in the real client. Stand-ins: `agendaReader.test.js` ("a counted role and a +name set apart by a spaced hyphen", "lines it takes nothing from") and `AgendaImport.test.jsx` +("says how many lines it did not use…"); the Playwright pastes in +`e2e/zoom.agenda-import.spec.js` and `e2e/web.agenda-import.spec.js` assert unchanged lines. + ## Not covered - Custom roles that come from Club Pro presets, or from older saved rules with no role order. The PR now covers these too (`customRoleNames` comes from the dropdown, not from diff --git a/packages/shared/__tests__/agendaReader.test.js b/packages/shared/__tests__/agendaReader.test.js index 0cbbeaef..7cb7d824 100644 --- a/packages/shared/__tests__/agendaReader.test.js +++ b/packages/shared/__tests__/agendaReader.test.js @@ -17,7 +17,7 @@ const OWN_ONLY = ['Speech 5-7', 'Evaluation', 'General Evaluator', 'Grammarian', /** What a text reads as: [name, role, role as written] per row. */ const rows = (text, roles = BUILT_INS, options) => readAgendaText(text, roles, options).items.map((item) => [item.name, item.role, item.roleText]); const names = (text, roles = BUILT_INS) => readAgendaText(text, roles).items.map((item) => item.name); -const NOTHING = { ok: false, items: [], leftOut: 0 }; +const NOTHING = { ok: false, items: [], leftOut: 0, unused: 0 }; describe('readAgendaText: the role a row gets', () => { it('is the role in the user\'s list with the name the agenda uses, and no other', () => { @@ -83,6 +83,7 @@ describe('readAgendaText: the role a row gets', () => { ok: true, items: [{ name: 'Alice', role: '1st Speaker', roleText: '1st Speaker' }], leftOut: 0, + unused: 0, }); }); }); @@ -123,6 +124,7 @@ describe('readAgendaText: one speaker per line, the role in brackets', () => { expect(readAgendaText(LINES_DEMO, BUILT_INS)).toEqual({ ok: true, leftOut: 0, + unused: 0, items: [ { name: 'Sarah Chen', role: 'Ice Breaker', roleText: 'Ice Breaker' }, { name: 'James Wilson', role: 'Standard Speech', roleText: 'Standard Speech' }, @@ -323,6 +325,7 @@ describe('readAgendaText: one speaker per line, the role set off by anything els expect(readAgendaText('Alice Johnson\nBob\n\nCarol - Ice Breaker', BUILT_INS)).toEqual({ ok: true, leftOut: 0, + unused: 0, items: [ { name: 'Alice Johnson', role: null, roleText: '' }, { name: 'Bob', role: null, roleText: '' }, @@ -362,6 +365,7 @@ describe('readAgendaText: a table of roles and names', () => { expect(readAgendaText(TABLE_DEMO, BUILT_INS)).toEqual({ ok: true, leftOut: 5, + unused: 0, items: [ { name: 'Priya Sharma', role: null, roleText: 'Grammarian' }, { name: 'Sarah Chen', role: null, roleText: '1st Speaker' }, @@ -396,6 +400,7 @@ describe('readAgendaText: a table of roles and names', () => { expect(readAgendaText(table, BUILT_INS)).toEqual({ ok: true, leftOut: 1, + unused: 0, items: [ { name: 'Bob', role: null, roleText: 'Speaker 1' }, { name: 'Carol', role: null, roleText: 'Speaker 2' }, @@ -631,6 +636,7 @@ describe('readAgendaText: roles the timer does not time', () => { ok: true, items: [{ name: 'G', role: null, roleText: 'Ah Counter' }], leftOut: 6, + unused: 0, }); }); @@ -645,6 +651,7 @@ describe('readAgendaText: roles the timer does not time', () => { { name: 'F', role: null, roleText: '1st Speaker' }, ], leftOut: 2, + unused: 0, }); }); @@ -658,12 +665,14 @@ describe('readAgendaText: roles the timer does not time', () => { ok: true, items: [{ name: 'Bob', role: 'Ice Breaker', roleText: 'Ice Breaker' }], leftOut: 1, + unused: 0, }); expect(readAgendaText('Timer: Sam\nBob - Ice Breaker\nKim | sergeant at arms', BUILT_INS)).toMatchObject({ items: [{ name: 'Bob' }], leftOut: 2 }); expect(readAgendaText('Timer\nShuhao Zhang\nGrammarian\nPriya Sharma', BUILT_INS)).toEqual({ ok: true, items: [{ name: 'Priya Sharma', role: null, roleText: 'Grammarian' }], leftOut: 1, + unused: 0, }); expect(readAgendaText('Rachel (Toastmaster)\nBob (Ice Breaker)', [...BUILT_INS, 'Toastmaster']).items.map((item) => item.role)).toEqual(['Toastmaster', 'Ice Breaker']); }); @@ -676,7 +685,66 @@ describe('readAgendaText: roles the timer does not time', () => { }); it('reads nobody from a text that has only such rows, and says what it left out', () => { - expect(readAgendaText('Toastmaster\tRachel Adams\nTimer\tSam Lee', BUILT_INS)).toEqual({ ok: true, items: [], leftOut: 2 }); + expect(readAgendaText('Toastmaster\tRachel Adams\nTimer\tSam Lee', BUILT_INS)).toEqual({ ok: true, items: [], leftOut: 2, unused: 0 }); + }); +}); + +describe('readAgendaText: a counted role and a name set apart by a spaced hyphen', () => { + const ROLES_SEEN = ['Standard Speech', 'Ice Breaker', 'Table Topics Speech', 'Speech Evaluation', 'General Evaluation', 'Table Topics Master']; + const LINES = ['1st Speaker - Sarah Chen', '2nd Speaker - James Wilson', '1st Evaluator - Emily Brown', 'Grammarian - Priya Sharma']; + + it('reads each line as the colon form reads it, and loses nobody', () => { + const colon = LINES.map((line) => line.replace(' - ', ': ')).join('\n'); + expect(readAgendaText(LINES.join('\n'), ROLES_SEEN)).toEqual(readAgendaText(colon, ROLES_SEEN)); + expect(rows(LINES.join('\n'), ROLES_SEEN)).toEqual([ + ['Sarah Chen', null, '1st Speaker'], + ['James Wilson', null, '2nd Speaker'], + ['Emily Brown', null, '1st Evaluator'], + ['Priya Sharma', null, 'Grammarian'], + ]); + }); + + it('reads the name first the same way, with the number before or after the role', () => { + expect(rows('Sarah Chen - 1st Speaker\nJames Wilson - Speaker 2')).toEqual([ + ['Sarah Chen', null, '1st Speaker'], + ['James Wilson', null, 'Speaker 2'], + ]); + }); + + it('still reads a counted role with a hyphen inside its own name', () => { + expect(rows('1st Table-Topics Speaker\nPat Lee\nWord-Master 2\nSam Lee')).toEqual([ + ['Pat Lee', null, '1st Table-Topics Speaker'], + ['Sam Lee', null, 'Word-Master 2'], + ]); + }); +}); + +describe('readAgendaText: lines it takes nothing from', () => { + it('counts a line that is no row, no name under a role and no detail of a row', () => { + // A role heading takes one name: Bob Ray, on the next line, is not used, and the count says so. + const text = ['Ice Breaker', 'Sarah Chen', 'Table Topics Speech', 'Ann Lee', 'Bob Ray', 'General Evaluation', 'Michael Lee'].join('\n'); + expect(readAgendaText(text, BUILT_INS)).toEqual({ + ok: true, + items: [ + { name: 'Sarah Chen', role: 'Ice Breaker', roleText: 'Ice Breaker' }, + { name: 'Ann Lee', role: 'Table Topics Speech', roleText: 'Table Topics Speech' }, + { name: 'Michael Lee', role: 'General Evaluation', roleText: 'General Evaluation' }, + ], + leftOut: 0, + unused: 1, + }); + expect(readAgendaText(['1st Speaker', 'Sarah Chen', 'My Journey', 'A talk about moving'].join('\n'), BUILT_INS).unused).toBe(2); + }); + + it('does not count the lines it knows: headers, untimed rows, role lines, a speech\'s details', () => { + expect(readAgendaText(TABLE_DEMO, BUILT_INS).unused).toBe(0); + expect(readAgendaText('Actual Meeting Roles\nRole\tCL\tPresenter\n1st Speaker\t\tSarah Chen', BUILT_INS).unused).toBe(0); + expect(readAgendaText('Grammarian\nToastmaster\nRachel\n1st Speaker\nAlice\n(5:00-7:00 min)\nDeliver a speech that does a thing', BUILT_INS).unused).toBe(0); + }); + + it('counts none in a list of speakers, where every line is a row', () => { + expect(readAgendaText(LINES_DEMO, BUILT_INS).unused).toBe(0); + expect(readAgendaText('Bob (Ice Breaker)\n(4-6 min)\nCarol (Standard Speech)', BUILT_INS).unused).toBe(0); }); }); diff --git a/packages/shared/agendaReader.js b/packages/shared/agendaReader.js index 87df2a4f..93988775 100644 --- a/packages/shared/agendaReader.js +++ b/packages/shared/agendaReader.js @@ -59,6 +59,9 @@ const TRAILING_NUMBER = /^\p{L}[\p{L}\p{N} '&-]*\s#?\d{1,2}$/u; // What follows the number of any other counted role: a few plain words, with // no mark among them ("3rd Table Topics Speaker", not "1st Speaker: Alice"). const SLOT_WORDS = /^\p{L}[\p{L}\p{N} '&-]*$/u; +// A hyphen beside a space sets two parts apart ("1st Speaker - Sarah Chen"): no +// slot is worded with one. A hyphen inside a word ("Table-Topics") is the role's own. +const SPACED_HYPHEN = /\s-|-\s/; // A length in brackets ("4-6 min", "5:00-7:00 min", "3 min"): not a role. const LENGTH = /^\d+(?::\d+)?\s*(?:(?:-|–|—|to)\s*\d+(?::\d+)?\s*)?min(?:ute)?s?\.?$/i; // Words of the lines that describe a speech, under its speaker's row. @@ -71,7 +74,7 @@ const HEAD_OTHER = new Set(['cl', 'time', 'length', 'notes', 'duration', 'min', const SEPARATORS = new Set([':', '|', ';', ',', '/', '\\', '+', '*', '=', '<', '>', '~', '·', '•', '→', '–', '—', '[', ']', '{', '}', '(', ')', '\t']); const isGap = (ch) => ch === ' ' || ch === '-' || SEPARATORS.has(ch); -const nothing = () => ({ ok: false, items: [], leftOut: 0 }); +const nothing = () => ({ ok: false, items: [], leftOut: 0, unused: 0 }); /** * Whether a line holds a Pathways project reference, "( ... #1 ... )": an @@ -196,9 +199,9 @@ function roleBook(roleNames) { if (KNOWN_KEYS.has(key)) return 'known'; if (rest !== text) { if (key === 'speaker' || key === 'evaluator') return 'signature'; - return SLOT_WORDS.test(rest) && rest.split(' ').length <= 6 ? 'slot' : null; + return SLOT_WORDS.test(rest) && !SPACED_HYPHEN.test(rest) && rest.split(' ').length <= 6 ? 'slot' : null; } - return TRAILING_NUMBER.test(text) && text.split(' ').length <= 6 ? 'slot' : null; + return TRAILING_NUMBER.test(text) && !SPACED_HYPHEN.test(text) && text.split(' ').length <= 6 ? 'slot' : null; }; /** Whether a row with this role is left out: untimed, and no role of the user's has the name. */ const untimed = (roleText) => !named(roleText) && UNTIMED_KEYS.has(roleKey(roleText.replace(ORDINAL, ''))); @@ -374,10 +377,15 @@ function tableOf(shapes) { * or a role alone on its line with the name on a line under it. Every other * line describes the row above it (a speech's title, its project, the people * who evaluated the speaker before) and is passed over. + * + * `unused` counts the lines it took nothing from and does not know for a + * speech's details, a time or a header: a second name under a role line, a + * line of notes. The user is told, and can add each line as a speaker. */ function readTable(shapes, book, table) { const items = []; let leftOut = 0; + let unused = 0; // The role of a role line that has no name yet. let pending = null; const add = (roleText, name) => { @@ -423,9 +431,12 @@ function readTable(shapes, book, table) { if (pending !== null && canBeName(shape, table)) { add(pending, shape.text); pending = null; + } else if (!describesRow(shape.text) && !describesSpeech(shape.text) && !hasClockTime(shape.text) && lineRow(shape, i, book)) { + // Not a time, nor only a length or a project in brackets: a line nobody was read from. + unused += 1; } } - return { items, leftOut }; + return { items, leftOut, unused }; } // --------------------------------------------------------------------------- @@ -594,7 +605,8 @@ function readLines(allShapes, book, { everyLine = false } = {}) { if (!everyLine && row.how !== 'plain' && book.untimed(row.roleText)) leftOut += 1; else items.push(book.item(row.name, row.roleText)); } - return { items, leftOut }; + // Every line is a row here, or only a length or a project in brackets. + return { items, leftOut, unused: 0 }; } // --------------------------------------------------------------------------- @@ -606,7 +618,9 @@ function readLines(allShapes, book, { everyLine = false } = {}) { * `{name, role, roleText}`: `role` is the entry of `roleNames` the agenda * names for that row, or null; `roleText` is the role as the agenda words it * ('' when it gives none). `leftOut` counts the rows left out because the - * timer does not time their role. `ok` is false, with no items, when the + * timer does not time their role. `unused` counts the lines no row was read + * from that the reader does not know for a header, a time or a speech's + * details (readTable). `ok` is false, with no items, when the * reader cannot tell the rows of the text. * * `strict` is for a text nobody is looking at: an uploaded file's, in the @@ -619,7 +633,7 @@ function readLines(allShapes, book, { everyLine = false } = {}) { * @param {string} text * @param {string[]} [roleNames] * @param {{strict?: boolean}} [options] - * @returns {{ok: boolean, items: Array<{name: string, role: string|null, roleText: string}>, leftOut: number}} + * @returns {{ok: boolean, items: Array<{name: string, role: string|null, roleText: string}>, leftOut: number, unused: number}} */ export function readAgendaText(text, roleNames = [], { strict = false } = {}) { const book = roleBook(roleNames); @@ -636,7 +650,7 @@ export function readAgendaText(text, roleNames = [], { strict = false } = {}) { const withRole = read.items.filter((item) => item.role).length; if (withRole === 0 || withRole * 2 < read.items.length || shapes.some((shape) => hasClockTime(shape.text))) return nothing(); } - return { ok: true, items: read.items, leftOut: read.leftOut }; + return { ok: true, items: read.items, leftOut: read.leftOut, unused: read.unused }; } /** diff --git a/packages/ui/AgendaImport.jsx b/packages/ui/AgendaImport.jsx index 89157a76..9d7b8a4f 100644 --- a/packages/ui/AgendaImport.jsx +++ b/packages/ui/AgendaImport.jsx @@ -20,13 +20,14 @@ import { useCallback, useId, useMemo, useRef, useState } from 'react'; const plural = (count) => `${count} ${count === 1 ? 'speaker' : 'speakers'}`; -const NOTHING_FOUND = { recognised: false, count: 0, needsRole: 0, leftOut: 0 }; +const NOTHING_FOUND = { recognised: false, count: 0, needsRole: 0, leftOut: 0, unused: 0 }; /** * @typedef {Object} AgendaImportOptions - * @property {(text: string) => {recognised: boolean, count: number, needsRole: number, leftOut: number}} match - + * @property {(text: string) => {recognised: boolean, count: number, needsRole: number, leftOut: number, unused?: number}} match - * whether the reader can tell the rows of a text, how many speakers it holds, how many of them - * need a role, and how many rows it leaves out (roles the timer does not time) + * need a role, how many rows it leaves out (roles the timer does not time), and how many lines + * it took nothing from * @property {(text: string) => {count: number, needsRole: number}} importText - add a text `match` recognised * @property {(text: string) => {count: number, needsRole: number}} importLines - add every line as a speaker * @property {(items: Object[], meta: Object) => {count: number, needsRole: number}} importItems - add rows the Worker read @@ -297,8 +298,10 @@ function statusLine(flow, look) { const need = found.needsRole > 0 ? ` ${found.needsRole === 1 ? '1 needs' : `${found.needsRole} need`} a role: you pick it after import.` : ''; // Rows for a role the timer does not time (the Toastmaster, the Timer) are left out, and said to be. const out = found.leftOut > 0 ? ` ${found.leftOut} left out: the timer does not time ${found.leftOut === 1 ? 'that role' : 'those roles'}.` : ''; - if (found.recognised && found.count > 0) return `Found ${plural(found.count)}.${need}${out}`; - if (found.recognised && found.leftOut > 0) return `Nobody to time here.${out}`; + // Lines the reader took nothing from (a second name under a role, a line of notes) are said to be, never dropped quietly. + const unused = found.unused > 0 ? ` ${found.unused} ${found.unused === 1 ? 'line' : 'lines'} not used.` : ''; + if (found.recognised && found.count > 0) return `Found ${plural(found.count)}.${need}${out}${unused}`; + if (found.recognised && found.leftOut > 0) return `Nobody to time here.${out}${unused}`; return "We don't recognise this format."; } @@ -474,6 +477,15 @@ export default function AgendaImportPanel({ flow, variant = 'modal', accept, onC )} + {flow.recognised && flow.found.unused > 0 && !reading && ( + // The lines not used may be people: they can still go in as they stand. +

+ +

+ )} + {flow.recognised && aiUsable && !reading && (

Not what you expected?{' '} diff --git a/packages/ui/AgendaImport.test.jsx b/packages/ui/AgendaImport.test.jsx index 0d4fab16..6b6717e8 100644 --- a/packages/ui/AgendaImport.test.jsx +++ b/packages/ui/AgendaImport.test.jsx @@ -98,6 +98,26 @@ describe('a text the reader can read', () => { expect(status()).toBe('Found 3 speakers. 1 left out: the timer does not time that role.'); }); + it('says how many lines it did not use, and offers to add each line as a speaker', () => { + const { options, view } = setup({ match: () => ({ recognised: true, count: 3, needsRole: 0, leftOut: 0, unused: 1 }) }); + type('TABLE of roles'); + expect(status()).toBe('Found 3 speakers. 1 line not used.'); + fireEvent.click(screen.getByRole('button', { name: 'Add each line as a speaker' })); + expect(options.importLines).toHaveBeenCalledWith('TABLE of roles'); + expect(options.importText).not.toHaveBeenCalled(); + view.unmount(); + + setup({ match: () => ({ recognised: true, count: 2, needsRole: 1, leftOut: 1, unused: 4 }) }); + type('TABLE of roles'); + expect(status()).toBe('Found 2 speakers. 1 needs a role: you pick it after import. 1 left out: the timer does not time that role. 4 lines not used.'); + }); + + it('offers each line as a speaker only when it found something to offer it for', () => { + setup(); + type('TABLE of roles'); + expect(screen.queryByRole('button', { name: 'Add each line as a speaker' })).toBeNull(); + }); + it('names the main button after the count in the sheet, with Cancel first', () => { setup({}, 'sheet'); expect(status()).toBe('Nothing found yet.');