import { type PromptSurface, type SharedSections } from "./types.ts";
export type TestDisciplineRule = {
    id: "deterministic-tests" | "fixed-wait-ban" | "event-timeout-pattern" | "mock-contract-integrity" | "prompt-behavior-coverage" | "single-pass-runner";
    concern: "test-determinism" | "async-test-orchestration" | "mock-contracts" | "prompt-tests" | "test-runner";
    directive: string;
    /** The rule as worded before the senpi#5335 diet, rendered for `sharedSections: "full"` (senpi#5665). */
    fullDirective: string;
};
export declare const TEST_DISCIPLINE_RULES: readonly [{
    readonly id: "deterministic-tests";
    readonly concern: "test-determinism";
    readonly directive: "Reading/editing test code: nondeterminism = bug; no passing by timing luck.";
    readonly fullDirective: "When you read or edit test code, treat nondeterminism as a bug; tests must not pass by timing luck.";
}, {
    readonly id: "fixed-wait-ban";
    readonly concern: "async-test-orchestration";
    readonly directive: "Fixed sleeps, polling delays, wait-for-time: forbidden unless time itself is under test.";
    readonly fullDirective: "Unless time itself is the behavior under test, fixed sleeps, polling delays, and wait-for-time patterns are forbidden.";
}, {
    readonly id: "event-timeout-pattern";
    readonly concern: "async-test-orchestration";
    readonly directive: "Async: subscribe to the exact event/state change before triggering, then await it with a bounded timeout.";
    readonly fullDirective: "For async behavior, subscribe to the exact event or state change before triggering the action, then await that signal with a bounded timeout.";
}, {
    readonly id: "mock-contract-integrity";
    readonly concern: "mock-contracts";
    readonly directive: "Mocks keep the asserted behavior; never isolate so hard the integration cannot fail.";
    readonly fullDirective: "Mocks must preserve the behavior being asserted; do not isolate so heavily that the integration under test cannot fail.";
}, {
    readonly id: "prompt-behavior-coverage";
    readonly concern: "prompt-tests";
    readonly directive: "Never pin prose, prompt wording, or doc text with a test; test machine-consumed values only (parsed fields, sentinel tokens, shipped-copy equality). Pure-prose change = no new test.";
    readonly fullDirective: "Never pin prose, prompt wording, or doc text with a test; test only machine-consumed values (parsed fields, sentinel tokens, shipped-copy equality). A pure-prose change ships with no new test.";
}, {
    readonly id: "single-pass-runner";
    readonly concern: "test-runner";
    readonly directive: "Run the relevant test command once, make that pass reliable; Bun targets: bun test passes in a single run.";
    readonly fullDirective: "Run the relevant test command once and make that pass reliable; for Bun test targets, bun test must pass in a single run.";
}];
export declare function buildTestDisciplineSection(sharedSections?: SharedSections): string;
/**
 * The app surface's claim audit (senpi#2377): a check that could not run is covered by what did run,
 * and tool and hook feedback stays with the agent. Every app-surface verification rule renders it.
 */
export declare const APP_UNRUN_CHECK_RULE = "A check that did not run is covered by the evidence that did run; name it only when no other evidence supports the claim. Replies render in an app, so tool and hook feedback (comment-checker findings, language-server availability, internal notices) is for you to act on: it reaches the user only when it changes what they get, and an unavailable tool or hook never does by itself.";
export declare function buildVerificationSection(options?: {
    surface?: PromptSurface;
    sharedSections?: SharedSections;
}): string;
//# sourceMappingURL=verification.d.ts.map