Repository navigation
docs(mcpx-15959): session lifecycle identity, release vs termination contract - #15966
Conversation
…contract Defines the #1931 session-operation contract: leasing vs plugin vs upstream sessions, stable identity as the daemon lease key, release (detach, stop idle caller-owned only) vs kill (force-end held owned), safe terminate API shape, and the next slice (session_resume) with oracle. Docs-only, no runtime changes.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Lane 0037-K (alpha DRIVE open-PR sweep) — NOT merged, gate-hold at head 1e04da9. Verified via gh CLI only (no clones): claim-scan clean (lane-log + comments; sole comment is CodeRabbit skip); body + ALL comments + full diff read — docs-only, 3 files +169/-1 (pkgs/mcpx/docs/session-lifecycle.md + SUMMARY + compendium manifest), matches body. Docs-only content gate passes on read-through. Blocker: fresh re-reads via Unblock: rebase/resolve the branch onto current main and push a new head; on a CLEAN/MERGEABLE new head the docs-only read-through gate can land it immediately. Key: 0037-K |
…(1037-H rebase-equivalent) SUMMARY.md: keep main's daemon-auth/record-and-replay/script-generate entries, add session-lifecycle line after Scripts. compendium.manifest.json: keep all main entries, add docs/session-lifecycle.md entry before docs/worker.md, SUMMARY lines 105->106 (the PR's own delta).
…(1037-H rebase-equivalent) SUMMARY.md: keep main's daemon-auth/record-and-replay/script-generate entries, add session-lifecycle line after Scripts. compendium.manifest.json: keep all main entries, add docs/session-lifecycle.md entry before docs/worker.md, SUMMARY lines 105->106 (the PR's own delta).
…olve docs conflict (lane 1037-H, Git-API merge) Conflict was in pkgs/mcpx/docs/SUMMARY.md (both sides inserted after the Scripts entry) and pkgs/mcpx/docs/compendium.manifest.json (adjacent entry insertions). Resolution keeps all main entries (daemon-auth, record-and-replay, script-generate, adapters, changes fragment) and the PR's session-lifecycle SUMMARY line + manifest entry (before docs/worker.md) with SUMMARY lines 105->106. Tree = main tree + the PR's three docs files as resolved.
|
Lane 1037-H (alpha DRIVE author lane): conflict resolved via Git-API merge — this PR is CLEAN/MERGEABLE again. Exact conflict (three-way vs merge-base 6fd30c9): |
…1137-M) Git-API merge commit (PR #15966 pattern): parents = current main a8bd3c5 + PR head 1eca8a9. Tree = main tree with the four PR files resolved: work-projection.ts and its test take the head versions (unchanged on main since merge-base); work-mobile-views.ts and its test are a 3-way merge (F1 updatedAtOf/orderRefs/recencyOf + recent/cold_backlog cases in, main's later changes preserved, compareGroupRefs removed as orderRefs replaces it at every call site).
…ane 1137-M) Git-API merge commit (PR #15966 pattern): parents = main 7d2e159 (which now contains F1 #16317) + PR head 1ed9a66. Tree = main tree with the four PR files 3-way resolved: work-projection.ts gains the github_labels lines beside F1's github_updated_at lines; work-mobile-views.ts gains labelsOf, the needs_triage view guard and switch case while keeping F1's updatedAtOf/orderRefs/recencyOf; both test files are the union of the F1 and F2 suites.
Contract for #1931 session ops (child of #15959, umbrella #1931).
Registry.leases), owned keys viaCallerOwned.session_killsemantics.session_resumewith acceptance + oracle (TestResumeReacquiresReleasedHandleWithoutResurrectingKilled).Docs-only:
pkgs/mcpx/docs/session-lifecycle.md+ SUMMARY + compendium manifest. No runtime changes.Verified:
go test ./internal/settings -run TestEveryDocumentHasAChapter, pool kill/release tests, daemon kill tests.Closes #15959
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-27T06:36:39Z", "session_id": "ses_e5de4b1df6effeMc2ZkZjFquiw", "lane": null, "host": "amd", "worktree": "/home/user/git/code", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/git/code", "repo": "developing-today/code", "branch": "docs-15959-session-lifecycle-contract", "sha": "1e04da91834099aa89bde6b561cd76a73c501ec2" }, "auth_subject": "agent-next-25-local", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.