Sample Guidance on how to version control "context" within the repository
As part of "context or requirement gathering", a particular solution or system may range in complexity. For more complex systems, I'd like to propose and ideate with the team on how this could be organized as part of the repository as part of a "context" directory. This would transition providing the "prompt" for the /specify, /plan and /tasks/ operations away from typing it out (or copying it) into the command, and instead to reference or attach the relevant markdown file(s)
I'll provide a sample of what I recently did for one a project I worked on. This allowed me to cherry pick what context was relevant for me to provide to the AI Agent when going through design exploration, design evaluation, producing an implementation plan, and then iterating on that plan.
context/
βββ high-level-components.md
βββ business/
β βββ capabilities/
β β βββ business-objectives.md
β β βββ core-business-functions.md
β βββ constraints/
β β βββ budget.md
β β βββ organizational.md
β β βββ timelines.md
β βββ stakeholders/
β βββ personas.md
β βββ requirements.md
β
βββ system/
β βββ capabilities.md
β βββ constraints/
β β βββ compliance-requirements.md
β β βββ technical-constraints.md
β βββ interfaces/
β β βββ external-systems.md
β β βββ integration-points.md
β βββ quality-attributes/
β βββ maintainability.md
β βββ performance.md
β βββ scalability.md
β βββ security.md
β
βββ application/
β βββ capabilities/
β β βββ functional-requirements.md
β β βββ non-functional-requirements.md
β βββ constraints/
β βββ constraints.md
β βββ service-limitations.md
I would suggest adding user journeys and value streams to this structure - potentially under application/ so that each feature is not just documented for itself but also in how it fits into the overall value creation process for the product / service.
#55
#36
@localden I absolutely love this idea for both greenfield and brownfield projects. An overall context has proven to be incredibly useful. The requirement to provide the overall project goals as the first βfeatureβ work feels a bit off.
#55
#3
#55
#1110 #111
Closing as resolved-by-convention: context/ docs are ordinary version-controlled repo content the agent consults during exploration β no new tooling needed