Repository navigation
DOC-7059: Migrate develop/ai/context-engine+featureform+agent-builder to render hooks - #3985
Merged
andy-stark-redis merged 2 commits intoSep 11, 2026
Merged
Conversation
…to render hooks Converts relref-shortcode links and note/warning/tip/info/alert callout shortcodes to the DOC-6909/DOC-7047 render-hook equivalents (plain Markdown links canonicalized to /content/<path>.md[#anchor], and `> [!TYPE]` blockquotes) across content/develop/ai/context-engine/, content/develop/ai/featureform/, and content/develop/ai/agent-builder/, using build/migrate_shortcode_links.py's all-stages mode on each of the 33 .md files found recursively (including the nested agent-memory, context-retriever/install, and langcache subdirs that a one-level glob missed twice in the prior rollout). 28 of 33 files changed; 5 had nothing to convert (agent-memory/api-reference.md, langcache/api-reference.md, featureform/query-data.md, and featureform's AGENTS.md/CLAUDE.md housekeeping files). Gotchas found: - content/develop/ai/context-engine/agent-memory/_index.md has five `<a href="{{< relref ... >}}">` links inside raw HTML card divs (not Markdown link syntax). Left untouched deliberately: Hugo's render-link hook only fires on Goldmark-parsed Markdown link nodes, never on raw HTML anchors, so rewriting these to a plain /content/... path would produce a dead href with nothing left to resolve it. The relref shortcode still expands correctly inside raw HTML at Hugo's shortcode-substitution pass, so this is the correct long-term state, not a migration gap. - content/develop/ai/featureform/AGENTS.md line 53 shows a relref example in backticks (illustrating site convention to authors, not a live link). Left as-is; out of scope for a mechanical content migration, but this instructional text will read as stale once the render-hook convention is the norm -- flagging for a future pass rather than editing a product AGENTS.md file that wasn't asked for. - Checked every new `> [!TYPE]` blockquote for the callout-adjacency blank-line gotcha from DOC-6909 (an alert flush against another block swallows as a lazy continuation). None found in this unit -- every converted callout already had blank-line separation on both sides, so no spacer was needed. - Remaining `{{< ... >}}` usages in this unit (clients-example, multitabs, embed-md, image, image-card, agent-builder) are shortcode types outside this ticket's scope and were left untouched, as required. Central href-diff and build-warning verification against main, plus human review, are still pending (batched separately across this ticket's units). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Contributor
Contributor
🧠 Redis MemoryFound 7 related items from repository history (2 new this commit):
Memory updated at 180faa1 |
Contributor
3 tasks
…eatureform-agentbuilder # Conflicts: # content/develop/ai/context-engine/agent-memory/developer-guide.md
andy-stark-redis
deleted the
DOC-7059-ai-context-featureform-agentbuilder
branch
September 11, 2026 14:54
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
relrefshortcode links andnote/warning/tip/info/alertcallout shortcodes with the native-Markdown render-hook equivalents (layouts/_default/_markup/render-link.htmlandrender-blockquote.html) acrosscontent/develop/ai/context-engine/,content/develop/ai/featureform/, andcontent/develop/ai/agent-builder/.build/migrate_shortcode_links.py all <file>(all 3 stages: relref-to-plain, callouts-to-blockquote, linkify) recursively over all 33.mdfiles in these three directory trees, including nested subdirs (agent-memory, agent-memory/api-reference, context-retriever, context-retriever/install, data-integration, langcache, langcache/api-reference).Notes for reviewers
content/develop/ai/context-engine/agent-memory/_index.mdhas five<a href="{{< relref ... >}}">links inside raw HTML card divs. Left untouched deliberately — the render-link hook only fires on Goldmark-parsed Markdown links, not raw HTML anchors, so rewriting these would break them. The relref shortcode still expands correctly there via Hugo's shortcode-substitution pass.content/develop/ai/featureform/AGENTS.mdline 53 shows arelrefexample in backticks illustrating the (soon-to-be-superseded) site convention to authors — not a live link, so left alone as out of scope for this mechanical content migration.> [!TYPE]blockquote for the callout-adjacency blank-line gotcha (an alert flush against another block gets swallowed as a lazy continuation). None found in this unit — every converted callout already had blank-line separation on both sides.clients-example,multitabs,embed-md,image,image-card,agent-builder) are out of scope for this ticket and were left untouched.Test plan
main(batched across this ticket's units, done separately)main(same, done separately)Note
Low Risk
Documentation-only link and callout syntax migration with known exceptions for HTML-embedded relref; no application or security logic changes.
Overview
This PR continues the DOC-6909 render-hook rollout across
content/develop/ai/agent-builder/,context-engine/, andfeatureform/(33 Markdown files).Links: Hugo
{{< relref ... >}}targets in normal Markdown are replaced with repo-root paths like/content/develop/.../*.md(including fragment anchors), sorender-link.htmlcan resolve them instead of the relref shortcode.Callouts:
note/warning(and related) shortcodes become GitHub-style blockquotes (> [!NOTE],> [!WARNING], etc.) forrender-blockquote.html.Intentionally unchanged:
relrefinside raw HTML (e.g. Agent Memory get-started cards), shortcodes such asagent-builder,multitabs,clients-example, andimage-card— no product or procedural doc rewrites beyond link/callout syntax.Reviewed by Cursor Bugbot for commit 180faa1. Bugbot is set up for automated code reviews on this repo. Configure here.