package com.correx.core.config

import kotlinx.serialization.Serializable

/**
 * Standing agent instructions discovered at the bound workspace root (`CLAUDE.md` and/or
 * `AGENTS.md`). Unlike the curated `.correx/project.toml` ProjectProfile, these are the
 * free-form markdown briefs the operator already maintains for coding agents: injected as
 * L0 for every stage of every session bound to the workspace.
 */
@Serializable
data class AgentInstructions(
    val sources: List<String> = emptyList(),
    val content: String = "",
) {
    fun isEmpty(): Boolean = sources.isEmpty() && content.isBlank()
}
