fakemodule

command
v2.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command fakemodule is a deterministic module used to test the host's module boundary without involving a real module, a network, or a paid provider.

It is a REAL detached module: the host discovers and executes it exactly as it would any other, over the same two verbs and the same wire contract. That is the point -- a mock inside the host would test the host's idea of a module, whereas this tests the boundary itself.

It also deliberately misbehaves on demand. Capabilities under fake.misbehave produce the protocol violations the host must survive: stdout pollution, oversized output, a stdout flood, a hung process, a process that ignores termination, a grandchild left running, a path escaping its root. Those paths exist so the host's bounds are proven against a real process rather than a fixture.

fakemodule module describe --json
fakemodule module invoke <capability> --input <request.json>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL