Skip to content

docs(agent-eval): Outpost llms.txt in prompt and default LLMS URL#848

Merged
leggetter merged 3 commits intomainfrom
docs/agent-eval-outpost-llms
Apr 21, 2026
Merged

docs(agent-eval): Outpost llms.txt in prompt and default LLMS URL#848
leggetter merged 3 commits intomainfrom
docs/agent-eval-outpost-llms

Conversation

@leggetter
Copy link
Copy Markdown
Collaborator

@leggetter leggetter commented Apr 21, 2026

Summary

Aligns the onboarding agent prompt template with the live Hookdeck Outpost documentation index (/docs/outpost/llms.txt), keeps eval harness defaults consistent, and hardens the Docs agent eval (CI slice) live Outpost step.

Changes

Prompt & eval harness

  • hookdeck-outpost-agent-prompt.md: Documentation bullet and {{LLMS_FULL_URL}} placeholder describe the plain-text llms.txt index (correct production URL); remove optional / eval-runner wording from the template copy.
  • run-agent-eval.ts: Default {{LLMS_FULL_URL}} to ${EVAL_DOCS_URL}/llms.txt (or production); always include the documentation-index line in local-docs mode; remove line-stripping when env was unset.
  • .env.example, fixtures/placeholder-values-for-turn0.md: Match the above.

CI (docs-agent-eval-ci + execute-ci-artifacts)

  • Concurrency on the eval job so only one workflow at a time mutates the shared CI Outpost project during execution.
  • OUTPOST_CI_CLEANUP_TENANT: delete the fixture tenant before scripts and again on EXIT so destination limits do not break repeated runs.
  • GET /configs: when managed config returns 200, require TOPICS to be empty, include *, or include OUTPOST_CI_PUBLISH_TOPIC (default user.created); otherwise fail fast with a clear message. Skips on non-200 or OUTPOST_SKIP_MANAGED_TOPICS_VERIFY=1.
  • README.md: documents the above.

Related

  • Website: /docs/outpost/llms.txt (hookdeck/website) serves the index the prompt points to.

Describe the production documentation index (plain-text .md URLs,
nav-aligned) in the onboarding prompt template and placeholder table.
Fix the example URL and remove optional/runner-only wording from the
template copy.

Default {{LLMS_FULL_URL}} to EVAL_DOCS_URL/llms.txt in run-agent-eval,
always include the llms line in local-docs mode, and drop the filter that
removed the bullet when EVAL_LLMS_FULL_URL was unset.

Made-with: Cursor
Copilot AI review requested due to automatic review settings April 21, 2026 09:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Aligns the Outpost agent onboarding prompt and agent-eval harness defaults with the live Outpost documentation index at /docs/outpost/llms.txt, so the prompt and evaluator consistently point agents to the same docs entrypoint.

Changes:

  • Update the agent prompt template to reference the llms.txt documentation index (instead of an optional “full bundle” URL).
  • Make the eval runner default {{LLMS_FULL_URL}} to ${EVAL_DOCS_URL}/llms.txt (or production) and always include the docs-index line in local-docs mode.
  • Update .env.example and placeholder fixtures to match the new llms.txt behavior/URL.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
docs/agent-evaluation/src/run-agent-eval.ts Defaults LLMS_FULL_URL to docsUrl/llms.txt, always emits the docs-index line in local-docs mode, removes prior conditional line stripping.
docs/agent-evaluation/hookdeck-outpost-agent-prompt.md Rewords the docs reference to point at llms.txt as the documentation index.
docs/agent-evaluation/fixtures/placeholder-values-for-turn0.md Updates example placeholder value for {{LLMS_FULL_URL}} to the llms.txt URL.
docs/agent-evaluation/.env.example Documents EVAL_LLMS_FULL_URL defaulting behavior (append /llms.txt).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/agent-evaluation/src/run-agent-eval.ts Outdated
Comment thread docs/agent-evaluation/src/run-agent-eval.ts Outdated
Comment thread docs/agent-evaluation/src/run-agent-eval.ts Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…TOPICS

- docs-agent-eval-ci: concurrency group so parallel jobs do not share live
  Outpost mutations; set OUTPOST_CI_CLEANUP_TENANT for fixture tenant.
- execute-ci-artifacts: DELETE cleanup tenant before run and on EXIT; after
  successful GET /configs require TOPICS empty, include *, or include
  OUTPOST_CI_PUBLISH_TOPIC (skip on non-200 or OUTPOST_SKIP_MANAGED_TOPICS_VERIFY).
- README and .env.example document behavior.

Made-with: Cursor
@leggetter leggetter merged commit 2a2c468 into main Apr 21, 2026
2 checks passed
@leggetter leggetter deleted the docs/agent-eval-outpost-llms branch April 21, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants