Skip to content

chore(git): ignore local agent state and environment secrets and exclude them and development artifacts from archives. - #98

Merged
terabytesoftw merged 1 commit into
mainfrom
chore/git-ignore-local
Nov 16, 2026
Merged

terabytesoftw merged 1 commit into
mainfrom
chore/git-ignore-local

Conversation

@terabytesoftw

Copy link
Copy Markdown
Contributor

Pull Request

  • Breaking change (fix or feature that would cause existing functionality to change)
  • Bugfix (non-breaking change that fixes an issue)
  • CI/build configuration
  • Dependency update
  • Documentation update
  • New feature (non-breaking change that adds functionality)
  • Performance improvement
  • Refactoring (no functional changes)
  • Tests

Change

Explain the problem and the resulting behavior. Include a before/after example when useful.

Validation

List the checks performed and their results. Explain any relevant checks not run.

Compatibility

Describe any behavior, configuration, dependency, or migration impact. Write "None" when there is no compatibility
impact.

Related issues

Link relevant issues. Use closing keywords only when this PR fully resolves them.

…ude them and development artifacts from archives.
@terabytesoftw terabytesoftw added the bug Something isn't working label Nov 16, 2026
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Local agent state and environment files are excluded from version control and release archives. The example environment file remains included.
    • Development artifacts and reports are excluded from release archives.

The change adds ignore rules for local agent state and environment files, with .env.example exempted. Archive rules exclude those files and selected development artifacts. The 0.1.3 changelog entry now describes these exclusions.

Changes: Local and Archive Exclusions

Layer / File(s) Summary
Local ignore rules
.gitignore
Ignore rules cover .agents, .claude, .env, and .env.*. .env.example is exempted.
Archive exclusions
.gitattributes, CHANGELOG.md
Archive attributes exclude agent state, environment files, and selected development artifacts. .env.example is not excluded. The 0.1.3 changelog entry describes the exclusions.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Merge Risk: Minimal · up to cec24

This change updates ignore and archive exclusion rules for local agent state, environment files and development artifacts. It does not affect runtime behavior and is low risk to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: the PR adds ignore rules for local agent state and environment secrets, and excludes those files and development artifacts from archives. The raw summary confirms .gi…
Description check Passed The description is the unmodified PR template. It has no author-written content about the change, but it is not off-topic. Its headings refer to the kind of change, behavior, validation, and compatibi…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the main change: the PR adds ignore rules for local agent state and environment secrets, and excludes those files and development artifacts from archives. The raw summary confirms .gitattributes export-ignore rules and .gitignore entries for .agents, .claude, .env, and .env.* files, so the title matches the changeset. It is long at 118 characters, but it is specific and not vague.

Full details: Description check

Explanation

The description is the unmodified PR template. It has no author-written content about the change, but it is not off-topic. Its headings refer to the kind of change, behavior, validation, and compatibility, and the template checkbox marks 'New feature'. The check is lenient and passes when the description relates to the changeset in some way.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the files today,
And keeps the secrets tucked away.
The sample stays for all to see,
While build-time clutter leaves the tree.
The archive hops along its way.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 30835bb2-9595-44f8-aec3-2763ae5a3a3e
Commits

Reviewing files that changed from the base of the PR and between fe56020 and cec24ea.

Files selected for processing: 3

  • .gitattributes
  • .gitignore
  • CHANGELOG.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

Context from checks skipped due to timeout: 8

  • GitHub Check: quality / Prettier (ubuntu-latest)
  • GitHub Check: quality / Actionlint (ubuntu-latest)
  • GitHub Check: quality / Spelling (ubuntu-latest)
  • GitHub Check: quality / EditorConfig (ubuntu-latest)
  • GitHub Check: security / Zizmor (ubuntu-latest)
  • GitHub Check: quality / YAML (ubuntu-latest)
  • GitHub Check: quality / Markdown (ubuntu-latest)
  • GitHub Check: Analyze (actions)

@terabytesoftw
terabytesoftw merged commit 8af4b98 into main Nov 16, 2026
19 checks passed
@terabytesoftw
terabytesoftw deleted the chore/git-ignore-local branch November 16, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant