plantimals on Nostr: a funny aspect of getting the coding agent to write meaningful tests around #nostr ...
a funny aspect of getting the coding agent to write meaningful tests around #nostr functionality is the understanding that secret key -> pubkey cannot be faked. I see so many "npub123-abc" in its tests. no matter how often I explicitly instruct it otherwise. I have a rule in CLAUDE.md which points out that we have a keys.md with a markdown table with 10 secret keys, pubkeys, and npubs for use in tests, and it always forgets and just makes things up.
Published at
2025-10-14 14:50:16 UTCEvent JSON
{
"id": "925ecc7b41b23ba9bd4ba4cb46a3f9416ccef87f055ef1e4230a7f6e5672d2a3",
"pubkey": "dd81a8bacbab0b5c3007d1672fb8301383b4e9583d431835985057223eb298a5",
"created_at": 1760453416,
"kind": 1,
"tags": [
[
"alt",
"A short note: a funny aspect of getting the coding agent to writ..."
],
[
"t",
"nostr"
],
[
"r",
"https://claude.md/"
],
[
"r",
"https://keys.md/"
]
],
"content": "a funny aspect of getting the coding agent to write meaningful tests around #nostr functionality is the understanding that secret key -\u003e pubkey cannot be faked. I see so many \"npub123-abc\" in its tests. no matter how often I explicitly instruct it otherwise. I have a rule in CLAUDE.md which points out that we have a keys.md with a markdown table with 10 secret keys, pubkeys, and npubs for use in tests, and it always forgets and just makes things up.",
"sig": "78c9b3e15826ddecb19622818a0a53f738be9f255f79be3c1f939b980162231b9e3f21b5d0903d57a0300f5af58279f420392fc9661bbdee7aff849c5d0c3dae"
}