/** * Jev question catalog — the single place where question wording lives. * * Wording was reviewed once against the spec (increment 0878) and must not drift: * changing instructions or criteria changes the model's answers, so edits belong in a * spec change, not in a caller. Question IDs are for code only and are never sent. * * @module core/jev/questions */ import type { Question } from './client.js'; /** Complexity levels, ordered. */ export declare const TASK_COMPLEXITY_LEVELS: readonly ["trivial", "moderate", "complex"]; export type TaskComplexity = (typeof TASK_COMPLEXITY_LEVELS)[number]; /** Command scopes, ordered from harmless to catastrophic. */ export declare const COMMAND_SCOPES: readonly ["read_only", "local_reversible", "local_irreversible", "shared_or_remote", "destructive_remote"]; export type CommandScope = (typeof COMMAND_SCOPES)[number]; /** Request kinds. */ export declare const REQUEST_KINDS: readonly ["question", "bug_fix", "feature", "refactor", "setup_or_ops", "docs", "content_or_social", "other"]; export type RequestKind = (typeof REQUEST_KINDS)[number]; /** Test failure kinds. */ export declare const TEST_FAILURE_KINDS: readonly ["real_regression", "flaky_or_timing", "environment_or_dependency", "test_bug", "unrelated_to_change"]; export type TestFailureKind = (typeof TEST_FAILURE_KINDS)[number]; /** How much reasoning a task needs → which model tier should take it. */ export declare const TASK_COMPLEXITY: Question; /** What kind of request the user just made. */ export declare const REQUEST_KIND: Question; /** Should this be planned as an increment before implementation? */ export declare const NEEDS_INCREMENT: Question; /** What a shell command would touch. */ export declare const COMMAND_SCOPE: Question; /** Would the command destroy unrecoverable data? */ export declare const COMMAND_DESTRUCTIVE: Question; /** Is a test/build command output a clean pass? */ export declare const TEST_OUTPUT_PASSED: Question; /** Why did the tests fail? */ export declare const TEST_FAILURE_KIND: Question; /** Does text carry instructions aimed at an agent? */ export declare const PROMPT_INJECTION: Question; /** Are two issues the same underlying work item? */ export declare const DUPLICATE_ISSUE: Question; /** The `none` option used by the skill-route question. */ export declare const SKILL_ROUTE_NONE = "none"; /** * Build the skill-routing question from the skills actually shipped/installed. * Options are the skill names plus `none`; criteria are their frontmatter descriptions. */ export declare function skillRouteQuestion(skills: Array<{ name: string; description: string; }>): Question; /** * Build the "is this acceptance criterion met?" question for one AC. * The AC text is embedded so several ACs can be judged in one fan-out request. */ export declare function acSatisfiedQuestion(ac: string): Question; //# sourceMappingURL=questions.d.ts.map