Skip to content

Sync protocol: re-delete upstream-only workflows after merge#15

Merged
Alezander9 merged 1 commit intomainfrom
docs/sync-delete-workflows
Apr 27, 2026
Merged

Sync protocol: re-delete upstream-only workflows after merge#15
Alezander9 merged 1 commit intomainfrom
docs/sync-delete-workflows

Conversation

@Alezander9
Copy link
Copy Markdown
Member

Summary

Adds step 3a to opencode-sync.md so future upstream syncs from anomalyco/opencode re-delete the 30 workflows removed in PR #14. Without this step, every sync reintroduces them.

Why

PR #14 deleted upstream workflows tied to OpenCode's product/infra (Discord webhooks, marketplace publishing, SaaS deploy, OPENCODE_API_KEY-gated automation, community moderation, Nix flake, upstream test surface). Upstream still ships these files, so a vanilla git merge upstream/dev will reintroduce them.

Side note

This is also a clean test of the post-cleanup PR hooks — should run only typecheck now (and the GitGuardian/cubic external checks). No pr-standards failures, no vouch-check-pr noise.

Adds step 3a immediately after the upstream merge in step 3. Without it,
every sync from anomalyco/opencode reintroduces the 30 workflows we
deleted in PR #14 (Discord, marketplace, SaaS deploy, moderation, etc.).
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="opencode-sync.md">

<violation number="1" location="opencode-sync.md:63">
P3: The workflow count is inconsistent with the actual delete list. Update or remove the hardcoded number so the instructions stay accurate.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.

Comment thread opencode-sync.md

### 3a. Re-delete upstream-only workflows

Upstream ships 32 workflows we deleted in PR #14 (Discord webhooks, marketplace publishing, SaaS deploy, OPENCODE_API_KEY-gated automation, community moderation, Nix flake, upstream test surface). The merge will reintroduce them. Re-delete:
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3: The workflow count is inconsistent with the actual delete list. Update or remove the hardcoded number so the instructions stay accurate.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At opencode-sync.md, line 63:

<comment>The workflow count is inconsistent with the actual delete list. Update or remove the hardcoded number so the instructions stay accurate.</comment>

<file context>
@@ -58,6 +58,16 @@ Files we might have Yellow-zone modifications in (run the audit in step 5):
 
+### 3a. Re-delete upstream-only workflows
+
+Upstream ships 32 workflows we deleted in PR #14 (Discord webhooks, marketplace publishing, SaaS deploy, OPENCODE_API_KEY-gated automation, community moderation, Nix flake, upstream test surface). The merge will reintroduce them. Re-delete:
+
+```sh
</file context>
Suggested change
Upstream ships 32 workflows we deleted in PR #14 (Discord webhooks, marketplace publishing, SaaS deploy, OPENCODE_API_KEY-gated automation, community moderation, Nix flake, upstream test surface). The merge will reintroduce them. Re-delete:
Upstream ships upstream-only workflows we deleted in PR #14 (Discord webhooks, marketplace publishing, SaaS deploy, OPENCODE_API_KEY-gated automation, community moderation, Nix flake, upstream test surface). The merge will reintroduce them. Re-delete:
Fix with Cubic

@Alezander9 Alezander9 merged commit 0024092 into main Apr 27, 2026
3 checks passed
@Alezander9 Alezander9 deleted the docs/sync-delete-workflows branch April 27, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant