Skip to content

feat(init): prompt for git policy#31

Merged
rochecompaan merged 6 commits into
mainfrom
init-git-policy-prompt
Jun 14, 2026
Merged

feat(init): prompt for git policy#31
rochecompaan merged 6 commits into
mainfrom
init-git-policy-prompt

Conversation

@rochecompaan

Copy link
Copy Markdown
Owner

Summary

  • Replace the broad init local-only warning with an interactive git policy choice.
  • Support add-to-git, .gitignore, and .git/info/exclude handling, with non-interactive/--yes defaulting to local exclude.
  • Protect Patchmill runtime/auth/session directories when committing config and skills, and harden edge cases for custom/no skill roots and local exclude failures.

Test Plan

  • npm test
  • npm run lint:ts
  • npm run format:check
  • npx markdownlint-cli2 docs/configuration.md docs/specs/2026-06-13-init-git-policy-prompt-design.md docs/plans/2026-06-13-init-git-policy-prompt.md

@rochecompaan rochecompaan force-pushed the init-git-policy-prompt branch from a34cec3 to c50285a Compare June 14, 2026 16:41
@rochecompaan rochecompaan merged commit aac22a6 into main Jun 14, 2026
2 checks passed
@rochecompaan rochecompaan deleted the init-git-policy-prompt branch June 14, 2026 16:46
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