Skip to content

feat: add Kiro commit attribution helper - #9074

Merged
klesh merged 2 commits into
apache:mainfrom
warren830:publish/kiro-pr7-attribution
Aug 27, 2026
Merged

feat: add Kiro commit attribution helper#9074
klesh merged 2 commits into
apache:mainfrom
warren830:publish/kiro-pr7-attribution

Conversation

@warren830

Copy link
Copy Markdown
Contributor

Summary

  • add an opt-in Kiro Stop hook recorder and Git prepare-commit-msg hook that append deterministic Kiro-Session-Id trailers
  • add a one-command installer that respects core.hooksPath, preserves an existing hook, and handles managed unwritable hook directories
  • register the current Kiro v1 hook schema with the permitted bash command form
  • document coverage limitations so an absent trailer is not misinterpreted when the hook was never installed

This helper is independent of the Kiro S3 collection plugin series and can be reviewed or landed separately.

Validation

  • sh -n on all three shell scripts
  • shellcheck on all three shell scripts
  • isolated install and --check smoke test in a temporary Git repository
  • installer self-test verified both trailer creation after a recorded session and no inherited trailer without a new session

Signed-off-by: warren warren.chen830@gmail.com

Signed-off-by: warren <warren.chen830@gmail.com>
Signed-off-by: warren <warren.chen830@gmail.com>

@klesh klesh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@klesh
klesh merged commit 825a81c into apache:main Aug 27, 2026
10 checks passed
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.

2 participants