paperclip/packages
Solved Bot cb6294ec02 feat(heartbeat): ADR-0044 session lifecycle T1/T2/T3/T4 for claude_local
Implements ADR-0044 «Heartbeat session lifecycle» (SOL-1629).

- SessionCompactionPolicy gains maxCachedInputTokens (T1),
  rotateOnZeroOpenIssues (T3) and rotateOnNewIssueWake (T4).
- claude_local adapter ships with T1=500_000, T2=6h, T3+T4 enabled by
  default. Per-agent overrides (CEO/CoS/Analyst T1=1M / T2=12h)
  continue to flow through runtimeConfig.heartbeat.sessionCompaction.
- evaluateSessionCompaction now considers cache_read_input_tokens
  (the actual cost signal under Anthropic prompt caching) and the
  state-triggered rotations described in ADR-0044.
- Extracted a pure decideSessionCompactionTrigger helper so the
  decision rule is unit-testable without a database.
- usageJson now records freshSessionTriggeredBy for retrospective
  tuning per ADR-0044 §Acceptance criteria.
- countOpenIssuesForAgent helper added inline in heartbeat service.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-12 10:47:43 +02:00
..
adapter-utils feat(heartbeat): ADR-0044 session lifecycle T1/T2/T3/T4 for claude_local 2026-09-12 10:47:43 +02:00
adapters fix: reliably interrupt and resume legacy message queues (#13275) 2026-09-11 18:26:59 -05:00
db fix: protect starting runs during overlapping deployments (#13285) 2026-09-11 16:55:44 -07:00
google-sheets-mcp-server chore(deps-dev): bump vitest from 4.1.10 to 4.1.11 (#12262) 2026-09-03 15:16:02 -07:00
kv-demo-mcp-server chore(deps-dev): bump vitest from 4.1.10 to 4.1.11 (#12262) 2026-09-03 15:16:02 -07:00
mcp-server chore(deps-dev): bump vitest from 4.1.10 to 4.1.11 (#12262) 2026-09-03 15:16:02 -07:00
paperclip-eval-kernel feat(runner): add offline evaluation tooling (#12653) 2026-09-01 05:19:47 -05:00
paperclip-runner test: remove cold executable reads from runner integrity deadlines (#13301) 2026-09-11 17:39:57 -07:00
plugins fix: continue conversations after confirmed remote runner stop (#13254) 2026-09-11 15:18:37 -05:00
shared fix: resume saved user messages after execution recovery (#13270) 2026-09-11 17:12:55 -05:00
skills-catalog fix: recover legacy Daytona startup failures from task and inbox (#13272) 2026-09-11 18:08:14 -05:00
tailscale-https-broker chore(deps-dev): bump vitest from 4.1.10 to 4.1.11 (#12262) 2026-09-03 15:16:02 -07:00
teams-catalog fix(build): enforce Node 24 across Paperclip (#11792) 2026-08-21 10:17:52 -07:00