Skip to content

chore(gitignore): restore firmware build and lab-credential ignores on main - #14

Merged
overlordxrz-source merged 1 commit into
mainfrom
fix/firmware-credential-gitignore
Oct 25, 2026
Merged

overlordxrz-source merged 1 commit into
mainfrom
fix/firmware-credential-gitignore

Conversation

@overlordxrz-source

Copy link
Copy Markdown
Owner

Why

The ignore rules for the SoftAP CSI firmware build outputs and the lab WPA2 credential were added in a5d25d3 on feature/alpha002-esp32-supervisor, but they never reached main.

A checkout of main that contains a local firmware build therefore lists these files as untracked:

  • firmware/esp32-csi/softap_csi/lab.env
  • the generated lab_credentials.h
  • every build artefact (.bin, .elf, .map)

A single git add -A would then commit the lab passphrase to this public repository. Secret-scanning push protection is on, but it does not recognise a generic Wi-Fi passphrase.

I checked every commit on every ref, and the passphrase has never been committed. This PR is preventive.

Change

.gitignore only. The block is copied unchanged from a5d25d3. It ignores:

  • softap_csi/build/, build-softap/ and build-station/
  • managed_components/
  • the generated sdkconfig* files and dependencies.lock
  • lab.env and main/lab_credentials.h

Verification

  • I tested the new rules with git check-ignore --no-index against the untracked files in a local main checkout that has a firmware build. All 3,996 files are now ignored, including both credential files and both build directories.
  • The firmware source paths are still trackable: main/app_main.c, CMakeLists.txt and sdkconfig.defaults.
  • The offline suite passes: pytest -m "not hardware" reports 350 passed.
  • tools/check_architecture.py and tools/check_context.py both report PASS.

Scope and notes

  • Base commit: 5073741. No tracked files change.
  • This touches no protected or context sources, no runtime behaviour and no hardware.
  • Firmware source is still missing from main. It lives only on feature/alpha002-esp32-supervisor. Bringing it here is a separate decision.
  • dependencies.lock is ignored, as in a5d25d3. ESP-IDF generally recommends committing that file for reproducible component versions, so consider tracking it once the firmware source lands on main.

🤖 Generated with Claude Code

…n main

The ignore block for the SoftAP CSI firmware build outputs and the lab
WPA2 credential (lab.env, generated lab_credentials.h) was added in
a5d25d3 on feature/alpha002-esp32-supervisor but never reached main.
A checkout of main with a local firmware build therefore shows the
credential and every build artefact as untracked, one `git add -A`
away from a public commit. Secret-scanning push protection does not
cover a generic Wi-Fi passphrase.

Ported verbatim from a5d25d3. No tracked file changes; the firmware
source paths remain trackable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kilo-code-bot

kilo-code-bot Bot commented Oct 25, 2026

Copy link
Copy Markdown

Kilo Code Review could not run — your account is out of credits.

Add credits or switch to a free model to enable reviews on this change.

@overlordxrz-source
overlordxrz-source merged commit 7e82450 into main Oct 25, 2026
1 of 2 checks passed
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.

1 participant