Repository navigation
docs(publication): publish the structured reply guide - #191
Conversation
docs.agentos.sh rewrites a published guide's relative links by file name through docs/publication-manifest.cjs. A link to a docs file the manifest does not publish stays as written and fails the site's build, which is how the structured reply link in docs/GMI.md broke the deploy of 2026-10-09. The new case reads every published agentos guide and lists each relative link whose target exists under docs/ but is not published.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Reviewer's GuidePublishes the structured reply documentation page in the site manifest and adds a docs-alignment test that detects relative links from published guides to existing pages omitted from publication. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Warning Review limit reached
This review includes 2 billable files and costs up to $0.50.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 17 minutes for your next included review. View limit detailsLimit details: You’ve used all 4 included reviews currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (2)
Comment |
docs/GMI.md links features/STRUCTURED_REPLY.md, the page #177 added, and the publication manifest did not list it, so docs.agentos.sh left the link as written and its build failed. The manifest now publishes the page at features/structured-reply.md in the Tools & Capabilities section.
PR Summary by Qodotest(docs): detect links to unpublished guides
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1. Docs test fails on structured reply link
|
| } | ||
| } | ||
| } | ||
| expect(offenders, 'published guides that link to a docs file the manifest does not publish').toEqual([]); |
There was a problem hiding this comment.
1. Docs test fails on structured reply link 📘 Rule violation ≡ Correctness
publicationManifest has no entry for the existing features/STRUCTURED_REPLY.md guide, although the new assertion requires published guides to have no links to unpublished files. When the test reads docs/GMI.md, it finds the link to that guide and adds it to offenders, causing the regression case to fail.
Agent Prompt
## Issue description
The new docs-alignment test fails because the published `docs/GMI.md` guide links to `features/STRUCTURED_REPLY.md`, which is absent from the publication manifest.
## Fix Focus Areas
- docs/publication-manifest.cjs[231-245]
- src/api/runtime/__tests__/docs-alignment.test.ts[250-261]
## Recommended Fix
Add a manifest entry for `features/STRUCTURED_REPLY.md` with the intended `features/structured-reply.md` destination beside the Structured Output API guide, then run the docs-alignment test and confirm it passes.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
## [0.13.10](v0.13.9...v0.13.10) (2026-10-09) ### fix * **config:** honor provider model and timeout defaults (#194) ([c5860d4](c5860d4)) ### docs * fifth round of audit follow-ups to the guides (#171) ([e64d2d6](e64d2d6)) * **publication:** publish the structured reply guide (#191) ([a5f0d51](a5f0d51)) * the gmi() guide and agent({ runtime: 'gmi' }) (#192) ([e6c6305](e6c6305))
The manifest listed features/STRUCTURED_REPLY.md twice with the same destination (one entry from #171, one from #191). buildPublicationInventory reports features/structured-reply.md as a duplicate destination, which the site's publication contract test rejects before the build, and the sidebar listed the page twice. The entry at 5.5 from #191 stays. The structured output API page also covers embedText, so its title names it, and the consolidation page is titled for what it describes.
Summary
docs.agentos.sh builds its guide pages from
docs/publication-manifest.cjsand rewrites each guide's relative links by the target's file name.docs/GMI.mdlinksfeatures/STRUCTURED_REPLY.md(the page #177 added), the manifest did not list that page, so the link stayed as written and the site's build failed on it (agentos-live-docs deploy run 37881894131, "Markdown link with URL./features/STRUCTURED_REPLY.mdin source file docs/architecture/gmi.md couldn't be resolved").features/structured-reply.md, in the Tools & Capabilities section beside the Structured Output API page. The site derives its sidebar from the manifest at build time, so it needs no change.docs/but is not published, naming the guide and the link.The other docs files the manifest does not publish (
KEY_ROTATION.md,MARS_GENESIS.md,architecture/RECURSIVE_SELF_BUILDING_AGENTS.md,architecture/hybrid-retriever.md,architecture/session-retriever.md,features/CLI_ERROR_CODES.md) are linked from no published guide and are left as they are.Linked issues
None.
Type of change
How this was verified
CI on this pull request: the test commit first, read red on the new case alone, then the manifest commit, read green. After the merge, the agentos-live-docs deploy workflow is run on master and read green.
Migration notes
None.
Checklist
!before the colon for a change that breaks users (feat!:orfeat(api)!:).Summary by Sourcery
Publish the Structured Reply guide and validate that published documentation links resolve to other published pages.
Enhancements:
Documentation:
Tests: