Skip to content

Tell the Maintainer to Correct, Not Unset, an Uncontainable Prefix - #1909

Merged
ptr727 merged 1 commit into
developfrom
fix/drift-wording-1907
Sep 26, 2026
Merged

ptr727 merged 1 commit into
developfrom
fix/drift-wording-1907

Conversation

@ptr727

@ptr727 ptr727 commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Summary

This answers a previously-missed finding on promotion #1907. The --report drift message for this kit's prefix, registered where the host cannot contain, said to re-run the installer "to unset it". The same verdict also covers a missing or broken deployed prefix, which the re-run repairs and re-registers rather than unsets. It now says "to correct it", which holds on both paths.

🤖 Generated with Claude Code

The drift message for a prefix registered where the host cannot contain
said to re-run the installer to unset it, while a missing or broken
deployed prefix is repaired and re-registered by that re-run instead.
It now says to re-run the installer to correct it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 26, 2026 23:55
@coderabbitai

coderabbitai Bot commented Sep 26, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 6c36b822-845d-4c1f-b1ad-7b0b2c84e2c1


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.

Copilot AI 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.

Copilot review overview

🟢 Approval recommended

The change is a narrow wording correction that improves accuracy of operator guidance without affecting behavior.

Review effort: Lite
Findings: None

What changed in this PR

Updates the --report drift message for an uncontainable CLAUDE_CODE_SHELL_PREFIX value to direct maintainers to re-run the installer “to correct it” (rather than “to unset it”), aligning the guidance with both stale/missing-prefix and uncontainable-prefix scenarios.

Changes:

  • Reword the remediation guidance for a containment prefix that is configured on a host that cannot apply containment.
File Description
host-setup/​agent-safety/​claude/​install.py Adjusts the drift message to recommend correcting the prefix value via installer re-run.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ptr727
ptr727 merged commit 0bdde8d into develop Sep 26, 2026
9 checks passed
@ptr727
ptr727 deleted the fix/drift-wording-1907 branch September 26, 2026 23:57
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.

2 participants