Skip to content

ci(pdf): vendor generation 21 policy - #124

Merged
willgriffin merged 1 commit into
mainfrom
claude/agent-policy-gen21-block
Jul 30, 2026
Merged

ci(pdf): vendor generation 21 policy#124
willgriffin merged 1 commit into
mainfrom
claude/agent-policy-gen21-block

Conversation

@willgriffin

Copy link
Copy Markdown
Contributor

Generation 21 promoted 2026-07-30 06:10Z (channel revision 24, happyvertical/.github#103). The managed AGENTS.md block on main carried kernel 9a4cf725…, which predates both kernels that generation ships, so every agent-authored pull request failed Agent Policy / lifecycle — including PRs touching nothing but .github/workflows/.

This regenerates the block from the generation-21 diagnostic kernel (2524e6ee…), the one this repository's runtime.agent_lifecycle_stage: diagnostic selects.

What changed

AGENTS.md only — the bytes between the hv-managed-policy markers. The block is generated output: the kernel's - bullets under a ## Shared development kernel heading. Nothing outside the markers moved, and no other file changed.

Generated with the control-plane hv-agent migrate-repo, not hand-edited.

Verification

Auditing this branch with the pinned generation-21 artifact — the same tool CI runs:

$ hv-agent audit .
Agent Policy / lifecycle passed

Before the change, the same command on origin/main reported:

ERROR AGENTS.md: stale or edited managed policy block
ERROR AGENTS.md: generated policy block was edited

Context

Part of happyvertical/.github#105, which covers the same drift class in sdk, pdf, and happyvertical.com.

{
  "schema": "hv-agent-run:v1",
  "runtime": "claude",
  "session": "dd233d07-ae14-43c0-bfec-b4f99514936a",
  "issue": "123",
  "policy_revision": "1.0.0",
  "validation": [
    "hv-agent audit . with pinned generation-21 artifact sha256:a19abb22 - clean",
    "hv-agent check-pr - Agent Policy / lifecycle passed"
  ]
}

Closes #123

The managed AGENTS.md block on main carried kernel 9a4cf725, which predates
both kernels generation 21 ships. Every agent PR therefore failed lifecycle
with "stale or edited managed policy block", including PRs touching only
workflow files.

Regenerate the block from the generation-21 diagnostic kernel (2524e6ee).
The bytes are generated output, determined by the signed artifact.

Closes #123
@github-actions

Copy link
Copy Markdown
Contributor

Release Preview

This PR title will not trigger an automatic release on squash merge.

Use a releaseable conventional PR title like fix(pdf): ..., feat(pdf): ..., or chore(deps): ... if this change should publish automatically.

Otherwise, add a manual changeset or apply the skip-changeset label if no release is needed.

@willgriffin
willgriffin added this pull request to the merge queue Jul 30, 2026
Merged via the queue into main with commit 5ecd46f Jul 30, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changeset No package release required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(agent-policy): regenerate the generation-21 managed AGENTS.md block

1 participant