Documentation
¶
Overview ¶
Package gen is the public interface of the gen component: it orchestrates the pipeline spec -> prompt -> claude -> architecture and writes the resulting goforge component to disk.
gen is a non-deterministic brick with input and output effects: it calls the network (via the claude brick) and writes files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Completer ¶
Completer is the slice of the claude client gen needs: anything that can turn a system+user prompt into a reply. claude.Client satisfies it. Accepting an interface keeps gen testable without the network.
type Request ¶
type Request struct {
Spec spec.Spec
Module string // workspace module path, e.g. goforge.dev/myapp
Root string // workspace root directory (contains components/)
Force bool // overwrite scaffolding (interface/internal/yaml) if present
DryRun bool // render everything but write nothing
}
Request describes one generation run.
Click to show internal directories.
Click to hide internal directories.