Skip to content

claude generated docs#806

Merged
pinheadmz merged 2 commits into
bitcoin-dev-project:mainfrom
pinheadmz:claude-docs
Jun 29, 2026
Merged

claude generated docs#806
pinheadmz merged 2 commits into
bitcoin-dev-project:mainfrom
pinheadmz:claude-docs

Conversation

@pinheadmz

Copy link
Copy Markdown
Contributor

No description provided.

@mercie-ux

Copy link
Copy Markdown

I ran apidocs.py locally and went through the doc changes. The new reference files are a nice addition.

Comment thread docs/plugins.md Outdated

### Per-node hooks and `node_name`

For `preNode` and `postNode`, Warnet passes the current node's name in the context under the key `node_name`. Plugins can read this to act on a specific node. The pod name Warnet produces for a per-node plugin follows the pattern:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This says node_name but deploy.py passes it inside annex should be annex.node_name to match the table below and avoid broken plugin code.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reviewing! I think this entire section can come out actually. I think the LLM generated a general rule based on what it saw in the example "hello" plugin, but this isn't how the run_plugin() code works.

@pinheadmz

Copy link
Copy Markdown
Contributor Author

I reviewed and cleaned up the claude output, i think this is good to go.

@pinheadmz pinheadmz merged commit fef9e6d into bitcoin-dev-project:main Jun 29, 2026
2 of 16 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.

2 participants