5 Commits

Author SHA1 Message Date
Jarvis Prime
cbf3c8141c fix: increase max_tokens for repo-level docs to 1024
The new structured repo doc prompt (5 sections with headers) needs more
room than the old 4-6 sentence prompt. File and relationship docs stay
at 256 tokens. Plumbed max_tokens through _call_llm → _call_ollama/_call_openai.
2026-03-05 04:25:33 +00:00
Jarvis Prime
c9e4337e15 feat: upgrade repo-level doc prompt for CLAUDE.md-quality narratives
Repo summaries now generate structured, opinionated overviews with:
- What This Project Does (purpose, not generic description)
- Architecture (entry points, request flow, key abstractions)
- Key Patterns (conventions an agent must match)
- Where Things Live (non-obvious file ownership map)
- Gotchas (surprises, race conditions, naming traps)

Addresses Mike/Dmitry feedback: roll-up summaries must be 'actually usable.'
Old prompt produced 4-6 generic sentences. New prompt produces a real
onboarding doc that reads like a senior engineer wrote it.
2026-03-05 04:24:26 +00:00
Jarvis Prime
6ebd8f8d28 Add .env file loading — cp .env.example .env and edit 2026-03-04 04:41:48 +00:00
Jarvis Prime
65e114a5d6 Add OpenAI-compatible backend support (Kiro gateway, OpenRouter)
- LLM_BACKEND=openai routes to /v1/chat/completions
- Default: ollama (unchanged)
- For Kiro gateway: LLM_BACKEND=openai OPENAI_URL=http://192.168.86.11:8000 OPENAI_MODEL=claude-haiku-4
- Updated README with new env vars
2026-03-04 04:37:46 +00:00
Jarvis Prime
9680dc07eb Fix: add missing parser/docgen, rename parser→go_parser, add uv packaging
- parser.py renamed to go_parser.py (avoids Python builtin conflict)
- docgen.py was missing from flat structure
- Added pyproject.toml for uv
- Updated .mcp.json to use uv run
- Updated README for uv workflow
2026-03-04 04:30:43 +00:00