diff --git a/crates/bashkit-monty/src/modules/json/dump.rs b/crates/bashkit-monty/src/modules/json/dump.rs
index 46e6816be..774aae126 100644
--- a/crates/bashkit-monty/src/modules/json/dump.rs
+++ b/crates/bashkit-monty/src/modules/json/dump.rs
@@ -15,6 +15,8 @@ use crate::{
exception_private::{ExcType, ExcTypeExt, RunError, RunResult},
heap::{ContainsHeap, DropGuard, DropWithContext, Heap, HeapData, HeapId, HeapRead},
py_value::PyValue,
+ // bashkit fork: preflight helper for the indent string.
+ resource_checks::check_repeat_size,
sorting::{apply_permutation, sort_indices},
types::{Dict, PyTrait, Type, str::allocate_string},
value::Value,
@@ -339,23 +341,31 @@ fn apply_bool_flag(flags: u8, bit: u8, value: &Value, vm: &mut VM<'_>) -> RunRes
fn parse_indent_value(value: &Value, vm: &mut VM<'_>) -> RunResult