Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript
75.2 KB
Raw Blame

Refactor wave 1 porting guide

Refactor wave 1 is a behavior-preserving structural refactor: storage SQL moved to one implementation per domain, the migrations array became one file per migration, and the doctor, sync, serve-http, CLI, jobs, hybrid-search and autopilot god functions were split into modules. Nothing a user or downstream importer sees changed: every moved exported symbol is still importable from its old module (the façade rule in CLAUDE.md). What changed is where the code you edit lives. This page tells an open pull request how to follow it. The map below is generated from the AST (scripts/generate-wave-1-moves.ts); the machine-readable copy is wave-1-moves.json. Where a contribution goes today is in CONTRIBUTING.md, "Where does my change go?".

Base f8d1e3936d90, head 43a9e6b10075.

Landing window

  • Integration owner: the wave-1 PR author (ports upstream fixes into moved code until merge). Ports upstream fixes that land on master during the window into the moved code.
  • Freeze: target paths (the files in the map below and their new module directories) are frozen from when the wave-1 PR is marked ready for review to 72 hours after the wave-1 PR merges (revert-clean window). Only the integration owner merges into them.
  • Who can lift the freeze: the repository owner (@garrytan).
  • Hotfix lane: an urgent fix lands on master as usual. The integration owner ports it into the moved code within hours, reruns the W0 goldens and bun run verify, and notes the port in the wave PR.
  • After the merge: follow-ups on moved paths wait out a 72-hour revert-clean window; forward-fix is the primary rollback path.

Porting an open pull request

Rebase onto master. For each conflicting hunk, look up the symbol you edited in the map, apply the same edit at its new location, and let the old file keep only its façade. Then follow the recipe for the kind of change. Every recipe ends with bun run verify and the named tests.

Engine fix (a storage method)

If the method's domain is migrated (a migrated row in scripts/engine-sql-baseline.tsv), the SQL now lives once in src/core/engine-sql/<domain>.ts and both engines delegate to it. Apply the fix there once, not in pglite-engine.ts and postgres-engine.ts. Keep master's Postgres text byte for byte unless the fix changes SQL on purpose, then refresh the SQL-text golden (GBRAIN_TEST_UPDATE_GOLDENS=1 bun test --timeout=60000 test/engine-sql-sql-text.test.ts) and say why in the PR. Run bun test --timeout=60000 test/engine-sql-*.test.ts and the domain's parity E2E. If the domain is not migrated, fix both engines as before; a new SQL-bearing engine member fails check:engine-sql-ratchet.

Schema migration

MIGRATIONS is no longer an array you append to. Take your migration's body and run bun run new:migration <snake_name>; it scaffolds src/core/schema-migrations/v<NNN>-<name>.ts with the next free version and regenerates the registry. Paste the body into the scaffold. If master already took your number, renumber: git mv the file, edit version:, and run bun run build:schema-migrations. Never renumber a migration that already ran on retained data. Schema text for fresh installs goes in src/schema.sql (or its TS fragment), then bun run build:schema. Run bun test --timeout=60000 test/scripts/build-schema-migrations.test.ts test/migrate.test.ts.

Doctor check

buildChecks is a registry runner. A check you added inline now goes in a { name, emits, run } entry in the topic module under src/commands/doctor/checks/, listed in DOCTOR_CHECK_REGISTRY (src/commands/doctor/registry.ts) at the position its output should take, with every emitted name categorized in src/core/doctor-categories.ts. Run bun test --timeout=60000 test/doctor-registry.test.ts test/doctor-mode-matrix.serial.test.ts; refresh the registry and --json goldens deliberately if the output is meant to change.

CLI flag or command

The handleCliOnly switch became src/cli/command-table.ts plus one dispatch module per command in src/cli/commands/. A new command is one record plus its module; a new flag on an existing command is an edit to the command's implementation. Then bun run build:flag-registry and bun test --timeout=60000 test/cli-command-table.test.ts test/cli-flag-validation.test.ts. A new command changes the membership and dispatch goldens: regenerate them with GBRAIN_TEST_UPDATE_GOLDENS=1 and review the diff.

serve-http route

runServeHttp became buildServeHttpApp plus serve-http-<area>.ts modules, each exporting mount<Area>(app, ctx) over one shared ServeHttpContext. Put the route in the module for its area; an /admin route carries requireAdmin before its handler. Run bun test --timeout=60000 test/serve-http-admin-route-guard.test.ts test/serve-http-route-runtime-golden.test.ts and refresh the route goldens deliberately for a new route.

Sync closure

performSyncInner's closure lets became fields of the SyncRun object (src/commands/sync/sync-run.ts), and the body became phases under src/commands/sync/. Rewrite a read or write of a former local as run.<field> at each use; never destructure a mutable field or copy it into a local (check:sync-run-state). Checkpoint state changes only through a sync-run.ts function. Run bun test --timeout=60000 test/sync.test.ts test/sync-run-ordering.serial.test.ts.

Jobs handler

Built-in Minion handler bodies moved from src/commands/jobs.ts to one module each under src/core/minions/handlers/; registerBuiltinHandlers (still exported from jobs.ts) registers them in the same order. Apply the handler fix in its module. A new handler is a module plus one registration line, and changes test/fixtures/goldens/jobs/handler-registry.json (bun test --timeout=60000 test/jobs-handler-registry-golden.test.ts).

Hybrid search stage

hybridSearch and hybridSearchCached run as named stages under src/core/search/hybrid/ (request, arms, rank, cache stages, keyword-only, degraded). Apply the fix in the stage that owns the code. The deterministic output is pinned exactly: bun test --timeout=60000 test/hybrid-golden.test.ts. A retrieval change also needs gbrain eval replay.

Generated-file conflicts: regenerate, never hand-merge

Take either side of the conflict, then rerun the generator and commit its output:

File Command
src/core/schema-migrations/registry.generated.ts bun run build:schema-migrations
src/core/schema-embedded.generated.ts bun run build:schema
src/core/pglite-schema.generated.ts bun run build:schema
src/core/cli-flag-registry.generated.ts bun run build:flag-registry

The freshness guards (check:schema-migrations, check:schema-fresh, and test/cli-flag-validation.test.ts) fail on a hand-merged copy.

Say to your agent

Rebase this pull request onto master. Refactor wave 1 moved code without changing behavior; use docs/architecture/wave-1-moves.json to find where each symbol my branch edits now lives (old -> new; a facade entry means the old file only re-exports or delegates). Move each conflicting hunk to the new location, apply the matching recipe in docs/architecture/wave-1-porting.md, regenerate generated files instead of merging them, and keep the old module's exports working. Then run bun run verify and the tests the recipe names, and list every hunk you relocated in the PR body.

Moved-symbol map

Kinds: moved (one new home), split (pieces went to several homes), extracted (the old symbol keeps most of its body; the listed homes received pieces of it). "Still importable from" is the old module path when it keeps exporting the name; "module-private" means the old module never exported it; "old module removed" means the file was deleted or renamed, so import the new location.

src/cli.ts

Old symbol Kind Still importable from New location(s)
CLI_ONLY moved src/cli/main.ts:CLI_ONLY src/cli/command-table.ts:CLI_ONLY
CLI_ONLY_SELF_HELP moved module-private src/cli/command-table.ts:CLI_ONLY_SELF_HELP
STARTUP_HOOK_SKIP_COMMANDS moved module-private src/cli/command-table.ts:STARTUP_HOOK_SKIP_COMMANDS
THIN_CLIENT_REFUSED_COMMANDS moved src/cli/main.ts:THIN_CLIENT_REFUSED_COMMANDS src/cli/command-table.ts:THIN_CLIENT_REFUSED_COMMANDS
handleCliOnly split src/cli/main.ts:handleCliOnly src/cli/main.ts:connectCliOnlyEngine
src/cli/main.ts:prepareConnectedDispatch
src/cli/main.ts:routeCliOnlyBeforeTable
src/cli/main.ts:routeEngineFreeSubcommands
src/cli/main.ts:runReadOnlyTimeoutDispatch
src/cli/commands/advisor.ts:run
src/cli/commands/agent.ts:run
src/cli/commands/anomalies.ts:run
… and 87 more (see the JSON)
main extracted src/cli/main.ts:main src/cli/main.ts:runSharedOperation

src/commands/autopilot.ts

Old symbol Kind Still importable from New location(s)
parseArg extracted src/commands/autopilot.ts:parseArg src/commands/jobs/shared.ts:parseFlag
runAutopilot split src/commands/autopilot.ts:runAutopilot src/commands/autopilot-daemon.ts:acquireAutopilotLock
src/commands/autopilot-daemon.ts:adaptiveInterval
src/commands/autopilot-daemon.ts:probeDatabaseOrReconnect
src/commands/autopilot-daemon.ts:probeNoWorkerPeer
src/commands/autopilot-daemon.ts:runAutopilotDaemon
src/commands/autopilot-daemon.ts:runInlineCycle
src/commands/autopilot-daemon.ts:startAutopilotWorker
src/commands/autopilot-daemon.ts:warnNoChatProviderOnce
… and 6 more (see the JSON)

src/commands/doctor.ts

Old symbol Kind Still importable from New location(s)
buildChecks split src/commands/doctor.ts:buildChecks src/commands/doctor/checks/content-quality.ts:runContentSanity
src/commands/doctor/checks/content-quality.ts:runFrontmatter
src/commands/doctor/checks/content-quality.ts:runQuarantine
src/commands/doctor/checks/data-integrity.ts:runCrossModal
src/commands/doctor/checks/data-integrity.ts:runIntegrity
src/commands/doctor/checks/data-integrity.ts:runJsonbIntegrity
src/commands/doctor/checks/data-integrity.ts:runMarkdownBody
src/commands/doctor/checks/data-integrity.ts:runWhoknows
… and 38 more (see the JSON)
checkSelfUpgradeHealth moved src/commands/doctor.ts:checkSelfUpgradeHealth src/commands/doctor/checks/upgrade-health.ts:checkSelfUpgradeHealth
checkUpgradeErrors moved src/commands/doctor.ts:checkUpgradeErrors src/commands/doctor/checks/upgrade-health.ts:checkUpgradeErrors
classifiedConnectionCheck moved module-private src/commands/doctor/checks/db-connection.ts:classifiedConnectionCheck
pgbouncerPrepareCheck moved module-private src/commands/doctor/checks/db-connection.ts:pgbouncerPrepareCheck
printAutoFixReport moved module-private src/commands/doctor/checks/skill-group.ts:printAutoFixReport
upgradeErrorResolved moved src/commands/doctor.ts:upgradeErrorResolved src/commands/doctor/checks/upgrade-health.ts:upgradeErrorResolved

src/commands/jobs.ts

Old symbol Kind Still importable from New location(s)
JOB_DATE_FIELDS moved module-private src/commands/jobs/shared.ts:JOB_DATE_FIELDS
JobIsolationMode moved src/commands/jobs.ts:JobIsolationMode src/commands/jobs/shared.ts:JobIsolationMode
factsAbsorbShouldRetry moved src/commands/jobs.ts:factsAbsorbShouldRetry src/core/minions/handlers/facts-absorb.ts:factsAbsorbShouldRetry
factsAbsorbUnavailable moved src/commands/jobs.ts:factsAbsorbUnavailable src/core/minions/handlers/facts-absorb.ts:factsAbsorbUnavailable
formatJob moved module-private src/commands/jobs/shared.ts:formatJob
formatJobDetail moved src/commands/jobs.ts:formatJobDetail src/commands/jobs/shared.ts:formatJobDetail
formatTimeoutLines moved module-private src/commands/jobs/shared.ts:formatTimeoutLines
formatWhen moved module-private src/commands/jobs/shared.ts:formatWhen
hasFlag moved module-private src/commands/jobs/shared.ts:hasFlag
maybeRunWorkerStartupRecovery moved src/commands/jobs.ts:maybeRunWorkerStartupRecovery src/commands/jobs/work.ts:maybeRunWorkerStartupRecovery
parseFlag moved module-private src/commands/jobs/shared.ts:parseFlag
parseJobIsolationFlag moved src/commands/jobs.ts:parseJobIsolationFlag src/commands/jobs/shared.ts:parseJobIsolationFlag
parseMaxRssFlag moved src/commands/jobs.ts:parseMaxRssFlag src/commands/jobs/shared.ts:parseMaxRssFlag
parseMaxWaitingFlag moved src/commands/jobs.ts:parseMaxWaitingFlag src/commands/jobs/shared.ts:parseMaxWaitingFlag
parseNiceFlag moved src/commands/jobs.ts:parseNiceFlag src/commands/jobs/shared.ts:parseNiceFlag
registerBuiltinHandlers split src/commands/jobs.ts:registerBuiltinHandlers src/core/minions/handlers/autopilot-cycle.ts:makeAutopilotCycleHandler
src/core/minions/handlers/autopilot-global-maintenance.ts:makeAutopilotGlobalMaintenanceHandler
src/core/minions/handlers/backlinks.ts:makeBacklinksHandler
src/core/minions/handlers/chronicle-extract.ts:makeChronicleExtractHandler
src/core/minions/handlers/cycle-phase.ts:makeCyclePhaseHandler
src/core/minions/handlers/embed-catch-up.ts:makeEmbedCatchUpHandler
src/core/minions/handlers/embed.ts:makeEmbedHandler
src/core/minions/handlers/enrich.ts:makeEnrichHandler
… and 20 more (see the JSON)
rehydrateJobDates moved src/commands/jobs.ts:rehydrateJobDates src/commands/jobs/shared.ts:rehydrateJobDates
resolveJobPull moved src/commands/jobs.ts:resolveJobPull src/core/minions/handlers/job-pull.ts:resolveJobPull
resolveWorkerConcurrency moved src/commands/jobs.ts:resolveWorkerConcurrency src/commands/jobs/shared.ts:resolveWorkerConcurrency
runJobs split src/commands/jobs.ts:runJobs src/commands/jobs/authorize-legacy.ts:runJobsAuthorizeLegacy
src/commands/jobs/cancel.ts:runJobsCancel
src/commands/jobs/child-readiness.ts:runJobsChildReadiness
src/commands/jobs/delete.ts:runJobsDelete
src/commands/jobs/get.ts:runJobsGet
src/commands/jobs/list.ts:runJobsList
src/commands/jobs/prune.ts:runJobsPrune
src/commands/jobs/retry.ts:runJobsRetry
… and 10 more (see the JSON)

src/commands/serve-http.ts

Old symbol Kind Still importable from New location(s)
AdminSseResponse moved module-private src/commands/serve-http-admin-api.ts:AdminSseResponse
AgentClientSpend moved src/commands/serve-http.ts:AgentClientSpend src/commands/serve-http-admin-api.ts:AgentClientSpend
HEALTH_TIMEOUT_MS moved src/commands/serve-http.ts:HEALTH_TIMEOUT_MS src/commands/serve-http-metrics.ts:HEALTH_TIMEOUT_MS
ProbeHealthResult moved src/commands/serve-http.ts:ProbeHealthResult src/commands/serve-http-metrics.ts:ProbeHealthResult
extractGitHubItemRef moved src/commands/serve-http.ts:extractGitHubItemRef src/commands/serve-http-webhooks.ts:extractGitHubItemRef
githubKindCoversRepo moved src/commands/serve-http.ts:githubKindCoversRepo src/commands/serve-http-webhooks.ts:githubKindCoversRepo
mountOAuthCorsGate moved src/commands/serve-http.ts:mountOAuthCorsGate src/commands/serve-http-oauth.ts:mountOAuthCorsGate
openAdminSseStream moved src/commands/serve-http.ts:openAdminSseStream src/commands/serve-http-admin-api.ts:openAdminSseStream
parseCorsAllowlistOAuth moved src/commands/serve-http.ts:parseCorsAllowlistOAuth src/commands/serve-http-oauth.ts:parseCorsAllowlistOAuth
probeHealth moved src/commands/serve-http.ts:probeHealth src/commands/serve-http-metrics.ts:probeHealth
probeLiveness moved src/commands/serve-http.ts:probeLiveness src/commands/serve-http-metrics.ts:probeLiveness
queryAgentClientSpend moved src/commands/serve-http.ts:queryAgentClientSpend src/commands/serve-http-admin-api.ts:queryAgentClientSpend
resolveCorsOrigin moved src/commands/serve-http.ts:resolveCorsOrigin src/commands/serve-http-oauth.ts:resolveCorsOrigin
runServeHttp split src/commands/serve-http.ts:runServeHttp src/commands/serve-http-admin-api.ts:createRequireAdmin
src/commands/serve-http-admin-api.ts:mountAdminApi
src/commands/serve-http-admin-api.ts:mountAdminCalibrationApi
src/commands/serve-http-admin-api.ts:mountAdminClientApi
src/commands/serve-http-admin-api.ts:mountAdminKeyApi
src/commands/serve-http-admin-api.ts:mountAdminLogin
src/commands/serve-http-admin-api.ts:mountAdminOverviewApi
src/commands/serve-http-mcp.ts:callMcpTool
… and 21 more (see the JSON)
selectGitHubItemSources moved src/commands/serve-http.ts:selectGitHubItemSources src/commands/serve-http-webhooks.ts:selectGitHubItemSources

src/commands/sync.ts

Old symbol Kind Still importable from New location(s)
MissingPathMode moved src/commands/sync.ts:MissingPathMode src/commands/sync/missing-path.ts:MissingPathMode
SYNC_CHECKPOINT_EVERY_DEFAULT moved module-private src/commands/sync/checkpoint.ts:SYNC_CHECKPOINT_EVERY_DEFAULT
SYNC_CHECKPOINT_SECONDS_DEFAULT moved module-private src/commands/sync/checkpoint.ts:SYNC_CHECKPOINT_SECONDS_DEFAULT
SYNC_CKPT_OP moved module-private src/commands/sync/checkpoint.ts:SYNC_CKPT_OP
SYNC_MAX_CHECKPOINT_FAILURES_DEFAULT moved module-private src/commands/sync/checkpoint.ts:SYNC_MAX_CHECKPOINT_FAILURES_DEFAULT
SYNC_TARGET_OP moved module-private src/commands/sync/checkpoint.ts:SYNC_TARGET_OP
SYNC_YIELD_EVERY_DEFAULT moved module-private src/commands/sync/checkpoint.ts:SYNC_YIELD_EVERY_DEFAULT
TrackedSlugIndex moved module-private src/commands/sync/rename-reconcile.ts:TrackedSlugIndex
__resetPGLiteTierWarn moved src/commands/sync.ts:__resetPGLiteTierWarn src/commands/sync/gitignore.ts:__resetPGLiteTierWarn
_pgliteTierWarned moved module-private src/commands/sync/gitignore.ts:_pgliteTierWarned
activeSlugsBySourcePath moved module-private src/commands/sync/rename-reconcile.ts:activeSlugsBySourcePath
anchorBlobSlugs moved module-private src/commands/sync/rename-reconcile.ts:anchorBlobSlugs
anyFilterAtAttributeEpochs moved module-private src/commands/sync/rename-reconcile.ts:anyFilterAtAttributeEpochs
attributeEpochCommits moved module-private src/commands/sync/rename-reconcile.ts:attributeEpochCommits
fallbackSlugsForFile moved module-private src/commands/sync/rename-reconcile.ts:fallbackSlugsForFile
frontmatterSlugShapes moved module-private src/commands/sync/rename-reconcile.ts:frontmatterSlugShapes
manageGitignore moved src/commands/sync.ts:manageGitignore src/commands/sync/gitignore.ts:manageGitignore
manageGitignoreAtGitRoot moved module-private src/commands/sync/gitignore.ts:manageGitignoreAtGitRoot
maybeBackupCoverageRefresh moved module-private src/commands/sync/report.ts:maybeBackupCoverageRefresh
maybeExtractionNudge moved module-private src/commands/sync/report.ts:maybeExtractionNudge
orphanedRenameSentinels moved module-private src/commands/sync/rename-reconcile.ts:orphanedRenameSentinels
parseMissingPathMode moved src/commands/sync.ts:parseMissingPathMode src/commands/sync/missing-path.ts:parseMissingPathMode
partitionMissingPathSources moved src/commands/sync.ts:partitionMissingPathSources src/commands/sync/missing-path.ts:partitionMissingPathSources
pathHasContentFilter moved module-private src/commands/sync/rename-reconcile.ts:pathHasContentFilter
performFullSync split module-private src/commands/sync/full.ts:fullSyncDryRun
src/commands/sync/full.ts:performFullSync
src/commands/sync/full.ts:reconcileFullSyncDeletes
src/commands/sync/full.ts:reportBlockedFullSync
performSync moved src/commands/sync.ts:performSync src/commands/sync/perform.ts:performSync
performSyncInner split module-private src/commands/sync/deletes.ts:runDeletesPhase
src/commands/sync/deletes.ts:sweepUnsyncableModified
src/commands/sync/finalize.ts:applyBookmarkGate
src/commands/sync/finalize.ts:backstopAffectedPageFacts
src/commands/sync/finalize.ts:embedAffectedPages
src/commands/sync/finalize.ts:extractAffectedPages
src/commands/sync/finalize.ts:finalizeIncrementalSync
src/commands/sync/finalize.ts:finishWithoutChanges
… and 26 more (see the JSON)
printSyncResult moved src/commands/sync.ts:printSyncResult src/commands/sync/report.ts:printSyncResult
resolveSyncCheckpointEvery moved module-private src/commands/sync/checkpoint.ts:resolveSyncCheckpointEvery
resolveSyncCheckpointSeconds moved module-private src/commands/sync/checkpoint.ts:resolveSyncCheckpointSeconds
resolveSyncMaxCheckpointFailures moved module-private src/commands/sync/checkpoint.ts:resolveSyncMaxCheckpointFailures
resolveSyncYieldEvery moved module-private src/commands/sync/checkpoint.ts:resolveSyncYieldEvery
runConnectorSync moved module-private src/commands/sync/connector.ts:runConnectorSync
runSyncInner split module-private src/commands/sync/args.ts:parseSyncFanoutFlags
src/commands/sync/args.ts:parseSyncFlags
src/commands/sync/run.ts:PerSourceResult
src/commands/sync/run.ts:SyncAllSourceRow
src/commands/sync/run.ts:dispatchSyncAll
src/commands/sync/run.ts:emitSyncAllEnvelope
src/commands/sync/run.ts:resolveCliSyncSource
src/commands/sync/run.ts:runSingleSourceSync
… and 3 more (see the JSON)
runSyncTrigger moved src/commands/sync.ts:runSyncTrigger src/commands/sync/trigger.ts:runSyncTrigger
shouldNudgeAfterSync moved src/commands/sync.ts:shouldNudgeAfterSync src/commands/sync/report.ts:shouldNudgeAfterSync
sweepOrphanedRenameSentinels moved module-private src/commands/sync/rename-reconcile.ts:sweepOrphanedRenameSentinels
syncCheckpointKeys moved module-private src/commands/sync/checkpoint.ts:syncCheckpointKeys
trackedSlugIndex moved module-private src/commands/sync/rename-reconcile.ts:trackedSlugIndex
verifyOrRestoreClearedSentinels moved module-private src/commands/sync/rename-reconcile.ts:verifyOrRestoreClearedSentinels

src/core/migrate.ts

Old symbol Kind Still importable from New location(s)
MIGRATIONS split src/core/migrate.ts:MIGRATIONS src/core/schema-migrations/v002-slugify-existing-pages.ts:v002
src/core/schema-migrations/v003-unique-chunk-index.ts:v003
src/core/schema-migrations/v004-access-tokens-and-mcp-log.ts:v004
src/core/schema-migrations/v005-minion-jobs-table.ts:v005
src/core/schema-migrations/v006-agent-orchestration-primitives.ts:v006
src/core/schema-migrations/v007-agent-parity-layer.ts:v007
src/core/schema-migrations/v008-multi-type-links-constraint.ts:v008
src/core/schema-migrations/v009-timeline-dedup-index.ts:v009
… and 165 more (see the JSON)
Migration moved src/core/migrate.ts:Migration src/core/schema-migrations/types.ts:Migration
dropInvalidConcurrentIndex moved module-private src/core/schema-migrations/helpers.ts:dropInvalidConcurrentIndex
migrationNotice moved module-private src/core/schema-migrations/helpers.ts:migrationNotice
quietMigrationNotices moved module-private src/core/schema-migrations/helpers.ts:quietMigrationNotices

src/core/pglite-engine.ts

Old symbol Kind Still importable from New location(s)
PGLiteEngine._putPage moved not re-exported src/core/engine-sql/pages.ts:putPage
PGLiteEngine._upsertChunksOnce moved src/core/pglite-engine.ts:PGLiteEngine._upsertChunksOnce src/core/engine-sql/chunks.ts:upsertChunksOnce
PGLiteEngine.addCodeEdges moved src/core/pglite-engine.ts:PGLiteEngine.addCodeEdges src/core/engine-sql/code-edges.ts:addCodeEdges
PGLiteEngine.addLink moved src/core/pglite-engine.ts:PGLiteEngine.addLink src/core/engine-sql/links.ts:addLink
PGLiteEngine.addLinksBatch moved src/core/pglite-engine.ts:PGLiteEngine.addLinksBatch src/core/engine-sql/links.ts:addLinksBatch
PGLiteEngine.addSynthesisEvidence moved src/core/pglite-engine.ts:PGLiteEngine.addSynthesisEvidence src/core/engine-sql/takes.ts:addSynthesisEvidence
PGLiteEngine.addTakesBatch moved src/core/pglite-engine.ts:PGLiteEngine.addTakesBatch src/core/engine-sql/takes.ts:addTakesBatch
PGLiteEngine.addTimelineEntriesBatch moved src/core/pglite-engine.ts:PGLiteEngine.addTimelineEntriesBatch src/core/engine-sql/timeline.ts:addTimelineEntriesBatch
PGLiteEngine.addTimelineEntry moved src/core/pglite-engine.ts:PGLiteEngine.addTimelineEntry src/core/engine-sql/timeline.ts:addTimelineEntry
PGLiteEngine.applyForwardReferenceBootstrap split src/core/pglite-engine.ts:PGLiteEngine.applyForwardReferenceBootstrap src/core/engine-sql/bootstrap.ts:applyForwardReferenceBootstrap
src/core/engine-sql/bootstrap.ts:forwardReferenceGaps
PGLiteEngine.batchLoadEmotionalInputs moved src/core/pglite-engine.ts:PGLiteEngine.batchLoadEmotionalInputs src/core/engine-sql/salience.ts:batchLoadEmotionalInputs
PGLiteEngine.buildStaleChunkWhere moved not re-exported src/core/engine-sql/chunks.ts:StaleChunkOpts
PGLiteEngine.consolidateFact moved src/core/pglite-engine.ts:PGLiteEngine.consolidateFact src/core/engine-sql/facts.ts:consolidateFact
PGLiteEngine.countChunklessPagesWithContent moved src/core/pglite-engine.ts:PGLiteEngine.countChunklessPagesWithContent src/core/engine-sql/chunks.ts:countChunklessPagesWithContent
PGLiteEngine.countStaleChunks split src/core/pglite-engine.ts:PGLiteEngine.countStaleChunks src/core/engine-sql/chunks.ts:StaleChunkOpts
src/core/engine-sql/chunks.ts:countStaleChunks
PGLiteEngine.countStalePagesForExtraction moved src/core/pglite-engine.ts:PGLiteEngine.countStalePagesForExtraction src/core/engine-sql/pages.ts:countStalePagesForExtraction
PGLiteEngine.countStaleTakes moved src/core/pglite-engine.ts:PGLiteEngine.countStaleTakes src/core/engine-sql/takes.ts:countStaleTakes
PGLiteEngine.countUnconsolidatedFacts moved src/core/pglite-engine.ts:PGLiteEngine.countUnconsolidatedFacts src/core/engine-sql/facts.ts:countUnconsolidatedFacts
PGLiteEngine.deleteChunks moved src/core/pglite-engine.ts:PGLiteEngine.deleteChunks src/core/engine-sql/chunks.ts:deleteChunks
PGLiteEngine.deleteCodeEdgesForChunks moved src/core/pglite-engine.ts:PGLiteEngine.deleteCodeEdgesForChunks src/core/engine-sql/code-edges.ts:deleteCodeEdgesForChunks
PGLiteEngine.deleteFactsForPage moved src/core/pglite-engine.ts:PGLiteEngine.deleteFactsForPage src/core/engine-sql/facts.ts:deleteFactsForPage
PGLiteEngine.deletePage moved src/core/pglite-engine.ts:PGLiteEngine.deletePage src/core/engine-sql/pages.ts:deletePage
PGLiteEngine.deletePages moved src/core/pglite-engine.ts:PGLiteEngine.deletePages src/core/engine-sql/pages.ts:deletePages
PGLiteEngine.expireFact moved src/core/pglite-engine.ts:PGLiteEngine.expireFact src/core/engine-sql/facts.ts:expireFact
PGLiteEngine.findAnomalies moved src/core/pglite-engine.ts:PGLiteEngine.findAnomalies src/core/engine-sql/salience.ts:findAnomalies
PGLiteEngine.findByTitleFuzzy moved src/core/pglite-engine.ts:PGLiteEngine.findByTitleFuzzy src/core/engine-sql/pages.ts:findByTitleFuzzy
PGLiteEngine.findCandidateDuplicates moved src/core/pglite-engine.ts:PGLiteEngine.findCandidateDuplicates src/core/engine-sql/facts.ts:findCandidateDuplicates
PGLiteEngine.findDuplicatePage moved src/core/pglite-engine.ts:PGLiteEngine.findDuplicatePage src/core/engine-sql/pages.ts:findDuplicatePage
PGLiteEngine.findOrphanPages moved src/core/pglite-engine.ts:PGLiteEngine.findOrphanPages src/core/engine-sql/links.ts:findOrphanPages
PGLiteEngine.findTrajectory moved src/core/pglite-engine.ts:PGLiteEngine.findTrajectory src/core/engine-sql/facts.ts:findTrajectory
PGLiteEngine.getAllSlugs moved src/core/pglite-engine.ts:PGLiteEngine.getAllSlugs src/core/engine-sql/pages.ts:getAllSlugs
PGLiteEngine.getBacklinks split src/core/pglite-engine.ts:PGLiteEngine.getBacklinks src/core/engine-sql/links.ts:getBacklinks
src/core/engine-sql/links.ts:getLinks
PGLiteEngine.getCalibrationCurve moved src/core/pglite-engine.ts:PGLiteEngine.getCalibrationCurve src/core/engine-sql/takes.ts:getCalibrationCurve
PGLiteEngine.getCalleesOf moved src/core/pglite-engine.ts:PGLiteEngine.getCalleesOf src/core/engine-sql/code-edges.ts:getCalleesOf
PGLiteEngine.getCallersOf moved src/core/pglite-engine.ts:PGLiteEngine.getCallersOf src/core/engine-sql/code-edges.ts:getCallersOf
PGLiteEngine.getChunks moved src/core/pglite-engine.ts:PGLiteEngine.getChunks src/core/engine-sql/chunks.ts:getChunks
PGLiteEngine.getChunksWithEmbeddings moved src/core/pglite-engine.ts:PGLiteEngine.getChunksWithEmbeddings src/core/engine-sql/chunks.ts:getChunksWithEmbeddings
PGLiteEngine.getContradictionCacheEntry moved src/core/pglite-engine.ts:PGLiteEngine.getContradictionCacheEntry src/core/engine-sql/takes.ts:getContradictionCacheEntry
PGLiteEngine.getEdgesByChunk split src/core/pglite-engine.ts:PGLiteEngine.getEdgesByChunk src/core/engine-sql/code-edges.ts:getEdgesByChunk
src/core/pglite-engine/code-edges.ts:getEdgesByChunk
PGLiteEngine.getEmbeddingsByChunkIds moved src/core/pglite-engine.ts:PGLiteEngine.getEmbeddingsByChunkIds src/core/engine-sql/chunks.ts:getEmbeddingsByChunkIds
PGLiteEngine.getFactsHealth moved src/core/pglite-engine.ts:PGLiteEngine.getFactsHealth src/core/engine-sql/facts.ts:getFactsHealth
PGLiteEngine.getFile moved src/core/pglite-engine.ts:PGLiteEngine.getFile src/core/engine-sql/files.ts:getFile
PGLiteEngine.getLastSeen moved src/core/pglite-engine.ts:PGLiteEngine.getLastSeen src/core/engine-sql/timeline.ts:getLastSeen
PGLiteEngine.getLinks split src/core/pglite-engine.ts:PGLiteEngine.getLinks src/core/engine-sql/links.ts:getBacklinks
src/core/engine-sql/links.ts:getLinks
PGLiteEngine.getOnThisDay moved src/core/pglite-engine.ts:PGLiteEngine.getOnThisDay src/core/engine-sql/timeline.ts:getOnThisDay
PGLiteEngine.getPageTimestamps moved src/core/pglite-engine.ts:PGLiteEngine.getPageTimestamps src/core/engine-sql/pages.ts:getPageTimestamps
PGLiteEngine.getRecentSalience moved src/core/pglite-engine.ts:PGLiteEngine.getRecentSalience src/core/engine-sql/salience.ts:getRecentSalience
PGLiteEngine.getScorecard moved src/core/pglite-engine.ts:PGLiteEngine.getScorecard src/core/engine-sql/takes.ts:getScorecard
PGLiteEngine.getSince moved src/core/pglite-engine.ts:PGLiteEngine.getSince src/core/engine-sql/timeline.ts:getSince
PGLiteEngine.getTags moved src/core/pglite-engine.ts:PGLiteEngine.getTags src/core/engine-sql/tags.ts:getTags
PGLiteEngine.getTakeEmbeddings moved src/core/pglite-engine.ts:PGLiteEngine.getTakeEmbeddings src/core/engine-sql/takes.ts:getTakeEmbeddings
PGLiteEngine.getTimeline moved src/core/pglite-engine.ts:PGLiteEngine.getTimeline src/core/engine-sql/timeline.ts:getTimeline
PGLiteEngine.getTimelineForDate moved src/core/pglite-engine.ts:PGLiteEngine.getTimelineForDate src/core/engine-sql/timeline.ts:getTimelineForDate
PGLiteEngine.getVersions moved src/core/pglite-engine.ts:PGLiteEngine.getVersions src/core/engine-sql/pages.ts:getVersions
PGLiteEngine.insertFact moved src/core/pglite-engine.ts:PGLiteEngine.insertFact src/core/engine-sql/facts.ts:insertFact
PGLiteEngine.insertFacts moved src/core/pglite-engine.ts:PGLiteEngine.insertFacts src/core/engine-sql/facts.ts:insertFacts
PGLiteEngine.invalidateContentDriftEmbeddings moved src/core/pglite-engine.ts:PGLiteEngine.invalidateContentDriftEmbeddings src/core/engine-sql/chunks.ts:invalidateContentDriftEmbeddings
PGLiteEngine.invalidateStaleSignatureEmbeddings moved src/core/pglite-engine.ts:PGLiteEngine.invalidateStaleSignatureEmbeddings src/core/engine-sql/chunks.ts:invalidateStaleSignatureEmbeddings
PGLiteEngine.listActiveTakesForPages moved src/core/pglite-engine.ts:PGLiteEngine.listActiveTakesForPages src/core/engine-sql/takes.ts:listActiveTakesForPages
PGLiteEngine.listAllPageRefs moved src/core/pglite-engine.ts:PGLiteEngine.listAllPageRefs src/core/engine-sql/pages.ts:listAllPageRefs
PGLiteEngine.listAllSources moved src/core/pglite-engine.ts:PGLiteEngine.listAllSources src/core/engine-sql/sources.ts:listAllSources
PGLiteEngine.listChunklessPagesWithContent moved src/core/pglite-engine.ts:PGLiteEngine.listChunklessPagesWithContent src/core/engine-sql/chunks.ts:listChunklessPagesWithContent
PGLiteEngine.listCorpusSample split src/core/pglite-engine.ts:PGLiteEngine.listCorpusSample src/core/engine-sql/pages.ts:listCorpusSample
src/core/engine-sql/pages.ts:toDomainBankRow
PGLiteEngine.listEnrichCandidates moved src/core/pglite-engine.ts:PGLiteEngine.listEnrichCandidates src/core/engine-sql/salience.ts:listEnrichCandidates
PGLiteEngine.listFactsByEntity moved src/core/pglite-engine.ts:PGLiteEngine.listFactsByEntity src/core/engine-sql/facts.ts:listFactsByEntity
PGLiteEngine.listFactsBySession moved src/core/pglite-engine.ts:PGLiteEngine.listFactsBySession src/core/engine-sql/facts.ts:listFactsBySession
PGLiteEngine.listFactsSince moved src/core/pglite-engine.ts:PGLiteEngine.listFactsSince src/core/engine-sql/facts.ts:listFactsSince
PGLiteEngine.listFilesForPage moved src/core/pglite-engine.ts:PGLiteEngine.listFilesForPage src/core/engine-sql/files.ts:listFilesForPage
PGLiteEngine.listLinkSources moved src/core/pglite-engine.ts:PGLiteEngine.listLinkSources src/core/engine-sql/links.ts:listLinkSources
PGLiteEngine.listPages moved src/core/pglite-engine.ts:PGLiteEngine.listPages src/core/engine-sql/pages.ts:listPages
PGLiteEngine.listPrefixSampledPages split src/core/pglite-engine.ts:PGLiteEngine.listPrefixSampledPages src/core/engine-sql/pages.ts:listPrefixSampledPages
src/core/engine-sql/pages.ts:toDomainBankRow
PGLiteEngine.listStaleChunks moved src/core/pglite-engine.ts:PGLiteEngine.listStaleChunks src/core/engine-sql/chunks.ts:listStaleChunks
PGLiteEngine.listStalePagesForExtraction moved src/core/pglite-engine.ts:PGLiteEngine.listStalePagesForExtraction src/core/engine-sql/pages.ts:listStalePagesForExtraction
PGLiteEngine.listStaleTakes moved src/core/pglite-engine.ts:PGLiteEngine.listStaleTakes src/core/engine-sql/takes.ts:listStaleTakes
PGLiteEngine.listSupersessions moved src/core/pglite-engine.ts:PGLiteEngine.listSupersessions src/core/engine-sql/facts.ts:listSupersessions
PGLiteEngine.listTakes moved src/core/pglite-engine.ts:PGLiteEngine.listTakes src/core/engine-sql/takes.ts:listTakes
PGLiteEngine.loadContradictionsTrend moved src/core/pglite-engine.ts:PGLiteEngine.loadContradictionsTrend src/core/engine-sql/takes.ts:loadContradictionsTrend
PGLiteEngine.markPagesExtractedBatch moved src/core/pglite-engine.ts:PGLiteEngine.markPagesExtractedBatch src/core/engine-sql/pages.ts:markPagesExtractedBatch
PGLiteEngine.purgeDeletedPages moved src/core/pglite-engine.ts:PGLiteEngine.purgeDeletedPages src/core/engine-sql/pages.ts:purgeDeletedPages
PGLiteEngine.putContradictionCacheEntry moved src/core/pglite-engine.ts:PGLiteEngine.putContradictionCacheEntry src/core/engine-sql/takes.ts:putContradictionCacheEntry
PGLiteEngine.putPage moved src/core/pglite-engine.ts:PGLiteEngine.putPage src/core/engine-sql/pages.ts:putPage
PGLiteEngine.refreshPageBody moved src/core/pglite-engine.ts:PGLiteEngine.refreshPageBody src/core/engine-sql/pages.ts:refreshPageBody
PGLiteEngine.removeLink moved src/core/pglite-engine.ts:PGLiteEngine.removeLink src/core/engine-sql/links.ts:removeLink
PGLiteEngine.removeLinksByPagesAndSource moved src/core/pglite-engine.ts:PGLiteEngine.removeLinksByPagesAndSource src/core/engine-sql/links.ts:removeLinksByPagesAndSource
PGLiteEngine.resolveSlugWithAliasDetailed moved src/core/pglite-engine.ts:PGLiteEngine.resolveSlugWithAliasDetailed src/core/engine-sql/pages.ts:resolveSlugWithAliasDetailed
PGLiteEngine.resolveSlugs moved src/core/pglite-engine.ts:PGLiteEngine.resolveSlugs src/core/engine-sql/pages.ts:resolveSlugs
PGLiteEngine.resolveSlugsByPaths moved src/core/pglite-engine.ts:PGLiteEngine.resolveSlugsByPaths src/core/engine-sql/pages.ts:resolveSlugsByPaths
PGLiteEngine.resolveTake moved src/core/pglite-engine.ts:PGLiteEngine.resolveTake src/core/engine-sql/takes.ts:resolveTake
PGLiteEngine.restorePage moved src/core/pglite-engine.ts:PGLiteEngine.restorePage src/core/engine-sql/pages.ts:restorePage
PGLiteEngine.revertToVersion moved src/core/pglite-engine.ts:PGLiteEngine.revertToVersion src/core/engine-sql/pages.ts:revertToVersion
PGLiteEngine.searchTakes moved src/core/pglite-engine.ts:PGLiteEngine.searchTakes src/core/engine-sql/takes.ts:searchTakes
PGLiteEngine.searchTakesVector moved src/core/pglite-engine.ts:PGLiteEngine.searchTakesVector src/core/engine-sql/takes.ts:searchTakesVector
PGLiteEngine.setEmotionalWeightBatch moved src/core/pglite-engine.ts:PGLiteEngine.setEmotionalWeightBatch src/core/engine-sql/salience.ts:setEmotionalWeightBatch
PGLiteEngine.setPageAliases moved src/core/pglite-engine.ts:PGLiteEngine.setPageAliases src/core/engine-sql/pages.ts:setPageAliases
PGLiteEngine.setPageEmbeddingSignature moved src/core/pglite-engine.ts:PGLiteEngine.setPageEmbeddingSignature src/core/engine-sql/chunks.ts:setPageEmbeddingSignature
PGLiteEngine.softDeletePage moved src/core/pglite-engine.ts:PGLiteEngine.softDeletePage src/core/engine-sql/pages.ts:softDeletePage
PGLiteEngine.softDeletePages moved src/core/pglite-engine.ts:PGLiteEngine.softDeletePages src/core/engine-sql/pages.ts:softDeletePages
PGLiteEngine.sumStaleChunkChars split src/core/pglite-engine.ts:PGLiteEngine.sumStaleChunkChars src/core/engine-sql/chunks.ts:StaleChunkOpts
src/core/engine-sql/chunks.ts:sumStaleChunkChars
PGLiteEngine.supersedeTake moved src/core/pglite-engine.ts:PGLiteEngine.supersedeTake src/core/engine-sql/takes.ts:supersedeTake
PGLiteEngine.sweepContradictionCache moved src/core/pglite-engine.ts:PGLiteEngine.sweepContradictionCache src/core/engine-sql/takes.ts:sweepContradictionCache
PGLiteEngine.traverseGraph moved src/core/pglite-engine.ts:PGLiteEngine.traverseGraph src/core/engine-sql/links.ts:traverseGraph
PGLiteEngine.traversePathsDetailed moved src/core/pglite-engine.ts:PGLiteEngine.traversePathsDetailed src/core/engine-sql/links.ts:traversePathsDetailed
PGLiteEngine.updatePageContextualRetrievalState moved src/core/pglite-engine.ts:PGLiteEngine.updatePageContextualRetrievalState src/core/engine-sql/pages.ts:updatePageContextualRetrievalState
PGLiteEngine.updateSlug moved src/core/pglite-engine.ts:PGLiteEngine.updateSlug src/core/engine-sql/pages.ts:updateSlug
PGLiteEngine.updateSourceConfig moved src/core/pglite-engine.ts:PGLiteEngine.updateSourceConfig src/core/engine-sql/sources.ts:updateSourceConfig
PGLiteEngine.updateTake moved src/core/pglite-engine.ts:PGLiteEngine.updateTake src/core/engine-sql/takes.ts:updateTake
PGLiteEngine.updateTakeEmbeddings moved src/core/pglite-engine.ts:PGLiteEngine.updateTakeEmbeddings src/core/engine-sql/takes.ts:updateTakeEmbeddings
PGLiteEngine.upsertEventProjection moved src/core/pglite-engine.ts:PGLiteEngine.upsertEventProjection src/core/engine-sql/timeline.ts:upsertEventProjection
PGLiteEngine.upsertFile moved src/core/pglite-engine.ts:PGLiteEngine.upsertFile src/core/engine-sql/files.ts:upsertFile
PGLiteEngine.writeContradictionsRun moved src/core/pglite-engine.ts:PGLiteEngine.writeContradictionsRun src/core/engine-sql/takes.ts:writeContradictionsRun

src/core/pglite-engine/cjk-search.ts

Old symbol Kind Still importable from New location(s)
searchKeywordCJK moved old module removed src/core/engine-sql/cjk-search.ts:searchKeywordCJK

src/core/pglite-engine/code-edges.ts

Old symbol Kind Still importable from New location(s)
addCodeEdges moved not re-exported src/core/engine-sql/code-edges.ts:addCodeEdges
deleteCodeEdgesForChunks moved not re-exported src/core/engine-sql/code-edges.ts:deleteCodeEdgesForChunks
getCalleesOf moved not re-exported src/core/engine-sql/code-edges.ts:getCalleesOf
getCallersOf moved not re-exported src/core/engine-sql/code-edges.ts:getCallersOf

src/core/pglite-engine/facts.ts

Old symbol Kind Still importable from New location(s)
consolidateFact moved old module removed src/core/engine-sql/facts.ts:consolidateFact
countUnconsolidatedFacts moved old module removed src/core/engine-sql/facts.ts:countUnconsolidatedFacts
deleteFactsForPage moved old module removed src/core/engine-sql/facts.ts:deleteFactsForPage
expireFact moved old module removed src/core/engine-sql/facts.ts:expireFact
findCandidateDuplicates moved old module removed src/core/engine-sql/facts.ts:findCandidateDuplicates
findTrajectory moved old module removed src/core/engine-sql/facts.ts:findTrajectory
getFactsHealth moved old module removed src/core/engine-sql/facts.ts:getFactsHealth
insertFact moved old module removed src/core/engine-sql/facts.ts:insertFact
insertFacts moved old module removed src/core/engine-sql/facts.ts:insertFacts
listFactsByEntity moved old module removed src/core/engine-sql/facts.ts:listFactsByEntity
listFactsBySession moved old module removed src/core/engine-sql/facts.ts:listFactsBySession
listFactsSince moved old module removed src/core/engine-sql/facts.ts:listFactsSince
listSupersessions moved old module removed src/core/engine-sql/facts.ts:listSupersessions
rowToFact moved module-private src/core/engine-sql/facts.ts:rowToFact
toPgVectorLiteral moved module-private src/core/engine-sql/facts.ts:toPgVectorLiteral

src/core/pglite-engine/salience.ts

Old symbol Kind Still importable from New location(s)
batchLoadEmotionalInputs moved old module removed src/core/engine-sql/salience.ts:batchLoadEmotionalInputs
findAnomalies moved old module removed src/core/engine-sql/salience.ts:findAnomalies
getRecentSalience moved old module removed src/core/engine-sql/salience.ts:getRecentSalience
listEnrichCandidates moved old module removed src/core/engine-sql/salience.ts:listEnrichCandidates
setEmotionalWeightBatch moved old module removed src/core/engine-sql/salience.ts:setEmotionalWeightBatch

src/core/pglite-engine/takes.ts

Old symbol Kind Still importable from New location(s)
_addTakesBatchOnce moved module-private src/core/engine-sql/takes.ts:_addTakesBatchOnce
_updateTakeEmbeddingsOnce moved module-private src/core/engine-sql/takes.ts:_updateTakeEmbeddingsOnce
addSynthesisEvidence moved old module removed src/core/engine-sql/takes.ts:addSynthesisEvidence
addTakesBatch moved old module removed src/core/engine-sql/takes.ts:addTakesBatch
countStaleTakes moved old module removed src/core/engine-sql/takes.ts:countStaleTakes
getCalibrationCurve moved old module removed src/core/engine-sql/takes.ts:getCalibrationCurve
getContradictionCacheEntry moved old module removed src/core/engine-sql/takes.ts:getContradictionCacheEntry
getScorecard moved old module removed src/core/engine-sql/takes.ts:getScorecard
getTakeEmbeddings moved old module removed src/core/engine-sql/takes.ts:getTakeEmbeddings
listActiveTakesForPages moved old module removed src/core/engine-sql/takes.ts:listActiveTakesForPages
listStaleTakes moved old module removed src/core/engine-sql/takes.ts:listStaleTakes
listTakes moved old module removed src/core/engine-sql/takes.ts:listTakes
loadContradictionsTrend moved old module removed src/core/engine-sql/takes.ts:loadContradictionsTrend
putContradictionCacheEntry moved old module removed src/core/engine-sql/takes.ts:putContradictionCacheEntry
resolveTake moved old module removed src/core/engine-sql/takes.ts:resolveTake
searchTakes moved old module removed src/core/engine-sql/takes.ts:searchTakes
searchTakesVector moved old module removed src/core/engine-sql/takes.ts:searchTakesVector
supersedeTake moved old module removed src/core/engine-sql/takes.ts:supersedeTake
sweepContradictionCache moved old module removed src/core/engine-sql/takes.ts:sweepContradictionCache
updateTake moved old module removed src/core/engine-sql/takes.ts:updateTake
updateTakeEmbeddings moved old module removed src/core/engine-sql/takes.ts:updateTakeEmbeddings
writeContradictionsRun moved old module removed src/core/engine-sql/takes.ts:writeContradictionsRun

src/core/pglite-schema.ts

Old symbol Kind Still importable from New location(s)
PGLITE_SCHEMA_SQL moved src/core/pglite-schema.ts:PGLITE_SCHEMA_SQL src/core/pglite-schema.generated.ts:PGLITE_SCHEMA_SQL
PGLITE_SCHEMA_SQL_TEMPLATE moved module-private src/core/pglite-schema.generated.ts:PGLITE_SCHEMA_SQL_TEMPLATE
getPGLiteSchema moved src/core/pglite-schema.ts:getPGLiteSchema src/core/pglite-schema.generated.ts:getPGLiteSchema

src/core/postgres-engine.ts

Old symbol Kind Still importable from New location(s)
PostgresEngine._putPage moved not re-exported src/core/engine-sql/pages.ts:putPage
PostgresEngine._upsertChunksOnce moved src/core/postgres-engine.ts:PostgresEngine._upsertChunksOnce src/core/engine-sql/chunks.ts:upsertChunksOnce
PostgresEngine.addCodeEdges moved src/core/postgres-engine.ts:PostgresEngine.addCodeEdges src/core/engine-sql/code-edges.ts:addCodeEdges
PostgresEngine.addLink moved src/core/postgres-engine.ts:PostgresEngine.addLink src/core/engine-sql/links.ts:addLink
PostgresEngine.addLinksBatch moved src/core/postgres-engine.ts:PostgresEngine.addLinksBatch src/core/engine-sql/links.ts:addLinksBatch
PostgresEngine.addSynthesisEvidence moved src/core/postgres-engine.ts:PostgresEngine.addSynthesisEvidence src/core/engine-sql/takes.ts:addSynthesisEvidence
PostgresEngine.addTakesBatch moved src/core/postgres-engine.ts:PostgresEngine.addTakesBatch src/core/engine-sql/takes.ts:addTakesBatch
PostgresEngine.addTimelineEntriesBatch moved src/core/postgres-engine.ts:PostgresEngine.addTimelineEntriesBatch src/core/engine-sql/timeline.ts:addTimelineEntriesBatch
PostgresEngine.addTimelineEntry moved src/core/postgres-engine.ts:PostgresEngine.addTimelineEntry src/core/engine-sql/timeline.ts:addTimelineEntry
PostgresEngine.batchLoadEmotionalInputs moved src/core/postgres-engine.ts:PostgresEngine.batchLoadEmotionalInputs src/core/engine-sql/salience.ts:batchLoadEmotionalInputs
PostgresEngine.buildStaleChunkWhere moved not re-exported src/core/engine-sql/chunks.ts:StaleChunkOpts
PostgresEngine.chronicleSourceCond moved not re-exported src/core/engine-sql/timeline.ts:chronicleSourceCond
PostgresEngine.consolidateFact moved src/core/postgres-engine.ts:PostgresEngine.consolidateFact src/core/engine-sql/facts.ts:consolidateFact
PostgresEngine.countChunklessPagesWithContent moved src/core/postgres-engine.ts:PostgresEngine.countChunklessPagesWithContent src/core/engine-sql/chunks.ts:countChunklessPagesWithContent
PostgresEngine.countStaleChunks split src/core/postgres-engine.ts:PostgresEngine.countStaleChunks src/core/engine-sql/chunks.ts:StaleChunkOpts
src/core/engine-sql/chunks.ts:countStaleChunks
PostgresEngine.countStalePagesForExtraction moved src/core/postgres-engine.ts:PostgresEngine.countStalePagesForExtraction src/core/engine-sql/pages.ts:countStalePagesForExtraction
PostgresEngine.countStaleTakes moved src/core/postgres-engine.ts:PostgresEngine.countStaleTakes src/core/engine-sql/takes.ts:countStaleTakes
PostgresEngine.countUnconsolidatedFacts moved src/core/postgres-engine.ts:PostgresEngine.countUnconsolidatedFacts src/core/engine-sql/facts.ts:countUnconsolidatedFacts
PostgresEngine.deleteChunks moved src/core/postgres-engine.ts:PostgresEngine.deleteChunks src/core/engine-sql/chunks.ts:deleteChunks
PostgresEngine.deleteCodeEdgesForChunks moved src/core/postgres-engine.ts:PostgresEngine.deleteCodeEdgesForChunks src/core/engine-sql/code-edges.ts:deleteCodeEdgesForChunks
PostgresEngine.deleteFactsForPage moved src/core/postgres-engine.ts:PostgresEngine.deleteFactsForPage src/core/engine-sql/facts.ts:deleteFactsForPage
PostgresEngine.deletePage moved src/core/postgres-engine.ts:PostgresEngine.deletePage src/core/engine-sql/pages.ts:deletePage
PostgresEngine.deletePages moved src/core/postgres-engine.ts:PostgresEngine.deletePages src/core/engine-sql/pages.ts:deletePages
PostgresEngine.expireFact moved src/core/postgres-engine.ts:PostgresEngine.expireFact src/core/engine-sql/facts.ts:expireFact
PostgresEngine.findAnomalies moved src/core/postgres-engine.ts:PostgresEngine.findAnomalies src/core/engine-sql/salience.ts:findAnomalies
PostgresEngine.findByTitleFuzzy moved src/core/postgres-engine.ts:PostgresEngine.findByTitleFuzzy src/core/engine-sql/pages.ts:findByTitleFuzzy
PostgresEngine.findCandidateDuplicates moved src/core/postgres-engine.ts:PostgresEngine.findCandidateDuplicates src/core/engine-sql/facts.ts:findCandidateDuplicates
PostgresEngine.findDuplicatePage moved src/core/postgres-engine.ts:PostgresEngine.findDuplicatePage src/core/engine-sql/pages.ts:findDuplicatePage
PostgresEngine.findOrphanPages moved src/core/postgres-engine.ts:PostgresEngine.findOrphanPages src/core/engine-sql/links.ts:findOrphanPages
PostgresEngine.findTrajectory moved src/core/postgres-engine.ts:PostgresEngine.findTrajectory src/core/engine-sql/facts.ts:findTrajectory
PostgresEngine.getAllSlugs moved src/core/postgres-engine.ts:PostgresEngine.getAllSlugs src/core/engine-sql/pages.ts:getAllSlugs
PostgresEngine.getBacklinks split src/core/postgres-engine.ts:PostgresEngine.getBacklinks src/core/engine-sql/links.ts:getBacklinks
src/core/engine-sql/links.ts:getLinks
PostgresEngine.getCalibrationCurve moved src/core/postgres-engine.ts:PostgresEngine.getCalibrationCurve src/core/engine-sql/takes.ts:getCalibrationCurve
PostgresEngine.getCalleesOf moved src/core/postgres-engine.ts:PostgresEngine.getCalleesOf src/core/engine-sql/code-edges.ts:getCalleesOf
PostgresEngine.getCallersOf moved src/core/postgres-engine.ts:PostgresEngine.getCallersOf src/core/engine-sql/code-edges.ts:getCallersOf
PostgresEngine.getChunks moved src/core/postgres-engine.ts:PostgresEngine.getChunks src/core/engine-sql/chunks.ts:getChunks
PostgresEngine.getChunksWithEmbeddings moved src/core/postgres-engine.ts:PostgresEngine.getChunksWithEmbeddings src/core/engine-sql/chunks.ts:getChunksWithEmbeddings
PostgresEngine.getContradictionCacheEntry moved src/core/postgres-engine.ts:PostgresEngine.getContradictionCacheEntry src/core/engine-sql/takes.ts:getContradictionCacheEntry
PostgresEngine.getEdgesByChunk moved src/core/postgres-engine.ts:PostgresEngine.getEdgesByChunk src/core/engine-sql/code-edges.ts:getEdgesByChunk
PostgresEngine.getEmbeddingsByChunkIds moved src/core/postgres-engine.ts:PostgresEngine.getEmbeddingsByChunkIds src/core/engine-sql/chunks.ts:getEmbeddingsByChunkIds
PostgresEngine.getFactsHealth moved src/core/postgres-engine.ts:PostgresEngine.getFactsHealth src/core/engine-sql/facts.ts:getFactsHealth
PostgresEngine.getFile moved src/core/postgres-engine.ts:PostgresEngine.getFile src/core/engine-sql/files.ts:getFile
PostgresEngine.getLastSeen moved src/core/postgres-engine.ts:PostgresEngine.getLastSeen src/core/engine-sql/timeline.ts:getLastSeen
PostgresEngine.getLinks split src/core/postgres-engine.ts:PostgresEngine.getLinks src/core/engine-sql/links.ts:getBacklinks
src/core/engine-sql/links.ts:getLinks
PostgresEngine.getOnThisDay moved src/core/postgres-engine.ts:PostgresEngine.getOnThisDay src/core/engine-sql/timeline.ts:getOnThisDay
PostgresEngine.getPageTimestamps moved src/core/postgres-engine.ts:PostgresEngine.getPageTimestamps src/core/engine-sql/pages.ts:getPageTimestamps
PostgresEngine.getRecentSalience moved src/core/postgres-engine.ts:PostgresEngine.getRecentSalience src/core/engine-sql/salience.ts:getRecentSalience
PostgresEngine.getScorecard moved src/core/postgres-engine.ts:PostgresEngine.getScorecard src/core/engine-sql/takes.ts:getScorecard
PostgresEngine.getSince moved src/core/postgres-engine.ts:PostgresEngine.getSince src/core/engine-sql/timeline.ts:getSince
PostgresEngine.getTags moved src/core/postgres-engine.ts:PostgresEngine.getTags src/core/engine-sql/tags.ts:getTags
PostgresEngine.getTakeEmbeddings moved src/core/postgres-engine.ts:PostgresEngine.getTakeEmbeddings src/core/engine-sql/takes.ts:getTakeEmbeddings
PostgresEngine.getTimeline moved src/core/postgres-engine.ts:PostgresEngine.getTimeline src/core/engine-sql/timeline.ts:getTimeline
PostgresEngine.getTimelineForDate moved src/core/postgres-engine.ts:PostgresEngine.getTimelineForDate src/core/engine-sql/timeline.ts:getTimelineForDate
PostgresEngine.getVersions moved src/core/postgres-engine.ts:PostgresEngine.getVersions src/core/engine-sql/pages.ts:getVersions
PostgresEngine.insertFact moved src/core/postgres-engine.ts:PostgresEngine.insertFact src/core/engine-sql/facts.ts:insertFact
PostgresEngine.insertFacts moved src/core/postgres-engine.ts:PostgresEngine.insertFacts src/core/engine-sql/facts.ts:insertFacts
PostgresEngine.invalidateContentDriftEmbeddings moved src/core/postgres-engine.ts:PostgresEngine.invalidateContentDriftEmbeddings src/core/engine-sql/chunks.ts:invalidateContentDriftEmbeddings
PostgresEngine.invalidateStaleSignatureEmbeddings moved src/core/postgres-engine.ts:PostgresEngine.invalidateStaleSignatureEmbeddings src/core/engine-sql/chunks.ts:invalidateStaleSignatureEmbeddings
PostgresEngine.listActiveTakesForPages moved src/core/postgres-engine.ts:PostgresEngine.listActiveTakesForPages src/core/engine-sql/takes.ts:listActiveTakesForPages
PostgresEngine.listAllPageRefs moved src/core/postgres-engine.ts:PostgresEngine.listAllPageRefs src/core/engine-sql/pages.ts:listAllPageRefs
PostgresEngine.listAllSources moved src/core/postgres-engine.ts:PostgresEngine.listAllSources src/core/engine-sql/sources.ts:listAllSources
PostgresEngine.listChunklessPagesWithContent moved src/core/postgres-engine.ts:PostgresEngine.listChunklessPagesWithContent src/core/engine-sql/chunks.ts:listChunklessPagesWithContent
PostgresEngine.listCorpusSample split src/core/postgres-engine.ts:PostgresEngine.listCorpusSample src/core/engine-sql/pages.ts:listCorpusSample
src/core/engine-sql/pages.ts:toDomainBankRow
PostgresEngine.listEnrichCandidates moved src/core/postgres-engine.ts:PostgresEngine.listEnrichCandidates src/core/engine-sql/salience.ts:listEnrichCandidates
PostgresEngine.listFactsByEntity moved src/core/postgres-engine.ts:PostgresEngine.listFactsByEntity src/core/engine-sql/facts.ts:listFactsByEntity
PostgresEngine.listFactsBySession moved src/core/postgres-engine.ts:PostgresEngine.listFactsBySession src/core/engine-sql/facts.ts:listFactsBySession
PostgresEngine.listFactsSince moved src/core/postgres-engine.ts:PostgresEngine.listFactsSince src/core/engine-sql/facts.ts:listFactsSince
PostgresEngine.listFilesForPage moved src/core/postgres-engine.ts:PostgresEngine.listFilesForPage src/core/engine-sql/files.ts:listFilesForPage
PostgresEngine.listLinkSources moved src/core/postgres-engine.ts:PostgresEngine.listLinkSources src/core/engine-sql/links.ts:listLinkSources
PostgresEngine.listPages moved src/core/postgres-engine.ts:PostgresEngine.listPages src/core/engine-sql/pages.ts:listPages
PostgresEngine.listPrefixSampledPages split src/core/postgres-engine.ts:PostgresEngine.listPrefixSampledPages src/core/engine-sql/pages.ts:listPrefixSampledPages
src/core/engine-sql/pages.ts:toDomainBankRow
PostgresEngine.listStaleChunks moved src/core/postgres-engine.ts:PostgresEngine.listStaleChunks src/core/engine-sql/chunks.ts:listStaleChunks
PostgresEngine.listStalePagesForExtraction moved src/core/postgres-engine.ts:PostgresEngine.listStalePagesForExtraction src/core/engine-sql/pages.ts:listStalePagesForExtraction
PostgresEngine.listStaleTakes moved src/core/postgres-engine.ts:PostgresEngine.listStaleTakes src/core/engine-sql/takes.ts:listStaleTakes
PostgresEngine.listSupersessions moved src/core/postgres-engine.ts:PostgresEngine.listSupersessions src/core/engine-sql/facts.ts:listSupersessions
PostgresEngine.listTakes moved src/core/postgres-engine.ts:PostgresEngine.listTakes src/core/engine-sql/takes.ts:listTakes
PostgresEngine.loadContradictionsTrend moved src/core/postgres-engine.ts:PostgresEngine.loadContradictionsTrend src/core/engine-sql/takes.ts:loadContradictionsTrend
PostgresEngine.markPagesExtractedBatch moved src/core/postgres-engine.ts:PostgresEngine.markPagesExtractedBatch src/core/engine-sql/pages.ts:markPagesExtractedBatch
PostgresEngine.purgeDeletedPages moved src/core/postgres-engine.ts:PostgresEngine.purgeDeletedPages src/core/engine-sql/pages.ts:purgeDeletedPages
PostgresEngine.putContradictionCacheEntry moved src/core/postgres-engine.ts:PostgresEngine.putContradictionCacheEntry src/core/engine-sql/takes.ts:putContradictionCacheEntry
PostgresEngine.putPage moved src/core/postgres-engine.ts:PostgresEngine.putPage src/core/engine-sql/pages.ts:putPage
PostgresEngine.refreshPageBody moved src/core/postgres-engine.ts:PostgresEngine.refreshPageBody src/core/engine-sql/pages.ts:refreshPageBody
PostgresEngine.removeLink moved src/core/postgres-engine.ts:PostgresEngine.removeLink src/core/engine-sql/links.ts:removeLink
PostgresEngine.removeLinksByPagesAndSource moved src/core/postgres-engine.ts:PostgresEngine.removeLinksByPagesAndSource src/core/engine-sql/links.ts:removeLinksByPagesAndSource
PostgresEngine.resolveSlugWithAliasDetailed moved src/core/postgres-engine.ts:PostgresEngine.resolveSlugWithAliasDetailed src/core/engine-sql/pages.ts:resolveSlugWithAliasDetailed
PostgresEngine.resolveSlugs moved src/core/postgres-engine.ts:PostgresEngine.resolveSlugs src/core/engine-sql/pages.ts:resolveSlugs
PostgresEngine.resolveSlugsByPaths moved src/core/postgres-engine.ts:PostgresEngine.resolveSlugsByPaths src/core/engine-sql/pages.ts:resolveSlugsByPaths
PostgresEngine.resolveTake moved src/core/postgres-engine.ts:PostgresEngine.resolveTake src/core/engine-sql/takes.ts:resolveTake
PostgresEngine.restorePage moved src/core/postgres-engine.ts:PostgresEngine.restorePage src/core/engine-sql/pages.ts:restorePage
PostgresEngine.revertToVersion moved src/core/postgres-engine.ts:PostgresEngine.revertToVersion src/core/engine-sql/pages.ts:revertToVersion
PostgresEngine.searchTakes moved src/core/postgres-engine.ts:PostgresEngine.searchTakes src/core/engine-sql/takes.ts:searchTakes
PostgresEngine.searchTakesVector moved src/core/postgres-engine.ts:PostgresEngine.searchTakesVector src/core/engine-sql/takes.ts:searchTakesVector
PostgresEngine.setEmotionalWeightBatch moved src/core/postgres-engine.ts:PostgresEngine.setEmotionalWeightBatch src/core/engine-sql/salience.ts:setEmotionalWeightBatch
PostgresEngine.setPageAliases moved src/core/postgres-engine.ts:PostgresEngine.setPageAliases src/core/engine-sql/pages.ts:setPageAliases
PostgresEngine.setPageEmbeddingSignature moved src/core/postgres-engine.ts:PostgresEngine.setPageEmbeddingSignature src/core/engine-sql/chunks.ts:setPageEmbeddingSignature
PostgresEngine.softDeletePage moved src/core/postgres-engine.ts:PostgresEngine.softDeletePage src/core/engine-sql/pages.ts:softDeletePage
PostgresEngine.softDeletePages moved src/core/postgres-engine.ts:PostgresEngine.softDeletePages src/core/engine-sql/pages.ts:softDeletePages
PostgresEngine.sumStaleChunkChars split src/core/postgres-engine.ts:PostgresEngine.sumStaleChunkChars src/core/engine-sql/chunks.ts:StaleChunkOpts
src/core/engine-sql/chunks.ts:sumStaleChunkChars
PostgresEngine.supersedeTake moved src/core/postgres-engine.ts:PostgresEngine.supersedeTake src/core/engine-sql/takes.ts:supersedeTake
PostgresEngine.sweepContradictionCache moved src/core/postgres-engine.ts:PostgresEngine.sweepContradictionCache src/core/engine-sql/takes.ts:sweepContradictionCache
PostgresEngine.traverseGraph moved src/core/postgres-engine.ts:PostgresEngine.traverseGraph src/core/engine-sql/links.ts:traverseGraph
PostgresEngine.traversePathsDetailed moved src/core/postgres-engine.ts:PostgresEngine.traversePathsDetailed src/core/engine-sql/links.ts:traversePathsDetailed
PostgresEngine.updatePageContextualRetrievalState moved src/core/postgres-engine.ts:PostgresEngine.updatePageContextualRetrievalState src/core/engine-sql/pages.ts:updatePageContextualRetrievalState
PostgresEngine.updateSlug moved src/core/postgres-engine.ts:PostgresEngine.updateSlug src/core/engine-sql/pages.ts:updateSlug
PostgresEngine.updateSourceConfig moved src/core/postgres-engine.ts:PostgresEngine.updateSourceConfig src/core/engine-sql/sources.ts:updateSourceConfig
PostgresEngine.updateTake moved src/core/postgres-engine.ts:PostgresEngine.updateTake src/core/engine-sql/takes.ts:updateTake
PostgresEngine.updateTakeEmbeddings moved src/core/postgres-engine.ts:PostgresEngine.updateTakeEmbeddings src/core/engine-sql/takes.ts:updateTakeEmbeddings
PostgresEngine.upsertEventProjection moved src/core/postgres-engine.ts:PostgresEngine.upsertEventProjection src/core/engine-sql/timeline.ts:upsertEventProjection
PostgresEngine.upsertFile moved src/core/postgres-engine.ts:PostgresEngine.upsertFile src/core/engine-sql/files.ts:upsertFile
PostgresEngine.writeContradictionsRun moved src/core/postgres-engine.ts:PostgresEngine.writeContradictionsRun src/core/engine-sql/takes.ts:writeContradictionsRun

src/core/postgres-engine/cjk-search.ts

Old symbol Kind Still importable from New location(s)
searchKeywordCJK moved old module removed src/core/engine-sql/cjk-search.ts:searchKeywordCJK

src/core/postgres-engine/code-edges.ts

Old symbol Kind Still importable from New location(s)
addCodeEdges moved old module removed src/core/engine-sql/code-edges.ts:addCodeEdges
deleteCodeEdgesForChunks moved old module removed src/core/engine-sql/code-edges.ts:deleteCodeEdgesForChunks
getCalleesOf moved old module removed src/core/engine-sql/code-edges.ts:getCalleesOf
getCallersOf moved old module removed src/core/engine-sql/code-edges.ts:getCallersOf
getEdgesByChunk moved old module removed src/core/engine-sql/code-edges.ts:getEdgesByChunk
pgRowToCodeEdge moved module-private src/core/engine-sql/code-edges.ts:rowToCodeEdge

src/core/postgres-engine/facts.ts

Old symbol Kind Still importable from New location(s)
FactRowSqlShape moved module-private src/core/engine-sql/facts.ts:FactRowSqlShape
consolidateFact moved old module removed src/core/engine-sql/facts.ts:consolidateFact
countUnconsolidatedFacts moved old module removed src/core/engine-sql/facts.ts:countUnconsolidatedFacts
deleteFactsForPage moved old module removed src/core/engine-sql/facts.ts:deleteFactsForPage
expireFact moved old module removed src/core/engine-sql/facts.ts:expireFact
findCandidateDuplicates moved old module removed src/core/engine-sql/facts.ts:findCandidateDuplicates
findTrajectory moved old module removed src/core/engine-sql/facts.ts:findTrajectory
getFactsHealth moved old module removed src/core/engine-sql/facts.ts:getFactsHealth
grepPattern moved module-private src/core/engine-sql/facts.ts:grepPattern
insertFact moved old module removed src/core/engine-sql/facts.ts:insertFact
insertFacts moved old module removed src/core/engine-sql/facts.ts:insertFacts
listFactsByEntity moved old module removed src/core/engine-sql/facts.ts:listFactsByEntity
listFactsBySession moved old module removed src/core/engine-sql/facts.ts:listFactsBySession
listFactsSince moved old module removed src/core/engine-sql/facts.ts:listFactsSince
listSupersessions moved old module removed src/core/engine-sql/facts.ts:listSupersessions
rowToFactPg moved module-private src/core/engine-sql/facts.ts:rowToFact
toPgVectorLiteral moved module-private src/core/engine-sql/facts.ts:toPgVectorLiteral

src/core/postgres-engine/forward-reference-bootstrap.ts

Old symbol Kind Still importable from New location(s)
applyPostgresForwardReferenceBootstrap split not re-exported src/core/engine-sql/bootstrap.ts:applyPostgresForwardReferenceBootstrap
src/core/engine-sql/bootstrap.ts:applyForwardReferenceBootstrap
src/core/engine-sql/bootstrap.ts:forwardReferenceGaps

src/core/postgres-engine/salience.ts

Old symbol Kind Still importable from New location(s)
batchLoadEmotionalInputs moved old module removed src/core/engine-sql/salience.ts:batchLoadEmotionalInputs
findAnomalies moved old module removed src/core/engine-sql/salience.ts:findAnomalies
getRecentSalience moved old module removed src/core/engine-sql/salience.ts:getRecentSalience
listEnrichCandidates moved old module removed src/core/engine-sql/salience.ts:listEnrichCandidates
setEmotionalWeightBatch moved old module removed src/core/engine-sql/salience.ts:setEmotionalWeightBatch

src/core/postgres-engine/takes.ts

Old symbol Kind Still importable from New location(s)
_addTakesBatchOnce moved module-private src/core/engine-sql/takes.ts:_addTakesBatchOnce
_updateTakeEmbeddingsOnce moved module-private src/core/engine-sql/takes.ts:_updateTakeEmbeddingsOnce
addSynthesisEvidence moved old module removed src/core/engine-sql/takes.ts:addSynthesisEvidence
addTakesBatch moved old module removed src/core/engine-sql/takes.ts:addTakesBatch
countStaleTakes moved old module removed src/core/engine-sql/takes.ts:countStaleTakes
getCalibrationCurve moved old module removed src/core/engine-sql/takes.ts:getCalibrationCurve
getContradictionCacheEntry moved old module removed src/core/engine-sql/takes.ts:getContradictionCacheEntry
getScorecard moved old module removed src/core/engine-sql/takes.ts:getScorecard
getTakeEmbeddings moved old module removed src/core/engine-sql/takes.ts:getTakeEmbeddings
listActiveTakesForPages moved old module removed src/core/engine-sql/takes.ts:listActiveTakesForPages
listStaleTakes moved old module removed src/core/engine-sql/takes.ts:listStaleTakes
listTakes moved old module removed src/core/engine-sql/takes.ts:listTakes
loadContradictionsTrend moved old module removed src/core/engine-sql/takes.ts:loadContradictionsTrend
putContradictionCacheEntry moved old module removed src/core/engine-sql/takes.ts:putContradictionCacheEntry
resolveTake moved old module removed src/core/engine-sql/takes.ts:resolveTake
searchTakes moved old module removed src/core/engine-sql/takes.ts:searchTakes
searchTakesVector moved old module removed src/core/engine-sql/takes.ts:searchTakesVector
supersedeTake moved old module removed src/core/engine-sql/takes.ts:supersedeTake
sweepContradictionCache moved old module removed src/core/engine-sql/takes.ts:sweepContradictionCache
updateTake moved old module removed src/core/engine-sql/takes.ts:updateTake
updateTakeEmbeddings moved old module removed src/core/engine-sql/takes.ts:updateTakeEmbeddings
writeContradictionsRun moved old module removed src/core/engine-sql/takes.ts:writeContradictionsRun

src/core/search/hybrid.ts

Old symbol Kind Still importable from New location(s)
hybridSearch split src/core/search/hybrid.ts:hybridSearch src/core/search/hybrid/arms.ts:buildPostFusionOpts
src/core/search/hybrid/arms.ts:buildRelationalList
src/core/search/hybrid/arms.ts:resolveModalityAndQueries
src/core/search/hybrid/arms.ts:runLexicalArms
src/core/search/hybrid/arms.ts:runVectorArms
src/core/search/hybrid/keyword-only.ts:searchVectorFallback
src/core/search/hybrid/keyword-only.ts:searchWithoutEmbeddings
src/core/search/hybrid/rank.ts:expandStructuralNeighbors
… and 7 more (see the JSON)
hybridSearchCached split src/core/search/hybrid.ts:hybridSearchCached src/core/search/hybrid/cache-stages.ts:prepareSemanticCache
src/core/search/hybrid/cache-stages.ts:resolveCacheSearchMode
src/core/search/hybrid/cache-stages.ts:semanticCacheSkipped
src/core/search/hybrid/cache-stages.ts:serveSemanticCacheHit
isTimeoutError moved module-private src/core/search/hybrid/degraded.ts:isTimeoutError
pushDegraded moved module-private src/core/search/hybrid/degraded.ts:pushDegraded
resolveEffectiveRecency moved module-private src/core/search/hybrid/effective-modes.ts:resolveEffectiveRecency
resolveEffectiveSalience moved module-private src/core/search/hybrid/effective-modes.ts:resolveEffectiveSalience
stampBudgetStage moved module-private src/core/search/hybrid/degraded.ts:stampBudgetStage

Removed without a traceable destination

Deleted with their callers, or rewritten beyond token matching. Search the new module directories by behavior.

  • src/core/pglite-engine.ts:PGLiteEngine._addLinksBatchOnce
  • src/core/pglite-engine.ts:PGLiteEngine._addTimelineEntriesBatchOnce
  • src/core/pglite-engine.ts:PGLiteEngine.buildChunklessPagesWhere
  • src/core/pglite-engine.ts:PGLiteEngine.buildStalePagesWhere
  • src/core/pglite-engine.ts:PGLiteEngine.chronicleSelect
  • src/core/pglite-engine.ts:PGLiteEngine.factsDeps
  • src/core/pglite-engine.ts:PGLiteEngine.pushChronicleSource
  • src/core/pglite-engine.ts:PGLiteEngine.salienceDeps
  • src/core/pglite-engine.ts:PGLiteEngine.takesDeps
  • src/core/pglite-engine/cjk-search.ts:PgliteCjkSearchDeps
  • src/core/pglite-engine/code-edges.ts:PGLITE_EDGE_BATCH_MAX_BIND_PARAMS
  • src/core/pglite-engine/facts.ts:FactRowSqlShape
  • src/core/pglite-engine/facts.ts:PgliteFactsDeps
  • src/core/pglite-engine/facts.ts:_listFacts
  • src/core/pglite-engine/facts.ts:toDate
  • src/core/pglite-engine/salience.ts:PgliteSalienceDeps
  • src/core/pglite-engine/takes.ts:PgliteTakesDeps
  • src/core/postgres-engine.ts:PostgresEngine._addLinksBatchOnce
  • src/core/postgres-engine.ts:PostgresEngine._addTimelineEntriesBatchOnce
  • src/core/postgres-engine.ts:PostgresEngine.buildChunklessPagesWhere
  • src/core/postgres-engine.ts:PostgresEngine.buildStalePagesWhere
  • src/core/postgres-engine.ts:PostgresEngine.codeEdgesDeps
  • src/core/postgres-engine.ts:PostgresEngine.factsDeps
  • src/core/postgres-engine.ts:PostgresEngine.salienceDeps
  • src/core/postgres-engine.ts:PostgresEngine.takesDeps
  • src/core/postgres-engine/cjk-search.ts:CjkKeywordRunner
  • src/core/postgres-engine/code-edges.ts:PgCodeEdgesDeps
  • src/core/postgres-engine/code-edges.ts:PgSql
  • src/core/postgres-engine/facts.ts:PgFactsDeps
  • src/core/postgres-engine/facts.ts:PgSql
  • src/core/postgres-engine/salience.ts:PgSalienceDeps
  • src/core/postgres-engine/salience.ts:PgSql
  • src/core/postgres-engine/takes.ts:PgSql
  • src/core/postgres-engine/takes.ts:PgTakesDeps