MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 2 callersFunctioncompleted
(item_ref = 'TASK-90', day = '2026-11-13')
web/src/routes/(console)/home.svelte.test.ts:43
↓ 2 callersMethodcompletedExpr
completedExpr builds the `completed` expression over the workspace's collections (just scope, when set): the day of the item's latest move into a posi
internal/store/items.go:2598
↓ 2 callersMethodcompletionAt
TASK-4103 C2b-ii r2 fixes. Each test is red at f3aa962ef.
internal/store/schedule_resolve_fix2_test.go:13
↓ 2 callersFunctioncompletionSpan
completionSpan is the exact interval of an HOURLY or MINUTELY rule, and 0 for the others (which keep the schedule's time of day).
internal/store/schedule_completion.go:67
↓ 2 callersFunctioncomposePruneWithPrecheck
composePruneWithPrecheck rides the op-log prune inside the write's own transaction (BUG-2840 half B) by composing it onto the precheck hook UpdateItem
internal/server/handlers_items_content_route.go:406
↓ 2 callersFunctioncompressSkips
Response compression (TASK-2225, audit C18). The server ignored Accept-Encoding entirely: the items index (about 2.1 MB for a large workspace, 6.8x sm
internal/server/middleware_compress.go:23
↓ 2 callersFunctionconcurrentRetitle
concurrentRetitle arms the seam to retitle the item once, from "another writer", in the window after the mutation's commit.
internal/store/bug2717_intx_snapshot_test.go:44
↓ 2 callersFunctionconfigPortValue
configPortValue reads config.toml's port the way the script's config_value does: the FIRST port line, unquoted, an inline comment and trailing space s
internal/buildtools/bug4066_harness_guard_test.go:112
↓ 2 callersFunctionconfigured
()
web/src/lib/components/editor/editorUploadIdentityFence.svelte.test.ts:112
↓ 2 callersFunctionconfirmOpenChildrenOrThrow
( err: unknown, parentRef: string, retryWithForce: () => Promise<T>, /** * Whether the prompt is still w
web/src/lib/items/openChildrenError.ts:113
↓ 2 callersFunctionconfirmRow
(label: string)
web/src/lib/components/items/attachmentDeleteIdentityFence.svelte.test.ts:117
↓ 2 callersFunctionconfirmRow
By VISIBLE label — MenuItem's icon span is part of `textContent`.
web/src/lib/components/items/ItemAttachmentStrip.svelte.test.ts:1012
↓ 2 callersFunctionconfirmRows
()
web/src/lib/components/items/ItemAttachmentStrip.svelte.test.ts:1007
↓ 2 callersFunctionconfirmSignOut
()
web/src/lib/stores/signOutGuard.svelte.ts:75
↓ 2 callersFunctionconnRef
connRef is a connection's identity for a stored retry: this process's boot id and the connection's id.
internal/collab/applier.go:897
↓ 2 callersFunctionconnected
(ws = 'ws-a')
web/src/lib/services/sseLiveness.svelte.test.ts:102
↓ 2 callersFunctionconnectionToDTO
(c models.OAuthConnection, stats *models.MCPConnectionStats)
internal/server/handlers_connected_apps.go:77
↓ 2 callersFunctionconsentRedirectTarget
consentRedirectTarget names where the browser goes after the decision. An https or http redirect is named by its host. Any other scheme hands the brow
internal/server/handlers_oauth.go:2488
↓ 2 callersFunctionconsider
(pos: number, yCoord: number)
web/src/lib/components/editor/block-drag-handle.ts:165
↓ 2 callersMethodconsumeBootstrapToken
consumeBootstrapToken clears the in-memory token and deletes the on-disk file. Called after the first admin is successfully created. Caller MUST hold
internal/server/bootstrap.go:214
↓ 2 callersFunctionconsumeItemRestored
(itemId: string)
web/src/lib/attachments/archivedItemRegistry.ts:59
↓ 2 callersFunctioncontains
(s, substr string)
internal/cli/agents_test.go:150
↓ 2 callersFunctioncontains
contains is a small test helper.
internal/server/handlers_playbooks_test.go:404
↓ 2 callersMethodcontains
(pos int)
internal/links/mentions.go:105
↓ 2 callersFunctioncontainsAction
containsAction reports whether a tool's documentation line references the given action. Actions are rendered backtick-quoted in the README table (`cre
internal/mcp/tool_surface_drift_test.go:125
↓ 2 callersFunctioncontainsAwait
(n: Node)
web/src/test/identityFenceAst.ts:1530
↓ 2 callersFunctioncontainsDevice
(ds []PushDevice, id string)
internal/store/task3939_push_dispatch_test.go:517
↓ 2 callersFunctioncontainsFold
(list []string, v string)
internal/store/catch_up.go:519
↓ 2 callersFunctioncontainsPair
containsPair returns true when args contains an adjacent (flag, value) pair. Used to assert "--workspace docapp" appears in BuildCLIArgs's output with
internal/mcp/bug985_test.go:209
↓ 2 callersFunctioncontainsString
(ss []string, want string)
internal/server/dashboard_attention_decisions_test.go:226
↓ 2 callersMethodcontent
(t *testing.T)
internal/server/bug3815_restore_unreconstructable_test.go:93
↓ 2 callersFunctioncontentPatches
()
web/src/lib/components/items/itemDetailIdentityLoad.svelte.test.ts:201
↓ 2 callersFunctioncontentPreview
contentPreview returns the first non-empty line of the body (markdown stripped of a leading heading marker), truncated to contentPreviewLimit runes wi
internal/cli/item_summary.go:105
↓ 2 callersMethodcontentState
(t *testing.T)
internal/server/bug3244_schema_rebuild_set_aside_test.go:93
↓ 2 callersMethodcontextAdmissibleQ
contextAdmissibleQ is the shared check, under the locks, for mint and redeem: install active in the item's workspace, item in one of the install's CUR
internal/store/app_item_actions.go:265
↓ 2 callersMethodcontextListActive
(r *http.Request, workspaceID, collID string, needsContent bool)
internal/server/handlers_item_context.go:535
↓ 2 callersMethodcontextLocksTx
(tx *sql.Tx, installID, itemID, actionKey string)
internal/store/app_item_actions.go:216
↓ 2 callersMethodcontextViewerVisible
contextViewerVisible is the viewer re-admission for mint and redeem: the human item read's own visibility rule (checkItemVisibleQ) with the viewer's C
internal/server/app_item_actions.go:90
↓ 2 callersFunctioncontrast
(a: string, b: string)
web/src/routes/[username]/[workspace]/graph/graphTheme.ts:50
↓ 2 callersMethodcontrol
(msg: object)
web/src/lib/items/confirmedBaseSent.svelte.test.ts:37
↓ 2 callersMethodcontrol
(msg: object)
web/src/lib/collab/wsProviderAtRiskOnClose.svelte.test.ts:34
↓ 2 callersMethodcontrol
(msg: object)
web/src/lib/collab/wsProviderApplierRefuse.svelte.test.ts:29
↓ 2 callersMethodcontrol
(msg: object)
web/src/lib/collab/wsProviderApplierPatch.svelte.test.ts:29
↓ 2 callersMethodcontrol
(msg: object)
web/src/lib/collab/wsProviderOnConfirmed.svelte.test.ts:30
↓ 2 callersMethodconv
conv maps a wall reading into the library's time space: a UTC-labelled wall on the wall-clock path (so time.Date never guesses in a gap and Resolve ma
internal/schedule/engine.go:112
↓ 2 callersFunctionconventionCreatePayload
( title: string, content: string, convention: ItemConventionMetadata )
web/src/lib/conventions/createPayload.ts:10
↓ 2 callersFunctionconventionRoleFieldValue
conventionRoleFieldValue is the item's `role` field as a trimmed string, or "" when it is absent, empty, not a string, or the blob does not decode.
internal/store/convention_role_backfill.go:173
↓ 2 callersFunctionconvertLegacyReminderBundle
convertLegacyReminderBundle normalizes the old input before either schedule writer runs. It leaves the supplied bundle untouched, including on refusal
internal/store/reminder_import.go:13
↓ 2 callersFunctioncopyButton
()
web/src/lib/components/editor/codeBlockCopy.svelte.test.ts:88
↓ 2 callersMethodcopyConventionRole
copyConventionRole sets the column and moves the seq in one conditional UPDATE, then records the system activity row in the same transaction.
internal/store/convention_role_backfill.go:203
↓ 2 callersFunctioncopyDialog
The copy dialog, addressed by accessible name (never `[role="dialog"]`).
web/e2e/copy-dialog.spec.ts:34
↓ 2 callersMethodcopyHTTPClient
copyHTTPClient is the dedicated client for the mutating copy (DR-13 mechanism 1): its own transport, its own timeout, and no redirect following. The
internal/cli/client_items_copy.go:405
↓ 2 callersFunctioncopyLimitSnapshot
(t *testing.T, s *Store)
internal/store/items_copy_attachment_limit_test.go:22
↓ 2 callersFunctioncopyResourceInvariantPreCheck
copyResourceInvariantPreCheck builds the DR-9 in-transaction re-check. WHAT IT CHECKS. Identity, and nothing else: that the resources the store re-re
internal/server/handlers_items_copy.go:702
↓ 2 callersFunctioncopyResultToast
(result: ItemCopyResult)
web/src/lib/items/copyResultToast.ts:28
↓ 2 callersFunctioncorsAllowCredentials
corsAllowCredentials reports whether the CORS middleware should set Access-Control-Allow-Credentials: true. The current CLI tooling uses Bearer tokens
internal/server/middleware_security.go:102
↓ 2 callersMethodcount
(t *testing.T, where string, args ...any)
internal/store/task3946_mention_notify_test.go:39
↓ 2 callersMethodcount
(sub string)
internal/server/handlers_commitments_missed_warn_test.go:24
↓ 2 callersFunctioncount3399
(t *testing.T, srv *Server, q string, args ...any)
internal/server/task3399_delegated_flow_test.go:301
↓ 2 callersFunctioncountComments
(t *testing.T, srv *Server, path, body string)
internal/server/task3585_comment_key_test.go:25
↓ 2 callersFunctioncountDirectReferences
(text: string)
web/src/lib/stores/workspaceIndexEntry.test.ts:132
↓ 2 callersMethodcountMCPRequest
countMCPRequest counts each request MCPBearerAuth admits to an MCP mount in pad_mcp_http_requests_total{mount, method, client} (TASK-2307): the caller
internal/server/middleware_mcp_client.go:20
↓ 2 callersMethodcountMidStreamResync
countMidStreamResync records a client told MID-STREAM that it missed events, on a connection that stayed open (BUG-2730). Deliberately NOT countResum
internal/server/server.go:1421
↓ 2 callersFunctioncountMoveRows
(t *testing.T, s *Store)
internal/store/items_cross_workspace_copy_test.go:140
↓ 2 callersMethodcountResumeGap
countResumeGap records a resume this instance refused to serve, for the gaps the BUS never sees (BUG-2731). The buses count their own coverage-based
internal/server/server.go:1402
↓ 2 callersFunctioncountSessions
(t *testing.T, srv *Server)
internal/server/task2253_cli_auth_deny_test.go:152
↓ 2 callersFunctioncountUntil429
TASK-3620: the health probe has its own per-address bucket. Refill is frozen, so each count below is the bucket's burst. The search burst (30) is pinn
internal/server/middleware_ratelimit_task3620_test.go:15
↓ 2 callersFunctioncountedChildren
(children: Item[], collections: Collection[])
web/src/lib/collections/childProgress.ts:106
↓ 2 callersFunctioncounterValue
counterValue reads one labelled counter, answering 0 when the series does not exist — which is the state an absence assertion wants, and which assertC
internal/metrics/watchevents_observer_test.go:185
↓ 2 callersFunctioncountingSubscribeServer
BUG-2799 builds a first-reply probe on PubSub.ReceiveTimeout. That is only safe if a probe that runs out of time leaves the connection alone. If the t
internal/events/redis_probe_timeout_test.go:34
↓ 2 callersFunctioncreateAdminDM
(request: APIRequestContext, f: Fixture, agent: string)
web/e2e/chat-shell-layout.spec.ts:23
↓ 2 callersFunctioncreateChild
createChild mirrors createItemChecked: the create is told it is a child (UnderParent), then the parent link is written as a second step.
internal/store/items_new_item_top_test.go:103
↓ 2 callersFunctioncreateCommentFailedLeavesNoActivity
(t *testing.T, driver store.DriverType)
internal/server/handlers_comments_atomic_test.go:107
↓ 2 callersFunctioncreateConventionWithRoleDetailed
createConventionWithRoleDetailed is createConventionWithRole plus the error message, for legs that must distinguish WHICH refusal they got — two diffe
internal/server/relation_ref_prefix_test.go:140
↓ 2 callersFunctioncreateDM
(request: APIRequestContext, f: Fixture, agent: string)
web/e2e/chat-thread-write.spec.ts:38
↓ 2 callersFunctioncreateDoc
( request: APIRequestContext, fixture: import('./fixtures').SuiteFixture, ws: string, title: string, cont
web/e2e/task-3552-diagram-graph-render.spec.ts:45
↓ 2 callersFunctioncreateFence
(identity: ViewIdentity<T>)
web/src/lib/attachments/viewFence.ts:152
↓ 2 callersMethodcreateInvitationTx
createInvitationTx writes a pending invitation with the given hashes and returns it as read back inside tx. The caller commits. A non-empty revokeID n
internal/store/workspace_members.go:1270
↓ 2 callersMethodcreateLegacy
createLegacy seeds an existing legacy row through its store-only door.
internal/server/handlers_commitments_http_test.go:161
↓ 2 callersFunctioncreateMiniSearch
()
web/src/lib/stores/localSearch.svelte.ts:263
↓ 2 callersFunctioncreatePaintFence
( identity: ViewIdentity<T> )
web/src/lib/attachments/viewFence.ts:196
↓ 2 callersFunctioncreatePlainCodeBlockView
(props: { node: { attrs: { language?: string | null } }; view: Parameters<typeof codeBlockModelText>[0]; ge
web/src/lib/components/editor/codeBlockCopy.ts:71
↓ 2 callersFunctioncreateProjectCountReporter
(log: (message: string) => void = console.log)
web/src/test/vitestProjects.ts:228
↓ 2 callersFunctioncreateReplyFailedLeavesNoActivity
(t *testing.T, driver store.DriverType)
internal/server/handlers_comments_atomic_test.go:146
↓ 2 callersMethodcreateScheduleRolesOptionsAt
(workspaceID, itemID string, in models.ScheduleCreate, roles *scheduleRoles, nowT time.Time, options *schedule
internal/store/schedules.go:463
↓ 2 callersMethodcreateSession
(userID string, epoch int64, deviceInfo, ipAddress, userAgent string, ttl time.Duration, issuedAt, signedInAt
internal/store/sessions.go:102
↓ 2 callersMethodcreateSessionTx
createSessionTx is createSession's body on a caller-owned transaction: it returns the plaintext token and the new row's id, and commits nothing.
internal/store/sessions.go:123
↓ 2 callersFunctioncreateTaggedItem
createTaggedItem creates an item with the given JSON tags array.
internal/store/tags_test.go:10
↓ 2 callersFunctioncreateViaTxErr
createViaTxErr runs createItemTx and rolls back, returning the error.
internal/store/items_create_tx_test.go:41
↓ 2 callersFunctioncreateWSForTestWithCookie
(t *testing.T, srv *Server, token string)
internal/server/task3392_bot_principal_test.go:323
↓ 2 callersFunctioncreateWSWithDeletedAt
createWSWithDeletedAt creates a workspace and stamps its deleted_at to a specific time so the boundary test can inject a deterministic age.
internal/store/workspace_purge_test.go:372
↓ 2 callersFunctioncreateWatermarkStamper
(deps: WatermarkStamperDeps)
web/src/lib/collab/watermarkStamper.ts:36
↓ 2 callersFunctioncreateWorkspace
(account: Account, name: string)
web/e2e/workspace-tabs.spec.ts:76
↓ 2 callersFunctioncredentialLivenessRecovery
credentialLivenessRecovery drives one store through the outage-and-back sequence. Shared so the two legs cannot drift.
internal/server/handlers_stream_session_liveness_test.go:870
↓ 2 callersFunctioncredentialsPath
credentialsPath is retained for internal call sites.
internal/cli/credentials.go:89
↓ 2 callersMethodcrewCount
()
internal/server/relation_multi_roundtrip_test.go:238
↓ 2 callersFunctioncrossWorkspaceDeny
(reason CrossWorkspaceDenialReason, ws *models.Workspace, role string, err error)
internal/server/authz_cross_workspace.go:517
↓ 2 callersFunctioncurrentAnswer
currentAnswer is the item's latest answer for a question key, if it answers the question as asked now.
internal/server/needs_scorers.go:236
↓ 2 callersFunctioncurrentNamespace
(kind string)
internal/cli/pid_ns_linux.go:32
↓ 2 callersFunctioncursorIsBehind
* Is `cursor` BEHIND the cursor already recorded in `meta.sync`? (TASK-2906.) * * The durable cursor is the claim that every change at or below it i
web/src/lib/stores/localIndexPersistence.ts:300
← previousnext →6,901–7,000 of 28,840, ranked by callers