Repository navigation
refactor(lastcode): separate deployment infrastructure - #109
Merged
Merged
Conversation
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.
A clean checkout used as a project metadata anchor can drift after rebased branch promotion, while the public repository had also accumulated deployment-specific orchestration that did not belong in a reusable LastCode toolset.
This change adds an explicit, environment-neutral managed-checkout command. It validates the checkout path, repository identity, selected branch, clean state, active Git operations, initialized submodules, and ignored-content collisions; fetches only the configured remote branch; retains the old tip; and updates the branch with compare-and-swap semantics. The caller supplies all paths, refs, and scheduling policy through infrastructure-owned configuration.
It also removes the deployment-specific daily updater from this repository, keeps the generic staging, installation, and headless-service primitives, replaces deployment-identifying examples and fixtures with generic values, and records the public/private repository boundary in contributor guidance.
Validation:
Implemented by GPT-5.6 Codex in T3 Code.