Skip to content

fix(herdr): list memory notes apart and finish the extras follow-ups - #972

Merged
runkids merged 1 commit into
mainfrom
runkids/herdr-extras-followup
Nov 20, 2026
Merged

runkids merged 1 commit into
mainfrom
runkids/herdr-extras-followup

Conversation

@runkids

@runkids runkids commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Type

  • Bug fix
  • Small improvement (docs, typo, minor refactor)
  • Feature proposal (proposals/ only — see CONTRIBUTING.md)
  • Approved feature or large change (the linked issue has the approved label)

Linked Issue

Follow-up to #961, which closed #930.

Change

The follow-ups the #961 review left for the maintainers:

  • Memory notes are listed apart and not counted. extras memory init saves a memory extra, so the memory folder appeared as an extra and each of its notes as a row too, and both were counted. As in the dashboard, the memory extra stays among the extras and counts; its notes go under a MEMORY NOTES section in the Extras tab, with a muted dot, no sync state and no count. A pending or failed memory read no longer shows notes as "sync status unknown" or holds the Extras count at "…".
  • Case is folded only for Windows paths when an extra's target is named (Codex thread on feat(herdr): show extras and memory notes in the panel #961). On POSIX, ~/.Claude/skills and ~/.claude/rules are different folders.
  • One extra counts once per target, even when two of its folders under one target wait (for example ~/.claude/rules and ~/.claude/commands).
  • A folder extra's preview says when it stops at 40 files. It reads one name past the 40 shown; a SKILL.md past the cut is still shown first.
  • Docs: the README and recipe intros name extras with the other kinds; README, both recipes, learn/with-herdr.md and its ja, ko, zh-Hans and zh-Hant copies describe the notes section. The feat(herdr): show extras and memory notes in the panel #961 translations were checked; zh-Hans now says the source, not a source file, is missing.

Not covered

  • panels.png (and the generated preview.png) still shows the panel before extras; it needs a redraw from the design board.
  • A skill's preview still stops at 40 files without saying so; only folder extras got the hint.
  • Not tried on a real Windows machine; the case-folding change is covered by tests with Windows and POSIX paths.

Checks run

  • make check in a devcontainer with this worktree mounted: passes (Go tests, lint, docs check, 159 Herdr tests).
  • python3 scripts/herdr/package-mod.py --check: up to date.
  • herdr-app check on both mod folders: passes.
  • Installed in Herdr on macOS for a hands-on look; the rendered panel has no automated check beyond the render tests.

Checklist

  • I've read CONTRIBUTING.md, including its AI-assisted contributions section
  • I've reviewed every line of the diff and can explain it
  • Tests included and passing (make check) — for code changes
  • No unrelated changes in the diff
  • Scope is focused — one concern per PR (the extras follow-ups from one review)

Follow-ups from the review of #961, which added extras to the panel.

Memory notes were counted twice. `extras memory init` saves a `memory`
extra, so `extras list` returns the memory folder as an extra while
`extras memory list` returns each note in it. The Extras count and
Overview's resource total counted both. Notes now have no sync state of
their own: they are listed under MEMORY NOTES in the Extras tab, apart
from the sync groups, and are not counted, as in the dashboard, which
lists the memory extra among extras and its notes on a page of their
own. For the same reason a pending or failed memory read no longer marks
notes "sync status unknown" or holds the Extras count at "…".

An extra's target was matched in any case, so on a case-sensitive POSIX
machine an extra in ~/.claude/rules was named after a target in
~/.Claude/skills. Case is now folded only when the scope's project
folder or target paths are Windows paths.

One extra waiting on two folders of one target, such as ~/.claude/rules
and ~/.claude/commands, added two to that target's count while Overview
said one resource waits. It now counts once per target.

A folder extra's preview stopped at 40 files without saying so. It now
reads one name past the 40 shown and says when the list goes on; a
SKILL.md past the cut is still shown first.

The README and recipe intros now name extras with the other kinds, and
the Library line in learn/with-herdr.md and its four translations
describes the notes section. zh-Hans now says the source, not a source
file, is missing, since a folder extra's source is a folder.

Refs #930
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T14:11:33.146433Z fb37482 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@runkids
runkids merged commit 036f342 into main Nov 20, 2026
10 checks passed
@runkids
runkids deleted the runkids/herdr-extras-followup branch November 24, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

herdr panel: show extras (files, folders, memory notes)

1 participant