Skip to content

fix(governance): add CHORE to ClaimType enum to match YAML policy#563

Merged
neuron7xLab merged 3 commits intomainfrom
fix/governance-claimtype-chore
May 8, 2026
Merged

fix(governance): add CHORE to ClaimType enum to match YAML policy#563
neuron7xLab merged 3 commits intomainfrom
fix/governance-claimtype-chore

Conversation

@neuron7xLab
Copy link
Copy Markdown
Owner

Summary

PR #561 introduced `chore: 24` in `.claude/commit_acceptor_policy.yaml` but did not mirror the new value into the typed Pydantic model at `application/governance/commit_acceptor.py:55`. The corpus parse test (`tests/governance/test_typed_models.py::test_canonical_acceptor_corpus_parses`) consequently fails on every subsequent PR — including the v2 systemic-risk rewrite (#562).

This 1-line addition closes the YAML-vs-Pydantic drift.

Test plan

  • `pytest tests/governance/test_typed_models.py` — 12 passed
  • `mypy --strict application/governance/commit_acceptor.py` — clean

🤖 Generated with Claude Code

Yaroslav Vasylenko and others added 3 commits May 8, 2026 10:38
PR #561 introduced `chore: 24` in `.claude/commit_acceptor_policy.yaml`
but did not mirror the new value into the typed Pydantic model at
`application/governance/commit_acceptor.py:55`. The corpus parse
test (`tests/governance/test_typed_models.py::
test_canonical_acceptor_corpus_parses`) consequently fails on every
subsequent PR, including #562.

This 1-line addition closes the YAML-vs-Pydantic drift.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… enum

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@neuron7xLab neuron7xLab merged commit cb5613c into main May 8, 2026
13 checks passed
@neuron7xLab neuron7xLab deleted the fix/governance-claimtype-chore branch May 8, 2026 07:49
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.

1 participant