19 Commits
Author SHA1 Message Date
jyx b057622db2 fix: add hysteresis to message-count compaction (#582)
* fix: add hysteresis to message-count compaction

* ci: retrigger checks after approval timeout
2026-10-27 12:40:33 +08:00
Lukas 2f8cfb03a6 fix: an empty REPL line no longer quits the chapter silently (#569)
Every chapter REPL treated an empty line as a quit command and exited with
status 0 without a word, while the banner only promises "Type q to quit".
Under VS Code's debugger the Python extension's environment-activation line
is often injected into stdin after the program started, so the first thing
the REPL read was a blank line and the chapter vanished right after its
banner.

An empty line is now ignored and the prompt comes back; q and exit still
quit, and EOF/Ctrl-C still end the loop. s17 already behaved this way. A
static test keeps every chapter's quit check free of the empty string.

Fixes #567
2026-10-27 12:39:40 +08:00
CosmicHourglassandCursor ce8f9f1860 fix: keep s11 and s15 process cleanup working on Windows (#586)
Windows has no fcntl, killpg, or SIGKILL, so stopping background processes crashed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 21:49:16 +08:00
LiJiasheng 94ca468557 Add OS-aware shell context to current course prompts (#587)
* Add host environment context to chapter prompts

* Align prompt examples with environment context
2026-09-28 21:48:45 +08:00
Haoran cce031e632 fix: harden subprocess output decoding across lessons 2026-08-26 01:05:16 +08:00
Haoran 922265145b fix: complete readline prompt coverage 2026-08-25 21:56:24 +08:00
Haoran 199402f9d4 fix: use UTF-8 for text file operations 2026-08-24 20:28:37 +08:00
Haoran 6d70d2e071 fix: preserve tool results during context compaction 2026-08-23 11:50:52 +08:00
Haoran 61c3e64595 fix: support bounded recursive glob across lessons 2026-08-23 11:28:14 +08:00
Haoran 711249e297 fix: build task dependencies in two phases 2026-08-19 01:35:08 +08:00
Haoran b6b5f331ab fix: preserve only unseen tool results 2026-08-16 17:32:53 +08:00
Haoran 9a466040b3 Merge main into fix/micro-compact-latest-batch 2026-08-16 17:25:14 +08:00
Haoran 078eca78ac fix(s15): harden background task lifecycle 2026-08-16 00:26:25 +08:00
wxj 98f8ff7343 fix(s15): atomically deliver background results 2026-08-15 21:23:35 +08:00
123456wda b5bd0ddfa1 fix: preserve latest tool result batch during compaction 2026-08-15 21:14:22 +08:00
Haoran 168fff86dd Fix empty tool-use response handling 2026-08-15 00:03:45 +08:00
Haoran acdeacc47a Fix skill frontmatter parsing 2026-08-14 23:14:19 +08:00
Haoran 990e4056b9 docs: refine the integrated harness tagline 2026-08-12 09:25:11 +08:00
Haoran 7e2f2fd99b refactor: streamline the course to 17 lessons 2026-08-12 03:02:42 +08:00