---
title: "Discussion on \"Who owns a webhook secret rotation when an agent writes the code\" | Hashnode"
description: "Discussion on \"Who owns a webhook secret rotation when an agent writes the code\". A responsibility map for author, runner, reviewer and deployer, tested on one small change where every runner check passed and the change was still wrong."
url: "https://hashnode.com/posts/agent-written-change-responsibility-map/6ad2522c42c02a2cd66f8149"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Who owns a webhook secret rotation when an agent writes the code](https://wagglet-tool.hashnode.dev/agent-written-change-responsibility-map?utm_source=hashnode&utm_medium=feed)

A responsibility map for author, runner, reviewer and deployer, tested on one small change where every runner check passed and the change was still wrong.

Oct 16 · 7 min read · wagglet-tool.hashnode.dev  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#python](https://hashnode.com/tag/python)
-   [#code-review](https://hashnode.com/tag/code-review)
-   [#ai](https://hashnode.com/tag/ai)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Sam Novak](https://hashnode.com/@sammnov)

@sammnov · Boston, USA

  
[View profile](https://hashnode.com/@sammnov)

## Responses 1

Markdown supported · ⌘↵ to post

[StackShortlist](https://hashnode.com/@veristria)

[Oct 17](https://hashnode.com/posts/agent-written-change-responsibility-map/6ad2522c42c02a2cd66f8149/comment/6ad2d1de3b1a648359667105)

The rotation example lands well because the requirement that the old secret stops working after the window is exactly the line a passing test suite won't notice is missing. Splitting author, runner, reviewer and deployer into four written decisions helps even when two people hold all of them. The column for what each role never needs, like production secrets for the runner, is a detail more teams should copy.
