Replies: 1 comment
-
|
My understanding is that these are not exactly the same kind of context mechanism. AGENTS.md is mainly agent-facing guidance. It is useful for instructions that the coding assistant should read and follow, for example project conventions, workflow rules, review expectations, or “how we use OpenSpec in this repo”. openspec/config.yaml is more of a structured OpenSpec configuration file. I would expect it to be used for settings that OpenSpec itself can parse reliably, validate, and use across commands/tools. So I would not treat them as direct alternatives. The split I would use is:
In practice, I think the best setup is probably both:
I am not sure what the long-term support policy is, so it would be good for maintainers to clarify whether both are intended to remain supported. But conceptually, I think they serve different purposes: AGENTS.md is context for the agent, while openspec/config.yaml is configuration for OpenSpec. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
From the docs it's not clear to me ...:
openspecsupport both, context provisioning options:AGENT.mdandopenspec/config.yaml. What is the recommended option (potentially depending on usage scenario)?openspecsupport both context provisioning config options in the future?openspecfeatures? What are the pros and cons of one over the other option?Beta Was this translation helpful? Give feedback.
All reactions