@medicine-wheel/gap-analysis 0.26.3 → 0.26.4
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 +25 -1
- package/dist/index.d.ts +32 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +60 -9
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -102,6 +102,29 @@ with `desiredOutcomeAdvice` beside it.
|
|
|
102
102
|
The MCP server (`@medicine-wheel/mcp`) carries the same turn as the tool
|
|
103
103
|
`turn_to_creative_orientation`, called after `open_gap_analysis`.
|
|
104
104
|
|
|
105
|
+
### After a check
|
|
106
|
+
|
|
107
|
+
A check (a validator, an audit, a coverage reading) has no baseline that
|
|
108
|
+
existed. It reads a plan or a graph as it is and says what it does not find.
|
|
109
|
+
Its findings turn the same way:
|
|
110
|
+
|
|
111
|
+
```ts
|
|
112
|
+
const turn = turnToCreativeOrientation({
|
|
113
|
+
check: 'accountability_validator',
|
|
114
|
+
findings: ['CRITICAL: The plan has no Elder co-investigators; …'],
|
|
115
|
+
holds: ['Hold the research while Elder co-investigators are part of the plan.'],
|
|
116
|
+
});
|
|
117
|
+
turn.currentReality; // each finding as { from: 'finding' }, each hold as { from: 'hold' }
|
|
118
|
+
turn.reflection; // names the pull, and says the holds stay as the check states them
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
A hold says what must be in place before the research continues: community
|
|
122
|
+
review, consent, governance. It is kept as current reality, reached with the
|
|
123
|
+
community, and never turned into a task. The MCP checks
|
|
124
|
+
(`accountability_validator`, `ocap_compliance_checker`, `wilson_paradigm_checker`,
|
|
125
|
+
`mw_snapshot_transformation`) answer `next_tool: "turn_to_creative_orientation"`
|
|
126
|
+
with `next_tool_args` ready to pass.
|
|
127
|
+
|
|
105
128
|
## It advises; it never refuses
|
|
106
129
|
|
|
107
130
|
If you open an analysis without evidence for the baseline, you get the analysis
|
|
@@ -129,7 +152,8 @@ work back to a structural tension chart.
|
|
|
129
152
|
|
|
130
153
|
## Status
|
|
131
154
|
|
|
132
|
-
Small on purpose. `turnToCreativeOrientation` arrived in 0.26.3
|
|
155
|
+
Small on purpose. `turnToCreativeOrientation` arrived in 0.26.3, and took a
|
|
156
|
+
check's findings in 0.26.4.
|
|
133
157
|
|
|
134
158
|
## License
|
|
135
159
|
|
package/dist/index.d.ts
CHANGED
|
@@ -84,11 +84,34 @@ export declare function isClosed(analysis: GapAnalysis): boolean;
|
|
|
84
84
|
export declare function doorAdvice(analysis: GapAnalysis): string | null;
|
|
85
85
|
/** One finding of an analysis, kept as a fact about today. */
|
|
86
86
|
export interface CurrentRealityFact {
|
|
87
|
-
/**
|
|
88
|
-
|
|
87
|
+
/**
|
|
88
|
+
* The part of the analysis the fact comes from. A check's findings arrive as
|
|
89
|
+
* `finding`, and the holds it keeps as `hold`.
|
|
90
|
+
*/
|
|
91
|
+
from: 'observation' | 'baseline' | 'difference' | 'root-cause' | 'step-done' | 'steps-open' | 'finding' | 'hold';
|
|
89
92
|
/** The fact, stated about today. Never phrased as a task. */
|
|
90
93
|
fact: string;
|
|
91
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* What a check found, as the check returns it: a validator, an audit, a
|
|
97
|
+
* coverage reading. A check has no baseline that existed; it reads a plan or a
|
|
98
|
+
* graph as it is today and says what it does not find there.
|
|
99
|
+
*/
|
|
100
|
+
export interface CheckFindings {
|
|
101
|
+
/** The check that produced the findings, e.g. `accountability_validator`. */
|
|
102
|
+
check: string;
|
|
103
|
+
/** Each finding, stated as a fact about the plan or the graph today. */
|
|
104
|
+
findings: string[];
|
|
105
|
+
/**
|
|
106
|
+
* What must be in place before the work continues, as the check states it:
|
|
107
|
+
* community review, consent, governance. A hold is kept as it is. It is
|
|
108
|
+
* reached with the community, not filled in, and it is never turned into a
|
|
109
|
+
* task.
|
|
110
|
+
*/
|
|
111
|
+
holds?: string[];
|
|
112
|
+
}
|
|
113
|
+
/** True when the input is a check's findings rather than a gap analysis. */
|
|
114
|
+
export declare function isCheckFindings(input: unknown): input is CheckFindings;
|
|
92
115
|
export interface TurnOptions {
|
|
93
116
|
/**
|
|
94
117
|
* What we want to create, stated as something that will exist. It is named
|
|
@@ -115,6 +138,7 @@ export interface TurnNextStep {
|
|
|
115
138
|
question: string;
|
|
116
139
|
}
|
|
117
140
|
export interface CreativeOrientationTurn {
|
|
141
|
+
/** The analysis's id, or `check:<name>` when the input was a check's findings. */
|
|
118
142
|
analysisId: string;
|
|
119
143
|
/** The findings, as facts about today. */
|
|
120
144
|
currentReality: CurrentRealityFact[];
|
|
@@ -128,7 +152,8 @@ export interface CreativeOrientationTurn {
|
|
|
128
152
|
}
|
|
129
153
|
export declare const DESIRED_OUTCOME_QUESTION: "What do we want to create, stated as something that will exist?";
|
|
130
154
|
/**
|
|
131
|
-
* The turn after a gap analysis
|
|
155
|
+
* The turn after a gap analysis, or after a check that reports what it did
|
|
156
|
+
* not find.
|
|
132
157
|
*
|
|
133
158
|
* Returns the findings as current-reality facts (never as tasks), the
|
|
134
159
|
* reflection that names the pull to fill each missing item, and the next step:
|
|
@@ -136,8 +161,11 @@ export declare const DESIRED_OUTCOME_QUESTION: "What do we want to create, state
|
|
|
136
161
|
* desired outcome, it also returns a draft chart input whose action steps are
|
|
137
162
|
* empty, because no action step is taken from the findings.
|
|
138
163
|
*
|
|
164
|
+
* A check's findings (`CheckFindings`) turn the same way. Its holds are kept
|
|
165
|
+
* as current reality beside the findings, as the check states them.
|
|
166
|
+
*
|
|
139
167
|
* It advises and proceeds. A desired outcome phrased as removing something is
|
|
140
168
|
* still placed in the draft, with advice beside it.
|
|
141
169
|
*/
|
|
142
|
-
export declare function turnToCreativeOrientation(analysis: GapAnalysis, options?: TurnOptions): CreativeOrientationTurn;
|
|
170
|
+
export declare function turnToCreativeOrientation(analysis: GapAnalysis | CheckFindings, options?: TurnOptions): CreativeOrientationTurn;
|
|
143
171
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts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OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,+DAA+D;IAC/D,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,iCAAiC,CAAC;IACxC,2DAA2D;IAC3D,KAAK,EAAE,KAAK,CAAC,iBAAiB,GAAG,WAAW,CAAC,CAAC;IAC9C,gDAAgD;IAChD,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,uBAAuB;IACtC,kFAAkF;IAClF,UAAU,EAAE,MAAM,CAAC;IACnB,0CAA0C;IAC1C,cAAc,EAAE,kBAAkB,EAAE,CAAC;IACrC,wFAAwF;IACxF,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,YAAY,CAAC;IACvB,qDAAqD;IACrD,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,+EAA+E;IAC/E,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,eAAO,MAAM,wBAAwB,EACnC,iEAA0E,CAAC;AAsE7E;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,WAAW,GAAG,aAAa,EACrC,OAAO,GAAE,WAAgB,GACxB,uBAAuB,CAoDzB"}
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ exports.addStep = addStep;
|
|
|
6
6
|
exports.markDone = markDone;
|
|
7
7
|
exports.isClosed = isClosed;
|
|
8
8
|
exports.doorAdvice = doorAdvice;
|
|
9
|
+
exports.isCheckFindings = isCheckFindings;
|
|
9
10
|
exports.turnToCreativeOrientation = turnToCreativeOrientation;
|
|
10
11
|
/**
|
|
11
12
|
* @medicine-wheel/gap-analysis
|
|
@@ -92,6 +93,13 @@ function isClosed(analysis) {
|
|
|
92
93
|
function doorAdvice(analysis) {
|
|
93
94
|
return (0, creative_orientation_1.worthSaying)(analysis.orientation) ? analysis.orientation.advice ?? null : null;
|
|
94
95
|
}
|
|
96
|
+
/** True when the input is a check's findings rather than a gap analysis. */
|
|
97
|
+
function isCheckFindings(input) {
|
|
98
|
+
return (!!input &&
|
|
99
|
+
typeof input === 'object' &&
|
|
100
|
+
typeof input.check === 'string' &&
|
|
101
|
+
Array.isArray(input.findings));
|
|
102
|
+
}
|
|
95
103
|
exports.DESIRED_OUTCOME_QUESTION = 'What do we want to create, stated as something that will exist?';
|
|
96
104
|
function asSentence(text) {
|
|
97
105
|
const trimmed = text.trim();
|
|
@@ -123,6 +131,30 @@ function findingsAsFacts(analysis) {
|
|
|
123
131
|
}
|
|
124
132
|
return facts;
|
|
125
133
|
}
|
|
134
|
+
function checkFindingsAsFacts(input) {
|
|
135
|
+
const facts = input.findings
|
|
136
|
+
.filter(f => typeof f === 'string' && f.trim())
|
|
137
|
+
.map(f => ({ from: 'finding', fact: asSentence(f) }));
|
|
138
|
+
for (const hold of input.holds ?? []) {
|
|
139
|
+
if (typeof hold === 'string' && hold.trim())
|
|
140
|
+
facts.push({ from: 'hold', fact: asSentence(hold) });
|
|
141
|
+
}
|
|
142
|
+
return facts;
|
|
143
|
+
}
|
|
144
|
+
function reflectionForCheck(input) {
|
|
145
|
+
const n = input.findings.filter(f => typeof f === 'string' && f.trim()).length;
|
|
146
|
+
const holds = (input.holds ?? []).some(h => typeof h === 'string' && h.trim());
|
|
147
|
+
return [
|
|
148
|
+
`The check ${input.check} found what is missing: ${n} finding${n === 1 ? '' : 's'}, each a fact about the plan or the graph today.`,
|
|
149
|
+
'The pull now is to fill each missing item, one task per item, until nothing is missing. That is not what we are doing.',
|
|
150
|
+
'The findings are kept as current reality, stated as fact. They are not a list of tasks.',
|
|
151
|
+
...(holds
|
|
152
|
+
? ['The holds stay as the check states them: they say what must be in place before the work continues. They are reached with the community, not filled in, and consent is the community\'s to give.']
|
|
153
|
+
: []),
|
|
154
|
+
`Next comes the desired outcome, named on its own terms. ${exports.DESIRED_OUTCOME_QUESTION} It does not come from the findings.`,
|
|
155
|
+
'Then a structural tension chart holds current reality and the desired outcome, and its action steps resolve the tension toward that outcome. Some findings will matter to it, and others will not.',
|
|
156
|
+
].join(' ');
|
|
157
|
+
}
|
|
126
158
|
function reflectionFor(analysis) {
|
|
127
159
|
return [
|
|
128
160
|
`This gap analysis found what is missing: ${asSentence(analysis.difference)}`,
|
|
@@ -133,7 +165,8 @@ function reflectionFor(analysis) {
|
|
|
133
165
|
].join(' ');
|
|
134
166
|
}
|
|
135
167
|
/**
|
|
136
|
-
* The turn after a gap analysis
|
|
168
|
+
* The turn after a gap analysis, or after a check that reports what it did
|
|
169
|
+
* not find.
|
|
137
170
|
*
|
|
138
171
|
* Returns the findings as current-reality facts (never as tasks), the
|
|
139
172
|
* reflection that names the pull to fill each missing item, and the next step:
|
|
@@ -141,22 +174,40 @@ function reflectionFor(analysis) {
|
|
|
141
174
|
* desired outcome, it also returns a draft chart input whose action steps are
|
|
142
175
|
* empty, because no action step is taken from the findings.
|
|
143
176
|
*
|
|
177
|
+
* A check's findings (`CheckFindings`) turn the same way. Its holds are kept
|
|
178
|
+
* as current reality beside the findings, as the check states them.
|
|
179
|
+
*
|
|
144
180
|
* It advises and proceeds. A desired outcome phrased as removing something is
|
|
145
181
|
* still placed in the draft, with advice beside it.
|
|
146
182
|
*/
|
|
147
183
|
function turnToCreativeOrientation(analysis, options = {}) {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
184
|
+
let analysisId;
|
|
185
|
+
let currentReality;
|
|
186
|
+
let reflection;
|
|
187
|
+
if (isCheckFindings(analysis)) {
|
|
188
|
+
if (!analysis.check.trim() || !analysis.findings.some(f => typeof f === 'string' && f.trim())) {
|
|
189
|
+
throw new Error('The turn needs a check\'s findings: the check\'s name and at least one finding.');
|
|
190
|
+
}
|
|
191
|
+
analysisId = `check:${analysis.check.trim()}`;
|
|
192
|
+
currentReality = checkFindingsAsFacts(analysis);
|
|
193
|
+
reflection = reflectionForCheck(analysis);
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
if (!analysis ||
|
|
197
|
+
typeof analysis.difference !== 'string' ||
|
|
198
|
+
!analysis.current?.description?.trim() ||
|
|
199
|
+
!analysis.baseline?.description?.trim()) {
|
|
200
|
+
throw new Error('The turn needs a gap analysis as openGapAnalysis returns it: baseline, current and difference.');
|
|
201
|
+
}
|
|
202
|
+
analysisId = analysis.id;
|
|
203
|
+
currentReality = findingsAsFacts(analysis);
|
|
204
|
+
reflection = reflectionFor(analysis);
|
|
153
205
|
}
|
|
154
|
-
const currentReality = findingsAsFacts(analysis);
|
|
155
206
|
const desiredOutcome = options.desiredOutcome?.trim() || undefined;
|
|
156
207
|
const turn = {
|
|
157
|
-
analysisId
|
|
208
|
+
analysisId,
|
|
158
209
|
currentReality,
|
|
159
|
-
reflection
|
|
210
|
+
reflection,
|
|
160
211
|
nextStep: {
|
|
161
212
|
tool: 'create_structural_tension_chart',
|
|
162
213
|
needs: desiredOutcome ? ['direction'] : ['desired_outcome', 'direction'],
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAsFA,0CA+BC;AAGD,0BAQC;AAED,4BAKC;AAGD,4BAEC;AAQD,gCAEC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAsFA,0CA+BC;AAGD,0BAQC;AAED,4BAKC;AAGD,4BAEC;AAQD,gCAEC;AA2CD,0CAOC;AAmID,8DAuDC;AAlYD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,+EAK8C;AA8C9C,SAAS,SAAS;IAChB,OAAO,OAAO,IAAI,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC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I,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,UAAU,GAAG;YAChB,eAAe,EAAE,cAAc;YAC/B,eAAe,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;YAC1D,YAAY,EAAE,EAAE;SACjB,CAAC;QACF,MAAM,OAAO,GAAG,IAAA,sCAAe,EAAC,EAAE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;QAC7E,IAAI,IAAA,kCAAW,EAAC,OAAO,CAAC;YAAE,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;IACvE,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medicine-wheel/gap-analysis",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.4",
|
|
4
4
|
"description": "A gap analysis looks for what is missing: evidenced baseline, observation, difference, verifiable elimination steps. Useful when something worked and stopped (root cause, incidents, regressions, troubleshooting). It is not part of the creative orientation: turnToCreativeOrientation follows the analysis, keeps its findings as current reality, names the pull to fill each missing item, and asks for the desired outcome of a structural tension chart.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"directory": "src/gap-analysis"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@medicine-wheel/creative-orientation": "^0.26.
|
|
48
|
+
"@medicine-wheel/creative-orientation": "^0.26.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"typescript": "^5.7.0"
|