Skip to content

DOC-6955 Repoint the Google ADK links at Agent Memory's new home - #3785

Merged
andy-stark-redis merged 1 commit into
mainfrom
DOC-6955-adk-relrefs
Aug 12, 2026
Merged

DOC-6955 Repoint the Google ADK links at Agent Memory's new home#3785
andy-stark-redis merged 1 commit into
mainfrom
DOC-6955-adk-relrefs

Conversation

@andy-stark-redis

@andy-stark-redis andy-stark-redis commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Note: the AI description below is longwinded but the basic idea is that these links were pointing to the old locations of the files and so they were only being resolved by aliases. This PR fixes the links so they point directly to the appropriate pages.

Fixes DOC-6955. Ten relref calls across three Google ADK pages named Agent Memory paths that moved to operate/iris.

Was Now Count
/develop/ai/context-engine/agent-memory/self-managed /operate/iris/agent-memory/self-managed 7
/operate/rc/context-engine/agent-memory/create-service /operate/iris/agent-memory/create-service 3

Targets confirmed rather than assumed — both pages moved across product areas, so the file's new home isn't automatically the link's intended destination.

The damage was worse than the ticket recorded

Both old URLs return 200, because the moved pages carry aliases for them. That made this look like a build-only complaint with readers being redirected safely. They weren't.

relref resolves pages, not aliases, so a relref naming an alias path fails at build time even though the URL itself serves a redirect. With refLinksErrorLevel = "WARNING" that failure isn't fatal and Hugo emits an empty string — so the live pages render <a href="">: anchors that go nowhere. Typing the old URL worked; clicking the link did not.

That severity was only visible in the rendered HTML. Status codes said everything was fine.

Verified against a build, not the diff

Before After
empty href="" on the ADK index 3 (live today) 0
resolved links to the new targets 0 10 (7 + 3)
REF_NOT_FOUND in the build 10 0

The six sibling refs to /develop/ai/context-engine/agent-memory, its api-reference, and /operate/rc/context-engine/agent-memory are deliberately untouched — those paths still have real pages, restored as bridges during the restructure, which is why only two of the five referenced targets broke.

Note for next time

DOC-6951's scanner could not have caught this. It reads git rename records and reasons about URLs; relref targets resolve at build time from content paths, so broken inbound references are invisible to it. The only signal today is a build warning nobody reads — worth considering whether refLinksErrorLevel should be ERROR for new breakage, though that would fail the build on any pre-existing instance.

🤖 Generated with Claude Code


Note

Low Risk
Documentation-only link target updates with no application or infrastructure code changes.

Overview
Updates 10 Hugo relref targets across the Google ADK integration docs (_index.md, redis-agent-memory.md, agent-memory-server.md) so provisioning and self-managed setup links follow Agent Memory’s new location under /operate/iris/agent-memory/.

Self-managed links move from /develop/ai/context-engine/agent-memory/self-managed to /operate/iris/agent-memory/self-managed (7 occurrences). Create service links move from /operate/rc/context-engine/agent-memory/create-service to /operate/iris/agent-memory/create-service (3 occurrences). Other Agent Memory refs (overview, API reference, RC overview) are unchanged.

This fixes broken in-page links: stale paths may still redirect in the browser, but relref resolves content paths only, so the old targets produced empty href="" anchors at build time.

Reviewed by Cursor Bugbot for commit e542e89. Bugbot is set up for automated code reviews on this repo. Configure here.

Ten relref calls across three Google ADK pages still named Agent Memory paths that
moved to operate/iris. Repointed to the new locations, confirmed with Andy as the right
targets rather than assumed, since both pages moved across product areas and a link's
intended destination is not always the file's new home.

    /develop/ai/context-engine/agent-memory/self-managed   -> /operate/iris/agent-memory/self-managed    (7)
    /operate/rc/context-engine/agent-memory/create-service -> /operate/iris/agent-memory/create-service  (3)

The reader-facing damage was worse than the ticket recorded, and only visible on the
rendered page. Both old URLs return 200, because the moved pages carry aliases for them,
so it looked as though readers were being redirected and only the build was complaining.
They were not: relref resolves pages, not aliases, so a relref naming an alias path fails
even while that URL works. With refLinksErrorLevel set to WARNING the failure is not
fatal, and Hugo emits an empty string -- so the live pages render three `<a href="">`
anchors that go nowhere. Typing the old URL worked; clicking the link did not.

Verified against a build rather than by reading the diff. Before: three empty hrefs on
the live ADK index. After: zero empty hrefs across all three pages, ten resolved links
to the new targets, and no REF_NOT_FOUND anywhere in the build. The six sibling refs to
`/develop/ai/context-engine/agent-memory`, its `api-reference` and
`/operate/rc/context-engine/agent-memory` are deliberately untouched -- those paths still
have real pages, restored as bridges during the restructure, which is why only two of the
five targets broke.

Worth noting for the next time this happens: DOC-6951's scanner could not have caught
this. It reads git rename records and reasons about URLs, and relref targets are resolved
at build time from content paths, so broken inbound references are invisible to it. The
signal that exists today is a build warning nobody reads.

Learned: both dead URLs returned 200 because aliases covered them, which made this look like a build-only complaint -- the rendered page was the only place the empty hrefs showed, so severity had to be read off the HTML rather than the status codes
Constraint: relref resolves pages and not aliases, so a relref naming an alias path fails at build time even though that URL serves a redirect
Ticket: DOC-6955
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

DOC-6955

@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

🧠 Redis Memory

Found 5 related items from repository history (5 new this commit):

Memory updated at e542e89

@andy-stark-redis
andy-stark-redis requested a review from a team August 11, 2026 15:10
@andy-stark-redis andy-stark-redis self-assigned this Aug 11, 2026
@andy-stark-redis andy-stark-redis added the bug Something isn't working label Aug 11, 2026

@dwdougherty dwdougherty left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM.

@andy-stark-redis
andy-stark-redis merged commit 5516524 into main Aug 12, 2026
91 checks passed
@andy-stark-redis
andy-stark-redis deleted the DOC-6955-adk-relrefs branch August 12, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants