Imported from manii3m/TreeID (
Project/.bob/rules-ask/AGENTS.md). Install upstream withnpx skills add manii3m/TreeID --skill rules-ask. Copyright stays with the author.
AGENTS.md
This file provides guidance to agents when working with code in this repository.
Non-obvious documentation context
artifacts/mockup-sandbox/is a Replit-only UI component preview harness, not part of the shipping app. Itsmockup-components.tsregistry is empty. Ignore it when answering questions about the product.lib/api-client-react/src/custom-fetch.tsis the only hand-authored file in that package. It is the canonical reference for how API errors (ApiError) and auth tokens work client-side — the generated hooks delegate to it.lib/db/src/schema/treeid.tsdefines the intended PostgreSQL schema but is not connected to the running app. The live data source is the in-memory arrays inartifacts/api-server/src/lib/tree-data.ts.replit.mdandartifacts/treeid/README.mdare the primary human-facing docs. They are accurate about architecture and gotchas.scripts/src/hello.tsis an empty scaffold placeholder (console.log("Hello from @workspace/scripts")). It has no functional purpose.- The assistant (
/assistantroute +answerAssistant()) uses keyword matching, not a real LLM or RAG pipeline — it is not backed by Gemini or any vector store. - Gemini vision is only invoked when
GEMINI_API_KEYis set. All other paths usecreateDemoAnalysis(), which always returns a hardcoded Neem tree result.