-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Problem
The opsx:explore skill has no awareness of the project's config.yaml context. When entering explore mode, it checks for active changes (openspec list --json) and reads change artifacts, but never reads the project context defined in openspec/config.yaml — tech stack, conventions, rules, etc.
This means explore mode operates without knowing basic project constraints (e.g., "TypeScript + ESM", "must be cross-platform", spec compliance rules).
Expected behavior
The explore skill should load the project context at the start of a session so it can ground its thinking in the project's actual constraints and conventions.
Possible approaches
- Read
config.yamldirectly — simplest, but couples the skill to the file format - Add a CLI command (e.g.,
openspec config --projectoropenspec context) that outputs the local project context — cleaner, reusable by other skills - Use
openspec instructionssomehow — already reads and returns context, but requires an artifact ID and change name, which explore mode may not have
Context
Other skills like opsx:continue get the project context indirectly via openspec instructions ... --json, which calls readProjectConfig() internally. Explore doesn't use that pathway since it's not creating artifacts.