From ed5f84865c5eddac80458c2bb832a823730eb6d2 Mon Sep 17 00:00:00 2001 From: Suppaseth Charoenkarnka Date: Thu, 30 Jul 2026 09:58:17 +0700 Subject: [PATCH] feat(digest): interview closes with a schedule offer (v3.4.10) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A user who just picked their sections shouldn't need to know a second command to get the daily run — the interview now offers to write the schedule entry + register in the same flow (default 08:30), never re-offering once an entry exists. --- .claude/plugins/onebrain/.claude-plugin/plugin.json | 2 +- .claude/plugins/onebrain/.codex-plugin/plugin.json | 2 +- .claude/plugins/onebrain/skills/digest/SKILL.md | 7 +++++++ CHANGELOG.md | 6 +++++- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.claude/plugins/onebrain/.claude-plugin/plugin.json b/.claude/plugins/onebrain/.claude-plugin/plugin.json index a887c1bc..49a524bf 100644 --- a/.claude/plugins/onebrain/.claude-plugin/plugin.json +++ b/.claude/plugins/onebrain/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "onebrain", - "version": "3.4.9", + "version": "3.4.10", "description": "OneBrain — Your AI Thinking Partner", "author": { "name": "OneBrain Contributors" diff --git a/.claude/plugins/onebrain/.codex-plugin/plugin.json b/.claude/plugins/onebrain/.codex-plugin/plugin.json index c960748d..e3542fa7 100644 --- a/.claude/plugins/onebrain/.codex-plugin/plugin.json +++ b/.claude/plugins/onebrain/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "onebrain", - "version": "3.4.9", + "version": "3.4.10", "description": "OneBrain — Your AI Thinking Partner", "namespace": "onebrain", "skills": "./skills/", diff --git a/.claude/plugins/onebrain/skills/digest/SKILL.md b/.claude/plugins/onebrain/skills/digest/SKILL.md index bde0bd7a..af8c5cd0 100644 --- a/.claude/plugins/onebrain/skills/digest/SKILL.md +++ b/.claude/plugins/onebrain/skills/digest/SKILL.md @@ -70,6 +70,13 @@ Ask with `AskUserQuestion` (multiSelect where sensible), one question per group: Write `[agent_folder]/digest.md` from the answers using the format above, show the user the note path, and remind them it is theirs to edit. +5. **Schedule offer (last interview question):** "ให้รันอัตโนมัติทุกเช้ามั้ย? กี่โมง?" + (default 08:30). On yes: append the entry to `onebrain.yml`'s `schedule:` block — + match the file's existing list style exactly — and run `onebrain schedule register`; + confirm with the ✓/✗ state from `onebrain schedule list`. On skip: mention + `/schedule-add` works any time later. Never re-offer when a `/digest` entry + already exists in the schedule block. + ## Step 1: Gather (per section present in config) Source quality rules learned from live testing — follow them, do not regress to diff --git a/CHANGELOG.md b/CHANGELOG.md index b3f76b7b..fd5cfe69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ --- -latest_version: 3.4.9 +latest_version: 3.4.10 released: 2026-07-30 --- @@ -11,6 +11,10 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). > **Versioning:** Plugin version is tracked in `plugin.json`. Bump when ANY harness config changes — skills, agents, hooks, INSTRUCTIONS, Gemini settings, slash commands, etc. > For CLI binary changes, see the [`onebrain-ai/onebrain-cli`](https://github.com/onebrain-ai/onebrain-cli/blob/main/CHANGELOG.md) repository. +## v3.4.10 — 2026-07-30 — /digest interview ends with a schedule offer + +- The first-run interview now closes by offering to schedule the digest ("ทุกเช้า กี่โมง?", default 08:30) — writes the `onebrain.yml` entry and runs `onebrain schedule register` in the same flow, confirming with the truthful ✓/✗ state. Skipping points at `/schedule-add`; the offer never repeats once a `/digest` entry exists. Closes the gap where a user who just chose their sections had to know a second command to get the daily run. + ## v3.4.9 — 2026-07-30 — /digest headless send is unconditional - The first live headless test skipped the Telegram send by inferring "the user invoked this manually, so they're at a keyboard" — the exact discretion a delivery convention cannot allow. The send step now states that `headless: true` IS the decision: no intent inference, and a manual `onebrain skill run` is a delivery test that must exercise the send.