MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 2 callersMethodlogExhaustion
logExhaustion is the ONE line a stuck item leaves: which item, how many failures, and the kind of the last one. WARN, because from here on the item's
internal/server/materialize_recovery.go:655
↓ 2 callersMethodlogSpend
logSpend writes the evaluation's spend line: counts and identifiers only, never a question, an answer, the item's text or an error message (a provider
internal/decision/runner.go:722
↓ 2 callersMethodlogStop
(c *child, reason string, delay time.Duration, extra ...any)
internal/materialize/supervisor.go:980
↓ 2 callersFunctionlooksLikeFieldKey
(field: string)
web/src/lib/utils/activityChanges.ts:92
↓ 2 callersFunctionlookupAll
(src Sources, deps []Dep, concurrency int)
cmd/depages/main.go:320
↓ 2 callersFunctionloopBindings
The names a loop's own head declares (`for (let i …)`, `for (const x of …)`).
web/src/test/identityFenceAst.ts:773
↓ 2 callersFunctionlostLaneLabel
( target: { lostLane: string; lostField?: string }, labelFor: (fieldKey: string) => string, )
web/src/lib/collections/laneDrafts.ts:130
↓ 2 callersFunctionluminance
(hex: string)
web/src/routes/[username]/[workspace]/graph/graphTheme.ts:43
↓ 2 callersFunctionmakeCollection
(id: string, slug: string)
web/src/lib/components/common/QuickActionsMenu.svelte.test.ts:77
↓ 2 callersFunctionmakeDest
()
internal/models/testdata/decodeshapes/shapes.go:26
↓ 2 callersFunctionmakeTarget
A stand-in scroll container; `scrollTo` firing is the "restore proceeded" signal.
web/src/lib/scroll/restore.svelte.test.ts:58
↓ 2 callersFunctionmanifest
(origin: string)
web/e2e/task-3415-real-install.spec.ts:62
↓ 2 callersFunctionmanifestField
manifestField reads one top-level string from a stored manifest.
internal/store/app_item_actions.go:193
↓ 2 callersFunctionmap
(...rs: ChatRef[])
web/src/lib/components/chat/MessageBubble.svelte.test.ts:262
↓ 2 callersFunctionmapGrantRevoked
mapGrantRevoked turns a mint refused on a revoked grant into fosite.ErrInactiveToken, which fosite answers invalid_request rather than server_error (B
internal/oauth/storage.go:288
↓ 2 callersFunctionmapItemPatch
mapItemPatch is itemPatchRoute with its two numeric inputs validated here (BUG-4065, folded from BUG-4061, decision 63360424). They used to be forward
internal/mcp/dispatch_http_routes.go:911
↓ 2 callersFunctionmapPflagType
mapPflagType translates pflag Value.Type() strings to the cmdhelp v0.1 type vocabulary (spec §5.1) and reports whether the flag is repeatable. pflag
internal/cmdhelp/json.go:444
↓ 2 callersFunctionmapWorkspaceClaim
mapWorkspaceClaim dispatches `pad workspace claim <code> --workspace <slug>`. POST /api/v1/oauth/claim with body {workspace, code} — see internal/ser
internal/mcp/dispatch_http_routes.go:1426
↓ 2 callersMethodmarkConversationSeq
column is one of the two fixed marker columns above, never caller input (TASK-4038).
internal/store/conversations.go:675
↓ 2 callersFunctionmarkDeleted
()
web/src/lib/components/editor/attachment-chip.ts:346
↓ 2 callersFunctionmarkItemArchived
(itemId: string)
web/src/lib/attachments/archivedItemRegistry.ts:50
↓ 2 callersFunctionmarkItemListTruncation
markItemListTruncation trims a list result fetched with limit+1 back to limit and, when it had the extra row, sets has_more on the structured result a
internal/mcp/catalog_item.go:959
↓ 2 callersMethodmarkRaw
---- an offset update leaves the mark ---- markRaw writes the mark the cancel hook writes, on item i's outstanding occurrence, with an optional dragge
internal/store/commitment_cancel_test.go:295
↓ 2 callersMethodmarkUnconfirmedAdmission
markUnconfirmedAdmission records that Redis did not acknowledge a subscription within the bound, so its callers are being admitted without this instan
internal/events/redis_bus.go:2026
↓ 2 callersFunctionmarkWorkspaceDropped
* Record that a workspace's rows are gone. EVERY path that drops them calls * this — `reset()`, which deletes the whole state entry, and `bootstrap()
web/src/lib/stores/localIndex.svelte.ts:390
↓ 2 callersFunctionmarkdownShowBodies
IDEA-2937: `pad item show <ref> --format markdown` is the machine-facing read of an item body, and `pad item update <ref> --stdin` is the write. Toget
cmd/pad/item_show_markdown_roundtrip_test.go:31
↓ 2 callersFunctionmarker
(n: number)
web/src/routes/(console)/needs/needsPage.svelte.test.ts:24
↓ 2 callersFunctionmarkerRun
BUG-3215. Between the stop and the restart nothing serves the port, and a pad CLI call in that window used to auto-start a server of its own (the call
internal/buildtools/install_refresh_marker_test.go:23
↓ 2 callersFunctionmarketplaceEntries
(doc map[string]any)
internal/mcp/claude_plugin_manifest_test.go:93
↓ 2 callersFunctionmarketplaceSource
(t *testing.T, dir string)
internal/buildtools/pin_plugin_marketplace_test.go:92
↓ 2 callersFunctionmarshalWithPersistedEntryIDs
marshalWithPersistedEntryIDs marshals an append helper's result and gives any sibling entry without a usable, unique id a persisted one (BUG-2788). Th
internal/models/item.go:1139
↓ 2 callersFunctionmaskEmailShapedNames
maskEmailShapedNames replaces email-shaped person names in place.
internal/mcp/chatgpt_project.go:508
↓ 2 callersFunctionmasterCol
The route column that holds the MASTER (route-owned `.item-page-host > * .item-page` direct child). The pane is a SEPARATE direct child * (`aside.
web/e2e/pane-full-page-capstone.spec.ts:81
↓ 2 callersFunctionmatchModeAlias
(options []modeOption, input string)
cmd/pad/configure.go:292
↓ 2 callersFunctionmatchNoneProvider
()
internal/server/handlers_playbook_match_ratelimit_test.go:33
↓ 2 callersFunctionmatches
matches returns every start offset of sub in s, overlapping ones included: "aa" occurs twice in "aaa", and a uniqueness check that counted it once wou
internal/bodypatch/bodypatch.go:115
↓ 2 callersFunctionmaterialize
(jobJSON: string)
web/src/lib/collab/materializer/entry.ts:78
↓ 2 callersFunctionmaxScale
(g: Geometry)
web/src/lib/attachments/zoom.ts:248
↓ 2 callersMethodmaxTransitionSeqs
(q Queryer, ids []string)
internal/store/milestone.go:596
↓ 2 callersFunctionmaxWorkspaceSeq
(t *testing.T, s *Store, workspaceID string)
internal/store/items_create_tx_test.go:71
↓ 2 callersFunctionmayReadImportNote
mayReadImportNote: the workspace's owners, and instance admins who are MEMBERS of it. An admin admitted only through a guest grant reads the workspace
internal/server/handlers_workspaces.go:641
↓ 2 callersMethodmaybeWarnStorageQuota
maybeWarnStorageQuota emits a slog warning if the workspace's usage has crossed the owner-plan storage limit. Phase 1 is observational only — see DOC-
internal/server/handlers_attachments.go:964
↓ 2 callersFunctionmcp
(tool, args)
plugin/hooks/register.js:97
↓ 2 callersMethodmcpAuditDroppedSnapshot
mcpAuditDroppedSnapshot returns the cumulative number of audit entries dropped due to buffer-full backpressure. Exported as a method on Server so admi
internal/server/middleware_mcp_audit.go:201
↓ 2 callersFunctionmcpAuditEntryToDTO
(e models.MCPAuditEntry)
internal/server/handlers_mcp_audit.go:65
↓ 2 callersMethodmcpBlockedReasonFor
(ep config.MCPEndpoints)
internal/server/handlers_admin_mcp.go:244
↓ 2 callersMethodmcpChallengeMetadataURL
mcpChallengeMetadataURL is the protected-resource metadata URL a challenge on r names: THIS mount's document (TASK-3321 U2b; the ChatGPT mount stamps
internal/server/middleware_mcp_auth.go:647
↓ 2 callersFunctionmcpConnectionStatsKey
mcpConnectionStatsKey is the canonical map key for the result of MCPConnectionStatsForUser. Exposed via a helper so callers constructing lookup keys d
internal/store/mcp_audit.go:269
↓ 2 callersFunctionmcpRequestUA
TASK-2307: pad_mcp_http_requests_total{mount, method, client} counts each authenticated request reaching an MCP mount, so a week of Cloud traffic says
internal/server/task2307_mcp_request_counter_test.go:17
↓ 2 callersFunctionmcpServeCmd
mcpServeCmd implements the stdio MCP server. The cobra command is a thin wrapper around internal/mcp.Server — all transport / handshake behaviour and
cmd/pad/mcp.go:259
↓ 2 callersFunctionmcpServedVersion
mcpServedVersion reports whether the transport behind a mount serves version. A transport that does not say (a test stub, a wrapper that does not forw
internal/server/mcp_stream_keepalive.go:213
↓ 2 callersMethodmcpStreamPrincipalStillValid
mcpStreamPrincipalStillValid reports whether the stream may continue: its credential is live, and its user still exists and is enabled.
internal/server/mcp_stream_credential.go:60
↓ 2 callersMethodmcpToolText
BUG-3982: over remote /mcp, a PAT minted with a workspace_id is confined to that workspace, as it is over REST. The server is built through wireMCP, t
cmd/pad/bug3982_mcp_pinned_test.go:18
↓ 2 callersFunctionmeasure
()
web/src/lib/components/editor/toolbarScrollHint.ts:14
↓ 2 callersFunctionmeasure
()
web/src/lib/chat/viewport.ts:19
↓ 2 callersFunctionmeasureBulkWorkspace
measureBulkWorkspace builds a Postgres workspace of n items and commentsPer comments each in a handful of statements. Every rewriteEvery-th item (0 =
internal/store/runtime_pool_measure_test.go:74
↓ 2 callersFunctionmeasureRename
measureRename runs one cascade and returns its allocation profile. The sampler goroutine that tracks peak HeapAlloc is deliberately secondary: it can
internal/store/items_rename_probe_test.go:78
↓ 2 callersFunctionmemberRole
(t *testing.T, s *Store, wsID, userID string)
internal/store/workspace_invitation_accept_test.go:28
↓ 2 callersFunctionmembersFor
(who: string)
web/src/routes/[username]/[workspace]/settings/settingsLoadIdentityOrder.svelte.test.ts:54
↓ 2 callersFunctionmembershipKey
Cache key for `slug` under `userId`. See `answeredMembership`.
web/src/lib/stores/workspace.svelte.ts:116
↓ 2 callersMethodmemoFor
memoFor is the memo the handler put in ctx for this workspace, or a fresh one for a caller (a test) that did not.
internal/server/needs_scorers.go:138
↓ 2 callersMethodmentionRecipientsTx
mentionRecipientsTx keeps the mentioned users who can see c's item (TASK-3946, binding rule 645fab20): comment_mentions indexes any resolved human, so
internal/store/notifications.go:327
↓ 2 callersFunctionmenu
(ref = 'EX-30')
web/src/routes/(console)/agenda/agenda.svelte.test.ts:34
↓ 2 callersFunctionmenuButton
(r: Awaited<ReturnType<typeof mount>>)
web/src/lib/components/items/itemDetailPeekDismiss.svelte.test.ts:159
↓ 2 callersFunctionmergeChildAndCheckboxProgress
( childRows: ProgressRow[], checkboxRows: ProgressRow[], )
web/src/lib/collections/progressMerge.ts:49
↓ 2 callersFunctionmergeParameters
mergeParameters combines path-item-level parameters with operation-level ones, deduping on the (name, in) tuple. Operation- level parameters win on co
internal/urlimport/openapi.go:221
↓ 2 callersFunctionmermaidThemeForMode
( root: Element | null | undefined, prefersLight: boolean, )
web/src/lib/components/editor/mermaidTheme.ts:41
↓ 2 callersFunctionmessage
(seq: number, over: Record<string, unknown> = {})
web/src/routes/messages/messagesRoutes.svelte.test.ts:142
↓ 2 callersFunctionmetaInt
(v interface{})
internal/store/activity_seq_chain.go:90
↓ 2 callersFunctionmetricsMethodLabel
metricsMethodLabel bounds the method label (BUG-2817). The middleware runs ahead of authentication and Go's server accepts any token as a method, so r
internal/server/middleware_metrics.go:47
↓ 2 callersFunctionmiddle
(b: { x: number; y: number; width: number; height: number })
web/e2e/bug-3159-roles-children-touch-drag.spec.ts:82
↓ 2 callersMethodmigrate
()
internal/store/store.go:702
↓ 2 callersMethodmigrateCopyFields
migrateCopyFields runs the DR-12 field pipeline: migrate the source fields into the destination schema, merge the caller's overrides, then validate.
internal/store/items_cross_workspace_copy.go:1252
↓ 2 callersFunctionmilestoneRows
milestoneRows counts the rows a cascading schedule delete would take.
internal/store/reminder_commitment_milestone_test.go:43
↓ 2 callersFunctionmimeToFormat
(mime: string)
web/src/lib/components/editor/attachment-metadata.ts:366
↓ 2 callersFunctionmintAccount
(fixture: SuiteFixture, tag: string)
web/e2e/workspace-tabs.spec.ts:30
↓ 2 callersFunctionmirrorOf
TASK-2257: the reserved convention copy follows the ordinary keys a write changed.
internal/store/items_convention_mirror_test.go:12
↓ 2 callersFunctionmissingLibraryOptions
missingLibraryOptions returns, per select field, the values fieldMap carries that the library vocabulary allows and the field's options lack.
internal/server/library_option_widen.go:149
↓ 2 callersFunctionmkdirOwned
mkdirOwned builds the directory under a staging name, takes the flock on its owner.lock, and only then renames it to prefix<pid>-<random>, so a sweep
internal/testtmp/lock_unix.go:21
↓ 2 callersFunctionmockGeometry
Mock the geometry the viewer reads, so the cursor anchor is observable.
web/src/lib/components/common/Lightbox.svelte.test.ts:1823
↓ 2 callersMethodmodelClientToFosite
modelClientToFosite turns a stored client row into the fosite.DefaultClient fosite expects. Public clients only — Secret stays empty; PKCE is the only
internal/oauth/storage.go:625
↓ 2 callersFunctionmodels_ItemUpdateContent
Small constructors, so the corpus loop reads as the assertion rather than as struct plumbing.
internal/store/nulguard_test.go:169
↓ 2 callersFunctionmodels_ItemUpdateFields
(v string)
internal/store/nulguard_test.go:170
↓ 2 callersFunctionmodernDiscover
(t *testing.T, h http.Handler)
internal/mcp/transport_test.go:64
↓ 2 callersFunctionmonitorClient
monitorClient builds a Client for the monitor loop WITHOUT any of getClient()'s side effects that are fatal (or interactive) for an unattended backgro
cmd/pad/cmd_watch.go:421
↓ 2 callersFunctionmore
()
web/src/lib/components/attachments/AttachmentTablePreview.svelte.test.ts:28
↓ 2 callersFunctionmore
()
web/src/lib/components/chat/MessageBubble.svelte.test.ts:117
↓ 2 callersFunctionmount
()
web/src/lib/components/auth/EditTokenAccessDialog.svelte.test.ts:17
↓ 2 callersFunctionmountComposer
Mount a composer wired to `thread` for conversation `n`, as ChatThreadView does.
web/src/lib/stores/chatThread.lateRefusal.svelte.test.ts:91
↓ 2 callersFunctionmountTab
(doc = new Y.Doc())
web/src/lib/collab/materializer/materializerParity.svelte.test.ts:163
↓ 2 callersFunctionmovable
(t: string, allowB = false)
web/e2e/permission-walk-move.spec.ts:81
↓ 2 callersFunctionmove
(e: PointerEvent)
web/src/lib/chat/longPress.ts:36
↓ 2 callersFunctionmoveCmd
--- move ---
cmd/pad/cmd_item.go:1929
↓ 2 callersFunctionmoveDrag
(clientY: number)
web/src/lib/components/editor/block-drag-handle.ts:745
↓ 2 callersMethodmoveInputsUnchanged
moveInputsUnchanged is a move's under-lock precheck. A move builds its payload from reads taken before it takes its lock (BUG-3665). Every input to it
internal/server/handlers_items.go:4786
↓ 2 callersFunctionmoveMonth
(day: string, amount: number)
web/src/lib/calendar/monthGrid.ts:47
↓ 2 callersFunctionmsg
(seq: number, tag: string, over: Partial<ChatMessage> = {})
web/src/lib/stores/chatThread.property.svelte.test.ts:107
↓ 2 callersFunctionmsg
(when: Date, over: Partial<ChatMessage> = {})
web/src/lib/chat/grouping.test.ts:12
↓ 2 callersFunctionmultiRelationSchema
`multi_relation` shape validation (PLAN-2857 U4). This package is DB-free, so these tests are about SHAPE only — whether an element names a live item
internal/items/validate_multi_relation_test.go:19
↓ 2 callersFunctionmustCompile
(t *testing.T, start, tz, rule string, rdates []string)
internal/store/schedule_fire_test.go:768
← previousnext →7,701–7,800 of 28,840, ranked by callers