Skip to content

fix: multiple cortex engine bugs (permissions, markdown, turn_count)#142

Open
redlittenyoth wants to merge 4 commits intoCortexLM:mainfrom
redlittenyoth:main
Open

fix: multiple cortex engine bugs (permissions, markdown, turn_count)#142
redlittenyoth wants to merge 4 commits intoCortexLM:mainfrom
redlittenyoth:main

Conversation

@redlittenyoth
Copy link

@redlittenyoth redlittenyoth commented Feb 13, 2026

This PR addresses three issues in the Cortex engine:

  1. Permission Inheritance (#8943): can_load_skill() now correctly honors parent session permissions when inheritance is enabled.
  2. Markdown Injection (#8859): Terminal frame exports now use 4 backticks for code blocks to prevent escaping issues when user content contains 3 backticks.
  3. Turn Count Desync (#8881): Fixed turn_count calculation during message removal, insertion, and truncation in Conversation.

Fixes: PlatformNetwork/bounty-challenge#8943
Fixes: PlatformNetwork/bounty-challenge#8859
Fixes: PlatformNetwork/bounty-challenge#8881

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@redlittenyoth redlittenyoth changed the title fix(permission): honor parent permissions in can_load_skill fix: multiple cortex engine bugs (permissions, markdown, turn_count) Feb 13, 2026
…wnload logic

- Fix re-entrant deadlock in Context::add_message by using non-recursive compaction
- Improve DNS resolution security by failing closed on resolution errors
- Fix gopls downloader to use Go proxy since it's not a standard GitHub release
- Add missing handlers for protocol operations and event messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant