feat(advisor): archive consults for review - #384
Merged
Conversation
astyfx
requested review from
dodonmountain and
heath-s
and removed request for
a team
August 21, 2026 04:36
astyfx
enabled auto-merge (squash)
August 21, 2026 04:36
|
| Commit | Scanned at | New | Resolved | Net |
|---|---|---|---|---|
44db583 < |
2026-08-21 04:37 UTC | 0 | 0 | 0 |
Last scanned: 44db583 · 2026-08-21 04:37 UTC
|
| Commit | Scanned at | New | Resolved | Net |
|---|---|---|---|---|
44db583 < |
2026-08-21 04:37 UTC | 0 | 0 | 0 |
Last scanned: 44db583 · 2026-08-21 04:37 UTC
This was referenced Aug 21, 2026
Merged
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.
Background
On-demand Advisor consults were transient: each task retained only one exchange snapshot, the floating card hid automatically, and the question and response were lost after the session state changed. This made it impossible to review multiple consults from a turn or record whether the advice was useful.
Scope
This is intentionally session-only. No provider event, IPC contract, or persistence schema was added.
Verification
bun run test:cipassed, including license, reliability, documentation-path, max-lines, switch-exhaustiveness, and typecheck gates.git diff --checkpassed.Known limitations and rollback
consultIndex; entries are keyed by exchange identity where available.44db583f; no data migration is required.Breaking changes
None.
Follow-up validation
The authenticated live-app flow still needs a manual check: perform two consults in one turn, allow the floating card to hide, then reopen the complete log from both entry points.