Fifth revision: share-link AI safety, sturdier generation, cleaner UI
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 1m0s
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 1m0s
- Malformed model JSON is sent back for repair, then retried; a failed job starts over once before it fails. Visitors can dismiss failed sets. - Generated sets get a short distinct name and description; flashcards are atomic and have no hints; standard study shows known/learning counts. - Share links: "In progress" list, finished sets join the normal lists with a "New" tag, plain progress steps, newest exam first. - Share-link AI expires after a week, can be limited to the US or Arizona (DB-IP Lite or Cloudflare headers) and is locked by abuse protection (migration 8). - The assistant never answers from general knowledge; MCP and web search tools load without a manual test. - Plain-text copy, no question count in exam mode, filler text removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d8df5edf30
commit
85d5c9186d
46 changed files with 1242 additions and 283 deletions
21
PROGRESS.md
21
PROGRESS.md
|
|
@ -159,10 +159,29 @@ migration 7). Sets show in Drafts while written, then save into the class or exa
|
|||
automatically, and stay when the link is deleted. The
|
||||
owner's Generate dialog gained "Include med math" with a count (default 5).
|
||||
|
||||
## 2026-11-16: fifth revision (owner's 18-item list)
|
||||
|
||||
Explanatory filler removed across the UI (share page, Generate dialogs, start screens, settings,
|
||||
flashcards); share-link "In progress" list for sets being written, finished sets join the normal
|
||||
lists with a "New" tag for two hours; visitors see "Verifying questions"; exam mode has no
|
||||
question-count slider (an exam is always the whole quiz); newest exam first on share pages;
|
||||
malformed JSON repaired by the model, retried, then the whole job restarted once; failed sets
|
||||
dismissable on the link only; plain-text copy everywhere; generated sets get their own short
|
||||
name and description; atomic flashcards without hints; a known / still learning counter in
|
||||
standard flashcard study; the assistant never answers from general knowledge (search or say it
|
||||
has no information); MCP and web search tools load automatically; share-link AI expires after a
|
||||
week, can be limited to the US or Arizona (`server/services/geo.ts`, DB-IP Lite) and is locked
|
||||
by abuse protection (migration 8).
|
||||
|
||||
Tests: `tests/revision5.test.ts`. Live check on the rev1 copy with DeepSeek flash: a visitor's
|
||||
10-card set was written, named ("Heparin, Furosemide, and Dosage Calculations"), saved and
|
||||
listed once with the New tag; cards were single facts with no hints. The rev1 copy's 401 was its
|
||||
stored DeepSeek connection still holding the old key; it was updated from `.env`.
|
||||
|
||||
## Verification status
|
||||
|
||||
Baseline: 162 tests passed, TypeScript passed and production web/server builds passed.
|
||||
Added six regression tests. Full `npm run check` passes: **261 tests** (share-link generation, 2026-11-15; 257 after the fourth revision; 247 after the third, 208 after the second, 181 on 2026-11-12), TypeScript
|
||||
Added six regression tests. Full `npm run check` passes: **274 tests** (fifth revision, 2026-11-16; 261 after share-link generation, 2026-11-15; 257 after the fourth revision; 247 after the third, 208 after the second, 181 on 2026-11-12), TypeScript
|
||||
and both production builds. The Docker `test` stage runs the same 181 tests on Node 24. Tests were run with loopback access for the mock provider.
|
||||
|
||||
The earlier agent manually exercised quiz completion/results, flashcards, streak effects,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue