New example: with-doc-bridge — deterministic documentation handoffs for coding agents #13583
EmersonBraun
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Goals
Non-goals
Background
A root-level agent instruction file is useful, but it becomes broad in a monorepo and cannot reliably express package ownership, edit boundaries, package-specific checks, and the matching human documentation. Doc Bridge turns those repository facts into deterministic handoffs and fails CI when the index or documentation links become stale.
The existing
with-mcp-serversexample teaches how to structure and build MCP tool servers. This proposal covers a different problem: routing an agent safely through an existing monorepo before it edits code.Proposal
Add
examples/with-doc-bridge, starting frombasicwith the smallest changes needed:ak-docs:indexas a cacheable Turbo task with explicit inputs and outputsak-docs:gateto verify freshness and documentation coveragestartHere,editRoots,checks, and the linked human guideThe demo would show the index caching normally, invalidating when a package document changes, and the gate rejecting stale repository context.
@agentskit/doc-bridgeis public, MIT-licensed, and does not require an inference provider.I maintain Doc Bridge and can contribute and maintain the example if this scope is useful.
All reactions