@longtable/core 0.1.34 → 0.1.36
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/types.d.ts +51 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -208,6 +208,57 @@ export interface QuestionOption {
|
|
|
208
208
|
description?: string;
|
|
209
209
|
recommended?: boolean;
|
|
210
210
|
}
|
|
211
|
+
export type QuestionOpportunityKind = "harness_design" | "question_policy" | "philosophical_reflection" | "knowledge_gap" | "tacit_assumption" | "value_conflict" | "research_commitment" | "evidence_risk" | "authorship_risk" | "source_authority" | "delivery_format" | "autonomy_boundary" | "evaluation_target" | "general_missing_context";
|
|
212
|
+
export interface QuestionOpportunity {
|
|
213
|
+
key: string;
|
|
214
|
+
kind: QuestionOpportunityKind;
|
|
215
|
+
title: string;
|
|
216
|
+
question: string;
|
|
217
|
+
whyNow: string;
|
|
218
|
+
options: QuestionOption[];
|
|
219
|
+
required: boolean;
|
|
220
|
+
confidence: ConfidenceLevel;
|
|
221
|
+
autoEligible: boolean;
|
|
222
|
+
cues: string[];
|
|
223
|
+
}
|
|
224
|
+
export interface QuestionGenerationResult {
|
|
225
|
+
promptSignature: string;
|
|
226
|
+
opportunities: QuestionOpportunity[];
|
|
227
|
+
blocking: boolean;
|
|
228
|
+
}
|
|
229
|
+
export interface QuestionAuditFixtureResult {
|
|
230
|
+
id: string;
|
|
231
|
+
prompt: string;
|
|
232
|
+
expectedKinds: QuestionOpportunityKind[];
|
|
233
|
+
observedKinds: QuestionOpportunityKind[];
|
|
234
|
+
passed: boolean;
|
|
235
|
+
failures: string[];
|
|
236
|
+
}
|
|
237
|
+
export interface QuestionAuditResult {
|
|
238
|
+
passed: boolean;
|
|
239
|
+
fixtures: QuestionAuditFixtureResult[];
|
|
240
|
+
totals: {
|
|
241
|
+
fixtureCount: number;
|
|
242
|
+
passedCount: number;
|
|
243
|
+
failedCount: number;
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
export interface RoleAuditEntry {
|
|
247
|
+
name: string;
|
|
248
|
+
provider: ProviderKind;
|
|
249
|
+
lineCount: number;
|
|
250
|
+
missingSections: string[];
|
|
251
|
+
warnings: string[];
|
|
252
|
+
}
|
|
253
|
+
export interface RoleAuditResult {
|
|
254
|
+
passed: boolean;
|
|
255
|
+
roles: RoleAuditEntry[];
|
|
256
|
+
totals: {
|
|
257
|
+
roleCount: number;
|
|
258
|
+
passedCount: number;
|
|
259
|
+
failedCount: number;
|
|
260
|
+
};
|
|
261
|
+
}
|
|
211
262
|
export type QuestionPromptType = "single_choice" | "multi_choice" | "free_text";
|
|
212
263
|
export interface QuestionPrompt {
|
|
213
264
|
id: string;
|