Skip to content

feat(site): personal Workflows page in Agent settings (fork-workflows) - #393

Merged
ibetitsmike merged 11 commits into
mainfrom
mike/issue-391-member-workflows-page
Nov 20, 2026
Merged

ibetitsmike merged 11 commits into
mainfrom
mike/issue-391-member-workflows-page

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Coder Agents opened this PR on behalf of @ibetitsmike.

Closes #391
Part of #327 (sharing follows in #395)

What

A member-facing Workflows page in Agent settings at /agents/settings/workflows, behind the fork-workflows experiment. It follows the split that agent definitions and skills use: members work in Agent settings, organization admins manage organization workflows in AI settings (#387).

  • Personal tier. Any member manages their personal workflows for the selected organization with the feat(site): saved workflows settings page (fork-workflows) #387 table, editor and queries.
  • Organization tier, read-only. The page lists the organization workflows the member can read (ListOrganizationSavedWorkflowMetadata post-filters on read, and new organization workflows grant read to the Everyone group). The table uses readOnlySkillAccess, so there is no create, edit or delete. The detail dialog opens read-only.
  • Organization picker. Limited to the organizations the user is a member of. Defaults to the default organization, else the first. With no organization the page says "Join an organization to save workflows."
  • Experiment off. The route redirects to /agents/settings and the nav item is hidden, so Agent settings matches upstream.

Supporting changes:

  • ForkSavedWorkflowsTable takes an optional copy prop that overrides parts of the tier copy. The AI settings page passes none, so its copy is unchanged.
  • ForkSettingsNavItems now gates each item on its own experiment: the agent definition items on fork-agent-definitions, the new Workflows item on fork-workflows.

Tests

  • pnpm exec tsc -p .: exit 0.
  • pnpm exec vitest run --project unit src/pages/AISettingsPage src/pages/AgentsPage/AgentSettingsPage src/pages/AgentsPage/components/ChatsSidebar src/api/queries: 66 files, 971 passed (after merging main at 49f454e).
  • pnpm exec vitest run --project storybook src/pages/AgentsPage/AgentSettingsPage/ForkSavedWorkflowsPage src/pages/AgentsPage/components/ChatsSidebar/settings src/pages/AISettingsPage/ForkWorkflowsPage: 7 files, 50 passed.
  • New: ForkSavedWorkflowsPage.test.tsx (5 tests: redirect when off, member manages personal and only reads organization workflows, read-only organization detail, picker offers only member organizations and switches, no-organization message), ForkSavedWorkflowsPage.stories.tsx (4 stories, 3 with play checks), and 2 new ForkSettingsNavItems tests and 2 stories.
  • biome check and oxlint on the touched files: clean.

Negative controls, each failed as expected and was restored:

  • Removing access={readOnlySkillAccess} fails "lets a member manage personal workflows and only read organization ones".
  • Forcing showWorkflows = true fails "renders no links while the fork experiments are off".
  • Removing the experiment redirect fails "redirects to the settings index without listing when the experiment is off".

Not exercised

Any member with fork-workflows on gets a Workflows page in Agent
settings. It manages the member's personal workflows and lists the
organization workflows the member can read, read-only.

Closes #391
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T22:35:39.840515Z 88ad8d4 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4ea986fef4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike

Copy link
Copy Markdown
Owner Author

Coder Agents acted on behalf of @ibetitsmike.

@codex review

Inline story query wiring, the organization copy and the experiment
checks, trim the module comment and drop assertions that cannot fail.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 2a6e6dd4d6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike

Copy link
Copy Markdown
Owner Author

Coder Agents acted on behalf of @ibetitsmike.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 693e084e13

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike

Copy link
Copy Markdown
Owner Author

Coder Agents acted on behalf of @ibetitsmike.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 93bf7d6abe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike

Copy link
Copy Markdown
Owner Author

Coder Agents acted on behalf of @ibetitsmike.

@codex review

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 09a0100fe7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike

Copy link
Copy Markdown
Owner Author

Coder Agents acted on behalf of @ibetitsmike.

@codex review

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0d44669b73

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike

Copy link
Copy Markdown
Owner Author

Coder Agents acted on behalf of @ibetitsmike.

@codex review

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 07aacb8fa8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike

Copy link
Copy Markdown
Owner Author

Coder Agents acted on behalf of @ibetitsmike.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 1963bf05ce

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike

Copy link
Copy Markdown
Owner Author

Coder Agents acted on behalf of @ibetitsmike.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 88ad8d4777

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike
ibetitsmike merged commit e9e9b13 into main Nov 20, 2026
9 checks passed
@ibetitsmike
ibetitsmike deleted the mike/issue-391-member-workflows-page branch November 20, 2026 22:37
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Coder Agents acted on behalf of @ibetitsmike.

Merged at head 88ad8d47777c6da2e1da70beaceec9e974a4e3fc as e9e9b13, on main 53af10479464d065e8f905681f96942744574732, with the server running that main.

Gates on this exact head:

  1. The head matched the SHA I verified (--match-head-commit).
  2. Every check run passed. fork-ci run 44827123609 passed on this head.
  3. Codex receipt for this head: feat(site): personal Workflows page in Agent settings (fork-workflows) #393 (comment) ("Didn't find any major issues").
  4. No unresolved review thread.
  5. 0 commits behind main.
  6. I ran the tests below on this exact head.

Tests I ran on 88ad8d4777:

  • pnpm exec vitest run --project unit on AgentSettingsPage/ForkSavedWorkflowsPage, ChatsSidebar/settings and AISettingsPage/ForkWorkflowsPage: 4 files, 37 tests passed.
  • Negative control: without access={readOnlySkillAccess} on the organization table of the member page, "lets a member manage personal workflows and only read organization ones" fails. The source was restored after it.
  • The workstream ran 66 unit files (971 passed), 7 storybook files (50 passed) and tsc, with more negative controls in the PR body.

Review notes:

Not exercised: the member flow in a dev build. Coverage uses mocked API calls.

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.

site: personal Workflows page in Agent settings for members

1 participant