Commit graph

4 commits

Author SHA1 Message Date
Victor Hugo Vargas
8698d51ab4 build: pin rony-llm-agent and add CI build workflow
Some checks are pending
Build / build (push) Waiting to run
- require github.com/VictorVargas/rony-llm-agent pinned to a pseudo-version
  (latest commit on cde9ac3); will be replaced by a tagged version once the
  dep is tagged and published
- replace directive lets 'go build' work on a fresh clone without the
  parent go.work; REMOVE this replace when the dep is public
- build.yml: builds the binary on push to main and tag push, uploads as
  artifact, and attaches to the release on tag push when one exists

CI will fail until rony-llm-agent is public — that's expected. Remove the
replace and bump the require version to the first tagged release when it is.
2026-07-30 23:10:12 -07:00
Victor Hugo Vargas
f33708534a feat: bootstrap rony-chat-bot Go module
Initial implementation of the bot:

- cmd/chat-bot: CLI entrypoint (serve, reindex, ask, version)
- internal/agent: LLM provider client + agent runner with RAG injection
- internal/config: YAML config loader (providers, RAG, persona, server)
- internal/i18n: response-language detection (EN/ES)
- internal/persona: persona system prompt assembly from YAML
- internal/portfolio: heading-based chunker + SQLite FTS5 indexer
- internal/server: chi router with /api/chat (SSE), /api/health, /api/info,
  /api/reindex, middleware (RequestID, Logging, CORS, RateLimit)
- internal/streaming: SSE protocol helpers (start, chunk, sources, done, error)
- web/: drop-in vanilla-JS chat widget (no build, no deps) + demo + README
- bench/: reproducible driver benchmark (modernc vs mattn SQLite)
- configs/portfolio-bot.yaml: llama.cpp default provider, SQLite RAG, canine persona
- docs/architecture.md / .es.md: aligned with SQLite FTS5 + llama.cpp decisions
- data/projects/README*.md: project data documentation
- README.md / .es.md: updated for current implementation

All tests pass (go test ./...). Bot is functional end-to-end with the
configured LLM provider.
2026-07-17 00:56:06 -07:00
a7a545d09f chore:split documents 2026-06-28 23:24:22 -07:00
86fb6a7630 chore: initial scaffold with design docs 2026-06-28 16:13:21 -07:00