Repository navigation
Comparing changes
Open a pull request
base repository: EwanJasper/SessionRelay
base: main
head repository: rui08984-dot/SessionRelay
compare: main
- 20 commits
- 21 files changed
- 1 contributor
Commits on Sep 22, 2026
-
fork 0.5.1-fork.1: root-cause fixes from dist-patch era + --global si…
…ngle-daemon mode - zcode detectCompaction: reuse cached getConn (was new Database per session per cycle, never closed - handle leak + memory sawtooth root cause, upstream #2); healthCheck closes probe conn - cli/service windowsRunScript: quote nodeAbs (upstream #1) + chcp 65001 for CJK paths; vbs written UTF-16LE BOM (wscript misreads UTF-8 CJK paths as GBK) - capture/sync: per-session content-signature watermark (adapter.changeProbe: zcode MAX(rowid) aggregate, 2 SQL/cycle; file sources mtime+size) + known-in-db guard (rebuild/forget safe) + 10-min full sweep backstop -> idle daemon CPU 7.5% -> 0.08% - capture/watch: per-project named-pipe single-instance lock (upstream #2 instance accumulation); worker extraction; --global mode: one process adopts all registry projects dynamically
Your Name committedSep 22, 2026 Configuration menu - View commit details
-
Copy full SHA for 28c547c - Browse repository at this point
Copy the full SHA 28c547cView commit details -
fork: global-instance pipe lock (fixed name, cwd-independent) - secon…
…d --global process was adopting 0 projects and idling as zombie
Your Name committedSep 22, 2026 Configuration menu - View commit details
-
Copy full SHA for 7db7ae2 - Browse repository at this point
Copy the full SHA 7db7ae2View commit details -
fork: sweep stops workers whose project config.json is gone - deleted…
… projects were unreleasable (sqlite/cmd held open by this process), now auto-pruned within one sweep
Your Name committedSep 22, 2026 Configuration menu - View commit details
-
Copy full SHA for 3da65c3 - Browse repository at this point
Copy the full SHA 3da65c3View commit details -
fork: unify pipe-lock helpers (global+project share one code path, gl…
…obal lock released on exit); fix ensureRegistered double-call that swallowed custom-adapter load errors (upstream wart)
Your Name committedSep 22, 2026 Configuration menu - View commit details
-
Copy full SHA for 56d54d0 - Browse repository at this point
Copy the full SHA 56d54d0View commit details -
fork: decisions --limit takes the NEWEST N (was oldest-N shown as '最近…
…决策'); upstream wart exposed by brief quality audit
Your Name committedSep 22, 2026 Configuration menu - View commit details
-
Copy full SHA for cd0f3ab - Browse repository at this point
Copy the full SHA cd0f3abView commit details -
fork: decision plausibility guard at extraction (reject table rows / …
…markdown fragments / embedded JSON residue) + unresolved 14-day fade in CLI
Your Name committedSep 22, 2026 Configuration menu - View commit details
-
Copy full SHA for 2f893ef - Browse repository at this point
Copy the full SHA 2f893efView commit details -
fork: unresolved --json actually emits JSON now (registration dropped…
… opts.json - upstream wart the brief's text-fallback was papering over)
Your Name committedSep 22, 2026 Configuration menu - View commit details
-
Copy full SHA for 9683952 - Browse repository at this point
Copy the full SHA 9683952View commit details -
fork (audit round): 5 fixes from pattern-scan subagent
- mcp adopt(): close previous project's db on switch (handle leak + EBUSY vs forget/rebuild) - archive: days/sizeMb 0 no longer treated as unset (0-days archive-everything footgun) - loadConfig: corrupt config.json -> readable error instead of raw stack - forget: corrupt preview snapshot now REJECTS --yes (fail-safe optimistic lock) - annotate_session/save --tag: re-include decision texts in meta_text (viaMeta search surface)
Your Name committedSep 22, 2026 Configuration menu - View commit details
-
Copy full SHA for c63b5da - Browse repository at this point
Copy the full SHA c63b5daView commit details -
test: defuse time-bomb in forget A1 (fixture date was absolute, '天前' …
…assertion broke past the 30-day boundary on Sep 19) - suite is fully green (222) for the first time
Your Name committedSep 22, 2026 Configuration menu - View commit details
-
Copy full SHA for 2ab7390 - Browse repository at this point
Copy the full SHA 2ab7390View commit details -
fork (global mode): dual-write worker logs to each project's own watc…
…h.log - per-project logs froze forever under the global daemon, making 'watch --status' print zombie tails in non-cwd projects
Your Name committedSep 22, 2026 Configuration menu - View commit details
-
Copy full SHA for 1377b12 - Browse repository at this point
Copy the full SHA 1377b12View commit details -
fork (hardening round): 3 root-cures from deep sweep
- watcher: runtime 'error' events (dir deleted / overflow / AV) had no listener -> EventEmitter throw kills the whole global daemon; now degrades to the existing 1s polling fallback (self-heal) - insertMessage: index text capped at 100KB (jieba sync tokenize of huge tool-dump messages stalled the event loop seconds); full content still stored, only FTS coverage capped - zcode discover: cache by source-db mtime (idle cycles = 0 SQL instead of unindexed lower() table scan per worker per event) - watch: wire the local anonymous stats counter into the daemon cycle (status panel's 'ignored 0' lied vs 34 real blocks)
Your Name committedSep 22, 2026 Configuration menu - View commit details
-
Copy full SHA for 3b7d74f - Browse repository at this point
Copy the full SHA 3b7d74fView commit details -
fork CRITICAL fix: discover cache was keyed by source-db mtime only -…
… with N workers sharing one source db, projects B/C received project A's session list and ingested it as their own (cross-project contamination, live: music 42->559, novel 15->495). Key now includes project root.
Your Name committedSep 22, 2026 Configuration menu - View commit details
-
Copy full SHA for 8e49450 - Browse repository at this point
Copy the full SHA 8e49450View commit details
Commits on Sep 24, 2026
-
fix(capture): incremental decision refresh + workflow-origin exclusio…
…n (4th-project field report) From a live field report (E:/mc整合包, 4th deployment, direct SQLite forensics): - P0 decisions froze for 20+h on long-lived sessions: extraction only ran at confirm (idle 10min -> pending -> 6h cooldown -> confirm); continuously-worked sessions never completed the loop. Fix: refreshExtraction() now runs at every pending transition (10-min idle), decisions lag <= 10min. confirmSession reuses it. - P1 88% of extracted decisions were workflow-subagent fragments: zcode adapter now tags title-matched subagent sessions with originHint='workflow' -> origin column -> listDecisions excludes them by default (data preserved, queries clean). Live: 36 sessions auto-tagged, visible decisions 82 -> 20, residue 0. - P2 decision text hard-cut at 90 chars produced mid-sentence/trailing-bracket fragments: cut at nearest pause char + trim trailing closers + reject leading-closer fragments. Tests: 222 -> 221 pass + 1 skipped, 0 failures.
Your Name committedSep 24, 2026 Configuration menu - View commit details
-
Copy full SHA for 3e7679e - Browse repository at this point
Copy the full SHA 3e7679eView commit details -
fix(capture): applyExtraction re-includes existing user_tags in meta_…
…text (same family as annotate/save fix - confirm/refresh path was the missed third site)
Your Name committedSep 24, 2026 Configuration menu - View commit details
-
Copy full SHA for f17f52d - Browse repository at this point
Copy the full SHA f17f52dView commit details -
fix(query): dedupe unresolved questions across sessions (same questio…
…n captured twice displayed twice in briefs)
Your Name committedSep 24, 2026 Configuration menu - View commit details
-
Copy full SHA for 3b69246 - Browse repository at this point
Copy the full SHA 3b69246View commit details -
fix(extract): anchor only the noisy weak verbs (不用/直接用/优先用/统一用) to se…
…ntence start; 最终用/最终选 stay strong (they are genuine final-choice verbs - caught by the suite)
Your Name committedSep 24, 2026 Configuration menu - View commit details
-
Copy full SHA for 3e00e97 - Browse repository at this point
Copy the full SHA 3e00e97View commit details -
perf(judge): pending-transition refresh becomes incremental (seq wate…
…rmark from decisions column, O(delta) instead of O(full session)); topics/summary full rebuild stays at confirm - kills the last recurring CPU/RAM burst generator on long-lived sessions
Your Name committedSep 24, 2026 Configuration menu - View commit details
-
Copy full SHA for 5d76b3f - Browse repository at this point
Copy the full SHA 5d76b3fView commit details -
fix(extract): question extraction gets a fragment guard too (list/tab…
…le/bold residue rejected); briefs read unresolved entries via q field (title-only display was a silent regression from the --json fix)
Your Name committedSep 24, 2026 Configuration menu - View commit details
-
Copy full SHA for 80e3d5a - Browse repository at this point
Copy the full SHA 80e3d5aView commit details -
fix(watch): wire the anonymous stats counter into runJudge (daemon-si…
…de confirm counts were invisible in the status panel)
Your Name committedSep 24, 2026 Configuration menu - View commit details
-
Copy full SHA for e4b0ba6 - Browse repository at this point
Copy the full SHA e4b0ba6View commit details -
test: regression locks for fork additions - origin=workflow exclusion…
… and incremental decision refresh (seq-watermark idempotency); guards the mc-report root-cures against silent breakage
Your Name committedSep 24, 2026 Configuration menu - View commit details
-
Copy full SHA for 691084f - Browse repository at this point
Copy the full SHA 691084fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main