gsxdsm
ccb7d4e8ff
FN-8367: enforce bounded engine shellouts
Enforce bounded synchronous shellout use across the engine.
- Audit every production synchronous shellout against a call-site allowlist.
- Bound data-dependent git diff commands by timeout and output size.
- Document the async shellout invariant and align focused command guards.
Files changed:
AGENTS.md | 2 +-
docs/architecture.md | 1 +
.../__tests__/engine-no-blocking-shellout.test.ts | 135 +++++++++++++++++++++
.../user-configured-command-no-execsync.test.ts | 5 +-
packages/engine/src/merger-git-parse.ts | 16 ++-
.../engine/src/merger-workspace-test-commands.ts | 27 ++++-
6 files changed, 181 insertions(+), 5 deletions(-)
Fusion-Task-Id: FN-8367
Fusion-Task-Lineage: 976384e6-f283-4464-9f74-f328f2be3430
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-19 16:00:28 -07:00
..
2026-07-19 16:00:28 -07:00
2026-07-18 00:52:59 -07:00
2026-07-18 13:53:58 -07:00
2026-06-08 15:19:27 -07:00
2026-07-18 16:08:14 -07:00