@forwardimpact/libharness 0.1.15 → 0.1.17

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/README.md CHANGED
@@ -38,8 +38,8 @@ import {
38
38
  createMockProcess,
39
39
  withSilentConsole,
40
40
  createMockQueries,
41
- // Framework fixtures (pathway data)
42
- createTestFramework,
41
+ // Agent-aligned engineering standard fixtures (pathway data)
42
+ createTestStandard,
43
43
  createTestLevel,
44
44
  createTestSkill,
45
45
  createTestDiscipline,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardimpact/libharness",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "Shared test harness and mock infrastructure for the Forward Impact monorepo",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Cross-file fixture caching helpers. The test runner currently executes one
3
3
  * test file per process, but fixtures loaded inside a file (e.g. starter
4
- * framework YAML via `createDataLoader().loadAllData(dir)`) are re-parsed for
4
+ * standard YAML via `createDataLoader().loadAllData(dir)`) are re-parsed for
5
5
  * every `test(...)` case unless hoisted. See spec 620.
6
6
  */
7
7
 
@@ -16,8 +16,8 @@ export function createTestLevel(overrides = {}) {
16
16
  professionalTitle: "Level III",
17
17
  managementTitle: "Manager",
18
18
  baseSkillProficiencies: {
19
- primary: "working",
20
- secondary: "foundational",
19
+ core: "working",
20
+ supporting: "foundational",
21
21
  broad: "awareness",
22
22
  },
23
23
  baseBehaviourMaturity: "developing",
@@ -39,8 +39,8 @@ export function createTestLevels() {
39
39
  professionalTitle: "Level I",
40
40
  managementTitle: "Team Lead",
41
41
  baseSkillProficiencies: {
42
- primary: "foundational",
43
- secondary: "awareness",
42
+ core: "foundational",
43
+ supporting: "awareness",
44
44
  broad: "awareness",
45
45
  },
46
46
  baseBehaviourMaturity: "emerging",
@@ -52,8 +52,8 @@ export function createTestLevels() {
52
52
  professionalTitle: "Level III",
53
53
  managementTitle: "Manager",
54
54
  baseSkillProficiencies: {
55
- primary: "working",
56
- secondary: "foundational",
55
+ core: "working",
56
+ supporting: "foundational",
57
57
  broad: "awareness",
58
58
  },
59
59
  baseBehaviourMaturity: "developing",
@@ -65,8 +65,8 @@ export function createTestLevels() {
65
65
  professionalTitle: "Senior",
66
66
  managementTitle: "Senior Manager",
67
67
  baseSkillProficiencies: {
68
- primary: "practitioner",
69
- secondary: "working",
68
+ core: "practitioner",
69
+ supporting: "working",
70
70
  broad: "foundational",
71
71
  },
72
72
  baseBehaviourMaturity: "practicing",
@@ -78,8 +78,8 @@ export function createTestLevels() {
78
78
  professionalTitle: "Staff",
79
79
  managementTitle: "Director",
80
80
  baseSkillProficiencies: {
81
- primary: "expert",
82
- secondary: "practitioner",
81
+ core: "expert",
82
+ supporting: "practitioner",
83
83
  broad: "working",
84
84
  },
85
85
  baseBehaviourMaturity: "role_modeling",
@@ -270,7 +270,7 @@ export function createTestSkillEntry(overrides = {}) {
270
270
  skillName: "Coding",
271
271
  capability: "delivery",
272
272
  isHumanOnly: false,
273
- type: "primary",
273
+ type: "core",
274
274
  proficiency: "working",
275
275
  proficiencyDescription: "Working proficiency",
276
276
  ...overrides,
@@ -359,7 +359,7 @@ export function createTestDisciplines() {
359
359
  }
360
360
 
361
361
  /**
362
- * Builds a complete mock framework (capabilities, skills, disciplines, tracks,
362
+ * Builds a complete mock standard (capabilities, skills, disciplines, tracks,
363
363
  * drivers, behaviours, levels) with sensible defaults. Per-slice overrides
364
364
  * replace the default for that slice entirely.
365
365
  *
@@ -371,9 +371,9 @@ export function createTestDisciplines() {
371
371
  * @param {object[]} [overrides.drivers]
372
372
  * @param {object[]} [overrides.behaviours]
373
373
  * @param {object[]} [overrides.levels]
374
- * @returns {object} Framework with all slices populated.
374
+ * @returns {object} Agent-aligned engineering standard with all slices populated.
375
375
  */
376
- export function createTestFramework(overrides = {}) {
376
+ export function createTestStandard(overrides = {}) {
377
377
  return {
378
378
  capabilities: overrides.capabilities ?? createTestCapabilities(),
379
379
  skills: overrides.skills ?? createTestSkills(),