Skip to content

Revert "fix(server): make workspace permission changes reach the engine's effective permissions (composer-run-mode)" (#4747) - #4870

Merged
diff-warden[bot] merged 1 commit into
devfrom
revert/4747-workspace-permission-engine
Sep 10, 2026
Merged

diff-warden[bot] merged 1 commit into
devfrom
revert/4747-workspace-permission-engine

Conversation

@yomgui

@yomgui yomgui commented Sep 10, 2026

Copy link
Copy Markdown
Member

Reverts #4747 (9a60a4b59).

Why: the E2E risk gate found active-session-workspace-storm newly red on dev after Phase 1 (green in the 4 prior scheduled runs). Bisect with single-spec daytona-e2e.yml dispatches on throwaway branches (bisect/storm-*):

ref result
bf722d514 (#4777) green 2/2
a7cf63527 (#4847, landing-only) green 2/3 (one flake)
9a60a4b59 (#4747) red 4/4 (gate runs 34529322422 + 34531506976, bisect runs 34536909839 + 34536919184)

Signature: on the sessionless New task route of the second workspace, Timed out … waiting for selectable model mock-agent-workload-model; the picker shows the mock model as current with "Model no longer available / Retry" and only "OpenCode Zen · 7 models" as providers — workspace 2's per-workspace provider config is not applied after switching workspaces (workspace 1 right after reload works).

This PR is the fast option to restore dev; a root-cause fix that keeps #4747's composer-run-mode intent is being prepared separately. Do not merge both.

…ne's effective permissions (composer-run-mode) (#4747)"

This reverts commit 9a60a4b.
@vercel

vercel Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 10, 2026 11:09pm UTC
openwork-den Ready Ready Preview Sep 10, 2026 11:09pm UTC
openwork-diagnostics Ready Ready Preview Sep 10, 2026 11:09pm UTC
openwork-landing Ready Ready Preview, v0 Sep 10, 2026 11:09pm UTC

@yomgui
yomgui temporarily deployed to warden-clearance September 10, 2026 23:08 — with GitHub Actions Inactive

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Machine-verified at 41ffb05c0f238e7908455d57b174bd951e739079: this PR's tree is the exact inverse of commit 9a60a4b59620a60ae0adc1602ede4295113121ea, which previously landed on protected dev via a reviewed PR. Auto-approval per the clean-revert fast-lane control, bound to the verified commit; any further push re-runs verification.

@github-actions

Copy link
Copy Markdown
Contributor

Warden review summary — Clear

Native findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run

Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (11199 ms), confidentiality-review (15553 ms), spec-provenance-review (39268 ms), desktop-den-sync-review (21741 ms).

Blockers

  • None.

Advisories

  • None.

Needs recheck

  • None.

Observed review-thread metrics

  • Unique observed run attempts in retained window: 1
  • Distinct heads in retained window: 1
  • Current unresolved Warden threads: 0 of 0 observed
  • Observed resolved/unresolved transitions in retained snapshots: 0 / 0
  • First observed resolved/unresolved (state at first collection, not event time): 0 / 0
  • Precision: unavailable (no adjudications; no TP/FP values are inferred)
  • Observation window: 1/20 run attempts retained; truncated: false
  • Transition snapshot: 0/0 current attributed threads retained (limit 500); truncated: false

Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority.

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (41ffb05c0f238e7908455d57b174bd951e739079). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@diff-warden
diff-warden Bot merged commit f0a6279 into dev Sep 10, 2026
27 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Passed · 12/12 tests · 18/18 assertions · 8 images

Commit 41ffb05c0f238e7908455d57b174bd951e739079 · selected evidence

Open review report

This branch was successfully deployed

4 active and 1 inactive deployments
Preview – openwork-landing — 41ffb05c Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-app — 41ffb05c Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-den — 41ffb05c Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-diagnostics — 41ffb05c Deployed Sep 10, 2026 by vercel[bot]
warden-clearance — 41ffb05c Deployed Sep 10, 2026 by yomgui via verify-and-approve #3483
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