Skip to content

Releases: cablate/ctx-handoff-mod

ctx-handoff 0.6.0

ctx-handoff 0.6.0 Pre-release
Pre-release

Choose a tag to compare

@cablate cablate released this 09 Oct 09:59

Handoff summaries now carry most of what the next conversation needs, project notes follow what you actually care about, and rules that keep failing turn into guards Claude asks you about. Items moved into your repo no longer get stuck, and leftover /config rows are gone.

Added

  • A new front page: the README opens with a banner and an animated overview, shows each feature in a picture, and moves the details into a guide.
  • Changelog in Traditional Chinese: CHANGELOG.zh-TW.md, and GitHub Releases carry both languages.

Changed

  • Guards ask you: a rule you had to correct again after it went into your repo (or said 3 times while keeping it out) gets a guard drafted in the background, and the next conversation has Claude ask whether to use it. Answer in the conversation; no command or panel needed. Before, you had to run /handoff guard suggest, so guards were rarely used.
  • Background prompts reworded: loaded preferences say to follow them without asking again; the reply-language reminder leaves translations and English documents you asked for alone; the "said done without checking" nudge asks Claude to show what it ran and the result.
  • Project notes follow your standard: decisions with their reasons (even ones already in the code) and how you like to work are kept; decisions that only matter for the task at hand go to the progress note; things already in your CLAUDE.md files aren't repeated; something Claude proposed and you just okayed is kept as a decision, not as your request. A rule's count is how many times you had to say it; Claude following it doesn't add to it.
  • No length cap on the progress note: the per-field limits and the 600-character total are gone, and it now keeps the decisions that matter until the task is done.
  • Handoff summaries say more: the 1800-character cap is gone. A summary now keeps the limits you set in your own words, says where the work stopped, what was already found out and how to run the tools, and gives questions waiting for you their background and options. Measured on real handoffs, it covers over 90% of what the next conversation needed, up from about half. Longer summaries take about 45 seconds to 2 minutes to write, so a handoff now waits up to 5 minutes (was 3).
  • Moving rules into your repo no longer gets stuck: Claude doesn't have to report where it put a rule, procedure or guard. The next notes update sees it in the conversation and checks the file exists. If the conversation that was asked ends first, a later one is asked; there's no limit on how many times. Before, an item Claude forgot to report was never asked about again, and nothing told you.

Fixed

  • Temporary errors no longer push Claude off a working approach: the repeated-failure nudge now lets Claude wait and retry once when the error looks temporary, such as a timeout or a page still loading, instead of abandoning an approach that was right.
  • No leftover settings rows in /config: 0.5 moved settings to the panel, but 7 of them, including the threshold, idle minutes, notes model and language, still showed in /config. They are on the panel only now; values in settings.json still work.
  • Nothing said just before a handoff is lost from project notes: if a notes update was already running when the handoff started, the conversation since that update began was never added. The handoff now captures it first and updates the notes right after the running update finishes. The handoff also no longer waits for the notes update before switching.
  • A new conversation no longer gets an outdated progress note after a handoff: when the last notes update finished after the switch, the progress it found was dropped, and an older note from another conversation could be offered instead.

繁體中文

交接摘要現在帶得到新對話需要的大部分內容,專案筆記照你在意的標準收,寫成規則還一再犯的會變成守門、由 Claude 問你要不要用。放進 repo 的項目不再卡住,/config 的殘留設定列也清掉了。

新增

  • 新的首頁: README 以 banner 和動畫概覽開場,每個功能配一張圖,細節移到使用指南。
  • 繁體中文更新紀錄: CHANGELOG.zh-TW.md,GitHub Release 也同時附上兩種語言。

變更

  • 守門會主動問你: 寫進 repo 之後又被你糾正的規則(或你不讓它放進 repo、卻講了 3 次的),會在背景起草守門,下一段對話由 Claude 問你要不要採用;你在對話裡回答就好,不用下指令或按面板。以前要自己打 /handoff guard suggest,所以幾乎沒人用。
  • 背景提示的文字修過一輪: 帶入的偏好註明照做不用再問;回覆語言提醒不影響你要的翻譯或英文文件;「說完成卻沒驗證」要 Claude 附上跑了什麼、結果如何。
  • 專案筆記照你的標準收: 有理由的決定(就算已寫進程式)與你的溝通方式會記下;只跟眼前工作有關的決定改記在進度備忘;CLAUDE.md 已經寫過的不再重複記;Claude 提議、你只說「好」的,記成決定而不是你的要求。規則的次數只算你講了幾次,Claude 照著做不會加次數。
  • 進度備忘不再限字數: 拿掉每欄與整份 600 字的限制,並記下這件工作做完前要記得的決定。
  • 交接摘要寫得更完整: 拿掉 1800 字上限。摘要現在用你的原話保留你訂的限制,寫出最後做到哪、已經查到的事與工具怎麼執行,等你回答的問題附上背景與選項。拿真實交接比較,新對話需要的事從寫到約一半變成九成以上。摘要變長,產生時間約 45 秒到 2 分鐘,交接最多等 5 分鐘(原本 3 分鐘)。
  • 放進 repo 不會再卡住: Claude 不用另外回報規則、流程或守門放在哪,下一次整理會從對話看出來,並確認檔案存在。被交代的那段對話先結束的話,之後的對話會再被請一次,沒有次數限制。以前 Claude 忘了回報的項目就再也不會被提起,你也不會知道。

修正

  • 暫時性錯誤不再被當成要換做法: 同一個工具連續失敗時的提醒,現在會讓 Claude 對逾時、頁面還在載入這類暫時性錯誤稍等再試一次,而不是放棄本來正確的做法。
  • /config 不再出現殘留的設定列: 0.5 已把設定搬到面板,但門檻、閒置分鐘數、整理模型、介面語言等 7 項仍留在 /config。現在只在面板調;settings.json 裡寫的值照樣有效。
  • 交接前最後說的話不會再漏記進專案筆記: 交接開始時若已有一次整理在跑,從那次整理開始到交接之間的對話永遠不會被整理。現在交接會先把這段讀好,等正在跑的整理結束就接著整理;交接也不再等整理才換對話。
  • 交接後的新對話不會再拿到過時的進度備忘: 最後一次整理在換對話之後才跑完時,它整理出的進度會被丟掉,新對話可能反而拿到另一段對話留下的舊備忘。

Full changelog / 完整差異: ctx-handoff--v0.5.0...ctx-handoff--v0.6.0

ctx-handoff 0.5.0

ctx-handoff 0.5.0 Pre-release
Pre-release

Choose a tag to compare

@cablate cablate released this 08 Oct 01:50

Claude now notices its own slips: a nudge when it retries the same failure, a check when it says "done" without testing, and a reminder when it drifts out of your language. New conversations learn where the last one stopped, routines you repeat become project skills, and every setting moved to one panel tab.

Upgrading: settings you made in 0.4 are kept; they now show on the panel's Settings tab (/handoff panel, then 5) instead of /config.

Added

  • Where you left off: after your own /clear, a crash or a fresh start, the next conversation in the folder is told once what the last one was doing and what came next (within 24 hours). It rides on the notes update, so it costs no extra request. Setting: resume_hint.
  • Nudge on repeated failure: when a tool fails twice in a row for the same reason, Claude is told to find the cause instead of retrying as is. Setting: retry_nudge.
  • Check before "done": when Claude says it's done after editing code with no test, build or check since, it's asked once to verify and show the result. Setting: done_check.
  • Reply language reminder: when Claude's explanation drifts out of your language (Traditional or Simplified Chinese, English, Japanese), it's reminded once, during the turn. Code, paths and English terms inside Chinese don't count. Setting: reply_language.
  • Procedures become project skills: multi-step routines you had Claude repeat (say, a release) are noted as procedures; after 3 times Claude turns one into .claude/skills/<name>/SKILL.md in your repo, without committing.
  • Settings tab in the panel: every setting in one place, with where each value comes from and a reset button.
  • Adjustable notes interval: distill_every (default 30 messages).

Changed

  • Better handoff summaries: verified work is kept apart from unverified changes, failed approaches and loose ends are listed, limits you set are kept, and the summary ends with one next step.
  • Settings left /config: they're on the panel instead, so /config stays short. Values in settings.json still work, for the VS Code extension, which doesn't show the panel; the panel's value wins.
  • The README is rewritten for first-time readers.
  • For contributors: Biome lint in the checks, the code split into smaller files, and tests split by topic.

Fixed

  • The "done" check no longer counts edits made by background subagents as the main conversation's.

繁體中文

Claude 現在會注意到自己的小錯:重跑同一個失敗時提醒、沒測試就說完成時請它驗證、講到一半漂成別的語言時提醒。新對話知道上一段停在哪,你重複做的工作會變成專案 skill,所有設定集中到面板的一個分頁。

升級: 0.4 設過的值會保留,改在面板的「設定」分頁顯示(/handoff panel 後按 5),不在 /config。

新增

  • 告訴新對話停在哪: 你自己 /clear、當掉或直接開新對話後,同一個資料夾的下一段對話會被提醒一次上一段在做什麼、下一步是什麼(24 小時內)。它跟著整理筆記一起產生,不多花請求。設定:resume_hint。
  • 重複失敗提醒: 同一個工具連續兩次因同樣原因失敗時,請 Claude 找出原因,不要原樣重試。設定:retry_nudge。
  • 說完成前先驗證: Claude 改了程式、之後沒跑測試、建置或檢查就說完成時,請它驗證一次並附上結果。設定:done_check。
  • 回覆語言提醒: Claude 的說明漂離你的語言(繁體中文、簡體中文、英文、日文)時,在這一輪過程中提醒一次。程式碼、路徑與中文裡夾的英文術語不算。設定:reply_language。
  • 流程變成專案 skill: 你讓 Claude 重複做過的多步驟工作(例如發版)會記成流程;出現 3 次後,Claude 會在你的 repo 建立 .claude/skills/<名稱>/SKILL.md,不 commit。
  • 面板的設定分頁: 所有設定集中在一處,標出每個值從哪來,並可以還原。
  • 整理間隔可以調: distill_every(預設 30 則訊息)。

變更

  • 交接摘要更好用: 分開驗證過的與還沒驗證的改動,列出失敗過的做法與沒收尾的事,保留你訂的限制,最後給一個下一步。
  • 設定離開 /config: 改放在面板,/config 不會越來越長。settings.json 裡的值仍然有效,給看不到面板的 VS Code 擴充功能用;兩邊都有時以面板為準。
  • README 為第一次接觸的讀者重寫。
  • 給貢獻者:檢查加入 Biome lint,程式拆成較小的檔案,測試依主題分檔。

修正

  • 「說完成前先驗證」不再把背景子代理改的檔算成主對話的。

Full changelog / 完整差異: ctx-handoff--v0.4.0...ctx-handoff--v0.5.0

ctx-handoff 0.4.0

ctx-handoff 0.4.0 Pre-release
Pre-release

Choose a tag to compare

@cablate cablate released this 07 Oct 15:31

Added

  • Rules move into your repo: a rule that came up 3 times, or a guard that's on, is handed to Claude at the start of the next conversation in a git repo. Claude puts it where the project keeps its rules, checks for duplicates, doesn't commit, and reports where it went; ctx-handoff then stops loading its own copy. Say no and it's undone and not asked again.

Changed

  • Settings no longer live in the code: threshold, idle time, keep-warm count, smallest conversation, notes model and language are plugin settings (/plugin configure, or pluginConfigs in settings.json), kept across updates. Editing hooks/register.ts is no longer needed.
  • Removed the "cache keeping isn't confirmed" limitation: real sessions show the 2nd and 3rd refreshes (110 and 165 minutes idle) reading the whole conversation from cache.
  • The code is split into smaller files, and CONTRIBUTING.md describes the code style; .editorconfig added.

Fixed

  • The tool Claude uses to report a rule moved into the repo stays available after a session is resumed or the mod reloads.

Install: claude plugin marketplace add cablate/ctx-handoff-mod, then claude plugin install ctx-handoff@ctx-handoff-mod. Already installed from the marketplace: claude plugin update ctx-handoff@ctx-handoff-mod.

ctx-handoff 0.3.0

ctx-handoff 0.3.0 Pre-release
Pre-release

Choose a tag to compare

@cablate cablate released this 07 Oct 12:35

Added

  • English messages: messages follow your system language (or Claude Code's language setting): Traditional Chinese for Chinese, English otherwise. Set UI_LANG to force one.
  • Install from the plugin marketplace: claude plugin marketplace add cablate/ctx-handoff-mod, then claude plugin install ctx-handoff@ctx-handoff-mod.
  • Guards: /handoff guard suggest turns a rule that came up 3 times into a check on tool calls (block or remind). Nothing applies until you approve it with /handoff guard on N.
  • Panel: /handoff panel opens a panel above the prompt to approve guards, see the latest notes update and delete wrong notes (backed up first).
  • The status line counts down to the next notes update and shows when one is running.

Changed

  • Handoff summaries and project notes are written in the language you use in the conversation.
  • Each memory is now a one-line title plus details. Preferences and corrections load in full; facts and locations load as titles only.
  • Facts and locations unconfirmed for 30 days are archived (not loaded, not deleted) instead of capping the number of notes.
  • Status line, toast and log text no longer repeat the [ctx-handoff] prefix.

Fixed

  • Command replies no longer repeat the [ctx-handoff] prefix that Claude Code already adds.
  • The idle cache timer picks up again after the mod hot-reloads.
  • The panel no longer reads files on every redraw, which made buttons feel stuck.

Install: claude plugin marketplace add cablate/ctx-handoff-mod, then claude plugin install ctx-handoff@ctx-handoff-mod. Already installed from the marketplace: claude plugin update ctx-handoff@ctx-handoff-mod.