Skip to content

chore(gitignore): ignore the root's generated VM-image + build-context files - #261

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/ignore-root-generated
Sep 26, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/ignore-root-generated

Conversation

@aitrawog

@aitrawog aitrawog commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

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 status reported
untracked files that are pure generated state:

?? .containerignore
?? .dockerignore
?? image/

Mechanism. The root produces the same generated-state classes charly's own
.gitignore already lists, but three were never added when #253 ("ignore root
local state") added .check/, .build/, .opencharly/:

  • image/ — built VM disk/seed artifacts (charly vm build; the configurable
    vm.image_dir root, default image — confirmed by eval-omarchy/.gitignore,
    which already ignores image/ for exactly this reason).
  • .containerignore / .dockerignore — charly box generate build-context
    ignore files (defaults.context_ignore); charly's own .gitignore lists both.

Root cause. An incomplete sweep in #253: it enumerated .check/, .build/,
.opencharly/, scratchpad/, .worktrees/, bin/ but not the VM-image and
build-context classes the root also produces.

Blast radius. An honest root git status after 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

$ git status --short
 M .gitignore
 M charly            # branch checkouts from in-flight PRs (their commits are pushed)
 ...
# no untracked image/ / .containerignore / .dockerignore

$ git check-ignore image/ .containerignore .dockerignore
image/
.containerignore
.dockerignore

The pattern matches the existing entries byte-for-byte (anchored, no globbing
surprises): image/, .containerignore, .dockerignore.

Rulebook compliance

Change classification

  • Change class: repo config (.gitignore only).
  • Verification gate: git check-ignore + root git status.
  • Attribution tier: fully tested and validated — the new ignore rules were
    verified live (git check-ignore resolves each; the root git status no
    longer lists the three generated classes). (.gitignore is a config file, so
    documentation reviewed is not legal here.)

Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)

…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)
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 3e10bd7caa8af7ff09ed5935fd3101d469624f86 (branch: feat/ignore-root-generated)

Change class: repo config (.gitignore only) — no runtime/code path.

Blocks

  1. A3 — attribution tier is not legal for this change class. The footer claims
    *Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (documentation reviewed)*,
    and the body itself classifies the change as "repo config (.gitignore only)".
    A3 permits documentation reviewed only when the whole diff is documentation
    (*.md / comment-only / all-doc submodule bump); it is forbidden when code or
    config changed
    . .gitignore is a config file, and the diff adds three real
    (non-comment) ignore patterns (image/, .containerignore, .dockerignore at
    .gitignore:58-60), so the "whole diff is documentation" precondition fails — the
    body's own declared class ("config") contradicts its tier. Fix: re-tier to a tier
    the pasted proof actually supports — the ignore behaviour was executed live via
    git check-ignore + git status, so fully tested and validated is the honest
    tier (or analysed on a live system if you hold that .gitignore is not a runtime
    path) — and update the (<confidence>) slot accordingly.

Verdict: BLOCK


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 3e10bd7caa8af7ff09ed5935fd3101d469624f86 (branch: feat/ignore-root-generated)

Security screen: PASS — .gitignore-only addition; no secrets, no network, no weakened guardrails, no embedded directives in the body/diff.

Checklist: All applicable rules PASS or NA.

  • A1/A2 — config-class body supplies Summary, 8-step RCA, Fix, gate (git check-ignore + git status) and pasted output; disposable/fresh-rebuild N/A (no runtime path). Footer present in the required italicized Assisted-by: <Harness> <Provider Full Model Name> (<confidence>) form.
  • A3 — fully tested and validated is supported by the live git check-ignore / git status evidence; documentation reviewed correctly avoided for a config change. Not inflated.
  • B4–B12 — ignore rules verified against the diff (patterns added byte-match the tested ones); no dead code, no duplication within a repo (root and charly are separate repos), no workarounds, one atomic commit. Runtime/integrity rules (R6/R8/R9/R10, beds) NA for a .gitignore change.
  • B13–B18 — no candy/CUE/generated file touched; no concurrency, disposable, architecture, or Go-quality surface.

Comment dispositions:

  • Comment 5846730381 (github-actions[bot], A3 block on documentation reviewed) — stale-superseded: it asserts a footer of (documentation reviewed), but the CURRENT body ends with *Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)* — the exact re-tier that finding demanded. The finding does not reproduce against the current state.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) September 26, 2026 17:54
@github-actions
github-actions Bot merged commit d1bdedc into main Sep 26, 2026
1 of 2 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Sep 26, 2026
@aitrawog
aitrawog deleted the feat/ignore-root-generated branch November 1, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants