Skip to content

workdeck 0.2.0 - #220

Open
wjchoi87 wants to merge 1 commit into
muxy-app:mainfrom
wjchoi87:workdeck-0.2.0
Open

wjchoi87 wants to merge 1 commit into
muxy-app:mainfrom
wjchoi87:workdeck-0.2.0

Conversation

@wjchoi87

@wjchoi87 wjchoi87 commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Extension

What it does

Workdeck: project-group sidebar, issue and deploy management, branch cleanup, notes, KakaoTalk-to-issue and an agent control room.

Scope of this PR

This is the sidebar and UI half of the 0.2.0 work. The issue-to-agent runner, the per-agent model/effort picker and the tracker-key handling are held back for a follow-up PR, so this one stays small enough to review in full. The previous single PR was too large: the automated review ran out of budget with about half the files unread and could not mark it safe.

What's new

Agents section in the sidebar

  • Grouped by state — waiting for input, working, idle — each group collapsible with its count. The headers appear only when more than one state is on screen.
  • A XITA row is the pane whose status line names its session. XITA is not an agent Muxy recognizes, so it is found by scanning its processes and session files; the pane's status line is what links a terminal to a session. Matching by process start time or by tab title failed as soon as /new gave a process a second session, or two agents were handed the same opening line.
  • The focused agent is highlighted reliably, including two agents in one folder, and clicking a row shows its tab. It used to call agents.focus, which answers "ok" without moving the focus for an agent Muxy does not recognize — so clicking did nothing.
  • Subagents are listed under the agent that started them, folded away with a count and a chevron. Clicking one opens a tab with its full task and report, its own icon and a refresh button. A finished subagent is tidied out of the list five minutes after its last write, or at once from its menu; its log stays on disk.
  • Right-click a row to name it yourself (kept per session, so it survives a pane change), to clear that name, or to end its terminal after a confirmation.
  • A XITA agent counts as working whenever its session is still moving. Subagent runs used to fall through a fixed list of event kinds and show the agent as idle; now anything but a finished turn or the opening system message counts.
  • An agent whose working folder is gone — a worktree removed while its process was alive — drops out instead of leaving a row that cannot be opened.
  • Rows are labelled with the work rather than the opening words of a prompt, and the agent's own tab title stays in the hover tooltip.

Elsewhere

  • Agent board: four columns is the baseline, stepping down to three / two / one as the window narrows, instead of a count that drifted with the width.
  • Notes: "New note" works on an empty list. The form had nowhere to attach when no note was open, because the panel slot was built past an early return — the button looked dead. The same fix covers the issue-project picker.
  • New issue: the confirmation sits in the middle of the window and has a "New issue" button, so several can be filed in a row.
  • Issues: the tab opens on the tracker used last. Closing an issue from its detail refetches the detail instead of leaving the old state on screen.
  • Deploys: reviews and comments are one list, newest first, the way GitHub shows them now.
  • Sidebar: Rescan repositories in the project menu; repositories inside git-ignored folders are no longer offered as projects; open tab lists stay open when you switch projects; text cut off with "…" shows in full on hover.
  • Listing: new screenshots for notes and the issue run dialog. Still six in total.

Permissions

Two changes, both in the README's permission table:

  • panes:read (new) — which terminal is focused, whether an agent's tab is still open, and the session id printed in a XITA status line, which is how a row is matched to its terminal.
  • panes:write (new) — used only to end an agent's terminal from the row menu, after a confirmation.
  • agents:write (dropped) — jumping to a terminal now goes through the project and its tab, so agents.focus is no longer called.
  • preferences:read and its preferences.changed event (dropped) — nothing subscribed.

Worth a look

  • Reading terminals. panes.readScreen is used on the panes of folders where a XITA process runs, to read the session id from its status line. It asks once per extension; until allowed, rows fall back to one per process. Results are cached for ten seconds so a pane is not read repeatedly.
  • Shell commands have constant text and take their values through the environment, so Muxy's approval is asked once. The scan reports processes and sessions separately; no key or token is involved in any of it.
  • Ending a terminal asks first and names what will be closed. A subagent has no terminal of its own, so the dialog says it will end the parent's.
  • Rescan is hidden for Home, so it never scans the whole home folder.

Testing

  • Live sidebar with up to eight XITA processes and two folders holding two agents each: pane ids distinct, exactly one row highlighted for the focused pane, state groups rendered with their counts. Every paired row was cross-checked by reading its pane back — no row sat on another session's pane.
  • A removed worktree, live: the process whose folder no longer existed dropped out of the list.
  • Subagent tab, live: task and report read in full (1,651 and 1,601 chars), real newlines, tab icon set. Folding went 1 → 0 → 1. Renaming a row stored the name and clearing it restored the task description.
  • New note, live: with no note selected and with one selected, the form renders and Cancel clears it.
  • Agent board, live: four columns of 560px at a 2304px window.
  • The state rule, 17 cases: subagent, tool, step, assistant, turn, user, thinking and unknown kinds count as working; a finished turn, the system message and no event stay idle; the 15-minute freshness boundary holds at 899 s and 901 s.
  • node --check on every file, no missing i18n keys, npm run build, muxy extension validate workdeck with no problems, and your own node scripts/validate.mjs workdeck run locally: ✓ workdeck — All 1 extension(s) valid. Its warnings are the word fetch matching NETWORK_PATTERN (an English translation string, git fetch twice, and the demo harness loading a local page) plus the commands:exec declaration.
  • Screenshots come from the demo harness with invented data.

Not verified: ending a terminal (it would kill a running session, so only the confirmation path was built).

Checklist

  • Directory name equals manifest.name.
  • node scripts/validate.mjs workdeck passes locally, run against this repository's scripts/ with the pinned ajv versions.
  • README.md is present with a short description.
  • marketplace.icon is set.
  • At least one marketplace.screenshots entry.
  • Only permissions actually used are declared — agents:write and preferences:read were dropped after their last callers went away.
  • Source is readable (not minified/obfuscated).
  • Bumped version.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Security concerns — changes requested

Automated malware review of workdeck at a65c0cf7743b.

If this is a false positive, explain in a comment and a maintainer will dismiss this review. If you change the code, a new review runs on the next push.

Copilot verdict: suspicious (low confidence)

PR #220 adds issue-to-agent worktree runs, notes with a writing helper, and a new panes:read permission, and the code read so far shows no exfiltration, remote code execution, or persistence. Review is incomplete: several large files were only partly read because of the session budget, so a human should check the unread sections before approval.

Findings

  • ⚪ low · other — Incomplete review of large changed files — extensions/workdeck/tab/issues.js:1
    Unread sections could hide payloads, so the verdict cannot be treated as a full clearance.
    Evidence: Only the first 250 lines of tab/issues.js, tab/deploys.js, tab/agents.js, notes/notes.js, modal/create.js, sidebar/view.js and i18n.js were read.

Automated checks

  • ℹ️ Requests new permissions: panes:read.

Copilot did not confirm reading 9 changed file(s): extensions/workdeck/demo/muxy-stub.js, extensions/workdeck/i18n.js, extensions/workdeck/modal/create.js, extensions/workdeck/notes/notes.js, extensions/workdeck/sidebar/shared.js, extensions/workdeck/sidebar/view.js, extensions/workdeck/tab/agents.js, extensions/workdeck/tab/deploys.js, extensions/workdeck/tab/issues.js.


Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Security concerns — changes requested

Automated malware review of workdeck at 784e9c75207b.

If this is a false positive, explain in a comment and a maintainer will dismiss this review. If you change the code, a new review runs on the next push.

Copilot verdict: suspicious (medium confidence)

The 0.2.0 update adds issue-to-agent runs in git worktrees, notes, deploy and PR tooling, and a new panes:read permission, with no dependency changes. The only item needing human review is the KakaoTalk CLI installer, which downloads a release binary and runs it after a codesign check.

Findings

  • ⚪ low · build-time — Downloads and runs a kakao-linear binary from GitHub Releases — extensions/workdeck/modal/create.js:200
    This runs a remote binary after a user click. The codesign check limits the risk, but the trust chain depends on the author's own release, so a human should confirm the signing identity.
    Evidence: KL_INSTALL downloads from github.com/wjchoi87/KakaoToLinear releases, checks sha256 from the same release, then verifies codesign TeamIdentifier 4N5S7KDZ56

Automated checks

  • ℹ️ Requests new permissions: panes:read.

Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Security concerns — changes requested

Automated malware review of workdeck at 8b25ca1c4b80.

If this is a false positive, explain in a comment and a maintainer will dismiss this review. If you change the code, a new review runs on the next push.

Copilot verdict: suspicious (low confidence)

The PR adds issue-to-agent worktree runs, notes, a KakaoTalk-to-Linear installer, and related UI, with no dependency changes and no malicious code found in the files I fully read. I could not finish reading several large files, so a human should complete the review before approval.

Findings

  • ⚪ low · remote-code — Downloads and runs a CLI from a GitHub release — extensions/workdeck/modal/create.js:213
    The installer runs a downloaded binary. The checksum comes from the same release, so the Apple code-signature check against team 4N5S7KDZ56 is the real control. It is user-initiated and disclosed, so this is low risk, but it needs a human to confirm the team ID.
    Evidence: curl -fsSL -o "$T/cli.zip" ${KL_RELEASE} (then unzip, codesign verify, and run kakao-linear --version)

Automated checks

  • ℹ️ Requests new permissions: panes:read.

Copilot did not confirm reading 12 changed file(s): extensions/workdeck/demo/muxy-stub.js, extensions/workdeck/demo/scenario.js, extensions/workdeck/i18n.js, extensions/workdeck/modal/create.js, extensions/workdeck/notes/notes.js, extensions/workdeck/sidebar/add.js, extensions/workdeck/sidebar/core.js, extensions/workdeck/sidebar/style.css, extensions/workdeck/sidebar/view.js, extensions/workdeck/tab/agents.js, ….


Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Security concerns — changes requested

Automated malware review of workdeck at 3d19b2a15d6f.

If this is a false positive, explain in a comment and a maintainer will dismiss this review. If you change the code, a new review runs on the next push.

Copilot verdict: suspicious (low confidence)

The PR adds issue-to-agent worktree runs, notes with an agent helper and watchdog, XITA process scanning, and a KakaoTalk CLI installer; the read files show no exfiltration, obfuscation, or persistence. Review is incomplete because several files were only partly read (i18n.js, issues.js, deploys.js, view.js, core.js, create.js, style.css, muxy-stub.js), so a human should finish the review.

Findings

  • ⚪ low · other — Incomplete review coverage — extensions/workdeck/tab/deploys.js:1
    Unreviewed code could hide behaviour, so the verdict cannot be safe until the remaining ranges are read.
    Evidence: Only lines 1-250 of deploys.js were read; the rest of the file was not reviewed.
  • ⚪ low · build-time — Remote CLI installer fetched from GitHub release — extensions/workdeck/tab/issues.js:330
    Downloads and installs a binary onto the user's machine; the checks look sound, but the installer should be confirmed by a human.
    Evidence: KL_INSTALL downloads kakao-linear zip and checks sha256 and codesign team id before linking into ~/.local/bin

Automated checks

  • ℹ️ Requests new permissions: panes:read.

Copilot did not confirm reading 8 changed file(s): extensions/workdeck/demo/muxy-stub.js, extensions/workdeck/i18n.js, extensions/workdeck/modal/create.js, extensions/workdeck/sidebar/core.js, extensions/workdeck/sidebar/style.css, extensions/workdeck/sidebar/view.js, extensions/workdeck/tab/deploys.js, extensions/workdeck/tab/issues.js.


Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Security concerns — changes requested

Automated malware review of workdeck at e34b7f11b6fa.

If this is a false positive, explain in a comment and a maintainer will dismiss this review. If you change the code, a new review runs on the next push.

Copilot verdict: suspicious (low confidence)

PR #220 adds issue-to-agent runs with git worktrees, agent launches, and notes, plus a KakaoTalk CLI installer that downloads and runs a binary from a GitHub release. The installer verifies a code signature for a fixed Apple team, but the review is incomplete, so a human should confirm the remaining files.

Findings

  • 🟡 medium · remote-code — Downloads and executes a CLI binary from a GitHub release — extensions/workdeck/modal/create.js:232
    The installer runs a downloaded binary after a button click. The checksum comes from the same release, so the codesign team check is the only real integrity control. This is probably legitimate, but it needs human review.
    Evidence: curl -fsSL -o "$T/cli.zip" ${KL_RELEASE} ... unzip ... "$D/kakao-linear" --version

Automated checks

  • ℹ️ Requests new permissions: panes:read.

Copilot did not confirm reading 8 changed file(s): extensions/workdeck/demo/muxy-stub.js, extensions/workdeck/i18n.js, extensions/workdeck/modal/create.js, extensions/workdeck/sidebar/core.js, extensions/workdeck/sidebar/view.js, extensions/workdeck/tab/agents.js, extensions/workdeck/tab/deploys.js, extensions/workdeck/tab/issues.js.


Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@wjchoi87
wjchoi87 force-pushed the workdeck-0.2.0 branch 2 times, most recently from 38c1d88 to 0f290c1 Compare November 20, 2026 02:44

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

❔ Review could not complete — not auto-approved

Automated malware review of workdeck at 0f290c145749.

Copilot verdict: safe (medium confidence)

Workdeck 0.2.0 adds issue-to-agent runs in git worktrees, notes storage, a PR review/merge UI, and a demo harness with invented data. No exfiltration, remote code execution, persistence, obfuscation, or backdoor was found in the code I read; I could not fully read every large file, so confidence is medium.

Automated checks

  • ℹ️ Requests new permissions: panes:read.

Copilot did not confirm reading 13 changed file(s): extensions/workdeck/demo/muxy-stub.js, extensions/workdeck/i18n.js, extensions/workdeck/modal/create.js, extensions/workdeck/notes/notes.js, extensions/workdeck/sidebar/add.js, extensions/workdeck/sidebar/core.js, extensions/workdeck/sidebar/main.js, extensions/workdeck/sidebar/shared.js, extensions/workdeck/sidebar/style.css, extensions/workdeck/sidebar/view.js, ….


Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@wjchoi87

Copy link
Copy Markdown
Contributor Author

Status on the two earlier flags, both raised against older commits:

The KakaoTalk CLI installer is unchanged here. KL_INSTALL in modal/create.js shipped in 0.1.0 (#217) — it is still at lines 220-232 of that release — and none of its lines appear in this diff. The 18 changed lines in that file are the "issue created" confirmation and its "New issue" button. For context, the install runs only when the user clicks Install and Muxy asks to approve the command first: the zip and its .sha256 come from the same release, the checksum must match, and the binary plus every bundled framework must pass codesign --verify --strict with TeamIdentifier equal to the pinned 4N5S7KDZ56 before anything leaves the temporary folder. It installs under ~/.local/share/kakao-linear and runs --version once. Pinning the release tag rather than latest is easy to add if you'd prefer that.

The "incomplete review coverage" note was against a65c0cf; the review on the current head (0f290c1) came back safe.

The 🔴 High in the security report is the permission heuristic rating commands:exec High. The extension needs it to start agents in their worktrees and to do the git worktree work; command texts are constant and values travel in the environment.

Since the last round this also fixes the Agents section: agents are grouped by state, a XITA agent stays "working" through subagent runs instead of dropping to idle, rows are labelled with the issue rather than the opening words of a prompt, and the focused agent is highlighted reliably even with two agents in one folder. Testing notes are in the description.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Security concerns — changes requested

Automated malware review of workdeck at 85f77ee5b94d.

If this is a false positive, explain in a comment and a maintainer will dismiss this review. If you change the code, a new review runs on the next push.

Copilot verdict: suspicious (low confidence)

The PR adds issue-to-agent worktree runs, notes storage, XITA process scanning and demo fixtures, and the parts I read show only disclosed local behaviour. Ten files were not fully read, including the agent command templates and notes watchdog, so a human must review them before approval.

Automated checks

  • ℹ️ Requests new permissions: panes:read.

Copilot did not confirm reading 10 changed file(s): extensions/workdeck/demo/muxy-stub.js, extensions/workdeck/i18n.js, extensions/workdeck/modal/create.js, extensions/workdeck/notes/notes.js, extensions/workdeck/sidebar/core.js, extensions/workdeck/sidebar/style.css, extensions/workdeck/sidebar/view.js, extensions/workdeck/tab/agents.js, extensions/workdeck/tab/deploys.js, extensions/workdeck/tab/issues.js.


Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Security concerns — changes requested

Automated malware review of workdeck at ce0aa2ba4f1e.

If this is a false positive, explain in a comment and a maintainer will dismiss this review. If you change the code, a new review runs on the next push.

Copilot verdict: suspicious (low confidence)

Workdeck 0.2.0 adds issue-to-agent worktree runs, notes storage, a writing helper with a watchdog, and a XITA process scan. The files I read fully show only local, user-directed behaviour, with no exfiltration or remote code. I could not read 12 of the 21 required files, so this verdict is not a clean pass.

Findings

  • ⚪ low · other — Linear API key handed to an AI agent that reads untrusted issue text — extensions/workdeck/tab/issues.js
    The key is sent only to api.linear.app and is kept off the process list, but an agent that reads attacker-writable issue text holds it. The prompt warns against this, so the risk is limited.
    Evidence: printf 'Authorization: %s\n' "$LINEAR_API_KEY" | curl -sS https://api.linear.app/graphql -H @- ...

Automated checks

  • ℹ️ Requests new permissions: panes:read.

Copilot did not confirm reading 13 changed file(s): extensions/workdeck/demo/muxy-stub.js, extensions/workdeck/demo/scenario.js, extensions/workdeck/i18n.js, extensions/workdeck/modal/create.css, extensions/workdeck/modal/create.js, extensions/workdeck/sidebar/add.js, extensions/workdeck/sidebar/core.js, extensions/workdeck/sidebar/main.js, extensions/workdeck/sidebar/style.css, extensions/workdeck/sidebar/view.js, ….


Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Security concerns — changes requested

Automated malware review of workdeck at ee358bfd577f.

If this is a false positive, explain in a comment and a maintainer will dismiss this review. If you change the code, a new review runs on the next push.

Copilot verdict: suspicious (low confidence)

PR #220 adds issue-to-agent worktree runs, notes with a writing helper, a KakaoTalk-to-issue flow, and a verified CLI installer, and none of the 15 fully read files show exfiltration, remote code execution, persistence, or obfuscation. The review is incomplete: 7 required files were not fully read, so the verdict cannot be safe.

Findings

  • ⚪ low · other — Incomplete review coverage — extensions/workdeck/tab/issues.js:1
    These files may contain network calls, secret reads, or command execution that were not inspected, so the gate cannot clear them.
    Evidence: Not fully read: tab/issues.js, tab/agents.js, tab/deploys.js, sidebar/add.js, sidebar/core.js, sidebar/view.js, modal/create.js (tail after ~line 568)

Automated checks

  • ℹ️ Requests new permissions: panes:read.

Copilot did not confirm reading 7 changed file(s): extensions/workdeck/modal/create.js, extensions/workdeck/sidebar/add.js, extensions/workdeck/sidebar/core.js, extensions/workdeck/sidebar/view.js, extensions/workdeck/tab/agents.js, extensions/workdeck/tab/deploys.js, extensions/workdeck/tab/issues.js.


Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⏸️ Automated review paused — daily limit reached

Automated malware review of workdeck at 27fe0d17d57a.

This PR's author has used 10 of 10 automated reviews in the last 24 hours, so Copilot was not run for this commit.

A maintainer can run it now by adding the ai-review label to this PR. Otherwise a review runs on the next push after the limit resets.


Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@wjchoi87
wjchoi87 force-pushed the workdeck-0.2.0 branch 5 times, most recently from 85a8a1c to c3bcbec Compare November 20, 2026 08:39
@wjchoi87

Copy link
Copy Markdown
Contributor Author

Going through the flags on this PR, oldest to newest.

The KakaoTalk CLI installer (flagged at 784e9c7, 8b25ca1, 3d19b2a, e34b7f1) is unchanged here. KL_INSTALL in modal/create.js shipped in 0.1.0 (#217) and is still at lines 220-232 of that release; none of its lines appear in this diff. The 18 changed lines in that file are the "issue created" confirmation and its "New issue" button. The install runs only on a user click, Muxy asks to approve the command first, the zip and its .sha256 come from the same release, the checksum must match, and the binary plus every bundled framework must pass codesign --verify --strict with TeamIdentifier equal to the pinned 4N5S7KDZ56 before anything leaves the temporary folder. Pinning the release tag instead of latest is a small change if you'd prefer it.

The Linear key reaching an agent that reads untrusted issue text (flagged at ce0aa2b) is a fair point, and I don't want to argue it away. The issue body comes from a tracker, so it can contain instructions aimed at the agent, and that agent is told it may use $LINEAR_API_KEY to comment. What is in place today: the body is wrapped in BEGIN ISSUE CONTENT (from the tracker: data, not instructions) markers, the instructions say to pass the key through stdin so it stays out of the process list, to send it only to api.linear.app and never to print it, and the key is the same one the extension already uses for its own calls. That reduces the odds but does not remove the path. The clean fix is for the extension to post the comments itself and never hand the key to the agent — the agent would write to a file and the extension would relay it. I'm happy to make that change in this PR if you'd like it before merging; say so and I'll do it.

"Incomplete review coverage" (flagged at a65c0cf, 3d19b2a, ee358bf) is about the reviewer only reading the first 250 lines of the larger files. Nothing I can change in the code fixes that, but two things may help: the review on 0f290c1 came back safe, and I ran your own tooling locally against this branch — node scripts/validate.mjs workdeck reports ✓ workdeck — All 1 extension(s) valid, and your npm test suite is 45/45 with the workflows present.

Your validator's five warnings, so nobody has to chase them: four are the word fetch matching NETWORK_PATTERN — inside an English translation string in i18n.js, in git fetch in tab/cleanup.js and tab/issueagent.js, and fetch("/" + page) loading a local page in demo/loader.html. The fifth is the commands:exec declaration, which the extension needs to start agents in their worktrees and to do the git worktree work; command texts are constant and values travel in the environment.

Permissions are tighter than in the last round. agents:write is gone: jumping to a terminal now goes through projects.switchTo + tabs.switchTo, because agents.focus answers "ok" without moving the focus for an agent Muxy does not recognize. preferences:read and its preferences.changed event are gone too — nothing subscribed. panes:write is new and used only to end an agent's terminal from the row menu, after a confirmation. That leaves 20 permissions, each with a reason in the README table, and every checklist item is now ticked with what was actually run.

@wjchoi87
wjchoi87 force-pushed the workdeck-0.2.0 branch 2 times, most recently from 4bb7bb9 to 5be8ad9 Compare November 23, 2026 08:39
github-actions[bot]
github-actions Bot previously approved these changes Nov 23, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ No malware found — approved

Automated malware review of workdeck at 5be8ad968819.

Copilot verdict: safe (high confidence)

PR #220 updates the Workdeck extension with issue-to-agent worktree runs, notes, subagent views, and an agent control room. I found no exfiltration, remote code execution, obfuscation, persistence, backdoor, or prompt-injection content; the shell commands are fixed scripts operating on local repos and the user's own CLI tools.

Automated checks

  • ℹ️ Requests new permissions: panes:read, panes:write.

Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@wjchoi87

Copy link
Copy Markdown
Contributor Author

Going through the flags on this PR, oldest to newest.

The KakaoTalk CLI installer (flagged at 784e9c7, 8b25ca1, 3d19b2a, e34b7f1) is unchanged here. KL_INSTALL in modal/create.js shipped in 0.1.0 (#217) and is still at lines 220-232 of that release; none of its lines appear in this diff. The 18 changed lines in that file are the "issue created" confirmation and its "New issue" button. The install runs only on a user click, Muxy asks to approve the command first, the zip and its .sha256 come from the same release, the checksum must match, and the binary plus every bundled framework must pass codesign --verify --strict with TeamIdentifier equal to the pinned 4N5S7KDZ56 before anything leaves the temporary folder. Pinning the release tag instead of latest is a small change if you'd prefer it.

The Linear key reaching an agent that reads untrusted issue text (flagged at ce0aa2b) was a fair point, and it is now fixed rather than argued with. The prompt no longer mentions a key, the MCP tools or curl: the agent appends one JSON line per action to ~/.local/share/workdeck/run/outbox-<identifier>.jsonl, and Workdeck reads it, checks each line against the issues this run was started for and the single review state id it looked up, and posts itself. Everything else is skipped, and handled bytes are remembered so nothing goes out twice. It runs on the sidebar timer, so it works with the Issues tab closed. I tested the gate without posting: an issue outside the run, a broken line, an unknown kind and a wrong state id were all refused (posted 0, skipped 4).
The key can also move out of the shell now: Issues → Tracker settings stores it in extension storage — the muxy CLI has no command that reads that, so a terminal agent cannot reach it — and it goes to curl on stdin through -H @-, so it is in neither argv nor the environment. I checked that with a stub in place of curl and a fake key: the header arrives on stdin while argv carries only @-. Left empty, it falls back to the shell key as before, so an existing setup keeps working.
What remains is the user's own step: removing the export from their shell profile. Until then that path stays open, and it is their environment and their other Linear tooling that changes — not something to slip into this PR.

"Incomplete review coverage" (flagged at a65c0cf, 3d19b2a, ee358bf) is about the reviewer only reading the first 250 lines of the larger files. Nothing I can change in the code fixes that, but two things may help: the review on 0f290c1 came back safe, and I ran your own tooling locally against this branch — node scripts/validate.mjs workdeck reports ✓ workdeck — All 1 extension(s) valid, and your npm test suite is 45/45 with the workflows present.

Your validator's five warnings, so nobody has to chase them: four are the word fetch matching NETWORK_PATTERN — inside an English translation string in i18n.js, in git fetch in tab/cleanup.js and tab/issueagent.js, and fetch("/" + page) loading a local page in demo/loader.html. The fifth is the commands:exec declaration, which the extension needs to start agents in their worktrees and to do the git worktree work; command texts are constant and values travel in the environment.

Permissions are tighter than in the last round. agents:write is gone: jumping to a terminal now goes through projects.switchTo + tabs.switchTo, because agents.focus answers "ok" without moving the focus for an agent Muxy does not recognize. preferences:read and its preferences.changed event are gone too — nothing subscribed. panes:write is new and used only to end an agent's terminal from the row menu, after a confirmation. That leaves 20 permissions, each with a reason in the README table, and every checklist item is now ticked with what was actually run.

@github-actions
github-actions Bot dismissed their stale review November 24, 2026 00:42

Superseded by a newer automated security review.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Security concerns — changes requested

Automated malware review of workdeck at e9e8b05a2fbb.

If this is a false positive, explain in a comment and a maintainer will dismiss this review. If you change the code, a new review runs on the next push.

Copilot verdict: suspicious (low confidence)

The Workdeck extension adds sidebar, issue, deploy, notes and agent-control features that use the GitHub, Linear and Muxy CLIs for stated purposes, and the code I read shows no exfiltration, remote code execution, persistence or obfuscation. Review is incomplete: about half the listed files were not fully read, so a human reviewer must check them before approval.

Findings

  • ⚪ low · other — Incomplete review coverage — extensions/workdeck/sidebar/core.js:1
    Without a full read, hidden behaviour in unread files cannot be ruled out, so the gate cannot approve this PR automatically.
    Evidence: Large files (i18n.js, sidebar/main.js, tab/issues.js, notes/store.js, modal/create.js, CSS and HTML) were not read to their ends.

Automated checks

  • ℹ️ Requests new permissions: panes:read, panes:write.

Copilot did not confirm reading 21 changed file(s): extensions/workdeck/demo/muxy-stub.js, extensions/workdeck/i18n.js, extensions/workdeck/modal/create.css, extensions/workdeck/modal/create.js, extensions/workdeck/notes/notes.js, extensions/workdeck/notes/store.js, extensions/workdeck/sidebar/add.js, extensions/workdeck/sidebar/core.js, extensions/workdeck/sidebar/main.js, extensions/workdeck/sidebar/shared.js, ….


Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@github-actions

Copy link
Copy Markdown

🔐 Extension security review

Analysed 1 extension(s). Risk is heuristic — a maintainer must still review the code and permissions before merge.

workdeck v0.2.0 — overall 🔴 High

Workdeck: project-group sidebar, issues handed to agents in their own worktrees, deploys, branch cleanup, notes, KakaoTalk-to-issue and an agent control room

Permissions

Permission Risk What it allows
commands:exec 🔴 High Execute arbitrary shell commands on the host
git:read 🟠 Medium Read git state (status, history, diffs)
panes:write 🟠 Medium Create or manipulate panes
projects:write 🟠 Medium Open, close, or switch projects
worktrees:write 🟠 Medium Create, switch, or remove worktrees
agents:read 🟢 Low Unknown permission
clipboard:write 🟢 Low Unknown permission
commands:read 🟢 Low Unknown permission
commands:run 🟢 Low Unknown permission
panels:write 🟢 Low Show or hide the extension's own panels
panes:read 🟢 Low Read terminal/editor pane state
projects:delete 🟢 Low Unknown permission
projects:read 🟢 Low Read open projects
storage:read 🟢 Low Unknown permission
storage:write 🟢 Low Unknown permission
system:open 🟢 Low Unknown permission
tabs:read 🟢 Low Read open tabs
tabs:write 🟢 Low Open or close tabs
ui:write 🟢 Low Unknown permission
worktrees:read 🟢 Low Read the list of worktrees

Security signals

  • 🌐 Makes network requests in 3 file(s) — verify the endpoints and what data is sent.
  • 🖥️ Can run shell commands (commands:exec) — confirm the usage is justified.

Generated by scripts/security-comment.mjs. Permission risk levels are advisory.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Security concerns — changes requested

Automated malware review of workdeck at 0475f03a2243.

If this is a false positive, explain in a comment and a maintainer will dismiss this review. If you change the code, a new review runs on the next push.

Copilot verdict: suspicious (low confidence)

The PR adds issue-to-agent worktrees, XITA session scanning, subagent tabs, notes and a Linear key store. The six files I fully read show no exfiltration or remote execution. Review is incomplete because the remaining shared, subagent, core, view and demo files were not fully read, so the PR cannot be cleared.

Findings

  • ⚪ low · other — Required files not fully reviewed — extensions/workdeck/sidebar/shared.js:1
    These files hold the shell scripts that read ~/.xita sessions, process environments and terminal screens, so they need a full read before the PR can be cleared.
    Evidence: Not read in full: sidebar/shared.js, tab/subagent.js, tab/subagent.html, sidebar/core.js (lines 1-249), sidebar/view.js (lines 1-249), demo/*, CSS, build.mjs, package.json

Automated checks

  • ℹ️ Requests new permissions: panes:read, panes:write.

Copilot did not confirm reading 14 changed file(s): extensions/workdeck/demo/muxy-stub.js, extensions/workdeck/demo/scenario.js, extensions/workdeck/demo/shoot.sh, extensions/workdeck/modal/create.css, extensions/workdeck/package.json, extensions/workdeck/scripts/build.mjs, extensions/workdeck/sidebar/core.js, extensions/workdeck/sidebar/shared.js, extensions/workdeck/sidebar/style.css, extensions/workdeck/sidebar/view.js, ….


Copilot is a filter, not a guarantee: maintainers still own the merge. Workflow run · Generated by scripts/ai-review-decide.mjs.

@wjchoi87 wjchoi87 mentioned this pull request Nov 25, 2026
8 tasks done
@wjchoi87

Copy link
Copy Markdown
Contributor Author

Split notice: this PR now carries only the sidebar and UI half (25 files, down from 30). The issue-to-agent runner, the per-agent model/effort picker and the tracker-key handling moved to #222, which is stacked on this one — its diff shrinks to the runner files once this lands. The combined PR was too large for the automated review to read in full, so it was split rather than trimmed.

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