chore: sync main into staging - #247
Closed
EricNGOntos wants to merge 6 commits into
Closed
Conversation
#236) When last_context (the preceding markdown text) is very long, the generated image filename exceeds the OS 255-byte limit and os.rename fails with OSError ENAMETOOLONG. Truncate to 60 chars after sanitization.
* fix: share one 80-char cap for image and table asset filenames Unify the post-#236 image context truncate with table header naming so cosmetic asset stems use a single MAX_ASSET_FILE_NAME_CHARS constant. Co-authored-by: Cursor <cursoragent@cursor.com> * fix: handle None from path_handle before truncating image titles Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
Dashboard still sends result_mode in job creation requests but the API removed it. Add to _PUBLIC_COMPATIBILITY_EXTRA_FIELDS so it's silently ignored instead of rejecting the whole request with 400.
- Added DOC_PROFILE_FILENAME to persist anatomy map artifacts for better debugging. - Updated hierarchy_locator to retain original TOC headings while normalizing titles. - Introduced TOC_VLM_MAX_TOKENS for consistent token limits in VLM calls. - Refactored rendering logic in extract_toc_with_boundaries to handle multiple pages. - Improved evidence extraction from confirmation items in VLM processing. - Adjusted zip package writer to conditionally include TOC hierarchies based on parse track.
- Removed the obsolete 'verdict_now' action, consolidating decision-making under 'tool_call'. - Updated prompts and instructions to clarify the executor's role in handling actions and verdicts. - Enhanced the handling of legacy actions to ensure compatibility with the new decision structure. - Refactored the logic in the executor to enforce 'tool_call' as the only valid action, improving clarity and maintainability. - Adjusted the planner's behavior to treat 'verdict_now' as a non-finish signal, delegating success/abort handling to the executor.
refactor: document-agent profile protocol and TOC boundary tools
Contributor
Author
|
Opened by mistake; intended sync was local budget WIP on feat/wuchengke/2026-08-09, not main→staging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
Made with Cursor