Repository navigation
chore(gitignore): ignore the root's generated VM-image + build-context files - #261
Merged
Merged
Conversation
…t files
The umbrella root produces the same generated-state classes charly's own
.gitignore already lists, but three were missing, so a root `git status`
read dirty after ordinary work:
- `image/` — `charly vm build` disk/seed artifacts (the
configurable vm.image_dir root, default `image`).
- `.containerignore` / `.dockerignore` — `charly box generate` build-context
ignore files (defaults.context_ignore).
This is the same class as the `.check/`/`.build/`/`.opencharly/` entries added
by #253 ("ignore root local state"); these three were simply not in that sweep.
Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Contributor
Review — BLOCKHead SHA: Change class: repo config ( Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Contributor
Review — PASSHead SHA: Security screen: PASS — Checklist: All applicable rules PASS or NA.
Comment dispositions:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
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
Add three missing generated-state classes to the umbrella root
.gitignore:image/,.containerignore,.dockerignore.RCA (8-step, R1)
Unexpected. After ordinary work at the umbrella root,
git statusreporteduntracked files that are pure generated state:
Mechanism. The root produces the same generated-state classes charly's own
.gitignorealready lists, but three were never added when #253 ("ignore rootlocal state") added
.check/,.build/,.opencharly/:image/— built VM disk/seed artifacts (charly vm build; the configurablevm.image_dirroot, defaultimage— confirmed byeval-omarchy/.gitignore,which already ignores
image/for exactly this reason)..containerignore/.dockerignore—charly box generatebuild-contextignore files (
defaults.context_ignore); charly's own.gitignorelists both.Root cause. An incomplete sweep in #253: it enumerated
.check/,.build/,.opencharly/,scratchpad/,.worktrees/,bin/but not the VM-image andbuild-context classes the root also produces.
Blast radius. An honest root
git statusafter any VM build / box generate.Fix
Add the three entries to the existing "Local-state classes" block (with the same
one-line rationale style), so the root tree stays clean.
How tested
The pattern matches the existing entries byte-for-byte (anchored, no globbing
surprises):
image/,.containerignore,.dockerignore.Rulebook compliance
git check-ignore+git status.Change classification
.gitignoreonly).git check-ignore+ rootgit status.fully tested and validated— the new ignore rules wereverified live (
git check-ignoreresolves each; the rootgit statusnolonger lists the three generated classes). (
.gitignoreis a config file, sodocumentation reviewedis not legal here.)Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)