openspec/initiatives/context-store-and-initiatives/work-items/15-context-store-project-roots-and-schema-led-initiatives/evidence.md
agent-trace-hooks in the
registered team-context context store.initiative.yaml
requirements.md
design.md
decisions.md
questions.md
tasks.md
TBD placeholders.initiative.yaml
brief.md
openspec initiative show team-context/agent-trace-hooks --json and
openspec initiative list --store team-context --json continued to resolve,
which proves current identity/listing logic does not require the six-file
packet.src/core/collections/initiatives/schema.ts.src/core/collections/initiatives/templates.ts.createInitiative writes initiative.yaml and then all default template
files in src/core/collections/initiatives/operations.ts.initiative create --json reports created_files from
INITIATIVE_FILE_NAMES in src/commands/initiative.ts.initiative.yaml.<projectRoot>/openspec/schemas/<name>/schema.yaml in
src/core/artifact-graph/resolver.ts.<projectRoot>/openspec/config.yaml in
src/core/project-config.ts.src/core/artifact-graph/instruction-loader.ts.openspec/
as a possible repo planning root, so adding config to context stores needs a
safety check.Recommended user meaning:
context store = shared OpenSpec context project
initiative = iterative high-level planning object
repo change = implementation plan
workspace = local view
Docs should avoid saying initiatives are only for cross-repo or cross-team work. A user may choose a context store simply because they want OpenSpec artifacts outside the implementation repo.
initiative create should make the smallest useful shared object and then
teach the agent how to continue through status/instructions. It should not
pretend requirements, decisions, and tasks exist before review.
Feasible minimal path:
openspec/config.yaml during context-store setup.projectRoot = contextStoreRoot.Main risks:
initiative.yaml parsing if a new top-level schema field is addedopenspec/config.yamlThree focused passes converged on the same direction.
Architecture pass:
context-store/
.openspec-store/store.yaml
openspec/config.yaml
openspec/schemas/
initiatives/
.openspec-store/store.yaml as store identity and
openspec/config.yaml as behavior/configuration.openspec/config.yaml
does not become an accidental implementation repo.UX/product pass:
initiative create sparse: initiative.yaml plus a seed artifact such
as brief.md.Release-risk pass:
initiative.yaml until metadata
versioning is designed.