refactor(sessions): drop the Sqlite infix from session-accessor exports (#121536)

* refactor(sessions): drop the Sqlite infix from session-accessor exports

The storage-neutral seam completed its file->SQLite swap on 2026-07-27;
the Sqlite-infixed export names and their X-as-Y rename blocks were the
fossil of that migration, giving every accessor operation two greppable
names. Rename ~148 exports to their canonical names at the definition
sites, delete the message-cut facade (its conflict->failed mask had one
consumer, which already handles conflict), collapse the remaining pure
delegates, and keep honest SQLite-mechanics names (scope resolution,
canonical repair, in-transaction primitives, storage-row types). The main
barrel's exported surface is byte-identical. Net -203 production LOC.
Part 2 of the session-accessor dual-layer collapse (part 1: #121316).

* fix: repair main-breaking lint/type/test failures blocking PR CI

Three breakages landed on main that push CI's changed-scope never runs:
a caught-error cause missing in the release-validation script and two
type errors in the package-acceptance test (direct commit 1f591bba56),
and a memory-host regression where fs-safe 0.5.4 (#121508) started
throwing FsSafeError("not-file") for extra-path reads whose parent chain
hits a regular file, breaking the missing-file empty-text contract that
rejection unchanged.

Item 4 repairs managed-image action E2E narrowing from bad30d5a74 (#77017).
Item 5's chat-message mock repair was superseded upstream by 750d0dcd9e, whose broader fetch typing and explicit download capture preserve the same contract.
Item 6 restores #121258's cursor token contract after #77017 hard-coded pointer.
Item 7's managed-image thumbnail-path repair was superseded upstream by 750d0dcd9e, which preserves the same contract in main's reorganized URL structure.
Item 8 records #121600's explicit command-bearing lifecycle classification.
Item 9's cron assertion repair was superseded upstream by 3cd034f7a8, whose exact diagnostic rewrite includes the same redacted alert contract.
Item 10 forwards fs-safe 0.5.4 bigint lstat options through the snapshot mock.
Item 11 refreshes release-matrix test ownership after 1f591bba56.
Item 12 awaits f3e1efead48's setup-admission settlement in direct session tests.
Item 13's media FileStore-key repair was superseded upstream by cf432ec871, which fixes the same Windows root cause at the owner boundary.
Item 14 regenerates Swift approval reviewer fields added by 9935ca3b30.
This commit is contained in:
Peter Steinberger
2026-08-11 04:13:29 -07:00
committed by GitHub
parent 8327504c84
commit 992126e382
88 changed files with 1272 additions and 1438 deletions
@@ -115,6 +115,14 @@
"src/sessions/classify-session-kind.ts"
]
},
{
"name": "cleanupSessionLifecycleArtifacts",
"files": [
"src/config/sessions/session-accessor.sqlite-lifecycle.ts",
"src/plugin-sdk/session-store-runtime.ts"
],
"sdk": true
},
{
"name": "clearPluginRegistryLoadCache",
"files": [
@@ -748,6 +756,14 @@
"src/commands/gateway-status/helpers.ts"
]
},
{
"name": "patchSessionEntry",
"files": [
"src/config/sessions/session-accessor.sqlite-entry.ts",
"src/plugin-sdk/session-store-runtime.ts"
],
"sdk": true
},
{
"name": "pathExists",
"files": [
@@ -830,6 +846,14 @@
],
"sdk": true
},
{
"name": "readSessionUpdatedAt",
"files": [
"src/config/sessions/session-accessor.sqlite-entry.ts",
"src/plugin-sdk/session-store-runtime.ts"
],
"sdk": true
},
{
"name": "recordHookInstall",
"files": [
@@ -1200,6 +1224,14 @@
"src/plugins/update-installed.ts"
]
},
{
"name": "upsertSessionEntry",
"files": [
"src/config/sessions/session-accessor.sqlite-entry.ts",
"src/plugin-sdk/session-store-runtime.ts"
],
"sdk": true
},
{
"name": "VERSION",
"files": [
@@ -6,7 +6,7 @@
"src/agents/subagents/announce/subagent-announce.test-support.ts": 2,
"src/agents/tools/transcripts-tool.ts": 2,
"src/auto-reply/reply/commands-session-store.ts": 2,
"src/config/sessions/session-accessor.entry.ts": 2
"src/config/sessions/session-accessor.entry.ts": 1
},
"sessionAccessorWrite": {
"src/agents/subagents/spawn/subagent-spawn.test-helpers.ts": 1,
@@ -22,7 +22,6 @@
"src/agents/embedded-agent-runner/compaction-hooks.ts": 2,
"src/agents/embedded-agent-runner/thinking-replay-repair.ts": 2,
"src/agents/embedded-agent-runner/tool-result-truncation.ts": 2,
"src/config/sessions/session-accessor.sqlite-events.ts": 3,
"src/config/sessions/session-accessor.transcript.ts": 2
"src/config/sessions/session-accessor.sqlite-events.ts": 3
}
}