Add complete Chainhooks guide section faithfully migrated from Hiro docs#1855
Draft
huth-stacks wants to merge 1 commit intostacks-network:masterfrom
Draft
Add complete Chainhooks guide section faithfully migrated from Hiro docs#1855huth-stacks wants to merge 1 commit intostacks-network:masterfrom
huth-stacks wants to merge 1 commit intostacks-network:masterfrom
Conversation
Migrates 13 files covering Chainhooks overview, quickstart, CRUD operations, secrets management, migration guide, FAQ, and complete reference documentation (filters, options, payload anatomy). All content faithfully preserved from Hiro source including: - All code examples (9+ that were missing in original attempt) - All FAQ questions (11 total, vs 6 in original) - Complete filter reference with all variant examples - Accurate migration mapping table - TypeScript types and anti-pattern examples Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Files Added (13)
Guide Pages
docs/build/chainhooks/overview.md- Product overview with v1/v2 context, three management approachesdocs/build/chainhooks/quickstart.md- SDK introduction with TypeScript types section restoreddocs/build/chainhooks/create.md- Registration with "(maximum 200)" UUID limit restoreddocs/build/chainhooks/fetch.md- Paginated listing and single fetchdocs/build/chainhooks/update.md- Updates with anti-pattern example restoreddocs/build/chainhooks/evaluate.md- Block replay by height or hashdocs/build/chainhooks/secrets.md- Secret rotation withserver.listen()restoreddocs/build/chainhooks/migration.md- v1→v2 migration with accurate mapping tabledocs/build/chainhooks/faq.md- All 11 FAQ questions restored (was 6)Reference Pages
docs/build/chainhooks/reference/README.md- Reference landingdocs/build/chainhooks/reference/filters.md- 373 lines with all 31 code examples (was 170 lines)docs/build/chainhooks/reference/options.md- Per-option subsections with individual code examplesdocs/build/chainhooks/reference/payload-anatomy.md- Complete JSON with all metadata fieldsFiles Modified (2)
docs/build/SUMMARY.md- Added Chainhooks section navigationdocs/build/get-started/clarity-crash-course.md- Updated Chainhooks link to local pathReviewer Feedback Addressed (ALL items from the reviewer)
ChainhookDefinitionSchema,ChainhookStatusSchema, etc.)server.listen()in secretsrotateConsumerSecret()noteContext
PR 3 of 7 decomposing the Hiro docs migration (#1847). This was the most heavily criticized section.
Test plan
🤖 Generated with Claude Code