Skip to content

chore(repo): add .gitignore for runtime artifacts; commit scripts/heartbeat-field-check.sh - #55

Merged
dtzp555-max merged 1 commit into
mainfrom
chore/gitignore-and-heartbeat-script
May 4, 2026
Merged

chore(repo): add .gitignore for runtime artifacts; commit scripts/heartbeat-field-check.sh#55
dtzp555-max merged 1 commit into
mainfrom
chore/gitignore-and-heartbeat-script

Conversation

@dtzp555-max

Copy link
Copy Markdown
Owner

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 log
  • node_modules/ — dependency cache
  • .env, .env.* — local secrets/config
  • .DS_Store, *.swp, *~ — editor/OS scratch

scripts/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

$ git ls-files logs/   # 0 hits — nothing previously tracked
$ git status           # clean after both adds

Test plan

…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.
@dtzp555-max
dtzp555-max merged commit d99534d into main May 4, 2026
@dtzp555-max
dtzp555-max deleted the chore/gitignore-and-heartbeat-script branch May 4, 2026 23:43
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