Repository navigation
Make guide product claims match the app - #157
Conversation
The case generator guide told readers to turn on web research, but Generate researches every motion and has no switch. It also put format and instructions in Generate, where they live in the Current Debate. Eight other guides claimed things the app does not do: Sparring reading Library sources, a debate notes field, saved rebuttal blocks, sources used in every answer, and a prep-timer use for the speech timer. gsc_submit.py now inspects the survivors of the four guide slugs that #155 retired. The brand-redirect URLs stay on purpose. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ℹ️ Recent review info
📝 Walkthrough
Note 🎁 Summarized by CodeRabbit Free
Comment |
The case generator guide told readers to "turn on web research", but Generate has no such switch. It researches the motion on every run. I checked that guide and the other guide copy against
src/andsupabase/functions/, and rewrote every sentence that claimed something the app doesn't do. Nine pages changed. Each now hasdateModifiedand sitemaplastmod2026-10-21; no other page moves.What the app does
supabase/functions/ai/features/generate.ts), lists the sources under the draft, and auto-saves the relevant ones to the debate's Library in an "Auto-saved" folder (src/lib/ai/sources.ts). It marks a contention "Needs Source" when it still needs evidence.format: 'custom', and section regeneration takes no instruction._shared/debate-context-loader.ts,_shared/prompts/context.ts).ai/index.tssays "A live sparring round stays transcript-only". Other tools get at most 10 active sources per request, ranked, with weak or irrelevant ones dropped.Changed sentences
/ai-debate-case-generator
The prod sentence "With web research on..." appeared twice because the FAQ feeds both the visible FAQ and the FAQPage JSON-LD; both now carry the new answer.
/ai-debate-practice
/ai-debate-coach
/debate-rebuttal-practice
The app has no block feature. Attack's weakness fields are in
packages/core/src/ai/schemas/attack.ts.Library sources described as reaching every tool or answer
/online-debate-timer (meta description only)
"Use DebateLab as an online debate timer for speech practice, prep drills, rebuttal timing, and tournament-ready pacing across formats." becomes "...for speech practice, rebuttal timing, and tournament-ready pacing across formats." The timer has speech presets and no prep timer, which the page body already says. The title is unchanged.
/argument-flowchart
These two are accuracy corrections, not false feature claims.
There is no note node type. The node types are thesis, contention, attack, rebuttal and dropped.
One claim to judge: the BP format setting
The new copy tells readers to set the Current Debate's format to British Parliamentary. That setting exists and reaches Generate's prompt, so it isn't a false feature claim. But the Generate request itself always sends
format: 'custom', the prompt rules say request controls win when they disagree with student material, and_shared/prompts/generate.tsdescribes a 4-6-6-3 structure. Whether the BP setting changes the draft is model behaviour I can't prove from code. The copy hedges by saying Generate's own roles follow the 4-6-6-3 speakers. If even that reads as too strong, the fallback is to drop the format advice and say only "describe your BP position in the Instructions".scripts/gsc_submit.py
The inspection list had four retired slugs, not three.
/ai-tools-for-debate-studentswas there too. Each now points at its survivor from #155:/ai-debate-case-generator,/how-to-weigh-in-debate,/best-ai-debate-toolsand/world-schools-debate. #155 kept the list unchanged because it includes the brand-redirect URLs on purpose. That note covers the brand URLs, which stay, and it isn't documented in the repo, so it didn't apply to the retired guide slugs.Left alone
PAGEScopy. That copy still has false claims, so these need fixing if Make the public pages readable for AI answer engines (AEO) #156 stalls:/best-ai-debate-toolsadvice to "look for tools that let you set the format and your team position" is buyer advice, not a claim about the app.<title>, canonical and meta description of every changed page againstmain, and only the timer description differs.Overlap with #156
#156 regenerates every guide page, so the HTML in
public/conflicts with whichever merges second. Regenerate withpython3 scripts/generate_seo_content.pyafter resolving the Python files. Inscripts/seo_guides.py, #156 inserts"software": Truedirectly abovebest-ai-debate-tools's"modified"line, which this PR changes, so that hunk needs a hand merge. This PR changes one line ofscripts/generate_seo_content.py(the timer description), which #156's diff doesn't touch.Checks
GitHub Actions can't run on this account right now (billing), so these are local results at this branch's head, not CI:
npm run docs:check,npm run lint,npm run typecheck: pass.npm test: 37 files, 305 tests pass.npm run build: passes,sitemap: 39 URLs, 39 with lastmod.npm run verifyat7175c8d9: passes. That covers the same unit tests, 356 edge tests, the build, the service worker offline check and 30 desktop Chromium@smoketests.Visible FAQ matches the FAQPage JSON-LD on 9/9 changed pages.
No built guide page still contains "turn on web research", "web research on", "citation mode", "File each block", "ground every answer" or "in the debate's notes".
🤖 Generated with Claude Code
Summary by CodeRabbit