Commit Graph

3809 Commits

Author SHA1 Message Date
AleFlyX
f982ef6102 style: apply ruff format to the dispatch regression tests 2026-11-11 08:44:10 +08:00
AleFlyX
636f522b43 fix(dispatch): withhold the arguments the runtime owns
`_`-prefixed names reach tools as provenance: `_learner_message` is the
learner's own words, `_sandbox_mounts` is where the turn may write,
`_turn_id` is which turn produced the call. A few of them gate credit or
sandbox access.

Nothing enforced that on the way in. A model emits arbitrary JSON and the
dispatch path never rejected a name it did not expect, so a model could
write `_learner_message` itself and have a built-in tool believe it. That
is how `mastery_grade` came to accept a model-authored answer as grounds
to overwrite a committed learner answer (#2595).

Withhold a fixed list of the names the runtime injects, at bind time,
before the augmenter runs. Adapter arguments outside that list are left
alone, so an MCP server publishing `_id` keeps working.

Also record the filtered arguments rather than the raw JSON. `_rebind`
replays the recording straight into the augmenter, so keeping the raw one
let any round containing a rebinding tool — `ask_user` and
`workspace_export` always qualify — re-admit a forged name the first bind
had already dropped.
2026-11-11 08:28:10 +08:00
AleFlyX
aa6f1dfc0c fix(mastery): let a new reply supersede an ungraded clarification
On a free-text mastery question, a learner's "I don't get it, explain"
was judged ungraded and stored as the interaction's user_answer. Every
later mastery_grade call then preferred that stored reply over the
learner's actual answer — the judge rejected the same help request again
as ungraded, and the question could never be cleared. The gate sat at
mastery 0.0 until the tutor called mastery_skip_question itself.

The committed user_answer is authoritative on purpose: the pause/resume
boundary stores the learner's exact words, and a later model round must
not paraphrase them. It stops being authoritative once the learner has
said something else *and* the stored reply was never ruled on. Revise
through the existing record_question_answer path, which rewrites
user_answer and keeps the superseded attempt in the event log as
assessment.revised.

A repeated, empty, or whitespace-identical reply is not a revision, and
a group interaction is excluded: its child questions keep their own
per-leaf revisable logic.

This is the free-text half of #1004, which only covered choice cards.
Closes #2595.
2026-11-10 21:57:52 +08:00
Bingxi Zhao (Frank)
60fb3bdfdd release: v1.7.2
Document selected-text speech, model discovery, NVIDIA NIM embeddings,
mastery reliability, Windows improvements, and complete desktop downloads.

Sync all eleven README translations and archive the v1.7.0 release notes.
Add platform-specific typing annotations for Windows APIs without changing
runtime behavior. See assets/releases/ver1-7-2.md for changes and upgrades.

Validation: pre-commit and Ruff passed; 12,782 Python tests passed
(51 skipped), 1,349 Node 22 tests passed, and the docs build passed.
v1.7.2
2026-11-06 16:41:21 +08:00
Bingxi Zhao (Frank)
923ca871f3 ci(desktop): require Intel Mac and complete release downloads 2026-11-06 16:11:59 +08:00
Bingxi Zhao (Frank)
1656e93285 Credit the upstream clarification fix integrated through #2325 2026-11-06 03:03:07 +08:00
Bingxi Zhao
39bde55589 Merge reviewed post-v1.7.1 community contributions (#2466)
Integrate reviewed community contributions since v1.7.1
2026-11-06 03:03:03 +08:00
Bingxi Zhao (Frank)
a62e73bc8e Credit post-v1.7.1 contributors and register the Korean language endonym 2026-11-06 02:41:38 +08:00
Bingxi Zhao (Frank)
3ed050c4dd Merge #2362 from sriv144 2026-11-06 02:27:50 +08:00
Bingxi Zhao (Frank)
20b7fa8c13 Load the document reader only for document tabs 2026-11-06 02:27:50 +08:00
Bingxi Zhao (Frank)
feeb58fb1a Merge #2405 and exercise reconnection alongside cancellation 2026-11-06 02:27:50 +08:00
evan188199-tech
5e46c4f32d fix(web): recover from synchronous socket construction failures (#2405) 2026-11-06 02:27:50 +08:00
Bingxi Zhao (Frank)
70c1d1daa0 Merge #2409 from evan188199-tech 2026-11-06 02:27:50 +08:00
evan188199-tech
a5ab4c6ea6 test(sandbox): use the active Python interpreter for argv fixtures (#2409) 2026-11-06 02:27:50 +08:00
Bingxi Zhao (Frank)
294b04da09 Merge #2407 from evan188199-tech 2026-11-06 02:27:50 +08:00
evan188199-tech
aad58b82f8 feat: choose the model before a MasteryPath outline starts (#2407) 2026-11-06 02:27:50 +08:00
Bingxi Zhao (Frank)
e2df97dab0 Merge #2395 from evan188199-tech 2026-11-06 02:27:50 +08:00
evan188199-tech
ed709477b4 fix(cli-apps): preserve backups after rollback failures (#2395) 2026-11-06 02:27:50 +08:00
Bingxi Zhao (Frank)
2ee66008b3 Merge #2393 from evan188199-tech 2026-11-06 02:27:50 +08:00
evan188199-tech
41a92edc16 fix(cli-apps): resolve Windows Python venv executables (#2393) 2026-11-06 02:27:50 +08:00
Bingxi Zhao (Frank)
c34580e2f3 Merge #2390 from evan188199-tech 2026-11-06 02:27:50 +08:00
evan188199-tech
857bc6f6ad fix(workspace): conservatively clear dead migration markers (#2390) 2026-11-06 02:27:50 +08:00
Bingxi Zhao (Frank)
81ed91a8c3 Keep scoped embedding clients on their calling operation and split mastery-only UI 2026-11-06 02:25:50 +08:00
Bingxi Zhao (Frank)
c47b777884 Merge #2457 from wangjianming 2026-11-06 02:16:48 +08:00
Bingxi Zhao (Frank)
39f744114f Confirm process group settlement and load the mastery transcript on demand 2026-11-06 02:16:17 +08:00
Bingxi Zhao (Frank)
1854863e9b Merge #2414 from maxsheng215-cyber 2026-11-06 02:07:18 +08:00
Bingxi Zhao (Frank)
a907389716 Merge #2359 with partial translation disclosure 2026-11-06 02:07:18 +08:00
wayfarer6
1ae2bcf96a Offer Korean as a partial interface translation (#2359) 2026-11-06 02:07:17 +08:00
Bingxi Zhao (Frank)
8132135db8 Merge #2350 from yertYang 2026-11-06 02:06:45 +08:00
Bingxi Zhao (Frank)
e022fc957b Merge #2428 from AleFlyX 2026-11-06 02:06:45 +08:00
Bingxi Zhao (Frank)
823aa1a8b3 Validate launcher, retrieval, migration, and responsive reader behavior 2026-11-06 02:04:53 +08:00
Bingxi Zhao (Frank)
0ef8f0496b Merge #2425 from panghufattiger996-maker 2026-11-06 02:04:53 +08:00
panghufattiger996-maker
3fbd73460b fix(imagegen): restrict DashScope 4K output to wan2.7-image-pro (#2425) 2026-11-06 02:04:53 +08:00
Bingxi Zhao (Frank)
ce6a5fbc87 Merge #2353 from stefanielizeth73-art 2026-11-06 02:04:53 +08:00
Bingxi Zhao (Frank)
03bfb8affb Merge #2378 from evan188199-tech 2026-11-06 02:04:53 +08:00
Bingxi Zhao (Frank)
79e726efb3 Merge #2435 from mathewgeejo 2026-11-06 02:04:52 +08:00
Bingxi Zhao (Frank)
c831786f9a Merge #2306 from iSanae233 2026-11-06 02:04:52 +08:00
Bingxi Zhao (Frank)
ebcebd4723 Unify migration locks and plugin environments, and cover compatibility boundaries 2026-11-06 02:04:52 +08:00
Bingxi Zhao (Frank)
f7041045f3 Merge #2430 visual placeholder handling on the shared tool schema contract 2026-11-06 02:04:52 +08:00
Bingxi Zhao (Frank)
064b2aa133 Merge #2420 onto the shared speech player 2026-11-06 02:04:52 +08:00
Bingxi Zhao (Frank)
cb34d03573 Merge #2412 and keep both OAuth regression suites 2026-11-06 02:04:52 +08:00
Bingxi Zhao (Frank)
f48fdd4778 Merge #2403 and retain replay regression coverage 2026-11-06 02:04:52 +08:00
zhouyao423
53202de419 fix(llm): translate response formats for Responses API (#2403) 2026-11-06 02:04:52 +08:00
Bingxi Zhao (Frank)
d8ee0e5e40 Merge #2280 and regenerate router index 2026-11-06 02:04:52 +08:00
Bingxi Zhao (Frank)
67fa5fda05 Merge #2463 from BearSur 2026-11-06 02:04:52 +08:00
Bingxi Zhao (Frank)
85f84332de Merge #2447 from Yi-111-a 2026-11-06 02:04:52 +08:00
Yi-111-a
d5adc0c2a9 fix: add PYTHONSAFEPATH=1 to prevent stale source tree shadowing in detached launcher and update worker (#2447) 2026-11-06 02:04:52 +08:00
Bingxi Zhao (Frank)
6e6cad10bf Merge #2434 from jingmaowang 2026-11-06 02:04:52 +08:00
Bingxi Zhao (Frank)
782c0d5966 Merge #2406 from zhouyao423 2026-11-06 02:04:52 +08:00
zhouyao423
0be1365552 fix(books): keep fallback breadcrumb above responsive content (#2406) 2026-11-06 02:04:52 +08:00