feat(schema): Add category field to artifacts #190

Merged
mprihoda merged 1 commit from IW-136 into main 2026-01-30 11:42:46 +00:00
mprihoda commented 2026-01-30 11:42:40 +00:00 (Migrated from github.com)

Summary

  • Add optional category field to artifact objects in review-state.json schema
  • Enables grouping artifacts by type (e.g., input for planning docs, output for execution results)
  • Update E2E tests to match v2 schema structure

Changes

  • Schema: Add category property to artifact definition
  • Validator: Allow category field in artifact objects
  • Builder: Support artifact category in BuildInput
  • Command: Accept category via --artifact "label:path=category" format
  • README: Update to document v2 schema and category conventions

Test plan

  • Unit tests pass (validator, builder)
  • E2E tests pass (schema, validate-review-state, write-review-state)
  • New test for artifact category preservation

🤖 Generated with Claude Code

## Summary - Add optional `category` field to artifact objects in review-state.json schema - Enables grouping artifacts by type (e.g., `input` for planning docs, `output` for execution results) - Update E2E tests to match v2 schema structure ## Changes - **Schema**: Add `category` property to artifact definition - **Validator**: Allow category field in artifact objects - **Builder**: Support artifact category in BuildInput - **Command**: Accept category via `--artifact "label:path=category"` format - **README**: Update to document v2 schema and category conventions ## Test plan - [x] Unit tests pass (validator, builder) - [x] E2E tests pass (schema, validate-review-state, write-review-state) - [x] New test for artifact category preservation 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No description provided.