Skip to content

Promote Staging to main for v0.261.002 - #1367

Merged
Bionic711 merged 11 commits into
mainfrom
Staging
Aug 28, 2026
Merged

Promote Staging to main for v0.261.002#1367
Bionic711 merged 11 commits into
mainfrom
Staging

Conversation

@Bionic711

Copy link
Copy Markdown
Collaborator

Summary

  • Promotes the current Staging branch to main for the v0.261.002 release train.
  • Includes Markdown ingestion hardening so oversized Markdown sections are bounded before embedding, plus unit-aware chunk size caps in Document Extraction settings.
  • Includes governance and admin UI fixes: delegated item governance New Policy opens correctly on split governance tabs, and Inbound MCP shows enablement guidance when the ENABLE_MCP_UI=true App Service setting is missing.

Linked issue

Fixes #1362
Fixes #1364
Refs #1361, #1363, #1365, #1366

Release Notes & Latest Features

  • New Feature
  • Bug Fix
  • UI Enhancement
  • Breaking Change
  • Internal only

Is this visible to end users?

  • Yes
  • No

Is this admin-facing (Admin Settings, governance, deployment, config)?

  • Yes
  • No

Should this become a Latest Feature card?

  • Yes
  • No
  • Already added

Screenshot needed for the card?

  • Yes
  • No
  • Attached

Version bump

  • application/single_app/config.py VERSION third segment bumped, or not needed because this is docs-only
  • deployers/version.txt bumped, or not needed because deployers/ was not changed

Testing / validation

Documentation

  • Release notes updated, or not needed
  • Feature documentation updated, or not needed
  • Fix documentation updated, or not needed

Security checklist

  • New Flask routes include @swagger_route(security=get_auth_security()), or not applicable because this is a branch promotion PR
  • Settings sent to non-admin frontends use sanitize_settings_for_user(), or not applicable because this is a branch promotion PR
  • Browser JavaScript is served from local SimpleChat static assets only; no CDN-hosted JS
  • No secrets, keys, connection strings, or local-only artifacts are included

Copilot AI and others added 11 commits August 26, 2026 14:32
Markdown was the only ingestion path with no maximum chunk size. The
post-processing loop in process_md only merged chunks that were too small, so a
heading section with no nested subheading became one arbitrarily large chunk that
was sent to the embedding endpoint whole, exceeding the model context window and
failing the entire document upload.

Cap each header section by word count before merging, apply a character backstop
after merging, and clamp the embedding input as a last resort in save_chunks
while still storing the full chunk text.

Also make the chunk size cap unit-aware. It previously returned context_window*2
and was applied blind to word, character, and page units, which allowed a word
field to be set to 16,384 words and derived a ~59,000 character image merge
budget, both far past what can embed.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Add the fix write-up, release notes entries for v0.261.002, and rewrite the
Chunk Sizes section and Markdown row in the admin Knowledge page so they
describe the actual behavior and the per-unit caps.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…-limit

Bound Markdown chunks to the embedding token limit
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…admin-message

Show inbound MCP disabled UI guidance
Promote Development to Staging for v0.261.002
@Bionic711
Bionic711 marked this pull request as ready for review August 28, 2026 12:01
@Bionic711
Bionic711 merged commit 65e5f6a into main Aug 28, 2026
8 of 10 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.

Show Inbound MCP enablement guidance when MCP UI is disabled Fix delegated governance New Policy modal on split tabs

4 participants