Emit optional session catalog hints after native saves - #367
Draft
Brian Krabach (bkrabach) wants to merge 1 commit into
Draft
Brian Krabach (bkrabach) wants to merge 1 commit into
Brian Krabach (bkrabach) wants to merge 1 commit into
Conversation
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.
Sessions saved outside a running host otherwise wait for a catalog metadata scan to become discoverable. Add an optional, location-only notice after successful native saves and metadata changes so a separate catalog can index the changed session promptly.
The writer is disabled by default. Setting
AMPLIFIER_SESSION_CATALOG_HINT_DIRECTORYenables a private POSIX inbox: atomic notices coalesce by session directory, contain no transcript/event/metadata payload, and cannot turn successful native persistence into an error. No catalog dependency or background process is added to the CLI. Native history, backups, resume IDs and fork semantics remain unchanged; periodic catalog scanning repairs missed notices. The independently implemented consumer uses the publicamplifier-session-cataloghint contract.Validation:
The test environment uses the CLI's frozen dependency graph (Foundation
89575c3482e3e8afe5a03df72e723cf815fa1f6c, Core1.6.1), not a claim of current-main runtime adoption. The normal suite was run with a color-capable test terminal (NO_COLORunset,TERM=xterm-256color) for the unchanged ANSI-rendering tests. No model calls, credentials or production services were used.