to-spec
To Spec
Synthesize the current conversation, active project artifacts, and codebase
understanding into a specification. Do not interview the user; use grill-with-docs
when decisions remain unresolved.
Resolve every .agents/projects/ path from the opened workspace root, including
when the active repository is nested inside it. In a single-repository workspace,
that is the repository root. Keep this artifact root fixed when changing directories;
never use nested repositories or global agent-installation directories for artifacts.
Process
-
Identify the active project and read
.agents/projects/<project>/CONTEXT.md,LINKS.md, relevant ADRs, and existing specs. Explore the current codebase where necessary.Done when the spec uses confirmed project language and respects relevant decisions.