feat(bundle): add bundle validate command#207
Open
KochTobi-Agent wants to merge 1 commit intomainfrom
Open
Conversation
Adds oc bundle validate [PATH] command for bundle structure and manifest validation per REQ-F-022. - ValidateBundle() engine with ValidationResult/ValidationError - CLI command with --verbose flag and exit codes 0/1/2 - Tests for valid bundles, missing manifest, invalid JSON, schema violations, missing entrypoints, missing prompt files Closes #165 Refs US-054-T1, US-054-T2, US-054-T3
be81864 to
9639080
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds oc bundle validate [PATH] command for bundle structure
and manifest validation per REQ-F-022.
ValidateBundle() engine with ValidationResult/ValidationError
CLI command with --verbose flag and exit codes 0/1/2
Tests for valid bundles, missing manifest, invalid JSON,
schema violations, missing entrypoints, missing prompt files
Closes #165
Refs US-054-T1, US-054-T2, US-054-T3
User Story PR
This PR implements a user story from
docs/opencode-helper-cli.md.Required:
US-###: ...(primary story only)Implements: US-###line (primary story)kind:feature,kind:fix,kind:chore, orkind:docs)Story
Implements: US-###
Also advances: (optional) US-###, US-###
PRD: docs/opencode-helper-cli.md#us-###
Acceptance Criteria
Testing
...(command)Notes / Follow-ups
Release Notes
Reviewer Checklist
US-###:and body includesImplements: US-###kind:*preferred)Also advances:is present, those IDs are not markedDoneunless fully completeddocs/opencode-helper-cli.mdprimary story entry is updated withPR: <link/#>docs/opencode-helper-cli.mdprimary storyStatusisDoneonly when all acceptance criteria are satisfied