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.
Plan plans the changes to the repository at root in mode, with body as the
content of the devctl-managed block. A repository with findings gets no
changes. All new content is prepared here, before anything is written.
type Changes struct {
// contains filtered or unexported fields
}
Changes brings a repository's agent instructions to the devctl-managed
block in AGENTS.md. In migration mode, it also moves existing instructions
and skills: Claude instructions with no AGENTS.md to go with are the
repository's instructions, so their content moves to AGENTS.md. A root
CLAUDE.md is left as an import of AGENTS.md, a .claude/CLAUDE.md is
deleted. Claude files that keep their own content import AGENTS.md.
Apply makes the planned changes. It stops before the first write if a file
it changes is no longer as planned, and writes AGENTS.md before it changes
the file whose content moved there.
Mode selects what gen llm may change in a repository.
const (
// DefaultMode handles repositories without instructions and repositories// whose AGENTS.md has a devctl-managed block. Alignment runs in this mode.
DefaultMode Mode = iota// MigrationMode also moves existing instructions and skills. MigrationMode
)