Skip to content

feat: add dedicated Activity types for skill management tools#570

Merged
FL4TLiN3 merged 2 commits intomainfrom
feat/skill-management-activity-types
Feb 18, 2026
Merged

feat: add dedicated Activity types for skill management tools#570
FL4TLiN3 merged 2 commits intomainfrom
feat/skill-management-activity-types

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Add 5 dedicated Activity types (AddSkillActivity, RemoveSkillActivity, AddDelegateActivity, RemoveDelegateActivity, CreateExpertActivity) with interfaces, zod schemas, and discriminated union entries in @perstack/core
  • Add tool-to-Activity conversion logic in createBaseToolActivity switch for all 5 skill management tools, including a parseStringArrayField helper
  • Add TUI rendering in checkpoint-action-row.tsx using colors.accent (cyan) for skill management operations and colors.destructive (red) on error

Test plan

  • pnpm typecheck — 23/23 packages pass (exhaustive switch check confirmed)
  • pnpm test — 1098 tests pass, including 7 new skill management activity tests
  • pnpm build — 23/23 packages build successfully
  • pnpm format-and-lint — No new errors

🤖 Generated with Claude Code

FL4TLiN3 and others added 2 commits February 18, 2026 07:29
Replace GeneralToolActivity fallback for addSkill, removeSkill,
addDelegate, removeDelegate, and createExpert with dedicated Activity
types that provide structured fields and human-readable TUI display.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 merged commit 33323e3 into main Feb 18, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 mentioned this pull request Feb 18, 2026
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