Agent entry surfaces: llms.txt, AGENTS.md, generated counts, 404, cross-refs - #48
Merged
Conversation
…ss-refs - app/llms.txt: named title and scope, absolute URLs, links to merchant docs, changelog, raw specs, webhooks, skills, testing, AGENTS.md; a legacy-identifiers note (was fumadocs default "# Docs" with relative links). - AGENTS.md: public navigation and evidence contract; CLAUDE.md now points at it (internal tool routing removed from the public surface). - scripts/generate-stats.mjs: endpoint and webhook counts on the home page are generated from the stable spec and the webhooks table (hardcoded 175+/22; the spec has 203 and the table 24). - app/not-found.tsx: recovery links to docs, merchant docs, changelog, and /llms.txt. - index.mdx: `ntk pull` / `ntk push`, matching the Theme Kit guide. - Webhooks: say that renewals arrive as transaction.created with billing_cycle >= 1. External checkout: point at payment_gateway / payment_gateway_group. Admin API overview: header spelling matches spec. - scripts/check-agent-surfaces.mjs: post-build assertions for the above. Refs #45 (agent setup file is separate). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
developer-docs | 6b49567 | Commit Preview URL Branch Preview URL |
Sep 03 2026, 05:44 AM |
next-devin
marked this pull request as ready for review
September 3, 2026 04:48
Code Review SummaryStatus: No Issues Found | Recommendation: Merge The previous SUGGESTION about description escaping is resolved: the description now flows through Files Reviewed (1 changed source file in this incremental diff)
Previous Review Summaries (2 snapshots, latest commit 1c70301)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 1c70301)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (4 changed files in this incremental diff)
Fix these issues in Kilo Cloud Previous review (commit f818df1)Status: 5 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (12 files)
Reviewed by minimax-m3 · Input: 20.3K · Output: 1.2K · Cached: 185.5K |
…text, webhook count from spec with table cross-check, assert both home-page counts Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
alexphelps
approved these changes
Sep 3, 2026
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.
Agent entry surfaces for the developer portal. A prospect's or developer's agent reaching
developers.nextcommerce.comtoday gets a/llms.txttitled "# Docs" with 338 relative links, no public agent guide, a home page whose endpoint and webhook counts are hand-typed and wrong, and no route to the changelog.What
app/llms.txt: named title and scope line, absolute URLs throughout, links to the merchant docs and their index, the changelog, the raw Admin API and Campaigns specs, webhooks, skills, testing, andAGENTS.md. Includes a two-sentence legacy identifiers note so agents stop "correcting"29nexthostnames and headers.llms-full.txtis untouched.AGENTS.md(new, public): what the two sites are, where to start, evidence rules, versions, corrections.CLAUDE.mdnow points at it; the gstack routing it carried was internal and is gone from the public surface. The setup file from Agent setup prompt: /agent-setup/prompt.md — one line to onboard a developer's agent onto NEXT #45 stays separate and is referenced.scripts/generate-stats.mjs: home page counts are generated frompublic/api/admin/2024-04-01.yamland the webhooks table. Hardcoded values were175+and22; the sources say 203 and 24.app/not-found.tsx: 404 with recovery links to docs, Admin API, webhooks, merchant docs, changelog,/llms.txt.content/docs/index.mdx:ntk pull/ntk push, matching the Theme Kit guide. The Intro Bootstrap starter line is unchanged pending Alex.transaction.createdwithbilling_cycle>= 1; there is no renewal-named event and readers were inferring this. External checkout guide: points atpayment_gateway/payment_gateway_group, which only the bankcard page mentioned. Admin API overview: header spelling now matches the spec.scripts/check-agent-surfaces.mjs: post-build assertions for all of the above (npm run check-agent-surfaces). No workflow yet; the repo has no CI, and that is a separate change.Verified
npm run build,npm run check-agent-surfacespass.validate-linksreports one pre-existing error unrelated to this change: an h4 fragment in the fulfillment-service guide that the validator does not index.llms.txtto recover verbatim paths, and reported the 22-vs-24 contradiction.Decision needed from — Alex on two lines left as-is: the Intro Bootstrap starter recommendation on the overview, and the public support/correction route that
AGENTS.mdcurrently marks "being confirmed".Refs #45. Part of NextCommerceCo/nextcommerce-site#92. Sibling PR on
docscovers the merchant site.🤖 Generated with Claude Code