统一 Rust 与 TypeScript 格式化门禁

纳入 AGC Cargo workspace 的统一 rustfmt 检查与格式化入口

完成项目 TypeScript/Prettier 与 Rust 全量格式化

修复 Pingora expected executable 门禁的空白敏感误报

同步开发运维文档与 AGC skill pack 格式化忽略规则
This commit is contained in:
2026-09-01 16:26:20 +08:00
parent ae79d50b14
commit 071faa482c
1051 changed files with 28412 additions and 19834 deletions
@@ -82,7 +82,9 @@ test('prepareCreativeAudioFileForLocalUse rejects when AudioContext is unavailab
});
test('prepareCreativeAudioFileForLocalUse rejects all-silent audio', async () => {
installAudioContextMock(async () => createAudioBufferStub([[0, 0.001, 0]], 1000));
installAudioContextMock(async () =>
createAudioBufferStub([[0, 0.001, 0]], 1000),
);
await expect(
prepareCreativeAudioFileForLocalUse(
@@ -109,7 +111,10 @@ test('prepareCreativeAudioFileForLocalUse allows audio exactly at the visible li
test('prepareCreativeAudioFileForLocalUse rejects audio longer than the visible limit after trimming', async () => {
installAudioContextMock(async () =>
createAudioBufferStub([[0, ...Array.from({ length: 1001 }, () => 0.2), 0]], 1000),
createAudioBufferStub(
[[0, ...Array.from({ length: 1001 }, () => 0.2), 0]],
1000,
),
);
await expect(