Skip to content

fix(memsearch): disable project_review task and remove PROJECT.md references - #920

Merged
yxtay merged 2 commits into
mainfrom
fix/disable-memsearch-project-review
Jul 21, 2026
Merged

fix(memsearch): disable project_review task and remove PROJECT.md references#920
yxtay merged 2 commits into
mainfrom
fix/disable-memsearch-project-review

Conversation

@yxtay

@yxtay yxtay commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Disable project_review maintenance task for claude-code and opencode plugins in memsearch config — not useful with MEMSEARCH_DIR global (single state key → only one project refreshes per digest cycle; journals are cross-project)
  • Remove PROJECT.md from okf-wiki maintenance hook prompt construction
  • Remove PROJECT.md references from okf-wiki prompt template

Test plan

  • Run chezmoi apply and verify ~/.memsearch/config.toml has no project_review blocks
  • Confirm okf-wiki maintenance hook no longer passes Project review: line in prompt
  • Verify ~/.memsearch/USER.md still updates normally via user_profile task

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Changes
    • Removed project review processing from automated memory and wiki workflows.
    • Continued support for user profile updates and memory-to-skill generation.
    • Wiki maintenance now uses the wiki content, user profile, and recent memory context.
    • Wiki review guidance now treats the user profile and memory files as protected inputs.

…erences

project_review is not useful with MEMSEARCH_DIR global: a single state
key means only one project's file refreshes per digest cycle, while
journals are cross-project. Remove PROJECT.md from the okf-wiki
maintenance hook prompt and prompt template.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the fix label Jul 21, 2026
@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@yxtay, 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: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f73a5660-b434-42f2-9a32-feec4a20640e

📥 Commits

Reviewing files that changed from the base of the PR and between ae38c80 and f265408.

📒 Files selected for processing (1)
  • chezmoi/private_dot_agents/skills/okf/hooks/okf-wiki-review.txt
📝 Walkthrough

Walkthrough

Project review plugins and PROJECT.md handling are removed from memsearch configuration and OKF wiki hooks. User profile, memory-to-skill, USER.md, and memory-file handling remain.

Changes

Project review removal

Layer / File(s) Summary
Disable project review plugins
chezmoi/.chezmoitemplates/memsearch_config.toml
Removes Claude Code and OpenCode project_review configurations while retaining user_profile and memory_to_skill.
Align OKF wiki prompts
chezmoi/private_dot_agents/skills/okf/hooks/executable_okf-wiki-maintenance.sh, chezmoi/private_dot_agents/skills/okf/hooks/okf-wiki-review.txt
Removes PROJECT.md from maintenance prompt assembly, primary context guidance, and protected-file instructions.

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

Possibly related PRs

Poem

I’m a rabbit hopping light,
No project notes in prompts tonight.
USER.md stays tucked in place,
Memory still keeps its trace.
Review plugins fade from sight—
Hop, hop, everything feels right!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: disabling project_review and removing PROJECT.md references.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/disable-memsearch-project-review

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.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request removes the project review feature (PROJECT.md) from the memsearch configuration, the wiki maintenance script, and the associated agent prompt. The review feedback suggests a minor grammatical correction in the prompt documentation to change 'synthesized summaries' to the singular 'synthesized summary' since only USER.md remains.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment on lines +4 to +5
and, when listed, memsearch-synthesized USER.md (user profile) as additional context. Treat
synthesized summaries as primary; use raw memory files for detail not captured there.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Since PROJECT.md has been removed, only USER.md remains as a synthesized summary. The text should be updated to use the singular form 'synthesized summary' to maintain grammatical correctness.

and, when listed, memsearch-synthesized USER.md (user profile) as additional context. Treat
synthesized summary as primary; use raw memory files for detail not captured there.

@github-actions

Copy link
Copy Markdown
Contributor

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ BASH shfmt 5 0 0 0 0.02s
✅ JSON prettier 8 0 0 0 0.55s
✅ MARKDOWN markdownlint 10 0 0 0 0.89s
✅ MARKDOWN markdown-table-formatter 12 0 0 0 0.15s
✅ YAML prettier 11 0 0 0 0.59s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.6.0 --custom-flavor-setup --custom-flavor-linters BASH_SHFMT,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,YAML_PRETTIER

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@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 `@chezmoi/private_dot_agents/skills/okf/hooks/okf-wiki-review.txt`:
- Around line 4-5: Remove the “project review files listed” reference from Step
3 in the okf wiki review instructions, including the corresponding occurrence
noted in the additional location. Keep Step 3 limited to the supported
memsearch-synthesized USER.md and raw memory context, without reintroducing
project-review files to the protected read-only set.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9ba5193f-df2c-4b96-ad70-83b85f0353e8

📥 Commits

Reviewing files that changed from the base of the PR and between 180f0bb and ae38c80.

📒 Files selected for processing (3)
  • chezmoi/.chezmoitemplates/memsearch_config.toml
  • chezmoi/private_dot_agents/skills/okf/hooks/executable_okf-wiki-maintenance.sh
  • chezmoi/private_dot_agents/skills/okf/hooks/okf-wiki-review.txt
💤 Files with no reviewable changes (2)
  • chezmoi/private_dot_agents/skills/okf/hooks/executable_okf-wiki-maintenance.sh
  • chezmoi/.chezmoitemplates/memsearch_config.toml

Comment thread chezmoi/private_dot_agents/skills/okf/hooks/okf-wiki-review.txt
@github-actions

Copy link
Copy Markdown
Contributor

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ BASH bash-exec 5 0 0 0.02s
✅ BASH shellcheck 5 0 0 0.42s
✅ REPOSITORY betterleaks yes no no 3.86s
✅ REPOSITORY checkov yes no no 24.94s
✅ REPOSITORY devskim yes no no 2.07s
✅ REPOSITORY dustilock yes no no 0.03s
✅ REPOSITORY gitleaks yes no no 1.64s
✅ REPOSITORY grype yes no no 63.92s
✅ REPOSITORY kingfisher yes no no 11.37s
✅ REPOSITORY osv-scanner yes no no 0.08s
✅ REPOSITORY secretlint yes no no 1.78s
✅ REPOSITORY syft yes no no 2.21s
✅ REPOSITORY trivy yes no no 10.52s
✅ REPOSITORY trivy-sbom yes no no 0.15s
✅ REPOSITORY trufflehog yes no no 3.67s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.6.0 --custom-flavor-setup --custom-flavor-linters BASH_EXEC,BASH_SHELLCHECK,REPOSITORY_CHECKOV,REPOSITORY_DEVSKIM,REPOSITORY_DUSTILOCK,REPOSITORY_GITLEAKS,REPOSITORY_BETTERLEAKS,REPOSITORY_GRYPE,REPOSITORY_OSV_SCANNER,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,REPOSITORY_KINGFISHER

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@github-actions

Copy link
Copy Markdown
Contributor

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 5 0 0 0.34s
✅ ACTION zizmor 5 0 0 0 1.36s
✅ BASH bash-exec 5 0 0 0.01s
✅ BASH shellcheck 5 0 0 0.24s
✅ BASH shfmt 5 0 0 0 0.03s
✅ COPYPASTE jscpd yes no no 0.13s
✅ EDITORCONFIG editorconfig-checker 87 0 0 0.11s
✅ JSON prettier 8 0 0 0 0.31s
✅ JSON v8r 12 0 0 4.26s
✅ MARKDOWN markdownlint 10 0 0 0 0.83s
✅ MARKDOWN markdown-table-formatter 12 0 0 0 0.24s
✅ REPOSITORY betterleaks yes no no 1.23s
✅ REPOSITORY checkov yes no no 23.84s
✅ REPOSITORY gitleaks yes no no 2.79s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 60.62s
✅ REPOSITORY osv-scanner yes no no 0.12s
✅ REPOSITORY secretlint yes no no 1.43s
✅ REPOSITORY syft yes no no 3.25s
✅ REPOSITORY trivy yes no no 12.3s
✅ REPOSITORY trivy-sbom yes no no 0.18s
✅ REPOSITORY trufflehog yes no no 4.13s
⚠️ SPELL lychee 36 9 0 1.06s
✅ YAML prettier 11 0 0 0 0.55s
✅ YAML v8r 11 0 0 8.02s
✅ YAML yamllint 11 0 0 0.62s

Detailed Issues

⚠️ SPELL / lychee - 9 errors
📝 Summary
---------------------
🔍 Total...........32
🔗 Unique..........24
✅ Successful......23
⏳ Timeouts.........0
🔀 Redirected.......3
👻 Excluded.........0
❓ Unknown..........0
🚫 Errors...........9
⛔ Unsupported......9

Errors in chezmoi/.chezmoitemplates/mcp_servers.json
[406] https://mcp.deepwiki.com/mcp (at 11:15) | Rejected status code: 406 Not Acceptable

Errors in chezmoi/.chezmoitemplates/opencode.json
[406] https://mcp.deepwiki.com/mcp (at 32:15) | Rejected status code: 406 Not Acceptable

Errors in chezmoi/private_dot_agents/skills/okf/templates/concept.md
[ERROR] file://chezmoi/private_dot_agents/skills/okf/templates/url (at 24:5) | File not found. Check if file exists and path is correct

Errors in chezmoi/private_dot_agents/skills/okf/templates/index.md
[ERROR] file://chezmoi/private_dot_agents/skills/okf/templates/relative-url (at 3:3) | File not found. Check if file exists and path is correct
[ERROR] file://chezmoi/private_dot_agents/skills/okf/templates/relative-url (at 4:3) | File not found. Check if file exists and path is correct
[ERROR] file://chezmoi/private_dot_agents/skills/okf/templates/subdir (at 8:3) | File not found. Check if file exists and path is correct

Errors in chezmoi/private_dot_agents/skills/okf/templates/log.md
[ERROR] file://chezmoi/private_dot_agents/skills/okf/templates/bundle-relative-path (at 5:36) | File not found. Check if file exists and path is correct
[ERROR] file://chezmoi/private_dot_agents/skills/okf/templates/bundle-relative-path (at 6:30) | File not found. Check if file exists and path is correct
[ERROR] file://chezmoi/private_dot_agents/skills/okf/templates/bundle-relative-path (at 7:39) | File not found. Check if file exists and path is correct

Hint: Followed 3 redirects. You might want to consider replacing redirecting URLs with the resolved URLs. Use verbose mode (`-v`/`-vv`) to see redirection details.
Hint: You can configure accepted/rejected response codes with `-a` or `--accept`

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.6.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,ACTION_ZIZMOR,BASH_EXEC,BASH_SHELLCHECK,BASH_SHFMT,COPYPASTE_JSCPD,EDITORCONFIG_EDITORCONFIG_CHECKER,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_BETTERLEAKS,REPOSITORY_GRYPE,REPOSITORY_OSV_SCANNER,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@yxtay
yxtay merged commit 2dabf9b into main Jul 21, 2026
18 of 20 checks passed
@yxtay
yxtay deleted the fix/disable-memsearch-project-review branch July 21, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant