Skip to content

Feature : conversation stats - #41958

Closed
Ajay-cell-crime wants to merge 48 commits into
anomalyco:devfrom
sridhar-zenteiq-ai:feature-conversation-stats
Closed

Feature : conversation stats#41958
Ajay-cell-crime wants to merge 48 commits into
anomalyco:devfrom
sridhar-zenteiq-ai:feature-conversation-stats

Conversation

@Ajay-cell-crime

Copy link
Copy Markdown

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

…ity auditor, and self-improving prompt evolution

- Lowers auto-compaction trigger limit with 50,000 token safety buffer
- Updates CHARS_PER_TOKEN to 2.5 for accurate code/JSON payload token estimation
- Adds Cause.squash fallback and body.detail context overflow error classification
- Implements 5-dimension quality & originality JudgeAgent with sub-5 feedback refinement
- Adds Ollama nomic-embed-text 768-dim vector embedding persistence
- Fixes error parsing in message-v2.ts to ensure stream errors trigger ContextOverflowError
…ceiling check to prevent multi-read overflows
… limits

- runtime-flags: enable background subagents by default (Config.succeed(true))
- task: add wait_for param for explicit fan-out/join; LLM can fire N background
  tasks then call task with wait_for:[id1,id2] to collect all results in one step
- task: collect all text parts from subagent result (not just last) with streaming
  accumulator pattern
- task: compress task results via compressTaskResult before injecting into parent
  context — head/tail extraction keeps result within 8% of context window
- result-compressor: new pure-function compressor using dynamic context ratio;
  no hardcoded token values
- compaction: all three static constants (DEFAULT_KEEP_TOKENS, TOOL_OUTPUT_MAX_CHARS,
  SUMMARY_OUTPUT_TOKENS) replaced with dynamic formulas based on model context window
…compression service

- ResultCompressor.Service: implements live LLM stream compression using LLM.Service.stream()
- Uses COMPRESS_SYSTEM prompt to generate dense, structured Markdown summaries preserving exact file paths, symbol names, values, decisions, and error logs
- Dynamically derives max tokens (8% context budget) and safety fallback thresholds
- Registered ResultCompressor.node in ToolRegistry and Effect application graph
… tasks so harness can learn user expectations
…ut to prevent startup hang"

This reverts commit 582f205.
sridhar-zenteiq-ai and others added 15 commits August 7, 2026 10:23
… tui.ts to prevent hanging during config load"

This reverts commit 2141ac8.
…e to prevent startup freeze"

This reverts commit 0f09078.
…art in app.tsx so ready() always becomes true
@github-actions

Copy link
Copy Markdown
Contributor

Hey! Your PR title Feature : conversation stats doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions github-actions Bot added needs:title needs:compliance This means the issue will auto-close after 2 hours. labels Aug 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • No "Type of change" checkbox is checked. Please select at least one.
  • No issue referenced. Please add Closes #<number> linking to the relevant issue.
  • "How did you verify your code works?" section is empty. Please explain how you tested.
  • Not all checklist items are checked. Please confirm you have tested locally and have not included unrelated changes.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Aug 12, 2026
@github-actions github-actions Bot closed this Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants