Skip to content

refactor(daemon): bind session authority to one lifetime - #4983

Merged
thymikee merged 7 commits into
0.22from
refactor/0.22-lifetime-authority
Nov 23, 2026
Merged

thymikee merged 7 commits into
0.22from
refactor/0.22-lifetime-authority

Conversation

@thymikee

@thymikee thymikee commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Summary

Implements ADR 0040 step 1. App open, record, and snapshot bind the admitted lease when they create a lifetime, removing in-place lease attachment. Script revisions commit under the lifetime lock, removing the late address reread. Their receipt carries forward to #4970. Replay checks attempt authority at lock acquisition, recording start, capture, snapshot publication, and cleanup.

Before / after

  • Leased open could adopt a live unleased session. It now returns LEASE_SESSION_MISMATCH before launch. Conflicting lease labels also refuse before launch.
  • A queued canceled replay could pin the session opened ahead of it. Cleanup now uses only the lifetime the active attempt acquired or published.
  • A timed-out replay could skip video finalization. It now keeps the original recording through the tail and returns its export when replay settles in that window.

Value

Raw sessionStore reads outside owners fell from 197 to 195. CI rejects increases. Direct store publishers fell from 3 to 1. The 459 net runtime and tooling lines cover three creation paths, replay locking and cancellation, and the CI ratchet.

Validation

At 5eb2f4c719, all 22 hosted checks passed or skipped by design. Targeted Vitest, eager closure, and the full local affected gate passed.

On Android 16, the branch CLI ran test recording-timeout.ad --record-video --json with timeout=15000 and wait 30000. Two runs stopped and exported before return. The initial stop returned UNKNOWN and cleanup exported a playable MP4 that the suite omitted. Suite JSON excerpt with relative artifact paths and the file check follows.

{
  "sha": "5eb2f4c719910b0e86ea30e0483acbae0f9066de",
  "cliExitCode": 1,
  "data": {
    "failed": 1,
    "tests": [
      {
        "status": "failed",
        "attempts": 1,
        "error": {
          "code": "COMMAND_FAILED",
          "message": "TIMEOUT after 15000ms",
          "details": {
            "reason": "timeout",
            "timeoutMs": 15000,
            "timeoutMode": "cooperative",
            "artifactPaths": [
              "attempt-1/replay-timing.ndjson",
              "attempt-1/recording.mp4",
              "attempt-1/recording.gesture-telemetry.json"
            ]
          }
        }
      }
    ]
  },
  "fileCheck": {
    "path": "attempt-1/recording.mp4",
    "bytes": 712717,
    "existedAtReturn": true
  }
}

Closes #4965


See it in action
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff Turn on auto-fix

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Size Report

Metric Base Current Diff
Installed (including dependencies) 4.97 MB 4.98 MB +4.9 kB
Package (unpacked) 4.97 MB 4.98 MB +4.9 kB
Package (download) 1.51 MB 1.52 MB +2.0 kB

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 22.3 ms 26.2 ms +4.0 ms
CLI --help 43.5 ms 49.6 ms +6.1 ms

@apex-sentinel-staging

This comment has been minimized.

@apex-sentinel-staging apex-sentinel-staging Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apex Sentinel: 2 new findings on cd1b5cb. The verdict and the full list are in the summary comment.

@apex-sentinel-staging

This comment has been minimized.

@thymikee

Copy link
Copy Markdown
Member Author

Review of cf99785: the session lifetime change has five cancellation problems, and hosted checks are green with no conflicts. The first four listed below are in the replay and timeout paths, and the fifth is in snapshot.

A second independent pass found that a direct suite attempt can be canceled while it waits in the session lock queue, and still enter (session-replay-command.ts:166). A request ahead in the queue can publish a same-owner lifetime at the attempt address. The attempt's finally block then pins it at line 177, and the late cleanup scheduled at session-test-runtime.ts:137 closes a session the attempt never ran on. The rule: lock acquisition must observe the attempt signal before the first pin, and cleanup may only close a lifetime that was acquired or published while the attempt was active.

A second independent pass found that with video enabled, an attempt that times out while recording start awaits its runtime binding can still start native recording (record-runtime.ts:282). The attempt check in session-replay-video-owner.ts:68 only reaches adoption at line 307, after screenRecordingStart. The Android recorder checks the suite's bound signal, and that signal stays live on an attempt timeout. The rule: the attempt signal must bind the start operation, and the existing cancellation check must run immediately before screenRecordingStart, with the adoption check kept for starts already in flight.

A second independent pass found that a suite can return before a requested video is exported when an attempt times out during recording (session-replay-command.ts:186). On base 9c40d42 the video finalizer sees the active recording and holds the response through the three-second tail, so a late close can export it. At this head the finalize reader sees no completed ref yet, and session-replay-video-recording.ts:98 skips the tail and the stop. The rule: the original recording lifetime must keep finalization pending through the existing tail window, and the stop and late close must run under that lifetime's lock. An export that settles inside the window must then be ready before the suite returns.

A second independent pass found that a replay capture can write session state after cancellation (internal-observation.ts:41). The WebDriver XCTest path can await a module load after its last abort check at webdriver-interactor.ts:306. The capture helper then records timing and clears freshness at snapshot-capture.ts:140 and line 97 without a cancellation check. Standalone replay passes no isActive predicate at session-replay-command.ts:85, so the store callback replaces the operational snapshot even with an aborted signal. The rule: every post-capture session mutation, including observation.store for standalone replay, must check the captured signal or coordinator authority first.

A second independent pass found that an existing-session snapshot can publish a new ref frame after the owner cancels it (snapshot-command-runtime.ts:170). The command runtime still calls sessions.set at snapshot.ts:111. The existing-ref branch then replaces the stored tree and activates the ref frame at line 190, and only the first-publication branch checks cancellation. Diff and audit use the same unchecked write. The rule: the shared snapshot setRecord boundary must check the request's live lifetime authority before either branch writes, and must recheck it before recording the action after any awaited response work.

Simplicity question: could SessionCoordinator own one entry point, withLifetime(req, ref | address, task)? It would mint the AuthorizedSession (or an open slot when no ref exists), set the active flag, carry the script-publication commit, and revoke in finally. The router would call it in place of withSessionScriptPublication, and replay runAttempt would call it per attempt and hand AuthorizedSession.current() to capture, video, and cleanup. That deletes sessionAuthorityActive and onSessionPublished from DaemonRequest.internal, the fail-open default in reserve(), and the replay attempts map with its running/completed helpers. Size stays about the same, with one owner instead of three. Nothing has to change first, so it can land here or as the first change of ADR 0040 step 2 (#4966).

Not blocking, and these can be taken or left: the replay test handler at session-replay-command.ts:122 rebuilds lifetime state beside SessionCoordinator (covered by the question above, and fine as a follow-up issue); the same-owner open check runs both in request-execution-scope.ts:724 (matching scope.command === 'open') and in requireOpenSessionAdmission, so keeping it in the handler or using a descriptor trait would avoid the command-name match; sessionRef?: SessionRef in session-close.ts:441 is unused, and the new imports in session-idle-activity.test.ts sit above the file doc comment; scripts/layering/session-store-reads.ts:31 compares against origin/main's merge base without SESSION_STORE_READ_BASE, so local runs on the 0.22 branch measure the wrong base, and it only counts receivers named sessionStore; record() in session-replay-video-owner.ts:56 returns success for phase start when no ref exists, so a canceled attempt sleeps the 1 s preroll and a typed NO_ACTIVE_SESSION or cancellation failure would be clearer; cleanup at session-replay-command.ts:236 can still throw if another request holds a same-host device lock past three retries, and extending the retry to the request deadline would cover it if it shows up; and the PR body's Validation section still says hosted checks and independent review are pending, while all hosted checks are now green.

Both open inline threads no longer apply and can be resolved: the lease-field comparison thread is covered at this head by assertSameOpenOwner calling assertRequestPresentsLease over all lease fields, with four label regression cases added (#4983 (comment)), and the cleanup lock thread is covered by cleanup retrying lock-busy within the request budget and re-checking the pinned lifetime under the lock, with the main path marking an infrastructure failure on exhaustion (#4983 (comment)).

All 23 checks at cf99785 pass or skip by design. The cancelled Body rules job came from the body-edit concurrency rule, and the later run 45066420187 passes. There are no conflicts.

Not verified here: tests were not run locally, and regression validity was judged from the diff and the base code, where the leased-reopen, snapshot-only-binding, and record-only-binding tests would fail. The iOS, macOS, and Android smoke jobs run agent-device test replays on real simulators and devices, which covers attempt open, nested steps under the re-entrant attempt lock, and cleanup. Not verified here: that the impact selector ran the replay step, though job durations suggest it did. Neither --record-video nor timeout-late-cleanup is exercised live. Not verified here: whether lease heartbeats still take the daemon request lock, which ADR 0007's edited sentence no longer mentions, and whether batch or replay outer responses lose a script revision when a nested step creates the session.

Before merge, the five cancellation problems above need fixes, plus a live run of a timed-out agent-device test with --record-video that reaches the recording-active state and shows the video exported before the suite returns. The Validation section of the PR body also needs the green hosted run.

@thymikee

Copy link
Copy Markdown
Member Author

Live --record-video timeout check at 5eb2f4c719, run with the branch CLI (node bin/agent-device.mjs test) on an iOS 26.2 simulator, with an isolated AGENT_DEVICE_HOME and state dir. Flow: context platform=ios / open com.apple.Preferences / wait 30000.

Case Timeout Timing events Result
Timeout while recording start is still pending 8000 ms video_recording_start → attempt stop at 8.0 s → video_recording_start_failed → finalize 1 ms → cleanup 656 ms No native recording started after the timeout. No recording.mp4. No recordVideo process left.
Timeout during an active recording 15000 ms video_preroll_done at 1.7 s → attempt stop at 15.0 s → video_tail_start → video_recording_stop 3.5 s later → cleanup 669 ms recording.mp4 (903 KB) exported before the suite returned. No recorder left running.
Control: pass with video 30000 ms preroll, steps, tail, stop Passed. recording.mp4 (1.06 MB).

Observation: recording start on this simulator took between 1.7 s and 8.3 s across runs, so a short attempt timeout can land in either case. Both now settle cleanly.

@apex-sentinel-staging

This comment has been minimized.

@thymikee

Copy link
Copy Markdown
Member Author

The earlier findings from cf99785 (#4983 (comment)) are fixed in the code at 5eb2f4c. One required live run is still missing. All hosted checks at 5eb2f4c pass or skip by design, and the smoke jobs do not use --record-video or a timeout.

The delta changes the device-facing timeout path of agent-device test --record-video (https://github.com/callstack/agent-device/blob/5eb2f4c/packages/replay-test/src/internal/session-test-runtime.ts#L126). Attempt lock acquisition now takes a signal, recording start binds with the attempt scope, finalize runs before the late-cleanup decision, and stop waits for the attempt to leave its lock. No device evidence shows that native recording survives a timed-out attempt and exports before the suite returns. The unit test mocks the sleep and the recorder. Before merge, run agent-device test <flow> --record-video on a real iOS simulator or Android emulator. The flow needs a step that outlives timeout= but settles inside the 2 s grace plus the 3 s tail. The run counts if the suite JSON shows the attempt failed with a timeout, the attempt artifactPaths list attempt-N/recording.mp4, the file exists and is non-empty before the command returns, and timeout_cleanup_pending is absent. Please attach that output and the SHA to the PR body, and update the Validation line, which still predates the green checks.

Not blocking, take or leave: the new params.assertCurrent?.() in the finally block (https://github.com/callstack/agent-device/blob/5eb2f4c/packages/daemon/src/core/deferred-interaction-outcome.ts#L453) throws before clearSurfaceStabilization whenever the capture signal is aborted, so a wait --timeout shorter than the stability loop right after a gesture leaves the surface in 'stabilize' for the next command, while the comments at lines 406-408 and 422-425 still say the record is cleared. Either update those comments to say a canceled or revoked capture leaves the record for the next capture, or run only the authority half of assertCurrent there.

No open inline thread still applies. These two no longer apply, so they can be resolved: #4983 (comment) (fixed, assertSameOpenOwner now checks all lease fields) and #4983 (comment) (fixed, cleanup retries the busy lock within the request budget and rechecks the pinned lifetime).

Not verified here: tests were not run locally, and the nested-request paths that keep req.internal.onLifetimePublished were checked from the diff only.

@thymikee

Copy link
Copy Markdown
Member Author

The live run in the PR body covers what the review at 5eb2f4c asked for: on Android 16 at 5eb2f4c, test recording-timeout.ad --record-video timed out (reason: timeout, timeoutMs: 15000), the attempt's artifactPaths list attempt-1/recording.mp4, the file existed at return with 712,717 bytes, and timeout_cleanup_pending is absent. The Validation section now reflects the green hosted checks. Nothing else blocks this PR.

Optional, for clarity: the sentence "The initial stop returned UNKNOWN and cleanup exported a playable MP4 that the suite omitted" reads as if one run still lost the video; if it describes an earlier head, saying so would avoid confusion.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 22, 2026
… rules out

#4945 tests attached a lease to an open session. A session lifetime now keeps
its lease from creation, so trace writability no longer checks for a gained
lease, and tests of an unleased producer on a later-leased session go away.
@thymikee
thymikee force-pushed the refactor/0.22-lifetime-authority branch from 5eb2f4c to 739a315 Compare November 23, 2026 07:49
@thymikee thymikee removed the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 23, 2026
@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of 83af5b0

Since the review of 5eb2f4c: 3 new · 0 still open · 0 no longer raised

3 finding(s): 3 minor.

🟡 Minor (3)

Where Finding
packages/daemon/src/core/deferred-interaction-outcome.ts:452 🆕 assertCurrent in finally masks the real capture error and skips stabilization clear
scripts/layering/session-store-reads.ts:29 🆕 session-store-reads gate aborts with a raw git stack when the base ref is absent
packages/daemon/src/execution/internal-observation.ts:41 🆕 New authority-ended refusal throws a bare Error matched only by its text

Reviewed with this repository's own Sentinel configuration (a6642f37da2e).

💬 Talking to Sentinel

In a finding's thread, reply with:

Command What it does
@apex-sentinel-staging note <context> Adds context; Sentinel re-checks the cited code
@apex-sentinel-staging pivot <why> Says the finding is wrong; Sentinel re-checks the cited code
@apex-sentinel-staging like Marks the finding as useful
@apex-sentinel-staging dislike <why> Marks it as not useful, so it is not raised again

On this conversation, comment @apex-sentinel-staging review to run a full review once again.

@apex-sentinel-staging apex-sentinel-staging Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apex Sentinel: 3 new findings on 83af5b0. The verdict and the full list are in the summary comment.

Comment on lines 452 to 455
} finally {
params.assertCurrent?.();
clearSurfaceStabilization(session);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆕 🟡 Minor · assertCurrent in finally masks the real capture error and skips stabilization clear

A device or backend AppError from capture() that coincides with the session authority having ended will have the thrown cancellation from assertCurrent replace the real error (request_canceled / NO_ACTIVE_SESSION), discarding the device-side cause; clearSurfaceStabilization(session) is also skipped on that path. The assertCurrent call sits first in the finally block, so it throws regardless of whether the try block succeeded or failed. Run the assert only when the try block settled normally, or capture the pending error and prefer it.

Details

persona: javascript, maintainability

Useful? Reply @apex-sentinel-staging like, or @apex-sentinel-staging dislike <why> if it is not.

Reply @apex-sentinel-staging note ... to add context, or @apex-sentinel-staging pivot ... if it is wrong — I will re-check the cited code.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kept as is. The order is deliberate: when the session authority ended during a capture, the request is canceled, and a canceled request must not change session state. Clearing stabilization first would let a stale request mutate the next lifetime. snapshot-capture.test.ts ("a late canceled capture leaves timing and deferred stabilization unchanged") pins this; it fails with the clear moved first. The cancellation replacing a device error is intended too: the device error is a result of the teardown, not its cause.

Comment on lines +29 to +36

const base = execFileSync(
'git',
['merge-base', process.env['SESSION_STORE_READ_BASE'] || 'origin/main', 'HEAD'],
{ encoding: 'utf8' },
).trim();
const before = countReads(base);
const after = countReads();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆕 🟡 Minor · session-store-reads gate aborts with a raw git stack when the base ref is absent

Running pnpm check:layering in a fresh clone or worktree — or in CI when SESSION_STORE_READ_BASE names a base commit that the checkout does not contain — makes the new gate die with an uncaught execFileSync failure from git merge-base instead of a message, so the whole check:layering script fails for reasons unrelated to raw session reads. The script calls execFileSync('git', ['merge-base', env.SESSION_STORE_READ_BASE || 'origin/main', 'HEAD']) with no fallback: if origin/main (or the PR base sha) is not in the repository's object store, merge-base exits non-zero and the throw propagates. The repository instructions tell workers to run pnpm check in a new worktree, where origin/main and the PR base sha are not guaranteed to be fetched. Catch the failure (or fall back to counting only the HEAD side and reporting the base as unknown) so the ratchet degrades to a report instead of a crash.

Details

Also raised here

Also raised at this location by persona javascript: session-store-reads.ts aborts the whole layering gate when origin/main is absent — countReads handles git grep's "no matches" exit 1, but the git merge-base call in the same script has no such handling, so in a shallow clone or CI checkout without origin/main the script throws and check:layering fails on the gate script rather than on an invariant. Resolve the base defensively (the env var the workflow now sets) or wrap the merge-base in the same status check.

persona: javascript, senior-developer

Useful? Reply @apex-sentinel-staging like, or @apex-sentinel-staging dislike <why> if it is not.

Reply @apex-sentinel-staging note ... to add context, or @apex-sentinel-staging pivot ... if it is wrong — I will re-check the cited code.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 634e131. A missing merge base now prints No merge base with <ref>. Fetch it, or set SESSION_STORE_READ_BASE to a fetched base. and exits 1. It still fails rather than degrading to a report, because a ratchet without a base cannot check anything.

Comment on lines +41 to +46
store: (snapshot) => {
params.signal?.throwIfAborted();
if (params.isActive?.() === false)
throw new Error('Internal observation authority has ended.');
return storeInternalObservation(params, snapshot);
},

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆕 🟡 Minor · New authority-ended refusal throws a bare Error matched only by its text

The new store guard in bindInternalObservationAuthority throws new Error('Internal observation authority has ended.') when isActive returns false; the only way for a caller, log reader, or test to distinguish this refusal from any other generic failure is the message string. Every other refusal on the same path uses a typed error (AppError with a reason, or createRequestCanceledError() via assertSessionAuthorityActive). Same shape in session-store.ts: TypeError('Session slot has already published') and TypeError('Session authority is no longer active') use TypeError for runtime lifetime state rather than a typed reason.

Suggested change
store: (snapshot) => {
params.signal?.throwIfAborted();
if (params.isActive?.() === false)
throw new Error('Internal observation authority has ended.');
return storeInternalObservation(params, snapshot);
},
if (params.isActive?.() === false)
throw new AppError('UNAUTHORIZED', 'Internal observation authority has ended.', {
reason: 'session_authority_ended',
});

Suggested change

Throw an AppError with a typed code and a reason detail (for example reason 'session_authority_ended') instead of a bare Error/TypeError, so the replay cleanup and tests branch on the reason rather than the text.

Details

persona: maintainability

Useful? Reply @apex-sentinel-staging like, or @apex-sentinel-staging dislike <why> if it is not.

Reply @apex-sentinel-staging note ... to add context, or @apex-sentinel-staging pivot ... if it is wrong — I will re-check the cited code.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 634e131. The observation guard and the two runtime-reachable SessionCoordinator checks (slot and authority no longer active) now throw createRequestCanceledError(), the same as assertSessionAuthorityActive. Session slot has already published stays a TypeError: it signals a programming error, not runtime state.

@thymikee

Copy link
Copy Markdown
Member Author

The PR is ready from the code side at 83af5b0. The earlier review at 5eb2f4c (#4983 (comment)) found nothing to fix, and the new commits keep that result.

Not blocking: in request-execution-scope.ts, the new leaseRegistrySessionExecutionLock sits between the doc block about the idle reaper and getLeaseRegistryExecutionLocks, so that doc block now describes the wrong function. Moving the new function above the doc block, or below getLeaseRegistryExecutionLocks, fixes it. You can take this or leave it.

The two earlier inline threads do not apply at this head, so they can be resolved: the session-store.ts one was fixed at cf99785 (#4983 (comment)), and the session-replay-command.ts one is outdated and was fixed at cf99785 (#4983 (comment)).

All 6 CI jobs that are not yet passing are still running at this head, not failed. They cover the changed code: Lint, Typecheck & Package checks the deleted update({lease}) test calls, Coverage runs the edited daemon tests, and the smoke jobs run the router with the refactored executeLockedRequest and lock construction. Not verified here: local test runs, including whether the shortened first screen fits the 30-line help test. The live run at 5eb2f4c was on the old base (9c40d42). The replay and recording commits are byte-identical in range-diff, so no re-run is needed.

There are no conflicts. Merge once the running CI jobs pass at 83af5b0.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 23, 2026
Name a missing merge base in the raw-read ratchet instead of a git stack.
@thymikee
thymikee merged commit 1dc09f3 into 0.22 Nov 23, 2026
21 of 22 checks passed
@thymikee
thymikee deleted the refactor/0.22-lifetime-authority branch November 23, 2026 08:13
thymikee added a commit that referenced this pull request Nov 23, 2026
* refactor(daemon): bind session authority to one lifetime

* chore(gates): ratchet raw session store reads

* fix(daemon): verify reopen lease claims and retry pinned cleanup

* fix(daemon): fence replay and snapshot cancellation by lifetime

* refactor(daemon): drop lease-change paths that a fixed lifetime lease rules out

its lease from creation, so trace writability no longer checks for a gained
lease, and tests of an unleased producer on a later-leased session go away.

* docs(help): keep the remote first screen within 30 lines

* fix(daemon): refuse ended session authority as a canceled request

Name a missing merge base in the raw-read ratchet instead of a git stack.
hannojg pushed a commit to hannojg/agent-device that referenced this pull request Nov 23, 2026
)

* refactor(daemon): bind session authority to one lifetime

* chore(gates): ratchet raw session store reads

* fix(daemon): verify reopen lease claims and retry pinned cleanup

* fix(daemon): fence replay and snapshot cancellation by lifetime

* refactor(daemon): drop lease-change paths that a fixed lifetime lease rules out

its lease from creation, so trace writability no longer checks for a gained
lease, and tests of an unleased producer on a later-leased session go away.

* docs(help): keep the remote first screen within 30 lines

* fix(daemon): refuse ended session authority as a canceled request

Name a missing merge base in the raw-read ratchet instead of a git stack.
thymikee added a commit that referenced this pull request Nov 24, 2026
* refactor(daemon): bind session authority to one lifetime

* chore(gates): ratchet raw session store reads

* fix(daemon): verify reopen lease claims and retry pinned cleanup

* fix(daemon): fence replay and snapshot cancellation by lifetime

* refactor(daemon): drop lease-change paths that a fixed lifetime lease rules out

its lease from creation, so trace writability no longer checks for a gained
lease, and tests of an unleased producer on a later-leased session go away.

* docs(help): keep the remote first screen within 30 lines

* fix(daemon): refuse ended session authority as a canceled request

Name a missing merge base in the raw-read ratchet instead of a git stack.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant