Skip to content

fix(chat): condense context, handle Ctrl-C, run --ask before fail-on exit - #10

Merged
launchforgedev merged 1 commit into
launchforgedev:mainfrom
akai-49:fix/chat-context-and-hygiene
Nov 12, 2026
Merged

launchforgedev merged 1 commit into
launchforgedev:mainfrom
akai-49:fix/chat-context-and-hygiene

Conversation

@akai-49

@akai-49 akai-49 commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Chat: condense report.json (drop per-module imports, keep names/counts) and cap at 24k chars, so small Ollama models do not silently truncate the prompt. Client now sets num_ctx to 8192.
  • Chat: Ctrl-C cancels only the current answer, not the session.
  • analyze --ask: chat now starts before the --fail-on exit code 2.
  • Remove dead branch in analyzer._resolve_internal_import.
  • Remove committed generated reports (ollama-test/, strict-report/) and gitignore them.
  • Fix ruff import error, formatting, and "REporRAMP" typo.

Testing

ruff check clean, 124 tests pass (1 new for condense_report). Not run against a live Ollama model.

🤖 Generated with Claude Code

…ail-on exit; tidy repo

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 12, 2026 15:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@launchforgedev
launchforgedev merged commit 7b3140f into launchforgedev:main Nov 12, 2026
0 of 4 checks passed
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.

3 participants