Skip to content

fix: improve cache baseline reuse across derived agent sessions#1040

Merged
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:main
Jun 2, 2026
Merged

fix: improve cache baseline reuse across derived agent sessions#1040
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:main

Conversation

@wsp1911
Copy link
Copy Markdown
Collaborator

@wsp1911 wsp1911 commented Jun 2, 2026

  • persist skill-agent baseline override snapshots under session snapshots
    and load them during request assembly
  • seed forked subagents and /btw child sessions with split listing baselines
    so prompt/listing prefix reuse and later listing diffs use the correct
    baselines
  • copy skill-agent baseline override snapshots during session branching
    and rebuild override state when listing baselines are rebuilt
  • allow direct persisted metadata lookups for hidden sessions and persist
    subagent sessionKind in frontend session metadata
  • add regression coverage for override persistence, branch copying, and /btw
    baseline seeding
  • document model cache reuse and the cache-friendly message structure

- persist skill-agent baseline override snapshots under session snapshots
  and load them during request assembly
- seed forked subagents and /btw child sessions with split listing baselines
  so prompt/listing prefix reuse and later listing diffs use the correct
  baselines
- copy skill-agent baseline override snapshots during session branching
  and rebuild override state when listing baselines are rebuilt
- allow direct persisted metadata lookups for hidden sessions and persist
  subagent sessionKind in frontend session metadata
- add regression coverage for override persistence, branch copying, and /btw
  baseline seeding
- document model cache reuse and the cache-friendly message structure
@wsp1911 wsp1911 merged commit 65eff1e into GCWing:main Jun 2, 2026
4 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.

1 participant