Skip to content

docs(policy): move agent-fast / build gate from dev to unstable - #484

Merged
mberrys merged 1 commit into
devfrom
claude/agent-fast-build-promotion-9ljtaq
Aug 31, 2026
Merged

docs(policy): move agent-fast / build gate from dev to unstable#484
mberrys merged 1 commit into
devfrom
claude/agent-fast-build-promotion-9ljtaq

Conversation

@mberrys

@mberrys mberrys commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Introduces unstable as the qualification branch in the promotion chain and moves the required agent-fast / build status check there.

Promotion flow: topic branch → devunstablestable

Protection changes:

  • unstable now carries the agent-fast / build requirement formerly on dev
  • stable still requires release_ok
  • dev remains the topic integration line but is no longer a protected branch with status-check requirements

Changes

  • Canonical policy in agent-policy.json adds qualification: unstable and promotion_chain
  • docs/BRANCH_POLICY.md, docs/CI.md, docs/REPO_MAP.md updated with the new machine-readable declarations and prose
  • CI workflow triggers extended to unstable (ci.yml, codeql.yml, documentation.yml)
  • scripts/ci/check_branch_policy.py validates live protection on unstable instead of dev, and rejects status-check requirements left on dev
  • scripts/agent/generate-adapters.py, scripts/generate-architecture-catalogs.py, scripts/agent/check-change.py updated to know about the qualification branch
  • Generated adapters (AGENTS.md, .claude/policy-brief.md, .cursor/agent-policy.md, docs/branch-policy.json) and the architecture catalog regenerated
  • scripts/hooks/pre-push.sh protects direct pushes to unstable
  • Unit tests updated in scripts/agent/test_check_change.py and scripts/ci/test_check_branch_policy.py

Operator follow-up

GitHub branch protection rules still need to be applied on the remote:

  1. Create the unstable branch (if it does not exist yet)
  2. Move agent-fast / build required status from dev to unstable
  3. Remove status-check requirements from dev
  4. Keep release_ok on stable

Test plan

  • python3 scripts/agent/check-change.py --base origin/dev — pass (changelog, source_integrity, architecture_catalog, policy_adapters)
  • python3 -m unittest scripts.agent.test_check_change scripts.ci.test_check_branch_policy — 34 tests pass
  • python3 scripts/ci/check_branch_policy.py — pass

Generated by Claude Code

Introduce unstable as the qualification branch in the promotion chain
(dev -> unstable -> stable) and move the required agent-fast / build
status check there. dev remains the topic-integration branch but no
longer carries branch-rule status requirements.
@mberrys
mberrys marked this pull request as ready for review August 31, 2026 22:57
@mberrys
mberrys merged commit 10d4672 into dev Aug 31, 2026
11 checks passed
@mberrys
mberrys deleted the claude/agent-fast-build-promotion-9ljtaq branch August 31, 2026 22:57
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.

2 participants