Function: createArchiveChange()
Constructs an ArchiveChange instance wired with filesystem adapters.
Param
A fully-resolved SpecdConfig or an explicit context object
Param
Filesystem path options; required when configOrContext is a context object
Call Signature
createArchiveChange(
config,kernelOpts?):ArchiveChange
Defined in: packages/core/src/composition/use-cases/archive-change.ts:80
Constructs an ArchiveChange use case wired to all configured workspaces.
The SpecdConfig overload builds the workspace spec repository map, the
archive repository, the schema registry, the parser registry, the hook
runner, and the git adapter internally.
Parameters
config
The fully-resolved project configuration
kernelOpts?
Optional kernel-level overrides
extraNodeModulesPaths?
readonly string[]
Additional node_modules paths for schema resolution
Returns
The pre-wired use case instance
Call Signature
createArchiveChange(
context,options):ArchiveChange
Defined in: packages/core/src/composition/use-cases/archive-change.ts:94
Constructs an ArchiveChange use case with explicit context and options.
Use this form in tests or integration scenarios where custom paths or pre-built repositories are needed.
Parameters
context
Domain context for the primary workspace
options
Filesystem paths and pre-built spec repositories
Returns
The pre-wired use case instance