Skip to main content

Module introspect

Module introspect 

Source
Expand description

Stable, agent-facing metadata for the forge command tree.

See docs/agents/spec.md. The registry pins command_ids and machine-mode capabilities for adopted commands.

Constants§

BUILD_RESULT_SCHEMA
Stable schema id for the forge build envelope payload.
REGISTRY
The forge command registry. Used by --introspect and by adoption code that needs to look up command metadata.
TEST_EVENT_SCHEMA
Stable schema id for forge test stream event records.
TEST_RESULT_SCHEMA
Stable schema id for the terminal forge test envelope payload.

Statics§

BUILD_EXIT_CODES 🔒
Exit codes forge build may emit under --machine. Declared explicitly so agents don’t have to assume “inherits global defaults”; codes not in this list are not produced by this command.
ENTRIES 🔒
TEST_EXIT_CODES 🔒
Exit codes forge test may emit under --machine.