chore(repo): add .gitignore for runtime artifacts; commit scripts/heartbeat-field-check.sh - #55
Merged
Conversation
…rtbeat-field-check.sh Two related changes — both repo-hygiene, no behavior impact. ### `.gitignore` (new) Ignores runtime artifacts that should never be tracked: - `logs/` and `*.log` — proxy.log, last_send.log, heartbeat-field-check log - `node_modules/` — dependency cache - `.env`, `.env.*` — local secrets/config - `.DS_Store`, `*.swp`, `*~` — editor/OS scratch `logs/` was previously untracked-but-present in working trees; the new ignore makes that intent explicit and prevents accidental commits. ### `scripts/heartbeat-field-check.sh` (commit existing untracked file) This script was authored as a one-shot field-evidence gatherer for the v3.12.0 SSE heartbeat work (PR #49 / issue #47). It fired successfully on 2026-05-02 09:00 Australia/Brisbane via launchd (`~/Library/LaunchAgents/dev.ocp.heartbeat-check.plist`) and posted a summary comment to issue #47. Useful tooling pattern (one-shot field check + launchd schedule + dry-run flag), worth keeping under version control rather than letting it die in an untracked working tree. Verification: `git status` clean after both adds.
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
Two related repo-hygiene changes, no behavior impact.
.gitignore(new)Ignores runtime artifacts that should never be tracked:
logs/and*.log— proxy.log, last_send.log, heartbeat-field-check lognode_modules/— dependency cache.env,.env.*— local secrets/config.DS_Store,*.swp,*~— editor/OS scratchscripts/heartbeat-field-check.sh(commit existing untracked file)One-shot field-evidence gatherer authored for v3.12.0 SSE heartbeat (PR #49 / issue #47). Fired successfully on 2026-05-02 09:00 Australia/Brisbane via launchd and posted a summary comment to #47. Useful tooling pattern — keeping it tracked.
Evidence
Test plan
git statusclean post-commit.gitignoredoesn't accidentally exclude any tracked file (git ls-files | grep -E '\.log$'→ 0)