docs: add Cursor Cloud dev environment instructions (AGENTS.md) - #39
Draft
lyingbug wants to merge 4 commits into
Draft
docs: add Cursor Cloud dev environment instructions (AGENTS.md)#39lyingbug wants to merge 4 commits into
lyingbug wants to merge 4 commits into
Conversation
Co-authored-by: lyingbug <lyingbug@users.noreply.github.com>
…workflow Co-authored-by: lyingbug <lyingbug@users.noreply.github.com>
Co-authored-by: lyingbug <lyingbug@users.noreply.github.com>
Co-authored-by: lyingbug <lyingbug@users.noreply.github.com>
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.
Description
Sets up a full local development environment for WeKnora in the Cursor Cloud VM and captures the durable, non-obvious startup/run caveats discovered during setup in a new root
AGENTS.md(## Cursor Cloud specific instructions). No application code is changed.The running dev stack is: Postgres (paradedb) + Redis via
docker-compose.dev.yml, the Go backend on the host (make dev-app,:8080), the Vite web UI (make dev-frontend,:5173), and Ollama (:11434) as the local LLM provider for embeddings/chat.Type of Change
Related Issue
N/A
Testing
Verified the environment end-to-end:
make build(standard server) andmake build-liteboth compile (CGO needslibsqlite3-dev).golangci-lint runworks once built with the repo's Go 1.26 toolchain (runs againstinternal/database/..., surfacing only pre-existing findings).go test ./internal/handler/... ./internal/types/... -count=1pass.npm run test(292 pass) andnpm run type-checkpass.nomic-embed-text+ LLMqwen2.5:0.5bvia Ollama), and added a text knowledge entry that was parsed, embedded, and LLM-summarized.Key findings captured in
AGENTS.md: Lite/SQLite mode is broken (stalemigrations/sqlitesnapshot) so the Postgres stack must be used; Docker 29 on this VM needsfuse-overlayfs+containerd-snapshotter: false;OLLAMA_BASE_URLmust point atlocalhostandSSRF_WHITELISTmust include loopback for host-run model config.Checklist
docs/, Swagger annotations, etc.)Screenshots / Recordings
Knowledge base list (logged in as
weknora_admin):WeKnora knowledge base list
Demo KBdetail with the ingested, embedded and LLM-summarized "Hello WeKnora" entry:Demo KB with Hello WeKnora entry
To show artifacts inline, enable in settings.