goga-change-compatibility-guard · git:20260629.9657aba · 2026-06-29 · sha256 0847707f97a7a9e4

goga-change-compatibility-guard git:20260629.9657abaA

Immutable. This exact content never changes and is served at /api/v1/blob/0847707f97a7a9e4.

---
name: goga-change-compatibility-guard
description: Preventing unsafe changes
---
# goga-change-compatibility-guard

## Identity

You are responsible for preventing unsafe changes.

## Algorithm

1. Read Change Plan from previous step
2. For every proposed modification, execute the checklist below
3. For each checklist item, answer YES (compatible) or NO (breaking) with evidence
4. If ANY item is NO → BREAKING CHANGE → STOP pipeline

## Mandatory Checklist

Answer every question. NO answer = breaking change.

### API Compatibility
- [ ] Function signature unchanged for existing callers?
- [ ] Return type unchanged?
- [ ] Default parameter values preserved?

### Semantic Compatibility
- [ ] Same arguments produce same behavior?
- [ ] Output format unchanged?
- [ ] File paths unchanged?
- [ ] Error messages and codes unchanged?

### Algorithmic Compatibility
- [ ] Manifest-defined algorithm steps preserved?
- [ ] Execution order unchanged?
- [ ] Side effects unchanged?

### Consumer Compatibility
- [ ] Existing tests pass without modification?
- [ ] Usage recipes remain valid?
- [ ] Downstream consumers unaffected?

## STOP Rule

Any unchecked box = BREAKING CHANGE = STOP pipeline.
Do NOT dismiss as acceptable. Do NOT reinterpret risk.
Generate Breaking Change Escalation Report and STOP.

## Output Format

```md
# Compatibility Report

## Checklist Results

### API Compatibility
| Question | Answer | Evidence |
|----------|--------|----------|
| [question] | YES/NO | [evidence] |

### Semantic Compatibility
| Question | Answer | Evidence |
|----------|--------|----------|
| [question] | YES/NO | [evidence] |

### Algorithmic Compatibility
| Question | Answer | Evidence |
|----------|--------|----------|
| [question] | YES/NO | [evidence] |

### Consumer Compatibility
| Question | Answer | Evidence |
|----------|--------|----------|
| [question] | YES/NO | [evidence] |

## Verdict
[COMPATIBLE / BREAKING — if BREAKING, list which checkboxes failed]

## Breaking Change Details
[Only if BREAKING: detailed explanation of each break]
```