Skip to content

feat(agent): add workspace skills support#2488

Merged
daryllimyt merged 68 commits intomainfrom
feat/skills-backend
Apr 23, 2026
Merged

feat(agent): add workspace skills support#2488
daryllimyt merged 68 commits intomainfrom
feat/skills-backend

Conversation

@daryllimyt
Copy link
Copy Markdown
Contributor

@daryllimyt daryllimyt commented Apr 6, 2026

What changed

  • add workspace-scoped skill models, migration, service layer, and API routes for draft, upload, publish, version, restore, and playground flows
  • wire published skill versions into agent presets, preset version snapshots, MCP tooling, session config, executor staging, and Claude sandbox/runtime config
  • regenerate the frontend client and MCP docs for the new backend contract

Why

Workspace skills need a backend lifecycle that is independent from agent presets while still producing reproducible runtime snapshots. This PR establishes that foundation and the runtime plumbing the UI will build on in the next stacked PR.

Impact

  • workspaces can store, version, publish, and restore skills
  • presets can bind exact published skill versions and carry them through version snapshots
  • agent execution and playground sessions can materialize published skills inside the runtime sandbox

Validation

  • uv run ruff check tracecat/agent/skill tracecat/agent/preset tracecat/agent/session tracecat/agent/executor/activity.py tracecat/agent/runtime/claude_code/runtime.py tracecat/agent/sandbox/config.py tracecat/agent/sandbox/nsjail.py tracecat/agent/service.py tracecat/agent/types.py tracecat/agent/workflow_config.py tracecat/agent/workflow_schemas.py tracecat/api/app.py tracecat/chat/tools.py tracecat/config.py tracecat/db/models.py tracecat/db/tenant_rls.py tracecat/mcp/server.py tracecat/storage/blob.py tests/unit/test_skill_service.py tests/unit/test_agent_preset_service.py tests/unit/test_agent_session_preset_versioning.py tests/unit/test_agent_activities.py tests/unit/test_mcp_server.py tests/unit/test_storage_blob.py alembic/versions/0c6bb8f8e1d1_add_workspace_skills.py
  • uv run basedpyright tracecat/agent/skill tracecat/agent/preset tracecat/agent/session tracecat/agent/executor/activity.py tracecat/agent/runtime/claude_code/runtime.py tracecat/agent/sandbox/config.py tracecat/agent/sandbox/nsjail.py tracecat/agent/service.py tracecat/agent/types.py tracecat/agent/workflow_config.py tracecat/agent/workflow_schemas.py tracecat/api/app.py tracecat/chat/tools.py tracecat/config.py tracecat/db/models.py tracecat/db/tenant_rls.py tracecat/mcp/server.py tracecat/storage/blob.py tests/unit/test_skill_service.py tests/unit/test_agent_preset_service.py tests/unit/test_agent_session_preset_versioning.py tests/unit/test_agent_activities.py tests/unit/test_mcp_server.py tests/unit/test_storage_blob.py alembic/versions/0c6bb8f8e1d1_add_workspace_skills.py
  • uv run pytest tests/unit/test_skill_service.py tests/unit/test_agent_preset_service.py tests/unit/test_agent_session_preset_versioning.py tests/unit/test_agent_activities.py tests/unit/test_mcp_server.py tests/unit/test_storage_blob.py

@daryllimyt daryllimyt temporarily deployed to internal-registry-ci April 6, 2026 16:40 — with GitHub Actions Inactive
Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@daryllimyt daryllimyt temporarily deployed to internal-registry-ci April 6, 2026 16:41 — with GitHub Actions Inactive
@daryllimyt daryllimyt changed the title Add workspace skills support for agents feat(agent): add workspace skills support Apr 6, 2026
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented Apr 6, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tracecat 🟢 Ready View Preview Apr 6, 2026, 4:42 PM

@blacksmith-sh

This comment has been minimized.

@zeropath-ai
Copy link
Copy Markdown

zeropath-ai Bot commented Apr 6, 2026

No security or compliance issues detected. Reviewed everything up to 6bbdbb3.

Security Overview
Detected Code Changes

The diff is too large to display a summary of code changes.

@blacksmith-sh

This comment has been minimized.

@zeropath-ai
Copy link
Copy Markdown

zeropath-ai Bot commented Apr 9, 2026

No security or compliance issues detected. Reviewed everything up to 37e6998.

Security Overview
Detected Code Changes

The diff is too large to display a summary of code changes.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: 094dfdd6eb

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

Comment thread tracecat/agent/skill/service.py Outdated
@blacksmith-sh

This comment has been minimized.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: fbe15f8668

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

Comment thread tracecat/agent/skill/service.py Outdated
@blacksmith-sh

This comment has been minimized.

# Conflicts:
#	frontend/src/client/schemas.gen.ts
#	frontend/src/client/types.gen.ts
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: 1fe9b3ff61

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

Comment thread tracecat/agent/skill/service.py Outdated
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: abb552c60d

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

Comment thread tracecat/agent/skill/service.py
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: 02b109ce14

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

Comment thread tracecat/agent/preset/service.py
@blacksmith-sh

This comment has been minimized.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: 2c01715ed2

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

Comment thread tracecat/agent/skill/service.py Outdated
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: 11a2087adc

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

Comment thread tracecat/api/app.py
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: 289ce353fb

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

Comment thread tracecat/agent/skill/service.py Outdated
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: be71e3caea

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

Comment thread tracecat/agent/skill/service.py
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