Files
stonks-oracle/.kiro/hooks/phase-commit.md
T

674 B

name, description, version, trigger
name description version trigger
Phase Commit and Push Commit, push, and verify CI after completing a phase task 2.0
type
manual

When triggered manually after completing a phase:

  1. Run git add -A
  2. Ask the user for a commit message, suggesting format: phase N: short description
  3. Run git commit -m "{message}"
  4. Run git push origin main
  5. Report the commit SHA and confirm push succeeded
  6. Wait 30 seconds, then check CI status with nix-shell -p gh --run "gh run list -L 1"
  7. If CI is still running, report that and suggest checking back later
  8. If CI failed, run nix-shell -p gh --run "gh run view --log-failed" and report the error