Skip to content

Fix/session archive#883

Merged
qin-ctx merged 5 commits intomainfrom
fix/session_archive
Mar 23, 2026
Merged

Fix/session archive#883
qin-ctx merged 5 commits intomainfrom
fix/session_archive

Conversation

@myysy
Copy link
Collaborator

@myysy myysy commented Mar 23, 2026

Description

This branch ( fix/session_archive ) adds session-as-context semantic enqueueing and processing : after Session/Archive writes .abstract.md / .overview.md , it enqueues a SemanticQueue message ( context_type=session ). On the consumer side, SemanticProcessor adds a context_type=session handling path.

Related Issue

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Changes Made

  • Session: removed “enqueue semantic processing” from commit_async ; instead enqueue after _write_to_agfs_async and _write_archive_async , using context_type="session" , recursive=False , and allow_create=True when fetching the semantic queue ( session.py )
  • SemanticProcessor: added context_type == "session" branch and _process_session_directory to read existing .overview.md/.abstract.md and then vectorize ( semantic_processor.py )

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • Linux
    • macOS
    • Windows

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

myysy added 3 commits March 23, 2026 10:58
implement session directory processing in semantic processor
move semantic enqueue to archive and write operations
add tests for session semantic processing and enqueue
@github-actions
Copy link

Failed to generate code suggestions for PR

Improve code readability by maintaining consistent vertical spacing around __getattr__ function definitions in module initialization files
@qin-ctx qin-ctx self-assigned this Mar 23, 2026
Session directories are now processed as memory directories, so the special handling for session context type is no longer needed. This simplifies the semantic processing pipeline by removing redundant code and tests.
@qin-ctx qin-ctx merged commit 78412bd into main Mar 23, 2026
6 checks passed
@qin-ctx qin-ctx deleted the fix/session_archive branch March 23, 2026 05:58
@github-project-automation github-project-automation bot moved this from Backlog to Done in OpenViking project Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants