Skip to content

feat(kb): add kb plugin with dream consolidation skill#76

Merged
duyet merged 3 commits into
masterfrom
feat/kb-dream-plugin
Jun 13, 2026
Merged

feat(kb): add kb plugin with dream consolidation skill#76
duyet merged 3 commits into
masterfrom
feat/kb-dream-plugin

Conversation

@duyet

@duyet duyet commented Jun 13, 2026

Copy link
Copy Markdown
Owner

New kb plugin for knowledge-base maintenance, with the dream skill.

dream — KB memory consolidation

Consolidates a markdown KB in one pass:

  • Merge near-duplicates (same type, >60% noun overlap, not pinned)
  • Flag contradictions (interactive A/B/skip; skipped in --auto)
  • Prune stale/low-value notes (type retention policies; pinned never pruned)
  • Ingest raw/inbox/ captures; refresh notes from sources: URLs when stale
  • Split multi-fact notes; validate frontmatter; relink/retag; rebuild MEMORY.md index
  • Verify scope (no secrets/hosts); stamp state

Modes: interactive (diff → approve → apply), --auto (non-interactive, lock-guarded at ${TMPDIR:-/tmp}/dream_auto.lock, skips conflicts, leaves a reminder), and forget "<query>" (delete specific notes).

Generic by design — no hardcoded paths. Invoke as dream ./docs/kb or dream $KB_DIR; works on any *.md-with-frontmatter KB. Aligned with a KB's own DREAM.md/AGENTS.md if present.

Registered in all three marketplace manifests; validate-plugins.sh passes (43 items, 0 failed); lint-clean.

Co-Authored-By: duyetbot duyetbot@users.noreply.github.com

- dream skill: consolidate a markdown KB — merge near-duplicates, flag contradictions, prune stale notes, ingest inbox, refresh from sources, split, rebuild the index. Diff-for-approval; --auto (lock-guarded, skips conflicts); forget (delete by query). KB-agnostic (path arg / $KB_DIR).

- Registered in marketplace.json, .claude-plugin/marketplace.json, .agents/plugins/marketplace.json; Claude + Codex manifests in sync.

Co-Authored-By: duyetbot <duyetbot@users.noreply.github.com>
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@sourcery-ai sourcery-ai 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.

Sorry @duyet, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@coderabbitai

coderabbitai Bot commented Jun 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@duyet, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 42 minutes and 20 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

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.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 0becd4ee-fc41-4da0-8a1a-4beffe694b79

📥 Commits

Reviewing files that changed from the base of the PR and between b92b2c4 and f4ce187.

📒 Files selected for processing (8)
  • .agents/plugins/marketplace.json
  • .claude-plugin/marketplace.json
  • kb/.claude-plugin/plugin.json
  • kb/.codex-plugin/plugin.json
  • kb/README.md
  • kb/commands/dream.md
  • kb/skills/dream/SKILL.md
  • marketplace.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/kb-dream-plugin

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 and usage tips.

Thin slash-command entry point: parses $ARGUMENTS (path / --auto / forget), resolves the KB via the argument or $KB_DIR, and delegates the full consolidation pass to the dream skill. Declares commands/ + Command capability in the Codex manifest.

Co-Authored-By: duyetbot <duyetbot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Welcome! 👋

Thank you for your first contribution to this project! We appreciate you taking the time to improve our codebase.

Next Steps

  • A maintainer will review your PR shortly
  • Please check for any review comments and address them
  • Feel free to ask questions if anything is unclear

Contribution Guidelines

  • Ensure all tests pass
  • Update documentation if needed
  • Keep changes focused and atomic

Thanks again for contributing! 🎉

Super-linter markdownlint MD040 requires a language on fenced code blocks. The diff-report and forget-diff templates were bare; mark them as text.

Co-Authored-By: duyetbot <duyetbot@users.noreply.github.com>
@duyet duyet merged commit 0e08ae2 into master Jun 13, 2026
14 checks passed
@duyet duyet deleted the feat/kb-dream-plugin branch June 13, 2026 20:44
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