Skip to content

feat(bundle): add bundle validate command#207

Open
KochTobi-Agent wants to merge 1 commit intomainfrom
feat/US-054-bundle-validate
Open

feat(bundle): add bundle validate command#207
KochTobi-Agent wants to merge 1 commit intomainfrom
feat/US-054-bundle-validate

Conversation

@KochTobi-Agent
Copy link
Copy Markdown
Collaborator

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:

  • Title starts with US-###: ... (primary story only)
  • Body includes an Implements: US-### line (primary story)
  • Apply exactly one release-note type label (recommended: kind:feature, kind:fix, kind:chore, or kind:docs)

Story

Implements: US-###
Also advances: (optional) US-###, US-###
PRD: docs/opencode-helper-cli.md#us-###

Acceptance Criteria

  • (Copy the acceptance criteria from the user story and check off what is satisfied.)

Testing

  • ... (command)
  • Result: ...

Notes / Follow-ups

  • ...

Release Notes

  • Release note summary: ...

Reviewer Checklist

  • PR title uses primary US-###: and body includes Implements: US-###
  • PR has exactly one release-note type label (kind:* preferred)
  • If Also advances: is present, those IDs are not marked Done unless fully completed
  • docs/opencode-helper-cli.md primary story entry is updated with PR: <link/#>
  • docs/opencode-helper-cli.md primary story Status is Done only when all acceptance criteria are satisfied

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
@KochTobi-Agent KochTobi-Agent force-pushed the feat/US-054-bundle-validate branch from be81864 to 9639080 Compare April 20, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[US-054] Bundle Validate - Validate bundle structure and manifest

1 participant