Repository navigation
refactor: system architecture overhaul with graph primitives - #18
Merged
Merged
Conversation
Skills are standalone Gherkin features that inject into role identity
when equipped. They are peer entities alongside Organization and
Position, enabling the "tools are channels, skills are manuals" pattern.
- Skill type: Feature subtype (type: "skill"), stored in .rolex/skills/
- Platform API: createSkill, equip, unequip, roleSkills, allSkills, getSkill
- Identity injection: equipped skills auto-inject alongside duties
- Config: skills[] registry + equipment{} role-skill mapping
- MCP: skill tool (create/equip/unequip), directory includes skills
- Tests: 16 new tests covering full CRUD and injection lifecycle
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Extract all operation definitions (descriptions, parameters, permissions, execute logic) into rolexjs/src/api/ as ApiOperation registry. MCP server becomes a thin consumer (591 → 99 lines, -83%) that auto-generates tools from the registry. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Skill operations (create, equip, unequip) are now a dedicated namespace instead of being scattered across society and role. This aligns with the four-entity peer model: society, organization, role, skill. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Turbo typecheck is too slow for pre-push — causes GitHub SSH timeout. Move to CI only. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@rolexjs/systempackage — graph primitives (Structure, Process, State, Runtime, Prototype, mergeState)rolexjsas stateless API layer with string-id resolution, namespaces (individual/role/org){prototype}/{instance}.featurefiles auto-generated into index.ts, world features as MCP instructions@rolexjs/resourcex-typesfor cross-package ResourceX type sharingTest plan
bun run build— all 8 packages build successfullybun run test— all unit tests pass (parser, system, rolexjs, local-platform)bun run check— Biome lint passes🤖 Generated with Claude Code