.opencode/command/get-unpublished-changes.md
For each commit, you MUST:
git diff v{published-version}..HEAD to see actual changes| Scope | What Changed |
|---|---|
| X | Description of actual changes |
| Scope | What Changed |
|---|---|
| X | Description of actual changes |
| Scope | What Changed |
|---|---|
| X | Description of actual changes |
| Scope | What Changed |
|---|---|
| X | Description of actual changes |
None or list
{diff-stat}
Trigger keywords: "safe to deploy", "can I deploy", "is it safe", "review", "check", "oracle"
When user includes any of the above keywords in their request:
bun run typecheck
bun test
Collect the following information and pass to Oracle:
## Deployment Safety Review Request
### Changes Summary
{Changes table analyzed above}
### Key diffs (organized by feature)
{Core code changes for each feat/fix/refactor - only key parts, not full diff}
### Validation Results
- Typecheck: ✅/❌
- Tests: {pass}/{total} (✅/❌)
### Review Items
1. **Regression Risk**: Are there changes that could affect existing functionality?
2. **Side Effects**: Are there areas where unexpected side effects could occur?
3. **Breaking Changes**: Are there changes that affect external users?
4. **Edge Cases**: Are there missed edge cases?
5. **Deployment Recommendation**: SAFE / CAUTION / UNSAFE
### Request
Please analyze the above changes deeply and provide your judgment on deployment safety.
If there are risks, explain with specific scenarios.
Suggest keywords to monitor after deployment if any.
| Area | Risk Level | Description |
|---|---|---|
| ... | 🟢/🟡/🔴 | ... |
{Oracle's final judgment} </oracle-safety-review>