Skip to content

Add CLI push guards, safety checks, quiet duration, and format/lint caching#901

Merged
tjementum merged 5 commits into
mainfrom
cli-banned-push-words-and-safety
May 27, 2026
Merged

Add CLI push guards, safety checks, quiet duration, and format/lint caching#901
tjementum merged 5 commits into
mainfrom
cli-banned-push-words-and-safety

Conversation

@tjementum
Copy link
Copy Markdown
Member

@tjementum tjementum commented May 27, 2026

Summary & Motivation

Add a banned-push-words CLI command that lets developers configure words that must not appear in pushed diffs. The pre-push hook normalizes both the diff and the word list (lowercasing, stripping spaces/hyphens/underscores) so that any casing or separator variant is caught. Enforcement can optionally be scoped to specific remotes.

  • Block running the published CLI alias from a repository or worktree other than the one it was built from, preventing accidental cross-repo execution
  • Save the Aspire dashboard login URL to .workspace/aspire-dashboard-url.txt on startup so other tools can discover it without parsing logs
  • Show command duration in --quiet mode output for build, format, lint, and e2e commands
  • Add source state caching to format and lint commands so redundant runs are skipped when no code has changed since the last successful run
  • Update the deploy command confirmation prompt to list all three disabled workflows (Deploy Container, Deploy Infrastructure, and Migrate Database)
  • Clean up a comment in EndpointMetadataTests that referenced specific downstream project names

Checklist

  • I have added tests, or done manual regression tests
  • I have updated the documentation, if necessary

@tjementum tjementum added the Enhancement New feature or request label May 27, 2026
@tjementum tjementum self-assigned this May 27, 2026
@tjementum tjementum changed the title Add banned-push-words command, worktree CLI guard, and dashboard URL persistence Add CLI push guards, safety checks, quiet duration, and format/lint caching May 27, 2026
@tjementum tjementum force-pushed the cli-banned-push-words-and-safety branch 2 times, most recently from c625b87 to c551daa Compare May 27, 2026 22:07
@tjementum tjementum force-pushed the cli-banned-push-words-and-safety branch from c551daa to 51c117d Compare May 27, 2026 22:16
@tjementum tjementum force-pushed the cli-banned-push-words-and-safety branch from 51c117d to 1edf228 Compare May 27, 2026 22:20
@sonarqubecloud
Copy link
Copy Markdown

@tjementum tjementum merged commit acc2ac2 into main May 27, 2026
17 checks passed
@tjementum tjementum deleted the cli-banned-push-words-and-safety branch May 27, 2026 22:26
@github-project-automation github-project-automation Bot moved this to ✅ Done in Kanban board May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant