Skip to content

setup: add stria/ to .gitignore via setup --repo flag#3

Merged
alderpath merged 1 commit into
masterfrom
feature/gitignore-setup
Jun 1, 2026
Merged

setup: add stria/ to .gitignore via setup --repo flag#3
alderpath merged 1 commit into
masterfrom
feature/gitignore-setup

Conversation

@alderpath

Copy link
Copy Markdown
Contributor

Summary

Adds .stria/ to .gitignore as part of stria setup --repo <path>. One command now handles both agent MCP configuration and project cache exclusion.

Usage

stria setup --repo /path/to/project # Adds .stria/ to .gitignore + agent config
stria setup --yes --repo . # Non-interactive

Behavior

  • Reads existing .gitignore, appends .stria if not already present
  • Creates .gitignore if it doesn't exist
  • Skips silently if .stria is already listed
  • Respects pre-existing content and trailing newline conventions

Verification

  • 54/54 unit tests passing
  • 17/17 integration tests passing

stria setup --repo <path> appends .stria to <path>/.gitignore if not already present. Respects pre-existing .gitignore, creates it if missing, skips silently if already listed. 54/54 unit, 17/17 integration passing.
@alderpath alderpath merged commit 70bf102 into master Jun 1, 2026
2 checks passed
@alderpath alderpath deleted the feature/gitignore-setup branch June 1, 2026 13:02
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