import type { CapabilityMap, Evidence } from "./schema.js"; import type { HistoricalLoss, Method, TranscriptKnowledge } from "./wire.js"; export declare const CODEX_TRANSCRIPT_EVIDENCE: Evidence; export declare const CODEX_TRANSCRIPT_CAPABILITIES: CapabilityMap; export declare const CODEX_TRANSCRIPT_RULES: { appliesTo: import("./schema.js").Applicability; description: "Bookmark v1 binds codex-rollout-file-v1, requested native ID, global entry count and summed prefix byte boundaries. A single source uses its prefix SHA-256. Multiple sources hash the ordered nativeId/boundary/digest objects for their committed prefixes, including every source header. Base topology and cutoff changes invalidate continuation. Verify all fields; never silently restart." | "Capture a finite regular-file prefix and native device/inode identity. Compare exact prefix bytes across two reads and reject replacement/truncation. Revalidate every contributing range after the complete lineage is captured. This relies on the selected recorder's append protocol, not arbitrary in-place writers. Native materialization/replacement invalidates observed changes; do not repair or migrate." | "Legacy storage is one rollout. Paginated history is the native base lineage ordered oldest first, each ancestor bounded by its explicit byte and ordinal cutoff. Exclude each source header from records, retain it in nativeHeaders; a header of an admitted inlined parent prefix is the one exception, kept in the entry sequence so the single ordinal sequence stays gap-free, and the inherited records it opens are rows of this conversation. Preserve every retained entry in physical byte order, including rollback and compaction. Do not apply projection or dereference parent_thread_id/forked_from_id." | "Normalize only documented response_item message blocks and function-call/result fields. Retain every original object; unknown event shapes remain unknown. Positions are independent of optional native IDs." | "Read contributing regular files through read-only I/O; never start app-server, consult a model, write SQLite, initialize stores, or modify history." | "Require a session_meta header naming a native thread ID, and report the cli_version that header declares rather than requiring a particular one; the writer build is evidence for the caller, not an admission gate. Absent history_mode means legacy. Paginated sources require contiguous exact ordinals, including metadata, and complete subagent initialization. A spawned agent thread's rollout may inline its parent's prefix: admitted only when the header declares thread_source subagent, a source.subagent spawn, and a subagent_history_start_ordinal; the parent's meta then follows as the first record with its own native ID and keeps its ordinal, and any further session_meta is rejected. Follow only history_base storage references; validate native identity, acyclic lineage, exact complete-line byte cutoff and exclusive ordinal cutoff. Reject unknown modes, legacy bases, missing ranges and compressed sources." | "Resolve exact rollout-...-ID.jsonl names recursively under CODEX_HOME/sessions and archived_sessions (default ~/.codex). Check the selected header identity and reject multiple matches. Compressed candidates are recognized but not decoded by this method. Renamed or database-only locations require an explicit file; never query or initialize native SQLite."; evidence: Evidence[]; id: "codex-rollout-continuation-v1" | "codex-rollout-format-v1" | "codex-rollout-normalization-v1" | "codex-rollout-order-v1" | "codex-rollout-passive-v1" | "codex-rollout-prefix-v1" | "codex-rollout-resolution-v1"; purpose: "compatibility" | "consistency" | "continuation" | "normalization" | "ordering" | "passivity" | "resolution"; }[]; export declare const CODEX_TRANSCRIPT_METHOD: Method; export declare const CODEX_TRANSCRIPT: TranscriptKnowledge; export declare const CODEX_HISTORICAL_LOSS: HistoricalLoss; //# sourceMappingURL=codex.d.ts.map