required_canon_version: >=3.0.0
Skill: commit-manager
Version: 1.0.0
Status: Active
Purpose
Unified manager for commit-related operations including commit queue management, commit summary logging, and artifact escape hatch validation.
Trigger
Use when performing any commit-related operation:
- Managing a queued commit workflow (enqueue/list/process)
- Recording structured commit summaries
- Generating governance-friendly commit message templates
- Validating no artifacts have escaped allowed output roots
Operations
| Operation | Description |
|-----------|-------------|
| queue | Manage commit queue (enqueue/list/process) |
| summarize | Generate commit summaries or message templates |
| recover | Emergency artifact recovery (escape hatch check) |
Inputs
input.json fields:
Common:
operation(string, required): One ofqueue,summarize,recover
For queue:
action(string):enqueue,list, orprocessqueue_id(string): Queue identifier (default:default)entry(object): For enqueue - message, files, author, notes, created_atmax_items(int): For list - max entries to returndry_run(bool): For process - skip actual staging
For summarize:
action(string):logortemplate- For
log:mode(string):gitormanualcommit(string): Commit ref for git modeentry(object): Complete entry for manual modeappend(bool): Append to log fileinclude_body(bool): Include commit body
- For
template:type(string): feat/fix/docs/chore/refactor/testscope(string): Short scope identifiersubject(string): Commit subject line
For recover:
check_type(string): Type of check (default:artifact-escape-hatch)description(string): Description of the check
Outputs
Output varies by operation.
For queue:
ok(bool),queue_id,action,entries(for list),status,error
For summarize:
ok(bool),entry(for log),messageandwarnings(for template)
For recover:
escaped_artifacts(array),escape_check_passed(bool)
Constraints
- Queue stored at
CONTRACTS/_runs/commit_queue/<queue_id>.jsonl - Logs stored at
CONTRACTS/_runs/commit_logs/ - No automatic git commit (commits remain manual)
- Artifact check scans untracked files only
Fixtures
fixtures/basic/- Basic operation tests
required_canon_version: >=3.0.0