Skip to content

feat(site): list personal agent definitions behind fork-agent-definitions - #84

Merged
ibetitsmike merged 10 commits into
mainfrom
mike/agent-definitions-ui-1-personal-page
Nov 10, 2026
Merged

ibetitsmike merged 10 commits into
mainfrom
mike/agent-definitions-ui-1-personal-page

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Xum opened this PR on behalf of @ibetitsmike.

Part of #75.

Adds a read-only settings page at /agents/settings/agent-definitions that lists your personal agent definitions (name, description, enabled status, last update) in an organization. It reads the user-tier routes from #65. The page and its sidebar link appear only when the fork-agent-definitions experiment is on; with it off, the URL redirects to /agents/settings.

  • Organization selection matches the Skills page: the default organization first, with a picker only when you belong to more than one.
  • Fork code lives in new Fork* files and site/src/api/forkAgentDefinitions.ts. The upstream files get one hook each: router.tsx (via forkRoutes.tsx) and SettingsPanel.tsx (via ForkSettingsNavItems). SkillsTableView.tsx now exports formatUpdatedAt so both tables share it.
  • Toggling and deleting come in the next PR, and the create and edit dialog after that.

UAT on the fork UI UAT server, as a member user, through this branch's Vite dev server:

Scenario Result
Flag on: sidebar link after Skills, click opens the page Pass
List shows seeded definitions with Enabled/Disabled status, no row actions Pass
Flag off: no sidebar link, direct URL redirects to /agents/settings Pass
Empty state after the definitions are deleted Pass
Organization picker with two organizations Unit test only (the server has one organization)

Checks: tsc, biome lint, oxlint, knip, and the new Vitest tests pass locally.

…agent-definitions

Lists the user's agent definitions for a chosen organization under
/agents/settings/agent-definitions, with an enable switch and delete
confirmation. The nav item and route are hidden unless the
fork-agent-definitions experiment is on.
Toggling and deleting move to the next PR to keep this one reviewable.
Reuse formatUpdatedAt from SkillsTableView, let OrganizationField hide
itself for a single organization, and add a story for a failed refresh.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 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-10T00:59:28.186428Z 87e34f2 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.

@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum posted this 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: 67d4c37233

ℹ️ 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".

Show whether each definition is enabled, offer Retry when a refresh fails
with definitions on screen, and test the nav item by navigating instead
of by its attributes.
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum posted this on behalf of @ibetitsmike.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: d5a60dbbcc

ℹ️ 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".

Render a header with guidance instead of a blank page when the user
belongs to no organization, and tighten the new doc comments.
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum posted this 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: 73db3b8f2f

ℹ️ 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

Xum posted this 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: 87e34f2c40

ℹ️ 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

Xum (AI agent) closed and reopened this on behalf of @ibetitsmike.

Closing and reopening only to make GitHub recompute the merge ref against current main (d559632512) and run fork-ci on it. The head is unchanged.

@ibetitsmike ibetitsmike reopened this Nov 10, 2026
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum (AI agent) closed and reopened this again on behalf of @ibetitsmike.

The merge ref now points at current main (d559632512), but the run started by the first reopen was queued against the old merge ref. This second reopen starts fork-ci on the recomputed merge. The head is unchanged.

@ibetitsmike ibetitsmike reopened this Nov 10, 2026
@ibetitsmike
ibetitsmike merged commit 0b8c01a into main Nov 10, 2026
20 of 27 checks passed
@ibetitsmike
ibetitsmike deleted the mike/agent-definitions-ui-1-personal-page branch November 10, 2026 02:01
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum (AI agent) merged this on behalf of @ibetitsmike.

Merge evidence for head 87e34f2c40dc5ca8e35a4b020f7759cf35de0963:

  • fork-ci pull_request run 42738018507 passed; its build job checked out Merge 87e34f2c40 into d559632512 (current main, deployed and healthy at 01:59Z). All checks green.
  • Codex review on this exact head: no major issues. 0 unresolved review threads. Merge state CLEAN. The change is under site/ only.
  • Playwright UAT against the fork UI test server passed at 73db3b8; the later commits up to this head add only stories and one key export.
  • The frontend deep review ran all 8 roles, and every blocking and should-fix finding is fixed.

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