024 store entity take needs discharger

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.kz

Actual compiler output

error[KORU030]: Resource 'i' obligation <taken!> was not discharged. No tor accepts <!taken>.
  --> tests/regression/600_STDLIB/690_STORE/690_024_store_entity_take_needs_discharger/input.kz:12:4

❌ Compiler coordination error: Auto-discharge failed (multiple disposal options or no disposal event)
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Compiler must reject:

Compilation must fail with a diagnostic.

Error output must contain

Resource 'i' obligation <taken!> was not discharged. No tor accepts <!taken>.

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (enemies, capacity: 64, source: hp: i64)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (enemies, source: hp: 9)

Test Configuration

MUST_ERROR