Skip to content

docs: freshness fixes — dock badge TOML key, desktop_pins example, stale investigation status - #48

Open
jaylfc wants to merge 5 commits into
mainfrom
docs/auto-freshness-20260720
Open

docs: freshness fixes — dock badge TOML key, desktop_pins example, stale investigation status#48
jaylfc wants to merge 5 commits into
mainfrom
docs/auto-freshness-20260720

Conversation

@jaylfc

@jaylfc jaylfc commented Jul 20, 2026

Copy link
Copy Markdown
Owner

What's stale and what's fixed

1. Wrong TOML table name for dock badge colors. README's Configuration example (and the "Dock app-grouping" bullet in "What works today") documented the per-app dock badge colors under a [dock.badges] TOML table. Config::dock_badges (src/config.rs:117) has no #[serde(rename)], so the real TOML key is dock_badges, not a dotted [dock.badges] table. Verified by round-tripping both forms through Config::from_toml_str:

  • [dock.badges] with custom entries deserializes to the defaults — any custom colors are silently dropped.
  • [dock_badges] deserializes correctly, including custom entries.

This bug survived prior docs-freshness passes because the example's own values (claude = "orange", kilo = "yellow") are identical to the built-in defaults, masking the drop.

2. desktop_pins had no documented TOML example. The Configuration section had worked examples for [[apps]] and [[launcher]] but none for desktop_pins, even though "What works today" documents pinned desktop shortcuts as a user-facing feature and Config::desktop_pins (src/config.rs:92-95) is an actively-used AppEntry list, not internal-only. Added an example matching the real default_desktop_pins() entries (Files + Store via @files/@store).

3. Stale "open investigation" status contradicting CLAUDE.md. docs/superpowers/plans/2026-06-14-update-stuck-investigation.md still read as an open bug "blocked on a log from the user." Commit 1ef7c35 (shipped as 0.2.10) root-caused and fixed it — both install.sh and check_for_updates() were hitting GitHub's rate-limited REST API for the latest-release lookup, which silently fell back to a slow source build once rate-limited. Commit 31846f9 updated CLAUDE.md to say so, but never touched this plans doc, leaving the two docs contradicting each other. Added a short "Resolved in 0.2.10" note at the top, per this repo's append-only convention for dated plan docs (kept the original historical body intact below it).

4. README install line omitted Linux arm64. The "Prebuilt binary" line under Install said "macOS arm64/x86_64, Linux x86_64" — but the release build matrix (.github/workflows/release.yml) has built an aarch64-unknown-linux-gnu binary on the ubuntu-22.04-arm runner (one of the four platform targets CLAUDE.md itself already describes correctly), and install.sh maps Linux/aarch64 to that target. The one platform-support line a user actually reads was simply incomplete. Now reads "Linux x86_64/arm64".

Scope check

  • Docs-only — README.md and one file under docs/superpowers/plans/ — no code/config/CI changes.
  • Left the rest of docs/superpowers/{specs,plans}/*.md untouched — those are historical design records per the repo's append-only convention.

Repo activity (informational, no action taken)

Summary by CodeRabbit

  • Documentation
    • Corrected the README configuration table name to dock_badges.
    • Added default desktop pin examples for Files and Store.
    • Documented prebuilt Linux arm64 binaries alongside supported platforms.
    • Added an investigation update confirming the stuck updater issue was resolved in version 0.2.10.

README's Configuration example and prose both wrote [dock.badges],
but Config::dock_badges (src/config.rs) has no serde rename, so the
real TOML key is dock_badges. Pasting the documented example into
config.toml silently no-ops on any custom entries since [dock.badges]
deserializes to nothing and the field falls back to its defaults —
which happen to match the example's own claude/kilo values, masking
the bug.
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The README updates dock badge configuration, desktop pin examples, and Linux arm64 binary documentation. The investigation plan records the updater resolution and marks earlier investigation instructions as stale.

Changes

Documentation updates

Layer / File(s) Summary
Update README configuration and platform documentation
README.md
The README uses [dock_badges], adds Files and Store desktop pin examples, and lists Linux arm64 binaries.
Record update-resolution findings
docs/superpowers/plans/...
The plan documents the 0.2.10 updater resolution and marks earlier investigation instructions as stale.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main documentation changes, including the dock badge key, desktop_pins example, and investigation status update.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/auto-freshness-20260720

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gitar-bot

gitar-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown

Gitar is working

Gitar

@kilo-code-bot

kilo-code-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 file)
  • README.md
Previous Review Summaries (4 snapshots, latest commit b7b2223)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit b7b2223)

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • README.md — dock_badges TOML key fix and desktop_pins example added; both verified against src/config.rs
  • docs/superpowers/plans/2026-06-14-update-stuck-investigation.md — original header restored, 0.2.10 resolution appended as dated addendum per append-only convention

Previous review (commit 8d6441e)

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • README.md - 3 commits, all verified correct against src/config.rs
  • docs/superpowers/plans/2026-06-14-update-stuck-investigation.md - marked resolved in 0.2.10

Previous review (commit 8c8e20e)

Verdict: No Issues Found | Recommendation: Merge

Oh wait, this PR is actually clean. I need to sit down. I had my flamethrower warmed up and everything.

📊 Overall: Like finding a unicorn in production — I didn't think clean docs-only PRs existed anymore, but here we are.

Files Reviewed (1 file)
  • README.md - 2 commits, both verified correct against src/config.rs

Previous review (commit d9474b5)

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 file)
  • README.md - 2 lines changed (both verified correct)

Notes

This is a docs-only change correcting the documented TOML key from [dock.badges] to [dock_badges]. The fix was verified against src/config.rs:117, which defines pub dock_badges: BTreeMap<...> with no #[serde(rename)] — confirming dock_badges is the real deserialization key. The PR's root-cause analysis is accurate: the previous [dock.badges] table silently deserialized to defaults, masking the bug because the example values matched the built-in defaults.

The remaining [dock.badges] references in docs/superpowers/{specs,plans}/ are historical append-only design records and are correctly left unchanged, consistent with the repo's documentation convention.


Reviewed by step-3.7-flash · Input: 27.1K · Output: 3.2K · Cached: 184.3K

The Configuration section shows worked examples for [[apps]] and
[[launcher]] but had none for desktop_pins, even though "What works
today" documents pinned desktop shortcuts as a user-facing feature and
Config::desktop_pins (src/config.rs) is an actively-used AppEntry list
(not internal-only, unlike filemanager_view/desktop_positions). Added
an example matching the real default_desktop_pins() entries (Files +
Store via @files/@store) so users have a template to add their own.
@jaylfc jaylfc changed the title docs: fix wrong TOML table name for dock badge colors docs: freshness fixes — dock badge TOML key, desktop_pins example Jul 23, 2026
The 2026-06-14 session-handoff doc still read as an open investigation
blocked on a user log. CLAUDE.md and CHANGELOG.md's 0.2.10 entry (commit
1ef7c35) already document the fix; this doc was never updated to match,
so it contradicted CLAUDE.md's own resolved status.
@jaylfc jaylfc changed the title docs: freshness fixes — dock badge TOML key, desktop_pins example docs: freshness fixes — dock badge TOML key, desktop_pins example, stale investigation status Jul 30, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/superpowers/plans/2026-06-14-update-stuck-investigation.md`:
- Around line 3-17: Restore the original 2026-06-14 handoff content and preserve
its historical status unchanged. Move the 0.2.10 resolution into a new appended,
dated entry after the original record, following the append-only convention for
this plan document and retaining the existing resolution details there.
- Around line 10-17: Mark the later “START HERE NEXT SESSION” section as
historical and not actionable by adding an explicit “Historical — do not follow”
marker or placing it under an archive heading. Keep the existing handoff content
and append-only structure unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f2a3d4e0-bc45-47da-b88a-3365ce20c44f

📥 Commits

Reviewing files that changed from the base of the PR and between 8c8e20e and 8d6441e.

📒 Files selected for processing (1)
  • docs/superpowers/plans/2026-06-14-update-stuck-investigation.md

Comment thread docs/superpowers/plans/2026-06-14-update-stuck-investigation.md Outdated
Comment on lines +10 to +17
current description. The "START HERE NEXT SESSION" steps below are stale —
kept for historical record only, per this repo's append-only convention for
dated plan docs.

Status at pause (2026-06-14, now historical): **0.2.9 shipped.** One open bug
under active investigation (in-app "update from Settings" still gets stuck)
plus one tracked feature (Wayland compositor). This doc is the handoff so a
fresh session can resume without re-deriving anything.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Mark the archived handoff section itself as historical.

Although this paragraph says the next-session steps are stale, the later START HERE NEXT SESSION heading and shell commands still read as current instructions. Add an explicit “Historical — do not follow” marker to that section or move it under an archive heading.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/superpowers/plans/2026-06-14-update-stuck-investigation.md` around lines
10 - 17, Mark the later “START HERE NEXT SESSION” section as historical and not
actionable by adding an explicit “Historical — do not follow” marker or placing
it under an archive heading. Keep the existing handoff content and append-only
structure unchanged.

jaylfc added 2 commits July 30, 2026 12:30
…dum instead

CodeRabbit flagged (Major, per this repo's own docs/superpowers/{specs,plans}
path instructions) that the previous commit edited the original 2026-06-14
handoff record in place instead of appending a new dated entry. Restored the
original record unchanged and moved the 0.2.10 resolution note into a new
"Addendum (2026-07-20)" section at the end of the file, consistent with the
append-only convention CLAUDE.md documents for these dated plan docs.
The release build matrix (.github/workflows/release.yml) has built an
aarch64-unknown-linux-gnu binary on the ubuntu-22.04-arm runner since the
four-platform release pipeline, and install.sh already maps Linux/aarch64
to that target — but the README install line still only advertised macOS
arm64/x86_64 and Linux x86_64, leaving out the platform users on arm64
Linux (Raspberry Pi, Asahi, cloud arm64 VMs) actually get a working
prebuilt for.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/superpowers/plans/2026-06-14-update-stuck-investigation.md`:
- Around line 116-118: Mark the retained “START HERE NEXT SESSION” handoff as
historical without editing the original dated record, following the append-only
convention. Add a clear “Historical — do not follow” designation immediately
before that section, or place it under an archive heading in the new dated
addendum.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 287c76df-7aca-4e7d-9085-b087694099df

📥 Commits

Reviewing files that changed from the base of the PR and between 8d6441e and 2686b4e.

📒 Files selected for processing (2)
  • README.md
  • docs/superpowers/plans/2026-06-14-update-stuck-investigation.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • README.md

Comment on lines +116 to +118
description. The "START HERE NEXT SESSION" steps above are stale as of this
addendum — the original record above is left unedited per this repo's
append-only convention for dated plan docs.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Mark the retained handoff as historical.

Line [116] says that the steps are stale, but the START HERE NEXT SESSION heading and shell commands still appear as active instructions. Add Historical — do not follow before that section, or move the section under an archive heading.

Suggested fix
 ---
 
+> **Historical — do not follow.**
+
 ## ▶ START HERE NEXT SESSION — ask the user these again

As per path instructions: docs/superpowers/{specs,plans}/**: Append new dated design records to docs/superpowers/{specs,plans}; do not retrofit old records.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/superpowers/plans/2026-06-14-update-stuck-investigation.md` around lines
116 - 118, Mark the retained “START HERE NEXT SESSION” handoff as historical
without editing the original dated record, following the append-only convention.
Add a clear “Historical — do not follow” designation immediately before that
section, or place it under an archive heading in the new dated addendum.

Source: Path instructions

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.

1 participant