pub mod context_files;
pub mod frontmatter;
pub mod ignore;
pub mod keep_going;
pub mod model_notes;
pub mod paths;
pub mod persona;
pub mod prompt_files;
pub mod prompt_templates;
pub mod runtime_guide;
pub mod skills;
pub mod system_prompt;
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Diagnostic {
pub kind: &'static str,
pub message: String,
pub path: Option<String>,
pub collision: Option<(String, String)>,
}
impl Diagnostic {
pub(crate) fn warning(message: impl Into<String>, path: Option<&str>) -> Self {
Self {
kind: "warning",
message: message.into(),
path: path.map(str::to_string),
collision: None,
}
}
}