.opencode/command/get-unpublished-changes.md
For each commit, you MUST:
Analyze every change against these exact layers:
| Layer | Includes | Version question |
|---|---|---|
omo pure components | packages/*-core, MCP packages, packages/shared-skills, reusable scripts | Do shared components need a patch/minor/major release note even if adapters only consume them internally? |
omo opencode | Root oh-my-opencode / oh-my-openagent, src/, .opencode/, .agents/, CLI, config, hooks, tools, docs | What semver bump should the OpenCode/OpenAgent npm packages use? |
omo codex | packages/omo-codex, lazycodex-ai, Codex plugin metadata/hooks, bundled MCP runtimes, code-yeongyu/lazycodex marketplace payload | Does LazyCodex need the same bump, a Codex-only note, or a marketplace release? |
oh-my-opencode, oh-my-openagent, and lazycodex-ai.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}
| Layer | Impact | Breaking Risk |
|---|---|---|
| omo pure components | ... | ... |
| omo opencode | ... | ... |
| omo codex | ... | ... |
| Layer | Recommendation | Reason |
|---|---|---|
| omo pure components | patch | minor |
| omo opencode | patch | minor |
| omo codex | patch | minor |
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>