Skip to content

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

Open
jaylfc wants to merge 4 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 4 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).

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
    • Updated the README to use the correct dock_badges TOML table name (underscore) instead of the dot-separated form, in both the feature description and configuration example.
    • Expanded the configuration example with a new [[desktop_pins]] section that includes default pinned entries for “Files” and “Store.”
    • Updated the stuck update investigation plan with a resolution note indicating it 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

Warning

Review limit reached

@jaylfc, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 56 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: be261778-e7a3-4498-8ddd-551630fae4be

📥 Commits

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

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

Walkthrough

The README updates dock badge references to [dock_badges] and adds default [[desktop_pins]] examples. The investigation plan documents the 0.2.10 resolution and updates its historical handoff status.

Changes

README configuration update

Layer / File(s) Summary
Update TOML configuration documentation
README.md
The feature description and configuration example now use [dock_badges] and include example desktop pins for “Files” and “Store”.

Update investigation documentation

Layer / File(s) Summary
Record update-resolution findings
docs/superpowers/plans/...
The plan documents the 0.2.10 release-resolution change, marks prior instructions as stale, and revises the historical status wording.

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 accurately summarizes the documentation updates: the dock badge TOML key fix, the desktop_pins example, and the investigation status refresh.
✨ 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 (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 Summaries (3 snapshots, latest commit 8d6441e)

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

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: 66.1K · Output: 10.9K · Cached: 701.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 on lines +3 to +17
**Resolved in 0.2.10** (commit 1ef7c35): both `install.sh` and
`check_for_updates()` resolved the latest release via the rate-limited
`api.github.com` REST endpoint, which answered a 403 once rate-limited and
was silently read as "no published release yet" — dropping Settings' Update
& Reload into a multi-minute source build that looked hung. Both now resolve
the tag from the `github.com/OWNER/REPO/releases/latest` web redirect
instead. See CLAUDE.md's "Versioning & release channels" section for the
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 | 🟠 Major | ⚡ Quick win

Preserve the dated handoff and append the resolution instead.

This change rewrites the existing 2026-06-14 record. Keep the original historical status intact and append a new dated resolution entry, so the investigation timeline remains faithful to the append-only documentation convention.

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

🧰 Tools
🪛 LanguageTool

[uncategorized] ~4-~4: The official name of this software platform is spelled with a capital “H”.
Context: ...the latest release via the rate-limited api.github.com REST endpoint, which answered a 40...

(GITHUB)

🤖 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
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.

Source: Path instructions

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.

…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.
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