Repository navigation
fix: OpenSpec specs are not found - #1107
Conversation
The OpenSpec CLI expects each spec to be in its own folder with a spec.md file inside (e.g. openspec/specs/api-surface/spec.md). Previously, the specs were flat markdown files at the root of the specs directory, which the CLI could not detect. Restructured the directory to match OpenSpec's expected format and added .openspec.yaml metadata files to each spec folder.
|
This change is part of the following stack: Change managed by git-spice. |
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request resolves an issue where the OpenSpec CLI was unable to locate specification files due to an outdated directory structure. It reorganizes the specification files into a hierarchical format, placing each spec within its own folder alongside a new Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request restructures the OpenSpec specs directory to align with the CLI's expectations and introduces a set of new prompts and skills for an AI agent workflow. The directory restructuring is correct and follows the description. The new agent-related files are well-structured, but I've noted a few minor inconsistencies between the prompt files (what the user sees) and the skill files (the agent's instructions). Aligning these will improve the clarity and predictability of the agent's behavior. The changes to .gitignore and nix/formatter/flake-module.nix are appropriate.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1107 +/- ##
=====================================
Coverage 5.04% 5.04%
=====================================
Files 6 6
Lines 436 436
=====================================
Hits 22 22
Misses 410 410
Partials 4 4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The OpenSpec CLI expects each spec to be in its own folder with a
spec.md file inside (e.g. openspec/specs/api-surface/spec.md).
Previously, the specs were flat markdown files at the root of the
specs directory, which the CLI could not detect.
Restructured the directory to match OpenSpec's expected format and
added .openspec.yaml metadata files to each spec folder.