Skip to content

0.24.2: culture.yaml gate section for the PR fixer - #122

Merged
OriNachum merged 1 commit into
mainfrom
feat/pr-fixer-gate
Oct 6, 2026
Merged

OriNachum merged 1 commit into
mainfrom
feat/pr-fixer-gate

Conversation

@OriNachum

Copy link
Copy Markdown
Contributor

Adds a gate: section to culture.yaml for the culture-rules PR fixer (rules.culture.dev).

When the fixer's agent proposes a fix to a PR here, the engine checks out the PR's base branch config, runs these commands, and only then lets the rules-culture-dev GitHub App push; a failing gate hands the work back to the agent instead.

gate:
  setup:
  - [uv, sync]
  test:
  - [uv, run, pytest, -n, auto]

The commands are this repo's CI test step without the coverage flags. The convention comes from culture-agent-template 0.10.0 (agentculture/culture-agent-template#34). A repo without gate: stays comment-only.

  • Version bump: 0.24.1 -> 0.24.2 (CHANGELOG entry added).
  • Local: uv run pytest -n auto 1649 passed.

🤖 Generated with Claude Code

https://claude.ai/code/session_016R3R9CdxTdzVWnuCLQ97sK

  • devague (Claude)

The culture-rules PR fixer reads `gate:` from a PR's base branch and runs
it before its GitHub App pushes an agent's fix: setup `uv sync`, test
`uv run pytest -n auto` (this repo's CI test command, without the coverage
flags). A repo without a gate section only gets comments.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016R3R9CdxTdzVWnuCLQ97sK
@OriNachum

Copy link
Copy Markdown
Contributor Author

/agentic_review

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

1 similar comment
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@sonarqubecloud

sonarqubecloud Bot commented Oct 6, 2026

Copy link
Copy Markdown

@OriNachum
OriNachum merged commit 78d9bfb into main Oct 6, 2026
8 checks passed
@OriNachum
OriNachum deleted the feat/pr-fixer-gate branch October 6, 2026 22:29

This branch was successfully deployed

1 active deployment
testpypi — 1af773b2 Deployed Oct 6, 2026 by OriNachum via test-publish #141
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