Skip to content

feat(hooks): report background work on the done report - #112

Merged
omartelo merged 1 commit into
mainfrom
feat/report-background-work
Nov 23, 2026
Merged

omartelo merged 1 commit into
mainfrom
feat/report-background-work

Conversation

@omartelo

Copy link
Copy Markdown
Collaborator

A turn that ends with a background command or subagent still running now sends background: true on done, so lich holds a worker's answer until the turn the work's end starts (lich bb6c4a07, docs/hooks/session-state.md).

  • Claude Code: a background_tasks entry with status: running on Stop/StopFailure (measured on 2.1.330).
  • Antigravity: fullyIdle: false on Stop (measured on 1.5.15: false with a background sleep running, true on the turn its end started).
  • Other harnesses: nothing new.

session-state.jsonl is read at lich bb6c4a07, in no release yet, following refresh-fixtures.sh's pattern for unreleased contracts. Contract change: ships as 0.23.0 (Unreleased: "Needs the lich that understands background work"). No tag here.

A turn that ends with a background command or subagent still running sends
`background: true` on `done`, so lich holds a worker's answer until the turn
the work's end starts. Claude Code's Stop names the work in background_tasks
(measured on 2.1.330), Antigravity's in fullyIdle false (measured on 1.5.15).
session-state.jsonl is read at lich bb6c4a07, in no release yet.
@omartelo
omartelo merged commit b85c47f into main Nov 23, 2026
2 checks passed
@omartelo omartelo mentioned this pull request Nov 23, 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.

1 participant