Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
83239ee
developing
deepracticexs Feb 23, 2026
6962ee5
developing
deepracticexs Feb 23, 2026
3e5b345
developing
deepracticexs Feb 24, 2026
8544c9a
fix: format code with biome and fix lint issues
deepracticexs Feb 24, 2026
8d07ca0
feat: add after/fallback relationships between plans
deepracticexs Feb 24, 2026
61859f5
fix: persist child node links in manifest (plan-to-plan relationships)
deepracticexs Feb 24, 2026
fd69e5d
feat: persist RoleContext across sessions with fold support on activate
deepracticexs Feb 24, 2026
f869fb3
refactor: remove knowledge layer and add concept-order rendering
deepracticexs Feb 24, 2026
5813e87
refactor: lift position to top-level entity and split OrgNamespace
deepracticexs Feb 24, 2026
d3909b6
feat: unified `use` entry point with ! command protocol
deepracticexs Feb 24, 2026
70c1de2
feat: prototype management — summon/banish/list with builtin nuwa
deepracticexs Feb 24, 2026
1843183
fix: builtin prototypes cannot be overridden by user registry
deepracticexs Feb 24, 2026
3c0016c
feat: add AuthorNamespace for prototype file authoring and reorganize…
deepracticexs Feb 24, 2026
c624279
chore: bump resourcexjs to ^2.14.0 for source freshness check
deepracticexs Feb 24, 2026
21a1c0a
feat: add use tool to MCP and resource namespace to dispatch
deepracticexs Feb 24, 2026
0486084
feat: add tag to structure, finish/complete preserve nodes
deepracticexs Feb 25, 2026
3f31f83
fix: replayState preserves tag, finish projects task instead of indiv…
deepracticexs Feb 25, 2026
38fb792
docs: update descriptions for tag semantics
deepracticexs Feb 25, 2026
4031513
fix: forget clears focusedGoalId/focusedPlanId when deleting focused …
deepracticexs Feb 25, 2026
548f6c2
fix: validate persisted focus nodes exist during activate
deepracticexs Feb 25, 2026
ebcc2d0
fix: move ref counter from in-memory to DB to prevent multi-process c…
deepracticexs Feb 25, 2026
06e0031
feat: add census namespace for society-level queries
deepracticexs Feb 25, 2026
e46874b
feat: migrate local-platform to @deepracticex/drizzle + @deepracticex…
deepracticexs Feb 25, 2026
7038d00
feat: unify prototype namespace, add settle/evict, initializer, and r…
deepracticexs Feb 25, 2026
9fe7aaa
feat: create @rolexjs/prototype package and move prototypes/skills in…
deepracticexs Feb 25, 2026
3764064
developing
deepracticexs Feb 26, 2026
744aa79
developing
deepracticexs Feb 26, 2026
1183540
developing
deepracticexs Feb 26, 2026
175e9f5
developing
deepracticexs Feb 26, 2026
d365ace
feat: transform as move, remote prototype bootstrap, upgrade resourcexjs
deepracticexs Feb 27, 2026
d8eb46e
feat: zero-network bootstrap via npm:@rolexjs/rolex-prototype
deepracticexs Feb 27, 2026
e0fa0ba
feat: consolidate descriptions into prototype package and add direct …
deepracticexs Feb 28, 2026
9882ecd
feat: rename @rolexjs/rolex-prototype to @rolexjs/genesis
deepracticexs Feb 28, 2026
7e6425d
refactor: move genesis from prototypes/ to packages/
deepracticexs Feb 28, 2026
1070a78
fix: auto-inject all world descriptions into MCP instructions
deepracticexs Feb 28, 2026
f7147ad
feat: expand link targets in projection and render as subtrees
deepracticexs Feb 28, 2026
292357c
chore: fix unused variable lint warnings in test files
deepracticexs Feb 28, 2026
260b06d
feat: expand link targets in SQLite runtime and fold requirement nodes
deepracticexs Feb 28, 2026
5ce5b98
fix: add explicit instruction to never guess RoleX commands
deepracticexs Feb 28, 2026
4240f6b
fix: validate required params in dispatch and filter empty nodes in r…
deepracticexs Feb 28, 2026
a96280c
refactor: remove requirement copy pattern from position.appoint
deepracticexs Feb 28, 2026
d7521ee
feat: enforce global ID uniqueness across the state tree
deepracticexs Feb 28, 2026
e07c999
feat: realize/reflect accept empty IDs and BDD test framework
deepracticexs Feb 28, 2026
4f4af27
feat: identity ethics and directive system for role boundaries
deepracticexs Feb 28, 2026
8ef2b4c
refactor: sink render layer from MCP server into rolexjs
deepracticexs Feb 28, 2026
999067d
developing
deepracticexs Mar 2, 2026
9180e24
feat: relax ID uniqueness, auto-train on appoint, skill-loading guida…
deepracticexs Mar 2, 2026
8946135
chore: fix lint issues in bdd test files
deepracticexs Mar 2, 2026
42d21d4
fix: support batch consumption in reflect/realize/master
deepracticexs Mar 2, 2026
c5a6d7d
refactor: introduce RoleXRepository interface and SqliteRepository
deepracticexs Mar 2, 2026
8449a59
refactor: integrate ResourceXProvider into Platform instead of ResourceX
deepracticexs Mar 2, 2026
a9a1789
chore: add 1.0.0 release changeset
deepracticexs Mar 3, 2026
cdde8eb
refactor: make Runtime interface fully async
deepracticexs Mar 3, 2026
4c0bea4
feat: add version-migration skill for legacy data migration
deepracticexs Mar 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/brave-cities-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@rolexjs/local-platform": minor
"rolexjs": patch
---

Expand link targets in SQLite runtime projection and fold requirement nodes by default
6 changes: 3 additions & 3 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"@rolexjs/core",
"@rolexjs/parser",
"@rolexjs/local-platform",
"@rolexjs/prototype",
"@rolexjs/genesis",
"rolexjs",
"@rolexjs/cli",
"@rolexjs/mcp-server",
"@rolexjs/system",
"@rolexjs/resourcex-types"
"@rolexjs/system"
]
],
"linked": [],
Expand Down
11 changes: 11 additions & 0 deletions .changeset/enforce-global-id-uniqueness.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@rolexjs/system": minor
"@rolexjs/local-platform": minor
"@rolexjs/prototype": minor
---

feat: enforce global ID uniqueness across the state tree

- Both in-memory and SQLite runtimes now reject duplicate IDs with a clear error
- Same ID under same parent remains idempotent (returns existing node)
- Identity nodes now use `{id}-identity` suffix to avoid conflicting with individual ID
9 changes: 9 additions & 0 deletions .changeset/fix-required-params-empty-nodes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@rolexjs/prototype": patch
"rolexjs": patch
---

fix: validate required params in dispatch and filter empty nodes in render

- Enforce required parameter validation in `toArgs` dispatch — missing required args now throw a clear error instead of silently passing `undefined` (#23)
- Filter empty nodes (no id, no information, no children) in `renderState` to prevent cluttered activation output (#24)
5 changes: 5 additions & 0 deletions .changeset/funky-windows-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rolexjs/mcp-server": patch
---

Auto-inject all world descriptions into MCP instructions instead of manually listing them
16 changes: 16 additions & 0 deletions .changeset/identity-ethics-directives.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
"@rolexjs/prototype": minor
"rolexjs": minor
---

feat: identity ethics and directive system for role boundaries

Establish identity ethics as the foundational world instruction and build a directive system for enforcing role boundaries at critical decision points.

- Add identity-ethics.feature as @priority-critical world description
- Add priority sorting mechanism for world descriptions (critical > high > normal)
- Build directive system (replaces reminders) with gen-directives.ts generator
- Wire on-unknown-command directive into error handling
- Remove nuwa.feature to prevent leaking world-building commands to all roles
- Clean up use-protocol, census, and cognition to remove command knowledge leaks
- Export directive() API from rolexjs
6 changes: 6 additions & 0 deletions .changeset/mighty-pianos-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@rolexjs/system": minor
"rolexjs": minor
---

Expand link targets in state projection — duties and charters now visible on activate
5 changes: 5 additions & 0 deletions .changeset/no-guess-commands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rolexjs/prototype": patch
---

Add explicit instruction to never guess RoleX commands — only use commands seen in loaded skills or world descriptions.
13 changes: 13 additions & 0 deletions .changeset/realize-reflect-empty-ids.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@rolexjs/prototype": minor
"rolexjs": minor
"@rolexjs/mcp-server": minor
---

feat: realize and reflect accept empty source IDs

Allow calling realize with no experience IDs and reflect with no encounter IDs. This enables direct creation of principles and experiences from conversational insights without requiring the full encounter → experience → principle chain.

- ops.ts: skip resolve/remove when IDs are empty, directly create target node
- role.ts: skip validation and consumption for empty IDs
- MCP layer: pass undefined when IDs array is empty
21 changes: 21 additions & 0 deletions .changeset/release-1.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
"@rolexjs/core": major
"@rolexjs/system": major
"@rolexjs/prototype": major
"@rolexjs/local-platform": major
"@rolexjs/genesis": major
"@rolexjs/mcp-server": major
"@rolexjs/parser": major
"rolexjs": major
---

Release 1.0.0 — RoleX AI Agent Role Management Framework

Highlights:
- RoleXRepository unified data access layer (SQLite-backed)
- Platform integrates ResourceXProvider for pluggable storage
- Identity ethics and directive system for role boundaries
- Batch consumption in reflect/realize/master
- Global ID uniqueness enforcement
- BDD test framework with MCP E2E coverage
- Render layer sunk from MCP server into rolexjs
9 changes: 9 additions & 0 deletions .changeset/remove-requirement-copy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@rolexjs/prototype": minor
"rolexjs": minor
---

refactor: remove requirement copy pattern from position.appoint

- `position.appoint` no longer copies requirements as procedures onto the individual — requirements are rendered through position links instead, like organization charters
- Unfold requirement nodes in `renderState` so their content (including skill locators) is visible
8 changes: 8 additions & 0 deletions .changeset/rename-genesis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@rolexjs/genesis": minor
"@rolexjs/mcp-server": minor
"@rolexjs/prototype": minor
"rolexjs": minor
---

Rename @rolexjs/rolex-prototype to @rolexjs/genesis, consolidate descriptions into prototype package, and add direct tool for stateless world-level operations.
12 changes: 12 additions & 0 deletions .changeset/resourcex-provider-integration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@rolexjs/core": minor
"@rolexjs/local-platform": minor
"rolexjs": minor
---

refactor: Platform integrates ResourceXProvider instead of ResourceX

Platform now declares `resourcexProvider?: ResourceXProvider` instead of `resourcex?: ResourceX`.
Rolex internally creates the ResourceX instance from the injected provider.
This makes the storage backend decision explicit at the Platform level —
swapping providers is all that's needed to move from local to cloud deployment.
7 changes: 7 additions & 0 deletions .changeset/rolex-repository.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@rolexjs/core": minor
"@rolexjs/local-platform": minor
"rolexjs": minor
---

Introduce RoleXRepository interface and SqliteRepository implementation. Platform now uses `repository` instead of separate runtime/prototype/saveContext/loadContext. Prototypes and contexts stored in SQLite instead of JSON files.
8 changes: 8 additions & 0 deletions .changeset/skill-loading-and-rendering.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@rolexjs/system": minor
"@rolexjs/local-platform": minor
"@rolexjs/prototype": minor
"rolexjs": minor
---

Relax global ID uniqueness to same-parent idempotence, auto-train requirements as procedures on appoint, enhance error messages with skill-loading guidance, fix plan link rendering to compact references, and add goal progress summary in headings
Loading