State at PR Open Merged#
| Doc type | default_accept_review | commit_to_trigger_pr | State before merge | After merge |
|---|---|---|---|---|
| Topic | any | any | PENDING_REVIEW | Always auto-accepted → null |
| Git | ON | ON | PENDING_SYNC | Already committed to source PR branch at open. Source PR merge triggers file sync → null |
| Git-backed | ON | OFF | PENDING_SYNC | Sync PR was already opened at PR open. Resolves to null when that sync PR merges. |
| Git-backed | OFF | ON | PENDING_REVIEW (edge case) | Auto-accepted → PENDING_SYNC. Source PR now merged, so commit_to_trigger_pr always falls back to new sync PR off default branch. |
| Git-backed | OFF | OFF | PENDING_REVIEW | No change — stays in Review queue. User has to manually accept then it will be in pending sync and create sync PR -> on merge sync PR -> null |
| Confluence / Notion | ON | — | PENDING_REVIEW | Auto-accepted → null + write-back |
| Confluence / Notion | OFF | — | PENDING_REVIEW | No change |
| Internal doc | ON | — | PENDING_REVIEW | Auto-accepted → null |
| Internal doc | OFF | — | PENDING_REVIEW | No change |
Chat Update#
| Doc type | default_accept_review | State after update | What happens next |
|---|---|---|---|
| Topic | any | published=true, null | Immediately live — topic override hardcodes this regardless of settings |
| Git-backed | ON | published=true, null | Immediately live in Dosu. No git sync triggered (no PR context) |
| Git-backed | OFF | PENDING_REVIEW | Review queue. On human accept → PENDING_SYNC → new sync PR created |
| Confluence / Notion | ON | published=true, null | Immediately live + write-back to Confluence/Notion triggered |
| Confluence / Notion | OFF | PENDING_REVIEW | Review queue. On human accept → null + write-back |
| Internal doc | ON | published=true, null | Immediately live |
| Internal doc | OFF | PENDING_REVIEW | Review queue. On human accept → null |