Repository navigation
feat: report pending upstream template updates - #42
Merged
Merged
Conversation
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.
Intent
Teach the self-update path to report upstream template changes alongside fork-origin updates. Upstream catch-ups remain roughly monthly or event-driven, never weekly: trigger when upstream lands a needed fix or capability, when a resolution session materially exceeds 28 files, or immediately before offering work upstream. Observation limits must be explicit rather than implying continuous monitoring, semantic need detection, or conflict prediction. Upstream offers remain opportunistic, with no scheduled outbound pull requests. Every catch-up remains a separate reviewed merge commit; no reset, main rebase, force-push, fork-commit discard, or prefer-theirs conflict pass is permitted. Running homes advance fast-forward only, and nothing under
projects/is touched. This change observes upstream but does not perform the held catch-up merge.What changed
upstreamtemplate remote during self-update and report pending commits, changed files, fetch movement, the latest pending subject, and the latest identifiable catch-up date without merging or moving homes.origin, disclose missing or failed observation coverage, document the separate merge-commit catch-up workflow, and add executable regression coverage.Risk assessment
Medium. Network-sourced default-branch and refspec behavior could violate observation-only guarantees. Review fixes pin fetches to remote-tracking refs and resolve and refresh the live remote symref. Red-first execution occurred before implementation; same-commit coverage was explicitly accepted without rewriting published history.
Testing
bash tests/fm-update.test.shbin/fm-lint.shThe end-to-end observation left the fork checkout unchanged, retained the fork-only commit and project-state sentinel, reported the pending upstream commit, and created no merge commit.
Red-first evidence
The behavioral test was executed before the implementation existed. Its verbatim failing output was:
Pipeline
Updates from git push no-mistakes.
Part of PSY-54