You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a pre-submit semantic cleanup checkpoint before verify/archive #1073
OpenSpec is effective at structuring changes through proposal, design, tasks, implementation, verification, and archive. However, AI-assisted implementation often leaves behind artifacts from earlier planning stages that are no longer part of the real implementation.
Examples include:
unused API functions created from early assumptions
type fields that never reach UI, validation, submission, or persistence
store state, refs, computed values, watchers, or helpers that no longer serve the final data flow
placeholder URLs, mock branches, temporary serialization logic, or debug code
duplicated field mappings caused by earlier uncertainty
planned extension points that were never connected to any remaining task
These artifacts can still pass lint, type checking, tests, and even OpenSpec verification, because they are syntactically valid and may not violate the written spec. The problem is semantic: the final implementation and the earlier planning residue have drifted apart.
Proposal
Introduce an optional pre-submit semantic cleanup checkpoint in the OpenSpec workflow, placed after the core implementation is complete and before verify / archive.
This checkpoint should audit the actual implementation against the active OpenSpec artifacts and identify code that no longer serves the real change.
This is about Add an optional workflow checkpoint that audits implementation for planning-residue/dead code before verify/archive. — an open-ended feature/design idea rather than a discrete, PR-actionable bug or task. To honor it properly we've moved it to Discussions, where it can keep evolving with community input and you can re-engage anytime:
The original issue (and any comments) stays here for the record, so nothing is lost — please continue the conversation in the discussion above. Closing the issue in favor of that thread.
Activity
docs(openspec): pin data contracts + digest forward-compat; delineate F…
feat(skills): propose /opsx:update planning-artifact update skill (Fi…
合并英文上游 v1.6.0-beta.1 + 双语解析保住 + 增量汉化 (#5)
clay-good commentedon Aug 6, 2026
Thanks for raising this, @streaker303 🙏
This is about Add an optional workflow checkpoint that audits implementation for planning-residue/dead code before verify/archive. — an open-ended feature/design idea rather than a discrete, PR-actionable bug or task. To honor it properly we've moved it to Discussions, where it can keep evolving with community input and you can re-engage anytime:
👉 #1586
The original issue (and any comments) stays here for the record, so nothing is lost — please continue the conversation in the discussion above. Closing the issue in favor of that thread.