@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 +2 -2
- package/package.json +1 -1
- package/src/fixture/cache.js +1 -1
- package/src/fixture/pathway.js +14 -14
package/README.md
CHANGED
|
@@ -38,8 +38,8 @@ import {
|
|
|
38
38
|
createMockProcess,
|
|
39
39
|
withSilentConsole,
|
|
40
40
|
createMockQueries,
|
|
41
|
-
//
|
|
42
|
-
|
|
41
|
+
// Agent-aligned engineering standard fixtures (pathway data)
|
|
42
|
+
createTestStandard,
|
|
43
43
|
createTestLevel,
|
|
44
44
|
createTestSkill,
|
|
45
45
|
createTestDiscipline,
|
package/package.json
CHANGED
package/src/fixture/cache.js
CHANGED
|
@@ -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
|
-
*
|
|
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
|
|
package/src/fixture/pathway.js
CHANGED
|
@@ -16,8 +16,8 @@ export function createTestLevel(overrides = {}) {
|
|
|
16
16
|
professionalTitle: "Level III",
|
|
17
17
|
managementTitle: "Manager",
|
|
18
18
|
baseSkillProficiencies: {
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
43
|
-
|
|
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
|
-
|
|
56
|
-
|
|
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
|
-
|
|
69
|
-
|
|
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
|
-
|
|
82
|
-
|
|
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: "
|
|
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
|
|
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}
|
|
374
|
+
* @returns {object} Agent-aligned engineering standard with all slices populated.
|
|
375
375
|
*/
|
|
376
|
-
export function
|
|
376
|
+
export function createTestStandard(overrides = {}) {
|
|
377
377
|
return {
|
|
378
378
|
capabilities: overrides.capabilities ?? createTestCapabilities(),
|
|
379
379
|
skills: overrides.skills ?? createTestSkills(),
|