中文
← Errors

F_SYSTEM_INTERNAL_INVARIANT

Inconsistent internal runtime state

The Func compiler or argument parser reached a state that the public API contract should make impossible.

Updated

What this error means

External declaration validation succeeded, but a later command-graph, field-option, or argv-parser phase could not find data it expects. This is not an ordinary user-input failure and should not be converted into a business error through onError.

Depending on where it occurs, details may contain:

  • path: a registered path missing from the command graph.
  • property: a field missing internal array type information.
  • option: a mismatch between the parser plan and the option value being assigned.

How to fix it

First ensure that all func subpath packages come from the same version, then reinstall dependencies. If the failure remains reproducible, report it with the full stack, error details, func version, and the smallest Module/Command declaration that triggers it. Do not depend on this error’s message or try to repair internal state from application code.