@rolexjs/core 1.1.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as _rolexjs_system from '@rolexjs/system';
2
2
  import { Runtime, Initializer } from '@rolexjs/system';
3
3
  export { Create, GraphOp, Link, Process, Relation, Remove, Runtime, State, Structure, Transform, Unlink, create, createRuntime, link, process, relation, remove, structure, transform, unlink } from '@rolexjs/system';
4
+ import { IssueXProvider } from '@issuexjs/core';
4
5
  import { ResourceXProvider, CustomExecutor } from '@resourcexjs/core';
5
6
 
6
7
  /**
@@ -50,6 +51,8 @@ interface Platform {
50
51
  readonly resourcexProvider?: ResourceXProvider;
51
52
  /** Custom executor for ResourceX resolver execution (e.g., QuickJS Wasm for Workers). */
52
53
  readonly resourcexExecutor?: CustomExecutor;
54
+ /** IssueX provider — injected storage backend for issue tracking. */
55
+ readonly issuexProvider?: IssueXProvider;
53
56
  /** Initializer — bootstrap the world on first run. */
54
57
  readonly initializer?: Initializer;
55
58
  /** Prototype sources to settle on genesis (local paths or ResourceX locators). */
@@ -75,6 +78,11 @@ declare const charter: _rolexjs_system.Structure;
75
78
  declare const position: _rolexjs_system.Structure;
76
79
  declare const duty: _rolexjs_system.Structure;
77
80
  declare const requirement: _rolexjs_system.Structure;
81
+ declare const project: _rolexjs_system.Structure;
82
+ declare const scope: _rolexjs_system.Structure;
83
+ declare const milestone: _rolexjs_system.Structure;
84
+ declare const deliverable: _rolexjs_system.Structure;
85
+ declare const wiki: _rolexjs_system.Structure;
78
86
 
79
87
  declare const want: _rolexjs_system.Process;
80
88
  declare const planGoal: _rolexjs_system.Process;
@@ -94,15 +102,24 @@ declare const dismiss: _rolexjs_system.Process;
94
102
  declare const charterOrg: _rolexjs_system.Process;
95
103
  declare const charge: _rolexjs_system.Process;
96
104
 
105
+ declare const enroll: _rolexjs_system.Process;
106
+ declare const removeParticipant: _rolexjs_system.Process;
107
+ declare const scopeProject: _rolexjs_system.Process;
108
+ declare const milestoneProject: _rolexjs_system.Process;
109
+ declare const deliverProject: _rolexjs_system.Process;
110
+ declare const wikiProject: _rolexjs_system.Process;
111
+
97
112
  declare const born: _rolexjs_system.Process;
98
113
  declare const found: _rolexjs_system.Process;
99
114
  declare const establish: _rolexjs_system.Process;
115
+ declare const launch: _rolexjs_system.Process;
100
116
  declare const retire: _rolexjs_system.Process;
101
117
  declare const die: _rolexjs_system.Process;
118
+ declare const archive: _rolexjs_system.Process;
102
119
  declare const dissolve: _rolexjs_system.Process;
103
120
  declare const abolish: _rolexjs_system.Process;
104
121
  declare const rehire: _rolexjs_system.Process;
105
122
 
106
123
  declare const activate: _rolexjs_system.Process;
107
124
 
108
- export { type ContextData, type Platform, type PrototypeRegistry, type RoleXRepository, abandon, abolish, activate, appoint, background, born, charge, charter, charterOrg, complete, die, dismiss, dissolve, duty, encounter, establish, experience, finish, fire, found, goal, hire, identity, individual, master, mindset, organization, past, plan, planGoal, position, principle, procedure, realize, reflect, rehire, requirement, retire, society, task, todo, tone, want };
125
+ export { type ContextData, type Platform, type PrototypeRegistry, type RoleXRepository, abandon, abolish, activate, appoint, archive, background, born, charge, charter, charterOrg, complete, deliverProject, deliverable, die, dismiss, dissolve, duty, encounter, enroll, establish, experience, finish, fire, found, goal, hire, identity, individual, launch, master, milestone, milestoneProject, mindset, organization, past, plan, planGoal, position, principle, procedure, project, realize, reflect, rehire, removeParticipant, requirement, retire, scope, scopeProject, society, task, todo, tone, want, wiki, wikiProject };
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  // src/index.ts
2
2
  import {
3
- create as create4,
3
+ create as create5,
4
4
  createRuntime,
5
- link as link2,
6
- process as process6,
5
+ link as link3,
6
+ process as process7,
7
7
  relation as relation2,
8
8
  remove,
9
9
  structure as structure2,
10
10
  transform as transform4,
11
- unlink as unlink2
11
+ unlink as unlink3
12
12
  } from "@rolexjs/system";
13
13
 
14
14
  // src/structures.ts
@@ -36,6 +36,21 @@ var position = structure("position", "A role held by an individual", society, [
36
36
  ]);
37
37
  var duty = structure("duty", "Responsibilities of this position", position);
38
38
  var requirement = structure("requirement", "Required skill for this position", position);
39
+ var project = structure("project", "A process container for organized work", society, [
40
+ relation("participation", "Who participates in this project", individual)
41
+ ]);
42
+ var scope = structure(
43
+ "scope",
44
+ "Project boundary \u2014 what to do and what not to do",
45
+ project
46
+ );
47
+ var milestone = structure(
48
+ "milestone",
49
+ "Key checkpoint with achievement criteria",
50
+ project
51
+ );
52
+ var deliverable = structure("deliverable", "Project output and delivery", project);
53
+ var wiki = structure("wiki", "Project-level knowledge base entry", project);
39
54
 
40
55
  // src/execution.ts
41
56
  import { create, process, transform } from "@rolexjs/system";
@@ -116,36 +131,72 @@ var charterOrg = process3(
116
131
  );
117
132
  var charge = process3("charge", "Add a duty to a position", position, create2(duty));
118
133
 
134
+ // src/project.ts
135
+ import { create as create3, link as link2, process as process4, unlink as unlink2 } from "@rolexjs/system";
136
+ var enroll = process4(
137
+ "enroll",
138
+ "Enroll an individual into the project",
139
+ project,
140
+ link2(project, "participation")
141
+ );
142
+ var removeParticipant = process4(
143
+ "remove",
144
+ "Remove an individual from the project",
145
+ project,
146
+ unlink2(project, "participation")
147
+ );
148
+ var scopeProject = process4(
149
+ "scope",
150
+ "Define the scope for a project",
151
+ project,
152
+ create3(scope)
153
+ );
154
+ var milestoneProject = process4(
155
+ "milestone",
156
+ "Add a milestone to a project",
157
+ project,
158
+ create3(milestone)
159
+ );
160
+ var deliverProject = process4(
161
+ "deliver",
162
+ "Add a deliverable to a project",
163
+ project,
164
+ create3(deliverable)
165
+ );
166
+ var wikiProject = process4("wiki", "Add a wiki entry to a project", project, create3(wiki));
167
+
119
168
  // src/lifecycle.ts
120
- import { create as create3, process as process4, transform as transform3 } from "@rolexjs/system";
121
- var born = process4(
169
+ import { create as create4, process as process5, transform as transform3 } from "@rolexjs/system";
170
+ var born = process5(
122
171
  "born",
123
172
  "An individual is born into society",
124
173
  society,
125
- create3(individual)
174
+ create4(individual)
126
175
  );
127
- var found = process4("found", "Found an organization", society, create3(organization));
128
- var establish = process4("establish", "Establish a position", society, create3(position));
129
- var retire = process4(
176
+ var found = process5("found", "Found an organization", society, create4(organization));
177
+ var establish = process5("establish", "Establish a position", society, create4(position));
178
+ var launch = process5("launch", "Launch a project", society, create4(project));
179
+ var retire = process5(
130
180
  "retire",
131
181
  "Retire an individual",
132
182
  individual,
133
183
  transform3(individual, past)
134
184
  );
135
- var die = process4("die", "An individual dies", individual, transform3(individual, past));
136
- var dissolve = process4(
185
+ var die = process5("die", "An individual dies", individual, transform3(individual, past));
186
+ var archive = process5("archive", "Archive a project", project, transform3(project, past));
187
+ var dissolve = process5(
137
188
  "dissolve",
138
189
  "Dissolve an organization",
139
190
  organization,
140
191
  transform3(organization, past)
141
192
  );
142
- var abolish = process4(
193
+ var abolish = process5(
143
194
  "abolish",
144
195
  "Abolish a position",
145
196
  position,
146
197
  transform3(position, past)
147
198
  );
148
- var rehire = process4(
199
+ var rehire = process5(
149
200
  "rehire",
150
201
  "Rehire a retired individual",
151
202
  past,
@@ -153,8 +204,8 @@ var rehire = process4(
153
204
  );
154
205
 
155
206
  // src/role.ts
156
- import { process as process5 } from "@rolexjs/system";
157
- var activate = process5(
207
+ import { process as process6 } from "@rolexjs/system";
208
+ var activate = process6(
158
209
  "activate",
159
210
  "Activate a role \u2014 load cognition into context",
160
211
  individual
@@ -164,19 +215,23 @@ export {
164
215
  abolish,
165
216
  activate,
166
217
  appoint,
218
+ archive,
167
219
  background,
168
220
  born,
169
221
  charge,
170
222
  charter,
171
223
  charterOrg,
172
224
  complete,
173
- create4 as create,
225
+ create5 as create,
174
226
  createRuntime,
227
+ deliverProject,
228
+ deliverable,
175
229
  die,
176
230
  dismiss,
177
231
  dissolve,
178
232
  duty,
179
233
  encounter,
234
+ enroll,
180
235
  establish,
181
236
  experience,
182
237
  finish,
@@ -186,8 +241,11 @@ export {
186
241
  hire,
187
242
  identity,
188
243
  individual,
189
- link2 as link,
244
+ launch,
245
+ link3 as link,
190
246
  master,
247
+ milestone,
248
+ milestoneProject,
191
249
  mindset,
192
250
  organization,
193
251
  past,
@@ -196,21 +254,27 @@ export {
196
254
  position,
197
255
  principle,
198
256
  procedure,
199
- process6 as process,
257
+ process7 as process,
258
+ project,
200
259
  realize,
201
260
  reflect,
202
261
  rehire,
203
262
  relation2 as relation,
204
263
  remove,
264
+ removeParticipant,
205
265
  requirement,
206
266
  retire,
267
+ scope,
268
+ scopeProject,
207
269
  society,
208
270
  structure2 as structure,
209
271
  task,
210
272
  todo,
211
273
  tone,
212
274
  transform4 as transform,
213
- unlink2 as unlink,
214
- want
275
+ unlink3 as unlink,
276
+ want,
277
+ wiki,
278
+ wikiProject
215
279
  };
216
280
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts","../src/structures.ts","../src/execution.ts","../src/cognition.ts","../src/organization.ts","../src/lifecycle.ts","../src/role.ts"],"sourcesContent":["/**\n * @rolexjs/core — RoleX Concept World\n *\n * Domain-specific structures and processes built on @rolexjs/system.\n *\n * Structures — the concept tree (18 concepts, 2 relations)\n * Processes — how the world changes (24 processes, 4 layers)\n *\n * Layer 1: Execution — want, plan, todo, finish, complete, abandon\n * Layer 2: Cognition — reflect, realize, master\n * Layer 3: Organization — hire, fire, appoint, dismiss, charter, charge\n * Layer 4: Lifecycle — born, found, establish, retire, die, dissolve, abolish, rehire\n * + Role: activate\n */\n\n// Re-export system primitives\nexport {\n type Create,\n create,\n createRuntime,\n type GraphOp,\n type Link,\n link,\n type Process,\n process,\n type Relation,\n type Remove,\n type Runtime,\n relation,\n remove,\n type State,\n type Structure,\n structure,\n type Transform,\n transform,\n type Unlink,\n unlink,\n} from \"@rolexjs/system\";\n\n// Platform\nexport type { ContextData, Platform, PrototypeRegistry, RoleXRepository } from \"./platform.js\";\n\n// ===== Structures =====\n\nexport {\n background,\n // Organization\n charter,\n duty,\n // Individual — Cognition\n encounter,\n experience,\n // Individual — Execution\n goal,\n // Individual — Identity\n identity,\n // Level 1\n individual,\n // Individual — Knowledge\n mindset,\n organization,\n past,\n plan,\n position,\n principle,\n procedure,\n // Organization — Position\n requirement,\n // Level 0\n society,\n task,\n tone,\n} from \"./structures.js\";\n\n// ===== Processes — Layer 1: Execution =====\n\nexport { abandon, complete, finish, planGoal, todo, want } from \"./execution.js\";\n\n// ===== Processes — Layer 2: Cognition =====\n\nexport { master, realize, reflect } from \"./cognition.js\";\n\n// ===== Processes — Layer 3: Organization =====\n\nexport { appoint, charge, charterOrg, dismiss, fire, hire } from \"./organization.js\";\n\n// ===== Processes — Layer 4: Lifecycle =====\n\nexport { abolish, born, die, dissolve, establish, found, rehire, retire } from \"./lifecycle.js\";\n\n// ===== Role =====\n\nexport { activate } from \"./role.js\";\n","/**\n * RoleX Concept World — all structure definitions.\n *\n * Every node is a Structure — simultaneously concept, container,\n * and information carrier. Tree (parent-child) provides the\n * hierarchical backbone. Relations provide cross-branch links.\n *\n * ┌─────────────────────────────────────────────────────────┐\n * │ society │\n * │ ├── individual \"A single agent in society\" │\n * │ │ ├── identity \"Who I am\" │\n * │ │ │ ├── background \"My personal background\" │\n * │ │ │ ├── tone \"My tone of communication\" │\n * │ │ │ └── mindset \"How I think\" │\n * │ │ ├── encounter \"A specific event I went through\"│\n * │ │ ├── experience \"What I learned from encounters\" │\n * │ │ ├── principle \"My rules of conduct\" │\n * │ │ ├── procedure \"My skill references and metadata\"│\n * │ │ └── goal \"What I am pursuing\" │\n * │ │ └── plan \"How to achieve a goal\" │\n * │ │ └── task \"Concrete unit of work\" │\n * │ ├── organization \"A group of individuals\" │\n * │ │ │ ∿ membership → individual │\n * │ │ └── charter \"The rules and mission\" │\n * │ ├── position \"A role held by an individual\" │\n * │ │ │ ∿ appointment → individual │\n * │ │ └── duty \"Responsibilities of position\" │\n * │ └── past \"Things no longer active\" │\n * └─────────────────────────────────────────────────────────┘\n */\nimport { relation, structure } from \"@rolexjs/system\";\n\n// ================================================================\n// Level 0 — Root\n// ================================================================\n\nexport const society = structure(\"society\", \"The RoleX world\", null);\n\n// ================================================================\n// Level 1 — Four pillars\n// ================================================================\n\nexport const individual = structure(\"individual\", \"A single agent in society\", society);\nexport const organization = structure(\"organization\", \"A group of individuals\", society, [\n relation(\"membership\", \"Who belongs to this organization\", individual),\n]);\nexport const past = structure(\"past\", \"Things no longer active\", society);\n\n// ================================================================\n// Individual — Identity\n// ================================================================\n\nexport const identity = structure(\"identity\", \"Who I am\", individual);\nexport const background = structure(\"background\", \"My personal background\", identity);\nexport const tone = structure(\"tone\", \"My tone of communication\", identity);\nexport const mindset = structure(\"mindset\", \"How I think and approach problems\", identity);\n\n// ================================================================\n// Individual — Cognition\n// ================================================================\n\nexport const encounter = structure(\"encounter\", \"A specific event I went through\", individual);\nexport const experience = structure(\"experience\", \"What I learned from encounters\", individual);\n\n// ================================================================\n// Individual — Knowledge\n// ================================================================\n\nexport const principle = structure(\"principle\", \"My rules of conduct\", individual);\nexport const procedure = structure(\"procedure\", \"My skill references and metadata\", individual);\n\n// ================================================================\n// Individual — Execution\n// ================================================================\n\nexport const goal = structure(\"goal\", \"What I am pursuing\", individual);\nexport const plan = structure(\"plan\", \"How to achieve a goal\", goal);\nexport const task = structure(\"task\", \"Concrete unit of work\", plan);\n\n// ================================================================\n// Organization\n// ================================================================\n\nexport const charter = structure(\"charter\", \"The rules and mission\", organization);\n\n// ================================================================\n// Position — independent entity\n// ================================================================\n\nexport const position = structure(\"position\", \"A role held by an individual\", society, [\n relation(\"appointment\", \"Who holds this position\", individual),\n]);\nexport const duty = structure(\"duty\", \"Responsibilities of this position\", position);\nexport const requirement = structure(\"requirement\", \"Required skill for this position\", position);\n","/**\n * Execution cycle — the doing loop.\n *\n * want → plan → todo → finish → (encounter) → want → ...\n * plan → complete → (encounter)\n * plan → abandon → (encounter)\n *\n * Goals are long-term directions. Plans are the completable unit —\n * they can be completed or abandoned. Tasks finish individually.\n * All transforms produce encounters — feeding the cognition cycle.\n */\nimport { create, process, transform } from \"@rolexjs/system\";\nimport { encounter, goal, individual, plan, task } from \"./structures.js\";\n\nexport const want = process(\"want\", \"Declare a goal\", individual, create(goal));\nexport const planGoal = process(\"plan\", \"Create a plan for a goal\", goal, create(plan));\nexport const todo = process(\"todo\", \"Create a task in a plan\", plan, create(task));\n\nexport const finish = process(\n \"finish\",\n \"Complete a task, record as encounter\",\n task,\n transform(task, encounter)\n);\nexport const complete = process(\n \"complete\",\n \"Complete a plan, record as encounter\",\n plan,\n transform(plan, encounter)\n);\nexport const abandon = process(\n \"abandon\",\n \"Abandon a plan, record as encounter\",\n plan,\n transform(plan, encounter)\n);\n","/**\n * Cognition cycle — the learning loop.\n *\n * encounter → reflect → experience → realize → principle\n * → master → procedure\n *\n * Encounters are raw events (produced by the execution cycle).\n * Reflection distills them into experience. From experience,\n * principles are realized and procedures are mastered.\n */\nimport { process, transform } from \"@rolexjs/system\";\nimport { encounter, experience, principle, procedure } from \"./structures.js\";\n\nexport const reflect = process(\n \"reflect\",\n \"Reflect on encounters, distill into experience\",\n encounter,\n transform(encounter, experience)\n);\nexport const realize = process(\n \"realize\",\n \"Realize a principle from experience\",\n experience,\n transform(experience, principle)\n);\nexport const master = process(\n \"master\",\n \"Master a procedure from experience\",\n experience,\n transform(experience, procedure)\n);\n","/**\n * Organization management — hiring, firing, and structuring.\n *\n * hire / fire — membership (who belongs)\n * appoint / dismiss — appointment (who holds a position)\n * charter — define org rules and mission\n * charge — add duties to a position\n */\nimport { create, link, process, unlink } from \"@rolexjs/system\";\nimport { charter, duty, organization, position } from \"./structures.js\";\n\n// Membership\nexport const hire = process(\n \"hire\",\n \"Hire an individual into the organization\",\n organization,\n link(organization, \"membership\")\n);\nexport const fire = process(\n \"fire\",\n \"Fire an individual from the organization\",\n organization,\n unlink(organization, \"membership\")\n);\n\n// Appointment\nexport const appoint = process(\n \"appoint\",\n \"Appoint a member to a position\",\n position,\n link(position, \"appointment\")\n);\nexport const dismiss = process(\n \"dismiss\",\n \"Dismiss from a position\",\n position,\n unlink(position, \"appointment\")\n);\n\n// Structure\nexport const charterOrg = process(\n \"charter\",\n \"Define the charter for an organization\",\n organization,\n create(charter)\n);\nexport const charge = process(\"charge\", \"Add a duty to a position\", position, create(duty));\n","/**\n * Lifecycle — creation, retirement, and dissolution.\n *\n * born / found / establish — bring things into existence\n * retire / die — individual → past\n * dissolve — organization → past\n * abolish — position → past\n * rehire — past → individual (return from retirement)\n *\n * No real deletion — everything transforms to the \"past\" branch.\n */\nimport { create, process, transform } from \"@rolexjs/system\";\nimport { individual, organization, past, position, society } from \"./structures.js\";\n\n// Creation\nexport const born = process(\n \"born\",\n \"An individual is born into society\",\n society,\n create(individual)\n);\nexport const found = process(\"found\", \"Found an organization\", society, create(organization));\nexport const establish = process(\"establish\", \"Establish a position\", society, create(position));\n\n// Retirement & death\nexport const retire = process(\n \"retire\",\n \"Retire an individual\",\n individual,\n transform(individual, past)\n);\nexport const die = process(\"die\", \"An individual dies\", individual, transform(individual, past));\n\n// Dissolution\nexport const dissolve = process(\n \"dissolve\",\n \"Dissolve an organization\",\n organization,\n transform(organization, past)\n);\nexport const abolish = process(\n \"abolish\",\n \"Abolish a position\",\n position,\n transform(position, past)\n);\n\n// Return\nexport const rehire = process(\n \"rehire\",\n \"Rehire a retired individual\",\n past,\n transform(past, individual)\n);\n","/**\n * Role projection — activating a role loads cognition into context.\n *\n * A role is not a Structure — it is a State (projection).\n * What to load is defined by the upper layer.\n */\nimport { process } from \"@rolexjs/system\";\nimport { individual } from \"./structures.js\";\n\nexport const activate = process(\n \"activate\",\n \"Activate a role — load cognition into context\",\n individual\n);\n"],"mappings":";AAgBA;AAAA,EAEE,UAAAA;AAAA,EACA;AAAA,EAGA,QAAAC;AAAA,EAEA,WAAAC;AAAA,EAIA,YAAAC;AAAA,EACA;AAAA,EAGA,aAAAC;AAAA,EAEA,aAAAC;AAAA,EAEA,UAAAC;AAA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;AAAA,EACA;AAAA,EACA;AAAA,EACAC,QAAO,UAAU;AACnB;AACO,IAAM,QAAQD,SAAQ,SAAS,yBAAyB,SAASC,QAAO,YAAY,CAAC;AACrF,IAAM,YAAYD,SAAQ,aAAa,wBAAwB,SAASC,QAAO,QAAQ,CAAC;AAGxF,IAAM,SAASD;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACAE,WAAU,YAAY,IAAI;AAC5B;AACO,IAAM,MAAMF,SAAQ,OAAO,sBAAsB,YAAYE,WAAU,YAAY,IAAI,CAAC;AAGxF,IAAM,WAAWF;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACAE,WAAU,cAAc,IAAI;AAC9B;AACO,IAAM,UAAUF;AAAA,EACrB;AAAA,EACA;AAAA,EACA;AAAA,EACAE,WAAU,UAAU,IAAI;AAC1B;AAGO,IAAM,SAASF;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACAE,WAAU,MAAM,UAAU;AAC5B;;;AC/CA,SAAS,WAAAC,gBAAe;AAGjB,IAAM,WAAWC;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AACF;","names":["create","link","process","relation","structure","transform","unlink","process","transform","process","transform","create","process","process","create","create","process","transform","process","create","transform","process","process"]}
1
+ {"version":3,"sources":["../src/index.ts","../src/structures.ts","../src/execution.ts","../src/cognition.ts","../src/organization.ts","../src/project.ts","../src/lifecycle.ts","../src/role.ts"],"sourcesContent":["/**\n * @rolexjs/core — RoleX Concept World\n *\n * Domain-specific structures and processes built on @rolexjs/system.\n *\n * Structures — the concept tree (23 concepts, 3 relations)\n * Processes — how the world changes (32 processes, 5 layers)\n *\n * Layer 1: Execution — want, plan, todo, finish, complete, abandon\n * Layer 2: Cognition — reflect, realize, master\n * Layer 3: Organization — hire, fire, appoint, dismiss, charter, charge\n * Layer 3b: Project — enroll, remove, scope, milestone, deliver, wiki\n * Layer 4: Lifecycle — born, found, establish, launch, retire, die, dissolve, abolish, archive, rehire\n * + Role: activate\n */\n\n// Re-export system primitives\nexport {\n type Create,\n create,\n createRuntime,\n type GraphOp,\n type Link,\n link,\n type Process,\n process,\n type Relation,\n type Remove,\n type Runtime,\n relation,\n remove,\n type State,\n type Structure,\n structure,\n type Transform,\n transform,\n type Unlink,\n unlink,\n} from \"@rolexjs/system\";\n\n// Platform\nexport type { ContextData, Platform, PrototypeRegistry, RoleXRepository } from \"./platform.js\";\n\n// ===== Structures =====\n\nexport {\n background,\n // Organization\n charter,\n // Project\n deliverable,\n duty,\n // Individual — Cognition\n encounter,\n experience,\n // Individual — Execution\n goal,\n // Individual — Identity\n identity,\n // Level 1\n individual,\n // Project\n milestone,\n // Individual — Knowledge\n mindset,\n organization,\n past,\n plan,\n position,\n principle,\n procedure,\n // Project\n project,\n // Organization — Position\n requirement,\n // Project\n scope,\n // Level 0\n society,\n task,\n tone,\n // Project\n wiki,\n} from \"./structures.js\";\n\n// ===== Processes — Layer 1: Execution =====\n\nexport { abandon, complete, finish, planGoal, todo, want } from \"./execution.js\";\n\n// ===== Processes — Layer 2: Cognition =====\n\nexport { master, realize, reflect } from \"./cognition.js\";\n\n// ===== Processes — Layer 3: Organization =====\n\nexport { appoint, charge, charterOrg, dismiss, fire, hire } from \"./organization.js\";\n\n// ===== Processes — Layer 3b: Project =====\n\nexport {\n deliverProject,\n enroll,\n milestoneProject,\n removeParticipant,\n scopeProject,\n wikiProject,\n} from \"./project.js\";\n\n// ===== Processes — Layer 4: Lifecycle =====\n\nexport {\n abolish,\n archive,\n born,\n die,\n dissolve,\n establish,\n found,\n launch,\n rehire,\n retire,\n} from \"./lifecycle.js\";\n\n// ===== Role =====\n\nexport { activate } from \"./role.js\";\n","/**\n * RoleX Concept World — all structure definitions.\n *\n * Every node is a Structure — simultaneously concept, container,\n * and information carrier. Tree (parent-child) provides the\n * hierarchical backbone. Relations provide cross-branch links.\n *\n * ┌─────────────────────────────────────────────────────────┐\n * │ society │\n * │ ├── individual \"A single agent in society\" │\n * │ │ ├── identity \"Who I am\" │\n * │ │ │ ├── background \"My personal background\" │\n * │ │ │ ├── tone \"My tone of communication\" │\n * │ │ │ └── mindset \"How I think\" │\n * │ │ ├── encounter \"A specific event I went through\"│\n * │ │ ├── experience \"What I learned from encounters\" │\n * │ │ ├── principle \"My rules of conduct\" │\n * │ │ ├── procedure \"My skill references and metadata\"│\n * │ │ └── goal \"What I am pursuing\" │\n * │ │ └── plan \"How to achieve a goal\" │\n * │ │ └── task \"Concrete unit of work\" │\n * │ ├── organization \"A group of individuals\" │\n * │ │ │ ∿ membership → individual │\n * │ │ └── charter \"The rules and mission\" │\n * │ ├── position \"A role held by an individual\" │\n * │ │ │ ∿ appointment → individual │\n * │ │ └── duty \"Responsibilities of position\" │\n * │ ├── project \"A process container\" │\n * │ │ │ ∿ participation → individual │\n * │ │ ├── scope \"Project boundary\" │\n * │ │ ├── milestone \"Key checkpoint\" │\n * │ │ ├── deliverable \"Project output\" │\n * │ │ └── wiki \"Project knowledge base\" │\n * │ └── past \"Things no longer active\" │\n * └─────────────────────────────────────────────────────────┘\n */\nimport { relation, structure } from \"@rolexjs/system\";\n\n// ================================================================\n// Level 0 — Root\n// ================================================================\n\nexport const society = structure(\"society\", \"The RoleX world\", null);\n\n// ================================================================\n// Level 1 — Four pillars\n// ================================================================\n\nexport const individual = structure(\"individual\", \"A single agent in society\", society);\nexport const organization = structure(\"organization\", \"A group of individuals\", society, [\n relation(\"membership\", \"Who belongs to this organization\", individual),\n]);\nexport const past = structure(\"past\", \"Things no longer active\", society);\n\n// ================================================================\n// Individual — Identity\n// ================================================================\n\nexport const identity = structure(\"identity\", \"Who I am\", individual);\nexport const background = structure(\"background\", \"My personal background\", identity);\nexport const tone = structure(\"tone\", \"My tone of communication\", identity);\nexport const mindset = structure(\"mindset\", \"How I think and approach problems\", identity);\n\n// ================================================================\n// Individual — Cognition\n// ================================================================\n\nexport const encounter = structure(\"encounter\", \"A specific event I went through\", individual);\nexport const experience = structure(\"experience\", \"What I learned from encounters\", individual);\n\n// ================================================================\n// Individual — Knowledge\n// ================================================================\n\nexport const principle = structure(\"principle\", \"My rules of conduct\", individual);\nexport const procedure = structure(\"procedure\", \"My skill references and metadata\", individual);\n\n// ================================================================\n// Individual — Execution\n// ================================================================\n\nexport const goal = structure(\"goal\", \"What I am pursuing\", individual);\nexport const plan = structure(\"plan\", \"How to achieve a goal\", goal);\nexport const task = structure(\"task\", \"Concrete unit of work\", plan);\n\n// ================================================================\n// Organization\n// ================================================================\n\nexport const charter = structure(\"charter\", \"The rules and mission\", organization);\n\n// ================================================================\n// Position — independent entity\n// ================================================================\n\nexport const position = structure(\"position\", \"A role held by an individual\", society, [\n relation(\"appointment\", \"Who holds this position\", individual),\n]);\nexport const duty = structure(\"duty\", \"Responsibilities of this position\", position);\nexport const requirement = structure(\"requirement\", \"Required skill for this position\", position);\n\n// ================================================================\n// Project — process management entity\n// ================================================================\n\nexport const project = structure(\"project\", \"A process container for organized work\", society, [\n relation(\"participation\", \"Who participates in this project\", individual),\n]);\nexport const scope = structure(\n \"scope\",\n \"Project boundary — what to do and what not to do\",\n project\n);\nexport const milestone = structure(\n \"milestone\",\n \"Key checkpoint with achievement criteria\",\n project\n);\nexport const deliverable = structure(\"deliverable\", \"Project output and delivery\", project);\nexport const wiki = structure(\"wiki\", \"Project-level knowledge base entry\", project);\n","/**\n * Execution cycle — the doing loop.\n *\n * want → plan → todo → finish → (encounter) → want → ...\n * plan → complete → (encounter)\n * plan → abandon → (encounter)\n *\n * Goals are long-term directions. Plans are the completable unit —\n * they can be completed or abandoned. Tasks finish individually.\n * All transforms produce encounters — feeding the cognition cycle.\n */\nimport { create, process, transform } from \"@rolexjs/system\";\nimport { encounter, goal, individual, plan, task } from \"./structures.js\";\n\nexport const want = process(\"want\", \"Declare a goal\", individual, create(goal));\nexport const planGoal = process(\"plan\", \"Create a plan for a goal\", goal, create(plan));\nexport const todo = process(\"todo\", \"Create a task in a plan\", plan, create(task));\n\nexport const finish = process(\n \"finish\",\n \"Complete a task, record as encounter\",\n task,\n transform(task, encounter)\n);\nexport const complete = process(\n \"complete\",\n \"Complete a plan, record as encounter\",\n plan,\n transform(plan, encounter)\n);\nexport const abandon = process(\n \"abandon\",\n \"Abandon a plan, record as encounter\",\n plan,\n transform(plan, encounter)\n);\n","/**\n * Cognition cycle — the learning loop.\n *\n * encounter → reflect → experience → realize → principle\n * → master → procedure\n *\n * Encounters are raw events (produced by the execution cycle).\n * Reflection distills them into experience. From experience,\n * principles are realized and procedures are mastered.\n */\nimport { process, transform } from \"@rolexjs/system\";\nimport { encounter, experience, principle, procedure } from \"./structures.js\";\n\nexport const reflect = process(\n \"reflect\",\n \"Reflect on encounters, distill into experience\",\n encounter,\n transform(encounter, experience)\n);\nexport const realize = process(\n \"realize\",\n \"Realize a principle from experience\",\n experience,\n transform(experience, principle)\n);\nexport const master = process(\n \"master\",\n \"Master a procedure from experience\",\n experience,\n transform(experience, procedure)\n);\n","/**\n * Organization management — hiring, firing, and structuring.\n *\n * hire / fire — membership (who belongs)\n * appoint / dismiss — appointment (who holds a position)\n * charter — define org rules and mission\n * charge — add duties to a position\n */\nimport { create, link, process, unlink } from \"@rolexjs/system\";\nimport { charter, duty, organization, position } from \"./structures.js\";\n\n// Membership\nexport const hire = process(\n \"hire\",\n \"Hire an individual into the organization\",\n organization,\n link(organization, \"membership\")\n);\nexport const fire = process(\n \"fire\",\n \"Fire an individual from the organization\",\n organization,\n unlink(organization, \"membership\")\n);\n\n// Appointment\nexport const appoint = process(\n \"appoint\",\n \"Appoint a member to a position\",\n position,\n link(position, \"appointment\")\n);\nexport const dismiss = process(\n \"dismiss\",\n \"Dismiss from a position\",\n position,\n unlink(position, \"appointment\")\n);\n\n// Structure\nexport const charterOrg = process(\n \"charter\",\n \"Define the charter for an organization\",\n organization,\n create(charter)\n);\nexport const charge = process(\"charge\", \"Add a duty to a position\", position, create(duty));\n","/**\n * Project management — scoping, milestones, enrollment, deliverables, wiki.\n *\n * enroll / remove — participation (who is involved)\n * scope — define project boundary\n * milestone — add checkpoint\n * deliver — add deliverable\n * wiki — add knowledge entry\n */\nimport { create, link, process, unlink } from \"@rolexjs/system\";\nimport { deliverable, milestone, project, scope, wiki } from \"./structures.js\";\n\n// Participation\nexport const enroll = process(\n \"enroll\",\n \"Enroll an individual into the project\",\n project,\n link(project, \"participation\")\n);\nexport const removeParticipant = process(\n \"remove\",\n \"Remove an individual from the project\",\n project,\n unlink(project, \"participation\")\n);\n\n// Structure\nexport const scopeProject = process(\n \"scope\",\n \"Define the scope for a project\",\n project,\n create(scope)\n);\nexport const milestoneProject = process(\n \"milestone\",\n \"Add a milestone to a project\",\n project,\n create(milestone)\n);\nexport const deliverProject = process(\n \"deliver\",\n \"Add a deliverable to a project\",\n project,\n create(deliverable)\n);\nexport const wikiProject = process(\"wiki\", \"Add a wiki entry to a project\", project, create(wiki));\n","/**\n * Lifecycle — creation, retirement, and dissolution.\n *\n * born / found / establish — bring things into existence\n * retire / die — individual → past\n * dissolve — organization → past\n * abolish — position → past\n * rehire — past → individual (return from retirement)\n *\n * No real deletion — everything transforms to the \"past\" branch.\n */\nimport { create, process, transform } from \"@rolexjs/system\";\nimport { individual, organization, past, position, project, society } from \"./structures.js\";\n\n// Creation\nexport const born = process(\n \"born\",\n \"An individual is born into society\",\n society,\n create(individual)\n);\nexport const found = process(\"found\", \"Found an organization\", society, create(organization));\nexport const establish = process(\"establish\", \"Establish a position\", society, create(position));\nexport const launch = process(\"launch\", \"Launch a project\", society, create(project));\n\n// Retirement & death\nexport const retire = process(\n \"retire\",\n \"Retire an individual\",\n individual,\n transform(individual, past)\n);\nexport const die = process(\"die\", \"An individual dies\", individual, transform(individual, past));\n\n// Archive project\nexport const archive = process(\"archive\", \"Archive a project\", project, transform(project, past));\n\n// Dissolution\nexport const dissolve = process(\n \"dissolve\",\n \"Dissolve an organization\",\n organization,\n transform(organization, past)\n);\nexport const abolish = process(\n \"abolish\",\n \"Abolish a position\",\n position,\n transform(position, past)\n);\n\n// Return\nexport const rehire = process(\n \"rehire\",\n \"Rehire a retired individual\",\n past,\n transform(past, individual)\n);\n","/**\n * Role projection — activating a role loads cognition into context.\n *\n * A role is not a Structure — it is a State (projection).\n * What to load is defined by the upper layer.\n */\nimport { process } from \"@rolexjs/system\";\nimport { individual } from \"./structures.js\";\n\nexport const activate = process(\n \"activate\",\n \"Activate a role — load cognition into context\",\n individual\n);\n"],"mappings":";AAiBA;AAAA,EAEE,UAAAA;AAAA,EACA;AAAA,EAGA,QAAAC;AAAA,EAEA,WAAAC;AAAA,EAIA,YAAAC;AAAA,EACA;AAAA,EAGA,aAAAC;AAAA,EAEA,aAAAC;AAAA,EAEA,UAAAC;AAAA,OACK;;;ACFP,SAAS,UAAU,iBAAiB;AAM7B,IAAM,UAAU,UAAU,WAAW,mBAAmB,IAAI;AAM5D,IAAM,aAAa,UAAU,cAAc,6BAA6B,OAAO;AAC/E,IAAM,eAAe,UAAU,gBAAgB,0BAA0B,SAAS;AAAA,EACvF,SAAS,cAAc,oCAAoC,UAAU;AACvE,CAAC;AACM,IAAM,OAAO,UAAU,QAAQ,2BAA2B,OAAO;AAMjE,IAAM,WAAW,UAAU,YAAY,YAAY,UAAU;AAC7D,IAAM,aAAa,UAAU,cAAc,0BAA0B,QAAQ;AAC7E,IAAM,OAAO,UAAU,QAAQ,4BAA4B,QAAQ;AACnE,IAAM,UAAU,UAAU,WAAW,qCAAqC,QAAQ;AAMlF,IAAM,YAAY,UAAU,aAAa,mCAAmC,UAAU;AACtF,IAAM,aAAa,UAAU,cAAc,kCAAkC,UAAU;AAMvF,IAAM,YAAY,UAAU,aAAa,uBAAuB,UAAU;AAC1E,IAAM,YAAY,UAAU,aAAa,oCAAoC,UAAU;AAMvF,IAAM,OAAO,UAAU,QAAQ,sBAAsB,UAAU;AAC/D,IAAM,OAAO,UAAU,QAAQ,yBAAyB,IAAI;AAC5D,IAAM,OAAO,UAAU,QAAQ,yBAAyB,IAAI;AAM5D,IAAM,UAAU,UAAU,WAAW,yBAAyB,YAAY;AAM1E,I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C,kBAAiB;AAIpC,IAAM,OAAOC;AAAA,EAClB;AAAA,EACA;AAAA,EACA;AAAA,EACAC,QAAO,UAAU;AACnB;AACO,IAAM,QAAQD,SAAQ,SAAS,yBAAyB,SAASC,QAAO,YAAY,CAAC;AACrF,IAAM,YAAYD,SAAQ,aAAa,wBAAwB,SAASC,QAAO,QAAQ,CAAC;AACxF,IAAM,SAASD,SAAQ,UAAU,oBAAoB,SAASC,QAAO,OAAO,CAAC;AAG7E,IAAM,SAASD;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACAE,WAAU,YAAY,IAAI;AAC5B;AACO,IAAM,MAAMF,SAAQ,OAAO,sBAAsB,YAAYE,WAAU,YAAY,IAAI,CAAC;AAGxF,IAAM,UAAUF,SAAQ,WAAW,qBAAqB,SAASE,WAAU,SAAS,IAAI,CAAC;AAGzF,IAAM,WAAWF;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACAE,WAAU,cAAc,IAAI;AAC9B;AACO,IAAM,UAAUF;AAAA,EACrB;AAAA,EACA;AAAA,EACA;AAAA,EACAE,WAAU,UAAU,IAAI;AAC1B;AAGO,IAAM,SAASF;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACAE,WAAU,MAAM,UAAU;AAC5B;;;ACnDA,SAAS,WAAAC,gBAAe;AAGjB,IAAM,WAAWC;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AACF;","names":["create","link","process","relation","structure","transform","unlink","process","transform","process","transform","create","process","process","create","create","link","process","unlink","process","link","unlink","create","create","process","transform","process","create","transform","process","process"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolexjs/core",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
4
4
  "description": "RoleX Core - AI Agent Role Management Framework",
5
5
  "keywords": [
6
6
  "rolex",
@@ -23,7 +23,6 @@
23
23
  "exports": {
24
24
  ".": {
25
25
  "types": "./dist/index.d.ts",
26
- "bun": "./src/index.ts",
27
26
  "default": "./dist/index.js"
28
27
  }
29
28
  },
@@ -39,7 +38,8 @@
39
38
  "clean": "rm -rf dist"
40
39
  },
41
40
  "dependencies": {
42
- "@rolexjs/system": "^1.1.0",
41
+ "@issuexjs/core": "^0.2.0",
42
+ "@rolexjs/system": "^1.2.1",
43
43
  "@resourcexjs/core": "^2.14.0"
44
44
  },
45
45
  "devDependencies": {},