Conversation
Closes #73. Before deploying, forge install checks whether the source git working copy is behind its trunk (origin/main, no network fetch); if behind it refuses with a prominent warning unless --allow-stale is passed. A git-read failure is advisory, never fatal. Prune is now qualifier-aware: a deployed base file whose source counterpart exists only under a qualifier directory (rules/harness/model) is pruned, while a correctly-resolved qualifier deployment is kept.
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.
Closes #73
Problem
forge installdeploys whatever the source working copy holds, so an install from a working copy parented behind trunk silently re-deploys already-merged-away content. And prune leaves a stale deployed base file alive when its source counterpart exists only as a qualifier variant.Fix
origin/main, no network fetch). If behind, refuse with a prominent warning unless--allow-stale. A git-read failure is advisory, never fatal to install.Test plan
--allow-stale, proceeds with it, non-git skips silently🤖 Generated with Claude Code