chore: migrate to the channel-aware agent policy workflow - #125
Merged
Conversation
The generation-6 bridge workflow reads vars.AGENT_POLICY_ARTIFACT directly, so this repository could not follow the protected policy channel and had to be repinned by hand every generation. It silently ran a stale artifact from 2026-07-21 until 2026-07-25, when a manual repin moved it to generation 10. The channel-aware workflow resolves the artifact from the protected channel state in happyvertical/.github at run time, so the repository follows stable automatically and cannot go stale at the next generation. Generated by hv-agent migrate-repo --profile happyvertical --apply. This also refreshes the managed policy block for generation 10 and adds the jcode/kimi dispatch labels the profile now defines. Delete the AGENT_POLICY_ARTIFACT repository variable after merge: the new workflow never reads it, so leaving it is dead configuration. Closes #124. Refs happyvertical/have-config#228 step 4.
willgriffin
force-pushed
the
claude/channel-aware-124
branch
from
July 25, 2026 20:43
68ba968 to
88a6d26
Compare
Contributor
Version Bump PreviewWhen this PR is merged, @happyvertical/ocr will receive a patch version bump based on your conventional commits. What happens on merge?
No manual intervention needed! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #124. Refs happyvertical/have-config#228 step 4.
This repository ran the generation-6 bridge shape of
.github/workflows/agent-policy.yml, which readsvars.AGENT_POLICY_ARTIFACTdirectly. It could not follow the protected policy channel, so it had to be
repinned by hand every generation — and silently ran a stale artifact from
2026-07-21 until 2026-07-25, when a manual repin moved it to generation 10.
The channel-aware workflow resolves the artifact from the protected channel state
in
happyvertical/.githubat run time. The repository now followsstableautomatically and cannot go stale at the next generation.
Contents
Generated by
hv-agent migrate-repo --profile happyvertical --apply:.github/workflows/agent-policy.yml— channel-aware resolutionAGENTS.md— managed policy block refreshed for generation 10.agents/project.yaml—jcode/kimidispatch labels the profile now definesFollow-up after merge
Delete the
AGENT_POLICY_ARTIFACTrepository variable. The new workflow neverreads it, so leaving it in place is dead configuration that will mislead the next
reader. I'll do this once this lands.
Why this was blocked until now
The migration preflight required the trusted policy lock to match the source
generation, and every required repository to have a current default-branch canary
proving the active channel. The lock sat at generation 7 while the control plane's
mainmoved on, so the preflight refused — happyvertical/have-config#238.Generation 10 was promoted to stable on 2026-07-25 and fresh canaries were
dispatched across the required fleet, clearing both conditions.
Validation
hv-agent auditpasses clean against generation 10.{ "schema": "hv-agent-run:v1", "runtime": "claude-code", "session": "hv-migrate-ocr-124", "issue": 124, "linked_issue": 124, "policy_revision": "1.0.0", "status": "complete", "validation": ["hv-agent audit: policy audit passed against generation 10", "hv-agent migrate-repo preflight cleared"] }