Skip to content

docs: point AGENTS.md at files that exist - #390

Merged
jhen0409 merged 1 commit into
mybigday:mainfrom
Dev-next-gen:docs/agents-md-stale-paths
Sep 10, 2026
Merged

jhen0409 merged 1 commit into
mybigday:mainfrom
Dev-next-gen:docs/agents-md-stale-paths

Conversation

@Dev-next-gen

Copy link
Copy Markdown
Contributor

Three paths in AGENTS.md no longer resolve. Each is referenced three times, including in the Key Files Reference section that an agent reads as the map of the tree, so following them leads to files that are not there.

documented actual
src/grammar.ts Not present, and src/ holds no grammar helpers at all — nothing under it mentions GBNF, SchemaConverter, or JSON-schema conversion.
ios/RNLlamaJSI.mm Not present. The iOS install path is entirely in ios/RNLlama.mm, which imports ../cpp/jsi/RNLlamaJSI.h and calls rnllama_jsi::installJSIBindings.
android/src/main/java/com/rnllama/RNLlamaModuleShared.java Not present. The TurboModule entry point is RNLlamaModule.java (extends NativeRNLlamaSpec), next to RNLlama.java — which is indeed the native loader and HTP extractor the doc describes.

How I checked

I pulled every backticked path out of AGENTS.md and tested whether it resolves, rather than eyeballing it:

before:  referenced: 48   unresolved: 3
after:   referenced: 48   unresolved: 0

Everything else the file names is accurate, so this only corrects those three — no rewording, no restructuring.

One caveat on my own method, since it nearly put wrong claims in here: a first pass reported 16 unresolved paths, but most of those were bare filenames like rn-llama.cpp and JSICompletion.h that I was testing against the repo root when they live under cpp/ and cpp/jsi/. Re-run correctly, only the three full paths above are genuinely stale.

Scope

Markdown only — no code, no config. npm run lint and npm test cover neither this file nor anything it touches.

Three paths in AGENTS.md no longer resolve, and each is referenced three
times, including in the Key Files Reference that an agent reads as the map
of the tree:

- `src/grammar.ts` — gone, and `src/` holds no grammar helpers at all
  (nothing there mentions GBNF, SchemaConverter or JSON-schema conversion)
- `ios/RNLlamaJSI.mm` — gone; the iOS install path is entirely in
  `ios/RNLlama.mm`, which imports `../cpp/jsi/RNLlamaJSI.h` and calls
  `rnllama_jsi::installJSIBindings`
- `android/.../RNLlamaModuleShared.java` — gone; the TurboModule entry
  point is `RNLlamaModule.java`, alongside `RNLlama.java` (which is indeed
  the native loader and HTP extractor the doc describes)

Every other path the file names resolves, so this only corrects the three.
Markdown only, no code touched.

@jhen0409 jhen0409 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@jhen0409
jhen0409 merged commit 18bbfd1 into mybigday:main Sep 10, 2026
@Dev-next-gen
Dev-next-gen deleted the docs/agents-md-stale-paths branch September 11, 2026 00:39
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.

2 participants