Repository navigation
Description
Runtime revision and environment
Observed at 328ef16 on macOS, using npm pack --dry-run --ignore-scripts with a writable temporary npm cache.
Minimal reproduction
- Read llms.txt. Its persistence row directs authors to the operator-installed store extension, while its extension reference says that no supported extension provides stored links and tells authors to report stored links as a gap.
- Read docs/STORE.md. The bounded keyed-transition section documents store shortLinks: a declared unique key, HTTP(S)-only destination, atomic click increment, and a public redirect mount. It explicitly says this covers create, invalid-destination, redirect, missing-code, and click-count behavior without a function.
- Run npm pack --dry-run --ignore-scripts --json with a writable npm cache. The package contains llms.txt but zero files under docs/. The relative docs links in llms.txt therefore do not resolve in an installed package.
Expected and actual behavior
Expected: the package-owned AI entrypoint gives one accurate answer for stored links and does not link installed users to files that the package omits.
Actual: an agent can be simultaneously directed to use store for persistence and told that no supported stored-link capability exists. Following the linked documentation paths from the installed tarball also fails.
Why this matters
The benchmark shortener task previously led agents to write process-local Map state. Current store functionality appears to remove that plumbing, but this contradiction makes the capability undiscoverable and can cause a new agent to recreate it. This is a documentation/package defect, not evidence that core should regain a link handler.
Suggested fix
Correct the stored-link claim in llms.txt and choose one package-consistent documentation path: ship the linked docs, rewrite links to packaged bounded retrieval commands or shipped resources, or use canonical remote links where that is the intended contract. Add a packaging check that every relative link in llms.txt resolves in the npm tarball, and an agent-context fixture that identifies the store short-link composition without suggesting unsupported host setup.
Relevant output
The dry-run package inventory reported docs: 0 and llms: true. No credentials or customer data were used.
Activity
fix: ship docs files that searchDocs reads at runtime
fix: ship docs files that searchDocs reads at runtime (#445)