Skip to main content

Module init_import

Module init_import 

Source
Expand description

/init companion: probe a workspace for legacy / sibling-tool guidance files (AGENTS.md, .cursorrules, .windsurfrules) and concatenate their contents into a single body the operator can paste into their CLAUDE.md.

Part of ADR 0036 — see the spec’s “AGENTS.md” + /init notes.

Structs§

LegacyRulesFile
One legacy-rules file discovered in the workspace.

Constants§

INIT_FILENAMES
Filenames probed by /init in order of precedence.

Functions§

scan_init_files
Scan workspace_root for any of INIT_FILENAMES and return the ones that exist as a Vec<LegacyRulesFile> in declaration order.