Skip to content

fix: sync generation-21 agent policy kernel - #118

Merged
willgriffin merged 1 commit into
mainfrom
claude/117-gen21-policy-sync
Jul 31, 2026
Merged

fix: sync generation-21 agent policy kernel#118
willgriffin merged 1 commit into
mainfrom
claude/117-gen21-policy-sync

Conversation

@willgriffin

Copy link
Copy Markdown
Contributor

Summary

Regenerates the managed hv-managed-policy block in AGENTS.md from the generation-21 policy kernel.

The org policy lock moved to generation 21 (happyvertical/have-config@a61f995) while this repository's block was still stamped at the generation-17 kernel (9a4cf725…). With 21 promoted to stable, lifecycle validates this repository against the generation-21 kernel and fails with stale or edited managed policy block on every event — which poisons head-commit status rollups and makes the managed merge queue refuse admission repo-wide.

  • Block bytes reproduce hv-agent's managed_block() exactly: same kernel file, same sha256-of-file stamp (2524e6ee…), 15 bullets.
  • Nothing outside the hv-managed-policy markers is touched.

This repository is one of five with lifecycle_ruleset: required. smrt already synced (happyvertical/smrt#2141) and happyvertical/.github validates on the sanctioned compatibility-grace block; The other required repositories receive the same fix.

Validation

Block regenerated by the same algorithm the policy runtime validates against, then verified byte-for-byte against hv-agent's managed_block() output for the generation-21 kernel. The lifecycle check on this PR is the authoritative confirmation.

Closes #117

{
  "schema": "hv-agent-run:v1",
  "runtime": "claude",
  "session": "73215460-b04f-41f6-a256-838ebf8e5d37",
  "issue": 117,
  "linked_issue": "https://github.com/happyvertical/pdf/issues/117",
  "policy_revision": "1.0.0",
  "status": "review",
  "validation": "managed block reproduced byte-for-byte from the generation-21 kernel via managed_block(); lifecycle check on this head is the authoritative validation"
}

@willgriffin
willgriffin enabled auto-merge July 30, 2026 10:36
auto-merge was automatically disabled July 30, 2026 10:38

Pull request was closed

Regenerate the managed hv-managed-policy block from the generation-21
kernel. The org lock moved to generation 21 while this block was still
stamped at generation 17, so lifecycle failed on every event with a
stale managed policy block and blocked merge-queue admission repo-wide.

Block bytes reproduce hv-agent managed_block() exactly: same kernel
file, same sha256-of-file stamp, 15 bullets, nothing outside the
markers changed.

Refs #117
@willgriffin
willgriffin force-pushed the claude/117-gen21-policy-sync branch from 2157b1a to 79d441a Compare July 30, 2026 10:38
@willgriffin willgriffin changed the title fix(ci): sync generation-21 agent policy kernel fix: sync generation-21 agent policy kernel Jul 30, 2026
@willgriffin willgriffin reopened this Jul 31, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Release Preview

When this PR is squash-merged, @happyvertical/pdf will receive a patch version bump based on the PR title's conventional commit format.

What happens on merge?

  1. Tests run on main branch
  2. The squash commit message is validated
  3. Version is bumped automatically
  4. Package is published to npmjs
  5. Git tag is created

No manual intervention needed.

@willgriffin
willgriffin added this pull request to the merge queue Jul 31, 2026
Merged via the queue into main with commit 02fd071 Jul 31, 2026
8 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.

fix(ci): sync generation-21 agent policy kernel

1 participant