17 Commits

Author SHA1 Message Date
zszz3
18a686b13b docs: rewrap memory audit prompts and note what was measured
The English audit_l2 / audit_l3 role paragraphs kept the short lines
left by moving the surface and slot names to the end; they are
rewrapped with the same words. The research forced-finish docstring now
says the tool_choice="none" behavior was measured on deepseek-flash
only.

Refs #2974
2026-11-30 13:45:50 +08:00
zszz3
02ef1f70b0 fix: move run-specific values to the end of memory consolidator prompts 2026-11-30 03:47:50 +08:00
Bingxi Zhao (Frank)
30a7e43001 fix(memory): capture chat questions and rebuild missing L2 documents
Local dev repairs for #2294.

Memory, regeneration and decoding suite: 398 passed; regeneration does not duplicate trace events.
2026-11-15 00:50:30 +08:00
sriv144
4a910a3172 fix(memory): expose source refs to deduplication 2026-11-02 17:29:57 +05:30
Bryan Nathan
8ee9d1be36 fix: recognize unspaced CJK memory sentence boundaries
Preserve the ASCII whitespace requirement while allowing CJK sentence terminators to end memory chunks without intervening spaces. Add regressions for punctuation, supported closing quotes, default chunk sizes and decimal compatibility.

Fixes #2130
2026-10-29 06:57:52 +08:00
Bingxi Zhao (Frank)
308d99b167 style(memory): apply repository line length to rebased contribution 2026-10-29 01:38:15 +08:00
Eapp1e
e1c05b8527 fix(memory): size chunk windows by the stride that overlap leaves
Formatting pass with ruff 0.16.0 so the lint job stops asking for a reformat;
no behaviour change: tests/services/memory/test_chunker.py still passes 15/15.

Signed-off-by: Eapp1e <163811520+Eapp1e@users.noreply.github.com>
2026-10-28 17:06:31 +00:00
dajiaohuang
e20001beb4 fix(memory): preserve initial line identities during audit edits 2026-10-08 12:35:37 +08:00
Bingxi Zhao (Frank)
04040a2c06 release: v1.6.5
Ship a content workspace you choose, one exec tool for every language,
Mastery Path modes that gate its tools, and Settings that grades
readiness instead of listing faults.

Release notes: assets/releases/ver1-6-5.md
2026-09-06 13:46:29 +08:00
Bingxi Zhao (Frank)
6e6e56aedb release: v1.6.3
Ship the breaking front- and back-end runtime and route refactor,
learner and guardian flows, grounded reading, knowledge and parser
updates, and recoverable long-running streams.

Release notes: assets/releases/ver1-6-3.md
2026-09-02 04:09:11 +08:00
Bingxi Zhao
b0ec5daba5 Merge pull request #646 from santhreal/fix/update-facts-raw-decode-dev
fix(memory): parse update facts JSON with raw_decode
2026-07-23 22:26:55 +08:00
santhreal
eee0431fff fix(memory): parse update facts JSON with raw_decode
Trailing prose with braces made the greedy rfind slice invalid, so
_parse_facts silently dropped valid facts. Decode the first object.
2026-07-18 17:26:33 -07:00
santhreal
69582220ef fix(memory): parse line-edit JSON with raw_decode
Trailing prose containing braces made the greedy rfind slice invalid,
so parse_edits_payload silently dropped valid edits. Decode the first
JSON value like math_animator.
2026-07-18 17:23:57 -07:00
Bingxi Zhao (Frank)
c9d387e2b6 super super great great update 2026-06-17 00:56:27 +08:00
Bingxi Zhao (Frank)
46093e5e2b update msg 2026-06-11 20:03:34 +08:00
Bingxi Zhao (Frank)
6153d8c092 release: v1.4.0 — release notes, version bump, repo hygiene
- Add assets/releases/ver1-4-0.md covering deltas since v1.4.0-beta
  (reasoning_effort normalization, tool-schema fallback, restart-safe
  turn runtime, frontend placeholder hardening, CLI chat REPL config).
- Bump deeptutor/__version__ to 1.4.0.
- Update README Releases section: v1.4.0 at top, install opt-in note
  updated for stable.
- Fix pre-existing pre-commit failures so the v1.4.0 cut runs clean:
  bandit B324 (mark _sha1 as non-security), mypy no-redef in
  document.py / line_doc.py, mypy arg-type/assignment in
  snapshot/adapters.py, mypy assignment + arg-type in
  services/memory/settings.py, mypy func-returns-value on
  set.add idiom in deeptutor_cli/init_wizard.py.
- Apply ruff format / prettier sweep across the repo.
- Remove stale workspace + i18n env example + playwright captures
  already cleaned locally; ignore .playwright-cli/ going forward.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 21:09:22 +08:00
Bingxi Zhao (Frank)
2b7242081f feat(memory): three-layer memory subsystem (L1/L2/L3) with workbench
Replaces the flat single-blob memory page with a structured store:
- L1 captures raw run traces; L2 holds normalized document records;
  L3 holds curated slots per surface (chat, notebook, book, TutorBot).
- New consolidator pipeline (chunker, guards, parse, references, runs,
  modes, line-doc, meta) turns traces into versioned line-oriented
  documents with stable ids and snapshot history.
- Per-user isolation flows through PathService; the store API is
  stateless.

UI ships a dedicated /memory workbench with graph / L1 / L2 / L3 /
resolve subpages, plus a reusable MemorySection embedded where the
legacy panel lived.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 18:02:32 +08:00