cyberneticlibrary

Stage and commit changes

sccommandsetup L112
aspiers/ai-config
What it does

Stage and commit relevant code changes

Best for

Bundling file staging and commit creation into a single operation when no complex git workflow (rebase, cherry-pick) is needed.

Inputs
  • · working tree with changed files
Outputs
  • · staged relevant files
  • · commit with well-formatted message
Requires
  • · git-stager subagent
  • · git-committer subagent
Preconditions
  • · git repository initialized
  • · changes present in working tree
Failure modes
  • · no changes to stage (report empty)
  • · staged files include secrets (git-stager should filter)
  • · commit message invalid (git rejects)
Trust signals
  • · defers to subagents (git-stager + git-committer)
  • · filters secrets and large binaries
  • · well-formatted commit messages