trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
32 lines • 1.08 kB
TypeScript
/**
* Query path stress battery — regression guard for EQL-S + context pack parity.
*
* @module trellis/query/stress
* @see docs/specs/query-path-stress-v0.md
*/
import type { TrellisVcsEngine } from '../engine.js';
export interface QueryStressCheck {
name: string;
ok: boolean;
detail: string;
ms?: number;
}
export interface QueryStressOptions {
/** Context pack token budget (default 4000) */
budgetTokens?: number;
/** Require at least one childOf link (fixture repos) */
requireChildOf?: boolean;
/** Require Decision entities in store */
requireDecisions?: boolean;
}
export interface QueryStressReport {
checks: QueryStressCheck[];
ok: boolean;
}
/**
* Run the query-path regression battery against an open engine.
*/
export declare function runQueryStress(engine: TrellisVcsEngine, rootPath: string, opts?: QueryStressOptions): QueryStressReport;
/** Agent cookbook lines printed after human CLI report (non-JSON). */
export declare function formatQueryStressHints(): string[];
//# sourceMappingURL=stress.d.ts.map