Skip to content

feat(mecatui): restore session status metrics - #1891

Merged
jbeda merged 17 commits into
mainfrom
impl/resumable-session-status-metrics
Sep 25, 2026
Merged

jbeda merged 17 commits into
mainfrom
impl/resumable-session-status-metrics

Conversation

@jbeda

@jbeda jbeda commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • persist latest context occupancy for every session kind and project it through gRPC and HTTP session snapshots
  • restore usage, context window, occupancy, and estimate state on Mecatui resume and guarded /sessions adoption
  • preserve live fallback-estimate markers through additive TurnEnd.estimated
  • add store atomicity, RPC, and exact/latest-resume coverage

Contract

  • Stage: Implementation
  • Plan / Interface PR: docs: plan resumable session status metrics #1839
  • Approved baseline: 19843a91f0f45dc1dd2cfdbb5595dd5d42270396
  • Interfaces match approved contract: Yes
  • The user authorized the direct amendment for additive TurnEnd.estimated, HTTP parity, strengthened boundary tests, and Mecatui presence-state cleanup. No unapproved implementation deviation occurred.

Verification

  • task lint
  • task test:race
  • task docs
  • task api:check
  • go run ./cmd/mecademo
  • task ac-trace-strict
  • Panel review: no ship blockers after repairs; the optional old/new TurnEnd.estimated compatibility regression test was explicitly declined.

Closes #1822

jbeda and others added 17 commits September 25, 2026 12:53
Co-Authored-By: mecatl <noreply@mecatl.dev>
Co-Authored-By: mecatl <noreply@mecatl.dev>
Co-Authored-By: OpenAI <noreply@openai.com>
Co-Authored-By: Mecatl <noreply@mecatl.dev>
Co-Authored-By: mecatl <noreply@mecatl.dev>
Co-Authored-By: GPT-5.6 <noreply@openai.com>
Co-Authored-By: mecatl <noreply@mecatl.dev>
Co-Authored-By: mecatl <noreply@mecatl.dev>
Co-Authored-By: GPT-5.6 Terra <noreply@openai.com>
Co-Authored-By: mecatl <noreply@mecatl.dev>
Co-Authored-By: mecatl <noreply@mecatl.dev>
Co-Authored-By: mecatl <noreply@mecatl.dev>
Co-Authored-By: mecatl <noreply@mecatl.dev>
Co-Authored-By: mecatl <noreply@mecatl.dev>
Co-Authored-By: mecatl <noreply@stacklok.com>
Co-Authored-By: mecatl <noreply@mecatl.dev>
Co-Authored-By: mecatl <noreply@mecatl.dev>
@jbeda
jbeda force-pushed the impl/resumable-session-status-metrics branch from 855e9cb to 20321c9 Compare September 25, 2026 20:01
@jbeda
jbeda merged commit 851b437 into main Sep 25, 2026
38 checks passed
@jbeda
jbeda deleted the impl/resumable-session-status-metrics branch September 25, 2026 20:44
jbeda added a commit that referenced this pull request Sep 25, 2026
…mit-coauthor-guidance

* origin/main: (32 commits)
  docs: plan optional native Kubernetes execution provider (#1579)
  feat(mecatui): restore session status metrics (#1891)
  docs(plan): bound agent inventory viewport (#1946)
  docs: include user-docs in matlatl and use local documentation links (#1934)
  feat(mecatui): bound sessions inventory (#1944)
  feat(studio): show session delegation activity (#1907)
  docs(plan): define Studio session activity (#1885)
  Release TypeScript SDK v0.4.0 (#1940)
  Release v0.0.41 (#1941)
  docs(mecatui): plan bounded sessions inventory (#1906)
  feat(studio): add exact plan control and authorization review prerequisite (#1909)
  test(app): eliminate real ToolHive probe deadline wait (#1937)
  docs(plan): define Studio chat approvals and exact plan control (#1888)
  test(sdk): enforce SDK/TUI high-level parity (#1471) (#1917)
  docs(plan): propose SDK high-level parity coverage (#1471) (#1916)
  docs: improve gRPC schema table readability (#1842)
  test(app): eliminate real waits in durable learning tests (#1933)
  feat(studio): align chat transcript and composer (#1886)
  docs(plan): define Studio chat transcript and composer (#1880)
  feat: correlate provider requests with the root session (#1883)
  ...
This was referenced Sep 29, 2026
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.

mecatui: context and token counters are not restored on session resume

1 participant