Skip to content

Refresh managed guidance during init - #54

Merged
TerminallyLazy merged 1 commit into
mainfrom
codex/refresh-managed-guidance-v0.15.2
Aug 25, 2026
Merged

Refresh managed guidance during init#54
TerminallyLazy merged 1 commit into
mainfrom
codex/refresh-managed-guidance-v0.15.2

Conversation

@TerminallyLazy

@TerminallyLazy TerminallyLazy commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • refresh existing recognized Tree Ring managed sections during init, not only missing sections
  • preserve custom content outside managed sections and CRLF line endings
  • add a regression test proving legacy installer text is replaced
  • release the migration as CLI v0.15.2

Validation

  • full certification suite passes
  • all Rust tests, strict Clippy, release build, harness evidence, and recall-quality evidence pass

High-level PR Summary

This PR releases CLI version 0.15.2 with an enhancement to the initialization process for managed guidance sections. The key change updates the maybe_backfill_generated_file function to refresh existing Tree Ring managed sections (in AGENTS.md, SKILL.md, and CLI.md) during init, not just insert missing ones. The implementation preserves custom content outside managed sections and respects CRLF line endings, ensuring legacy installer text is replaced while user customizations remain intact. A new regression test validates that stale managed content is properly refreshed while custom notes are preserved.

⏱️ Estimated Review Time: 5-15 minutes

💡 Review Order Suggestion
Order File Path
1 crates/tree-ring-memory-cli/src/agent_awareness.rs
2 crates/tree-ring-memory-cli/Cargo.toml
3 crates/tree-ring-memory-sqlite/Cargo.toml
4 Cargo.toml
5 Cargo.lock
6 README.md
7 docs/press-kit.md
8 marketing/README.md

Need help? Join our Discord

@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 Aug 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 11 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: b76fa194-cfda-4013-814a-489d51243008

📥 Commits

Reviewing files that changed from the base of the PR and between b93775e and 0324199.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (7)
  • Cargo.toml
  • README.md
  • crates/tree-ring-memory-cli/Cargo.toml
  • crates/tree-ring-memory-cli/src/agent_awareness.rs
  • crates/tree-ring-memory-sqlite/Cargo.toml
  • docs/press-kit.md
  • marketing/README.md

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.

@TerminallyLazy
TerminallyLazy merged commit 6ef385c into main Aug 25, 2026
2 of 4 checks passed
@TerminallyLazy
TerminallyLazy deleted the codex/refresh-managed-guidance-v0.15.2 branch August 25, 2026 21:54
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