MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 2 callersFunctionbestEffortWorkspaceHints
bestEffortWorkspaceHints calls lookup.ListWorkspaces and swallows errors. The error envelope is more valuable than nothing even when the listing faile
internal/mcp/errors.go:473
↓ 2 callersFunctionbigCalendar
bigCalendar seeds n items per day on `days` days of March 2031 in a world whose collection also declares a hyphenated date field.
internal/server/handlers_calendar_test.go:753
↓ 2 callersFunctionbigExportWorkspace
bigExportWorkspace makes a workspace whose JSON export is n x 768 KB of hex text, which gzips about 2:1, so the compressed body is large too.
internal/server/bug3821_write_deadline_test.go:113
↓ 2 callersFunctionbindIdentity
()
web/src/lib/services/homeLive.ts:55
↓ 2 callersFunctionbindReactiveCounter
(hook: { read: null | (() => number); write: null | ((n: number) => void); })
web/src/test/reactiveCounter.svelte.ts:7
↓ 2 callersFunctionbindScheduleFlags
(cmd *cobra.Command, f *scheduleFlags)
cmd/pad/schedule_flags.go:39
↓ 2 callersFunctionblankRelFixture
BUG-3028 on BOTH backends: the empty relation filter and the in-lock normalisation of carried blanks are SQL/JSON the server tests only ever run on SQ
internal/store/bug3028_relation_blank_test.go:17
↓ 2 callersFunctionblockAtPos
(view: EditorView, pos: number)
web/src/lib/components/editor/block-drag-handle.ts:102
↓ 2 callersFunctionblockedDraftMessage
(lostLaneLabel: string, fieldLabel: string, reason: BlockedReason)
web/src/lib/collections/laneDrafts.ts:139
↓ 2 callersFunctionboard
* A complete DashboardResponse. Every array is present because the page reads * `.length` on them unconditionally; a payload missing one throws durin
web/src/routes/[username]/[workspace]/dashboardIdentityFence.svelte.test.ts:150
↓ 2 callersFunctionboardIDs
(v any)
internal/mcp/board_test.go:226
↓ 2 callersFunctionbody
(c: HTMLElement)
web/src/lib/components/chat/MessageBubble.svelte.test.ts:264
↓ 2 callersFunctionbodyChild
A direct child of `<body>` — the shape a portaled viewer root has.
web/src/lib/a11y/viewerBackdrop.svelte.test.ts:28
↓ 2 callersFunctionboolInt
(v bool)
internal/store/reminder_collision_test.go:301
↓ 2 callersFunctionboolSettingValid
boolSettingValid reports false only when key is present and not a JSON boolean. Unparseable settings are left to the settings-shape check.
internal/models/awaits_human.go:51
↓ 2 callersFunctionboolToString
boolToString converts a Go bool to the string representation used in audit metadata. Kept local to this file because audit metadata is string-typed (J
internal/server/handlers_cloud.go:1569
↓ 2 callersFunctionbootstrapAgendaRows
(rows []store.BootstrapAgendaRow, loc *time.Location, now time.Time)
internal/server/bootstrap_agenda.go:154
↓ 2 callersFunctionbootstrapWorkspaceSlug
(t *testing.T, out map[string]any)
cmd/pad/bug3326_remote_set_workspace_test.go:68
↓ 2 callersMethodbotID
(t *testing.T)
internal/server/handlers_apps_upgrade_test.go:62
↓ 2 callersFunctionbound
The pan bound the module promises for one axis, recomputed independently.
web/src/lib/attachments/zoom.test.ts:67
↓ 2 callersFunctionbracketRewriteAt
bracketRewriteAt is the per-bracket decision, and the ONLY copy of it. It returns the replacement text for the bracket at `position` (including its en
internal/links/links.go:755
↓ 2 callersFunctionbracketUnchanged
bracketUnchanged reports whether rewriting the bracket at [position, bracketEnd) would reproduce it byte-for-byte. Allocation-free and segment-wise:
internal/links/links.go:728
↓ 2 callersFunctionbreakMissedWalk
breakMissedWalk makes the schedule's missed walk hit CapScan: from the 2000 dtstart with no re-anchor, a minutely rule inside one hour a day.
internal/server/handlers_commitments_missed_warn_test.go:181
↓ 2 callersMethodbreakTable
breakTable makes every query on table fail and returns the undo.
internal/server/task3939b_push_gates_test.go:334
↓ 2 callersFunctionbtn
(container: HTMLElement, label: RegExp)
web/src/lib/components/layout/createWorkspaceModalIdentity.svelte.test.ts:67
↓ 2 callersFunctionbtn
(container: HTMLElement, label: RegExp)
web/src/lib/components/layout/createWorkspaceModalTemplatePeek.svelte.test.ts:38
↓ 2 callersFunctionbucketByColumn
( items: Item[], groupField: string, columns: string[], /** * How to read an item's lane value, when the
web/src/lib/collections/boardColumns.ts:85
↓ 2 callersFunctionbucketLabel
(key: string, keysAreLocal = false)
web/src/lib/insights/bucketLabel.ts:43
↓ 2 callersMethodbudgetSlotLocked
(itemID string)
internal/server/materialize_recovery.go:592
↓ 2 callersFunctionbug2640AssertStatuses
(t *testing.T, got map[string]string, out string)
cmd/pad/bug2640_done_field_display_test.go:61
↓ 2 callersFunctionbug2640FakeServer
bug2640FakeServer answers the calls standup and changelog make: two collections (done field `stage` via board_group_by, and a status control), one com
cmd/pad/bug2640_done_field_display_test.go:16
↓ 2 callersFunctionbug2685PresentationWorkspace
Leg D — the two PRESENTATION doors must not publish the declaration either. These are the "bootstrap / share presentation" row of the filed table, an
internal/server/bug2685_grandfathered_reserved_key_test.go:212
↓ 2 callersFunctionbug2717Fixture
BUG-2717: restore and move returned a POST-COMMIT re-read of the item, so a concurrent write landing between the commit and that read was handed back
internal/store/bug2717_intx_snapshot_test.go:20
↓ 2 callersFunctionbug3163ItemTitles
(t *testing.T, srv *Server, ws, coll string)
internal/server/bug3163_reserved_write_doors_test.go:46
↓ 2 callersFunctionbug3314AssertClean
(t *testing.T, door, body string)
internal/server/bug3314_activity_ip_test.go:90
↓ 2 callersFunctionbug3340Setup
BUG-3340: a webhook receives full item snapshots from every collection, so configuring one is a whole-workspace capability. A workspace owner whose ac
internal/server/bug3340_webhook_scope_test.go:17
↓ 2 callersFunctionbug3591Backdate
(t *testing.T, s *Store, id string, ago time.Duration)
internal/store/bug3591_upgrades_test.go:43
↓ 2 callersFunctionbug3678Active
(t *testing.T, srv *Server, token, bearer string)
internal/server/bug3678_refresh_window_test.go:26
↓ 2 callersFunctionbug3683LongPassword
(t *testing.T)
internal/server/bug3683_password_limit_test.go:12
↓ 2 callersFunctionbug3691AssertPlanLimit403
(t *testing.T, status int, body string, limit int, wantNote string)
internal/server/bug3691_app_plan_limit_test.go:45
↓ 2 callersFunctionbug3691Count
(t *testing.T, s *Store, query string, args ...any)
internal/store/bug3691_app_plan_limit_test.go:38
↓ 2 callersFunctionbug3691StageArtifactUpgrade
(t *testing.T, u *upgradeEnv)
internal/server/bug3691_app_plan_limit_test.go:141
↓ 2 callersFunctionbug3704List
BUG-3704: every HTTP item list is bounded. A missing, zero, negative or invalid limit takes the maximum (an old client then loses rows only past it),
internal/server/bug3704_list_bounds_test.go:16
↓ 2 callersFunctionbug3768CoOwner
BUG-3768: installing an app adds its bot as a member with collection_access 'all', capped only by the install's read ceiling (the workspace's system c
internal/server/bug3768_restricted_owner_apps_test.go:21
↓ 2 callersFunctionbug3768Restrict
bug3768Restrict scopes the user to the tasks collection.
internal/server/bug3768_restricted_owner_apps_test.go:38
↓ 2 callersFunctionbug3793Check
(t *testing.T, contents []mcp.ResourceContents, wantRows int, wantNote bool)
internal/mcp/bug3793_item_resource_truncation_test.go:31
↓ 2 callersFunctionbug3793Read
BUG-3793: the pad://workspace/{ws}/items resource is capped at 200, and a capped list used to read as the whole workspace. It asks for one row past th
internal/mcp/bug3793_item_resource_truncation_test.go:19
↓ 2 callersFunctionbug3812Count
(codes []int, want int)
internal/server/bug3812_unique_race_test.go:67
↓ 2 callersFunctionbug3814StoreLines
BUG-3814, store leg: the server test (internal/server) runs on SQLite only, so this is the one that proves the snapshot holds on Postgres, where begin
internal/store/bug3814_version_snapshot_test.go:21
↓ 2 callersFunctionbug3816Providers
bug3816Providers reads the account's providers fresh.
internal/store/bug3816_unlink_last_method_test.go:33
↓ 2 callersFunctionbug3817AwaitLiveCheckWait
bug3817AwaitLiveCheckWait returns once a backend is waiting on a lock while running createInvitationTx's FOR SHARE liveness read, so a test proves the
internal/store/bug3817_resend_invitation_test.go:226
↓ 2 callersFunctionbug3831Backends
BUG-3831 — two residuals of BUG-3049's field-level patch in bulkFieldUpdate. 1. A carried value whose only change is CoerceFields re-typing it (store
internal/server/bug3831_bulk_field_prelock_test.go:27
↓ 2 callersFunctionbug3831Item
bug3831Item makes a collection with a terminal status, a number field and the end_date autoPopulateDates stamps, and one item in it.
internal/server/bug3831_bulk_field_prelock_test.go:44
↓ 2 callersFunctionbug3864Remote
(t *testing.T, f *capFixture, token string, op bug3864Op)
cmd/pad/bug3864_permission_reasons_test.go:153
↓ 2 callersFunctionbug3870Fixture
bug3870Fixture: a workspace with a second owner (the inviter), an invitee, and a pending editor invitation from the inviter to the invitee.
internal/store/bug3870_member_dead_invitation_test.go:15
↓ 2 callersFunctionbug3879Call
bug3879Call runs one tools/call and checks the one audit row it wrote. A tool failure answers with an error RESULT (isError); a call mcp-go refuses be
cmd/pad/bug3879_mcp_audit_tool_outcome_test.go:76
↓ 2 callersFunctionbug3879Rows
bug3879Rows is the user's audit rows for one tool.
cmd/pad/bug3879_mcp_audit_tool_outcome_test.go:117
↓ 2 callersFunctionbug3968Body
bug3968Body is many inline code spans followed by many wiki-links: the shape that made a per-match range scan quadratic (BUG-3968).
internal/links/bug3968_wikilink_code_spans_test.go:13
↓ 2 callersFunctionbug4019Corrupt
bug4019Corrupt creates a password user with 2FA on, under key A, then reconfigures the store with key B so the stored secret no longer decrypts. It re
internal/server/bug4019_totp_lazy_decrypt_test.go:88
↓ 2 callersFunctionbug4019Enabled
(t *testing.T, srv *Server, userID string)
internal/server/bug4019_totp_lazy_decrypt_test.go:75
↓ 2 callersFunctionbug4065Doors
()
internal/mcp/bug4065_non_numeric_inputs_test.go:146
↓ 2 callersFunctionbug4066ChildWrapper
bug4066ChildWrapper writes a `pad` stand-in that re-runs this test binary as the failing child, with a relative data dir in the parent's environment.
internal/mcp/bug4066_dispatch_child_env_test.go:50
↓ 2 callersFunctionbug4703NoFactor
bug4703NoFactor turns the env's account into one with no verification factor: no password, no mail sender.
internal/server/bug4703_totp_enrol_null_signin_test.go:12
↓ 2 callersFunctionbug4956AssertInvitationMeta
(t *testing.T, meta map[string]any, action, invitationID, role, email string)
internal/server/bug2136_invite_consent_test.go:300
↓ 2 callersFunctionbug4956InvitationAuditMeta
BUG-4956: the workspace audit rows for an invitation must not hold the invitee's address. The invitee may never become a user, so neither the account-
internal/server/bug2136_invite_consent_test.go:278
↓ 2 callersFunctionbug4956PendingInvitationID
(t *testing.T, f *accessFixture, email string)
internal/server/bug2136_invite_consent_test.go:318
↓ 2 callersMethodbuildBootstrapAgenda
buildBootstrapAgenda reads the section. It is nil when there is nothing to show.
internal/server/bootstrap_agenda.go:111
↓ 2 callersFunctionbuildBulkRemapWorkspace
buildBulkRemapWorkspace makes n items that all reference one source id from content, fields, two comments and a full-row version, so every item needs
internal/store/attachments_remap_chunk_test.go:530
↓ 2 callersFunctionbuildCanonicalExtForMIME
()
internal/attachments/mime.go:575
↓ 2 callersMethodbuildChildrenUncountedExpr
buildChildrenUncountedExpr is TRUE for a child that progress leaves out of BOTH counts: one whose done-field value closes it without delivering (aband
internal/store/items.go:5502
↓ 2 callersMethodbuildCollectionDoneContextMap
buildCollectionDoneContextMap loads schema + settings for every collection in a workspace. Used to evaluate "is terminal?" for a batch of items from p
internal/store/item_stars.go:190
↓ 2 callersFunctionbuildCollectionUrlParams
(state: CollectionUrlFilterState, currentUrl: UrlWithParams)
web/src/lib/collections/paneUrlParams.ts:84
↓ 2 callersMethodbuildDecisionSettingsResponseLocked
()
internal/server/decision_settings.go:221
↓ 2 callersFunctionbuildDescriptor
( tool: ToolSurfaceTool, execute: (args: Record<string, unknown>) => Promise<ModelContextToolResult>, )
web/src/lib/webmcp/descriptors.ts:127
↓ 2 callersFunctionbuildDescriptors
( surface: ToolSurfaceResponse, executeFor: ( toolName: string, ) => (args: Record<string, unknown>) => P
web/src/lib/webmcp/descriptors.ts:177
↓ 2 callersFunctionbuildDoc
(row: ItemIndexRow)
web/src/lib/stores/localSearch.svelte.ts:350
↓ 2 callersFunctionbuildItemSortRanked
buildItemSortRanked is buildItemSort with the select-field ranks of selectSortRanks (BUG-4400): a field named in ranks sorts by its rank expression, t
internal/store/items.go:6552
↓ 2 callersFunctionbuildItemState
(item *models.Item, comments []models.Comment, links *[]ItemStateLink)
internal/decision/runner.go:294
↓ 2 callersMethodbuildMCPSettingsResponse
()
internal/server/handlers_admin_mcp.go:251
↓ 2 callersFunctionbuildPlaceholder
(filename: string)
web/src/lib/components/editor/attachment-upload.ts:138
↓ 2 callersFunctionbuildRelatedGroups
(item *models.Item, links []models.ItemLink)
cmd/pad/query.go:392
↓ 2 callersFunctionbuildRoleLaneEntry
buildRoleLaneEntry converts raw scanned item/lease columns into a roleLaneEntry, returning ok=false when the item's collection is absent or the item i
internal/store/role_park.go:248
↓ 2 callersFunctionbuildRoleQueueLaneResponse
( wsSlug, ownerUsername string, role *models.AgentRole, nowEntries, queueEntries []store.RoleLaneEntry, le
internal/server/handlers_role_queue.go:107
↓ 2 callersFunctionbuildScheduleCreate
(f scheduleFlags)
cmd/pad/schedule_flags.go:66
↓ 2 callersFunctionbuildTestRoot
buildTestRoot returns a minimal cobra tree that mirrors `pad`'s structure closely enough to exercise the help routing layer: root ├── item (group)
cmd/pad/help_cmdhelp_test.go:26
↓ 2 callersFunctionbuildTimeline
buildTimeline merges comments, activities, versions, implementation notes, and decision-log entries into a single chronological stream, applying dedup
internal/server/handlers_timeline.go:491
↓ 2 callersFunctionbuildToolSurfacePayload
buildToolSurfacePayload assembles the full tool-surface document (version + rollout status + tools) from a catalog slice. The payload shape is identic
internal/mcp/tool_surface.go:326
↓ 2 callersFunctionbuiltinKindOf
builtinKindOf answers the built-in kind a collection's traits declare (convention or playbook), or "" for any other collection.
internal/store/builtin_legacy.go:186
↓ 2 callersFunctionbuiltinOfferHeadline
--- export --- builtinOfferHeadline names an offered state for a person.
cmd/pad/cmd_library.go:508
↓ 2 callersFunctionbuiltinOffers
(state string)
internal/server/handlers_builtin.go:56
↓ 2 callersFunctionbuiltinReplacedFields
builtinReplacedFields describes each key of patch whose value differs from the item's current one, as `key: old → new` (a nil new value reads "removed
internal/server/handlers_builtin.go:230
↓ 2 callersFunctionbuiltinTextOf
builtinTextOf is a stored text as a builtinText: its fields without status, start, start_when or nulls, the shape BuiltinEntry.UpdateFields gives the
internal/server/handlers_builtin.go:66
↓ 2 callersFunctionbuiltinWorkspaceGroupView
(id, userID string, admitted []models.Workspace)
internal/server/handlers_workspace_groups.go:187
↓ 2 callersFunctionbumpEpoch
Stand-in for anything that mutates the local index.
web/src/lib/components/items/ItemPicker.svelte.test.ts:84
↓ 2 callersFunctionbumpReconcileToken
(ws: string)
web/src/lib/stores/localIndex.svelte.ts:378
↓ 2 callersFunctionbundleLimitRace
--- U1 on the BUNDLE import door (gzip body, same route) --- bundleLimitRace sends a one-entry bundle import from a session-authenticated free-plan us
internal/server/handlers_plan_limit_race_test.go:327
↓ 2 callersFunctionbusyMappingCases
--- handler-level mapping, real Postgres SQLSTATEs ---------------------------
internal/server/task4278_error_mapping_test.go:242
↓ 2 callersFunctionbutton
(re: RegExp)
web/src/routes/(console)/settings/account/task2193TokenConfirm.svelte.test.ts:69
↓ 2 callersFunctionbutton
(re: RegExp)
web/src/routes/(console)/settings/account/task3505TokenRotate.svelte.test.ts:76
↓ 2 callersFunctionbutton
(re: RegExp)
web/src/lib/components/collections/schemaEditImpact.svelte.test.ts:97
← previousnext →7,301–7,400 of 31,685, ranked by callers