Repository navigation
devcloud: a host's managed settings seat no security default (devcloud 0.4.3) - #277
Merged
Merged
Conversation
…d 0.4.3) Any managed settings seat Claude Code's security default (cc-plugin-sec-default@builtin) outermost unless managed prependPlugins is set and leaves it out, and the seated default passes the plugins a person installs over on classic.*, the prompt's sections, context and attachments, and session.compact. On a host with the env-only managed file, the guard's prompt and compaction hooks never ran (a made-up token reached a stand-in gateway raw) and doperpowers' bridge never saw a permission prompt. Boot step 10 and every reconcile now write the profile's managed-settings.json with "prependPlugins": [] added, unless the profile sets prependPlugins itself. The probe's cases, the routes weighed, and the deferred one (the Macs' prepend tier through a managed directory marketplace) are in the design spec's Decision Log, 2026-10-19.
SSFSKIM
added a commit
that referenced
this pull request
Oct 19, 2026
… managed file left as it is (review of #277)
… managed file left as it is (review of #277)
SSFSKIM
force-pushed
the
devcloud-unseat-sec-default
branch
from
October 19, 2026 16:37
f7923fc to
69e6f36
Compare
SSFSKIM
added a commit
that referenced
this pull request
Oct 19, 2026
…ise-handle-form; bump to 7.189.2 Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 19, 2026
…s-guide-roster; bump to 7.189.4 Conflicts only where both sides edited one line: CLAUDE.md's hooks/ row and hooks.json's description (main's compact-offer figures, with the roster clause kept), and the version manifests (main's side, devcloud 0.4.3 with it, then bump-version.sh to 7.189.4). Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On a machine whose managed settings hold any key, Claude Code seats its security default,
cc-plugin-sec-default@builtin, as the outermost module. The only exception is when managedprependPluginsis set and leaves it out. Seated, the default passes the plugins a person installs over on:devcloud hosts write an env-only managed file, so every host has run this way. A container probe on 2.1.303 used the person's plugins, a stand-in gateway and a made-up token in the project's
CLAUDE.md. It observed:classic.SessionStart,classic.PermissionRequest,prompt.compose,prompt.context,prompt.attachmentandsession.compact, and 43 of the 52session.appendrows. No to-human, doperpowers, devcloud or cua hook on those ran.Change. Boot step 10, and every reconcile, writes the profile's
managed-settings.jsonwith"prependPlugins": []added. Two cases are left unchanged:prependPluginsitself keeps its own value.With the empty list, the probe saw the default unseated and every probed hook run. The guard scrubbed again at the gateway, and no warning appeared beyond those the session logs with no managed file.
Tests.
cc-plugin-sec-default@builtin not seated.Not done here. On hosts, to-human and doperpowers still load in the user tier, not the prepend tier the Macs give them. The engine grants that tier to a policy-enabled plugin only when the plugin is read in place from a directory marketplace that managed settings declare. That route is deferred: it means a host-side marketplace clone with no auto-update, and one session without the guard on a host that already recorded the marketplace from GitHub. It matters only once a host is enrolled at the desk. The design spec's Decision Log entry of 2026-10-19 records the probe's cases, the routes weighed, and when to revisit.