Repository navigation
feat(setup-preflight): remind to run isolated-setup-update after upgrades and weekly - #1392
Merged
Merged
Conversation
…ades and weekly The pre-flight every skill runs now proposes setup-isolated-setup-update on machines that use the isolated (secure agent) setup: - once per change, when an upgrade moved the fingerprint of the files an install copies (tools/agent-isolation, agent-guard, container-gateway, the dogfooded .claude/settings.json; docs excluded); - on a timer, weekly by default, configurable via isolated_setup_update_interval_days (0 turns the timer off). The fingerprint is computed from the framework source when the checkout has it, otherwise read from a generated constant kept current by a new prek hook. The install and update skills record their runs, and the proposal is never auto-run and never blocks the skill. The upgrade docs also explain that marketplace update / auto-update only replace plugin files: each skill self-checks against the last reconciliation on its first run after an upgrade, and /magpie-setup:setup reconcile forces the full pass. Generated-by: Claude Opus 5
3 tasks done
3 tasks done
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.
Summary
Isolated-setup reminders in the pre-flight. Every skill's pre-flight now proposes
setup-isolated-setup-updateon machines that use the isolated (secure agent) setup:tools/agent-isolation/,tools/agent-guard/src/,tools/container-gateway/src/, the dogfooded.claude/settings.json; docs excluded);isolated_setup_update_interval_daysin.apache-magpie-local/project.mdor.apache-magpie-overrides/project.md(0turns the timer off but keeps the change report).The proposal never runs the update and never blocks the skill. Running
/magpie-setup:isolated-setup-updatedirectly resets both reasons.Upgrade docs explain reconciliation.
marketplace updateand auto-update only replace plugin files. Each skill checks itself against the last reconciliation on its first run after an upgrade, and/magpie-setup:setup reconcileforces the full pass."Used on this machine" means the install or update skill recorded a run (an
isolated_setupblock in.apache-magpie-local/reconciled.json), or the project's.claude/settings*.jsonenables the sandbox."isolated_setup": {"enabled": false}opts a machine out.Type of change
setup-isolated-setup-install,setup-isolated-setup-update: record the run; pre-flight explanation)tools/setup-preflight: newisolated.py, machine-scope finding, rules sectionstep-11)docs/setup/secure-agent-setup.md,docs/setup/marketplace.md,docs/setup/marketplace-install.md,README.md,locks.md,upgrade.md)isolated-setup-fingerprintprek hook keeps the shipped fingerprint constant current)Test plan
prek run --all-filespasses (including lychee)tools/setup-preflight: pytest (71 passed, 15 new intests/test_isolated.py),ruff check,ruff format --check,mypyisolated-setup-changedwith its rules,record-remindersilences it## After the reportstep the update suite extracts is unchanged; the new sections come before itRFC-AI-0004 compliance
Notes for reviewers (optional)
/magpie-setup upgraderefreshes the checker copy in.apache-magpie-local/, which the post-update prompt already asks for. Snapshot installs and the framework checkout hash the source directly.tools/spec-loop/specs/adoption-and-setup.md..last-syncis 15 commits behindmainfor unrelated work, so it is not bumped here.unknown key: 'source'on this repo's ownmethod: locallock, so the pre-flight does not run in the framework checkout itself.Generative AI disclosure: prepared with Claude Code (Claude Opus 5), reviewed by the author.
🤖 Generated with Claude Code