Skip to content

docs(git): add branch policy and workflow rules#110

Merged
NewYaroslav merged 2 commits into
mainfrom
docs/git-workflow
May 22, 2026
Merged

docs(git): add branch policy and workflow rules#110
NewYaroslav merged 2 commits into
mainfrom
docs/git-workflow

Conversation

@NewYaroslav
Copy link
Copy Markdown
Owner

  • Require feature branches for all changes; prohibit direct main commits.
  • Mandate fetching and pulling latest main before creating a branch.
  • Document branch naming prefixes (feat/, fix/, refactor/, etc.).
  • Add agent rule: verify main is current, create branch, push for PR.

NewYaroslav and others added 2 commits May 22, 2026 19:07
When compress_string_gzip() or compress_string_zstd() fails inside
submit_batch_async(), the logger silently falls back to uncompressed
payload. This makes compression issues invisible to operators.

Increment failed_exports so the failure is observable via the existing
FailedExportCount metric.

Also adds doc comments to compression helpers clarifying return-value
contract and caller responsibility.

Directive: compression failure increments failed_exports — do not
remove without updating metrics docs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Removes the self-contradicting exception that allowed trivial fixes
on main when explicitly requested. The previous wording created a
loophole an agent could exploit.

Changes:
- Expands rule scope from "non-trivial" to "any task".
- Adds explicit step: do not edit/commit on main; create branch first.
- Tightens exception wording to require per-change owner override.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@NewYaroslav NewYaroslav merged commit 98cea64 into main May 22, 2026
12 checks passed
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