mirror of
https://github.com/readmet3xt-lab/foxhound.git
synced 2026-12-06 08:38:36 +00:00
Repository policy: the per-file size cap at 768 KiB
The GPU host and the translator's lowering have grown to about 700 KiB of source each, past the 640 KiB cap, so the policy test failed on main. The cap stays well under a game file's size; the extension and encoded-run checks are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -10,8 +10,9 @@ use std::process::Command;
|
||||
|
||||
use anyhow::{Context, Result, bail};
|
||||
|
||||
// (The translator's one file is 570 KiB of source.)
|
||||
const MAX_FILE_SIZE: usize = 640 * 1024;
|
||||
// (The largest sources, the GPU host and the translator's lowering, are about 700 KiB each; the cap stays
|
||||
// well under what a game file would be, and the encoded-run and extension checks below still apply.)
|
||||
const MAX_FILE_SIZE: usize = 768 * 1024;
|
||||
const MAX_ENCODED_RUN: usize = 512;
|
||||
|
||||
const ALLOWED_EXTENSIONS: &[&str] = &[
|
||||
|
||||
Reference in New Issue
Block a user