Skip to content

fix: preserve modified built-in policy profiles#273

Merged
peg merged 2 commits into
stagingfrom
feat/doctor-policy-drift
Apr 25, 2026
Merged

fix: preserve modified built-in policy profiles#273
peg merged 2 commits into
stagingfrom
feat/doctor-policy-drift

Conversation

@peg

@peg peg commented Apr 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • teach doctor to distinguish stock built-in policies from customized ones
  • warn when a stock built-in profile is unstamped/stale and clearly label customized built-ins
  • preserve modified built-in profiles during upgrade instead of overwriting them
  • stamp policies written by setup so future drift checks are reliable

Testing

  • go test ./cmd/rampart/cli/... -count=1

@peg
peg merged commit 94f2e00 into staging Apr 25, 2026
4 checks passed
@peg
peg deleted the feat/doctor-policy-drift branch April 25, 2026 17:52
This was referenced Apr 27, 2026
peg added a commit that referenced this pull request Apr 27, 2026
* fix: harden agent integration checks (#261)

* fix: harden agent integration checks

* fix: require preload library before codex wrapper

* fix: make codex wrapper setup idempotent

* test: handle macos codex path canonicalization

* docs: align platform integration behavior

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: polish integration platform guidance (#262)

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.19 release notes (#263)

Co-authored-by: clap [bot] <[email protected]>

* docs: refresh rampart landing page (#265)

* docs: refresh rampart landing page

* docs: deepen landing page SEO and visuals

* docs: overhaul landing page hero and sections

* docs: replace generated feature cards with product mechanics

* docs: soften landing page origin note

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: update deployed landing page source on staging (#269)

Co-authored-by: clap [bot] <[email protected]>

* docs: polish rampart landing page (#270)

Co-authored-by: clap [bot] <[email protected]>

* fix: preserve modified built-in policy profiles (#273)

* fix: preserve modified built-in policy profiles

* fix: clarify built-in policy drift detection

---------

Co-authored-by: clap [bot] <[email protected]>

* fix: harden OpenClaw approval fallback behavior (#275)

* harden openclaw approval handling

* test: isolate proxy HOME state

* fix: make allow-always writeback more robust on windows

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: tighten README and landing page voice (#274)

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.20 release notes (#276)

Co-authored-by: clap [bot] <[email protected]>

* docs: sync deployed landing page source with canonical page

---------

Co-authored-by: clap [bot] <[email protected]>
peg added a commit that referenced this pull request Apr 29, 2026
* release: v0.9.20 (#277)

* fix: harden agent integration checks (#261)

* fix: harden agent integration checks

* fix: require preload library before codex wrapper

* fix: make codex wrapper setup idempotent

* test: handle macos codex path canonicalization

* docs: align platform integration behavior

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: polish integration platform guidance (#262)

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.19 release notes (#263)

Co-authored-by: clap [bot] <[email protected]>

* docs: refresh rampart landing page (#265)

* docs: refresh rampart landing page

* docs: deepen landing page SEO and visuals

* docs: overhaul landing page hero and sections

* docs: replace generated feature cards with product mechanics

* docs: soften landing page origin note

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: update deployed landing page source on staging (#269)

Co-authored-by: clap [bot] <[email protected]>

* docs: polish rampart landing page (#270)

Co-authored-by: clap [bot] <[email protected]>

* fix: preserve modified built-in policy profiles (#273)

* fix: preserve modified built-in policy profiles

* fix: clarify built-in policy drift detection

---------

Co-authored-by: clap [bot] <[email protected]>

* fix: harden OpenClaw approval fallback behavior (#275)

* harden openclaw approval handling

* test: isolate proxy HOME state

* fix: make allow-always writeback more robust on windows

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: tighten README and landing page voice (#274)

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.20 release notes (#276)

Co-authored-by: clap [bot] <[email protected]>

* docs: sync deployed landing page source with canonical page

---------

Co-authored-by: clap [bot] <[email protected]>

* fix: tighten openclaw setup trust signals

* test: cover openclaw plugin doctor warnings

* fix: tighten trust signals and self-mod policy

* docs: align OpenClaw approval guide

* docs: tidy support matrix placement

---------

Co-authored-by: clap [bot] <[email protected]>
peg added a commit that referenced this pull request Apr 29, 2026
* fix: harden agent integration checks (#261)

* fix: harden agent integration checks

* fix: require preload library before codex wrapper

* fix: make codex wrapper setup idempotent

* test: handle macos codex path canonicalization

* docs: align platform integration behavior

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: polish integration platform guidance (#262)

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.19 release notes (#263)

Co-authored-by: clap [bot] <[email protected]>

* docs: refresh rampart landing page (#265)

* docs: refresh rampart landing page

* docs: deepen landing page SEO and visuals

* docs: overhaul landing page hero and sections

* docs: replace generated feature cards with product mechanics

* docs: soften landing page origin note

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: update deployed landing page source on staging (#269)

Co-authored-by: clap [bot] <[email protected]>

* docs: polish rampart landing page (#270)

Co-authored-by: clap [bot] <[email protected]>

* fix: preserve modified built-in policy profiles (#273)

* fix: preserve modified built-in policy profiles

* fix: clarify built-in policy drift detection

---------

Co-authored-by: clap [bot] <[email protected]>

* fix: harden OpenClaw approval fallback behavior (#275)

* harden openclaw approval handling

* test: isolate proxy HOME state

* fix: make allow-always writeback more robust on windows

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: tighten README and landing page voice (#274)

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.20 release notes (#276)

Co-authored-by: clap [bot] <[email protected]>

* docs: sync deployed landing page source with canonical page

* fix: tighten OpenClaw trust signals and setup coherence (#278)

* release: v0.9.20 (#277)

* fix: harden agent integration checks (#261)

* fix: harden agent integration checks

* fix: require preload library before codex wrapper

* fix: make codex wrapper setup idempotent

* test: handle macos codex path canonicalization

* docs: align platform integration behavior

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: polish integration platform guidance (#262)

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.19 release notes (#263)

Co-authored-by: clap [bot] <[email protected]>

* docs: refresh rampart landing page (#265)

* docs: refresh rampart landing page

* docs: deepen landing page SEO and visuals

* docs: overhaul landing page hero and sections

* docs: replace generated feature cards with product mechanics

* docs: soften landing page origin note

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: update deployed landing page source on staging (#269)

Co-authored-by: clap [bot] <[email protected]>

* docs: polish rampart landing page (#270)

Co-authored-by: clap [bot] <[email protected]>

* fix: preserve modified built-in policy profiles (#273)

* fix: preserve modified built-in policy profiles

* fix: clarify built-in policy drift detection

---------

Co-authored-by: clap [bot] <[email protected]>

* fix: harden OpenClaw approval fallback behavior (#275)

* harden openclaw approval handling

* test: isolate proxy HOME state

* fix: make allow-always writeback more robust on windows

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: tighten README and landing page voice (#274)

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.20 release notes (#276)

Co-authored-by: clap [bot] <[email protected]>

* docs: sync deployed landing page source with canonical page

---------

Co-authored-by: clap [bot] <[email protected]>

* fix: tighten openclaw setup trust signals

* test: cover openclaw plugin doctor warnings

* fix: tighten trust signals and self-mod policy

* docs: align OpenClaw approval guide

* docs: tidy support matrix placement

---------

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.21 release notes (#279)

Co-authored-by: clap [bot] <[email protected]>

---------

Co-authored-by: clap [bot] <[email protected]>
peg added a commit that referenced this pull request Apr 30, 2026
* fix: harden agent integration checks (#261)

* fix: harden agent integration checks

* fix: require preload library before codex wrapper

* fix: make codex wrapper setup idempotent

* test: handle macos codex path canonicalization

* docs: align platform integration behavior

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: polish integration platform guidance (#262)

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.19 release notes (#263)

Co-authored-by: clap [bot] <[email protected]>

* docs: refresh rampart landing page (#265)

* docs: refresh rampart landing page

* docs: deepen landing page SEO and visuals

* docs: overhaul landing page hero and sections

* docs: replace generated feature cards with product mechanics

* docs: soften landing page origin note

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: update deployed landing page source on staging (#269)

Co-authored-by: clap [bot] <[email protected]>

* docs: polish rampart landing page (#270)

Co-authored-by: clap [bot] <[email protected]>

* fix: preserve modified built-in policy profiles (#273)

* fix: preserve modified built-in policy profiles

* fix: clarify built-in policy drift detection

---------

Co-authored-by: clap [bot] <[email protected]>

* fix: harden OpenClaw approval fallback behavior (#275)

* harden openclaw approval handling

* test: isolate proxy HOME state

* fix: make allow-always writeback more robust on windows

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: tighten README and landing page voice (#274)

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.20 release notes (#276)

Co-authored-by: clap [bot] <[email protected]>

* docs: sync deployed landing page source with canonical page

* fix: tighten OpenClaw trust signals and setup coherence (#278)

* release: v0.9.20 (#277)

* fix: harden agent integration checks (#261)

* fix: harden agent integration checks

* fix: require preload library before codex wrapper

* fix: make codex wrapper setup idempotent

* test: handle macos codex path canonicalization

* docs: align platform integration behavior

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: polish integration platform guidance (#262)

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.19 release notes (#263)

Co-authored-by: clap [bot] <[email protected]>

* docs: refresh rampart landing page (#265)

* docs: refresh rampart landing page

* docs: deepen landing page SEO and visuals

* docs: overhaul landing page hero and sections

* docs: replace generated feature cards with product mechanics

* docs: soften landing page origin note

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: update deployed landing page source on staging (#269)

Co-authored-by: clap [bot] <[email protected]>

* docs: polish rampart landing page (#270)

Co-authored-by: clap [bot] <[email protected]>

* fix: preserve modified built-in policy profiles (#273)

* fix: preserve modified built-in policy profiles

* fix: clarify built-in policy drift detection

---------

Co-authored-by: clap [bot] <[email protected]>

* fix: harden OpenClaw approval fallback behavior (#275)

* harden openclaw approval handling

* test: isolate proxy HOME state

* fix: make allow-always writeback more robust on windows

---------

Co-authored-by: clap [bot] <[email protected]>

* docs: tighten README and landing page voice (#274)

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.20 release notes (#276)

Co-authored-by: clap [bot] <[email protected]>

* docs: sync deployed landing page source with canonical page

---------

Co-authored-by: clap [bot] <[email protected]>

* fix: tighten openclaw setup trust signals

* test: cover openclaw plugin doctor warnings

* fix: tighten trust signals and self-mod policy

* docs: align OpenClaw approval guide

* docs: tidy support matrix placement

---------

Co-authored-by: clap [bot] <[email protected]>

* chore: prepare v0.9.21 release notes (#279)

Co-authored-by: clap [bot] <[email protected]>

* fix: harden config resolution and hook approval integrity (#286)

* ci: migrate workflows to Node 24-safe actions

* fix: harden cli config resolution and hook failure handling

* test: harden config parsing and ask-failure regressions

* docs: polish config semantics and api override flows

* fix: finalize rc hardening and release polish

---------

Co-authored-by: clap [bot] <[email protected]>

---------

Co-authored-by: clap [bot] <[email protected]>
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