MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 2 callersFunctionitemCopyValue
itemCopyValue renders a carried field value without lying about it: a JSON null renders as an explicit marker, strings are quoted so an empty string i
cmd/pad/cmd_item.go:3159
↓ 2 callersFunctionitemCount
(t *testing.T, srv *Server, ws, collSlug string)
internal/server/task2189_collection_restore_test.go:42
↓ 2 callersMethoditemCreateRace
W1: the item create door.
internal/server/handlers_plan_limit_race_test.go:522
↓ 2 callersMethoditemDoneFilterQ
(q Queryer, itemID string)
internal/store/schedule_resolve.go:811
↓ 2 callersFunctionitemExportCmd
--- artifact export / import ---
cmd/pad/cmd_item.go:3205
↓ 2 callersFunctionitemFor
(slug: string, collSlug = 'tasks')
web/src/lib/components/items/itemDetailProgressIsTheServers.svelte.test.ts:61
↓ 2 callersMethoditemGateView
itemGateView is an item's gate view for one reader: the gates holding it, and the dependents it releases. Agenda and work-list reads keep ScheduleGate
internal/server/handlers_commitment_gates.go:72
↓ 2 callersFunctionitemIDByTitle
(t *testing.T, srv *Server, ws *models.Workspace, title string)
internal/server/handlers_me_needs_test.go:508
↓ 2 callersFunctionitemIDs
(s []*models.Item)
internal/store/commitment_links_test.go:184
↓ 2 callersFunctionitemIdentifierHasUpper
itemIdentifierHasUpper inspects the original spelling before ref parsing uppercases it. A mixed-case identifier follows the canonical-ref policy.
internal/store/items.go:1048
↓ 2 callersMethoditemImportRace
W2: the artifact import door, which mints through the same createItemChecked.
internal/server/handlers_plan_limit_race_test.go:530
↓ 2 callersFunctionitemMoveNeedsValueHint
itemMoveNeedsValueHint prints the needs_value rows the copy preflight reports for a same-workspace move that was refused as missing_required_fields: e
cmd/pad/cmd_item.go:5041
↓ 2 callersFunctionitemMoveStateChangeHint
itemMoveStateChangeHint turns a state_change_requires_value refusal's details into the exact command that answers it (BUG-2367 item 4). The server mes
cmd/pad/cmd_item.go:5063
↓ 2 callersFunctionitemOpenCmd
--- open ---
cmd/pad/cmd_item.go:1212
↓ 2 callersMethoditemOrder
itemOrder is the ORDER BY of an item list. With OrderByDay set it is the date order the calendar pages by: the same value the day filters read (the in
internal/store/items.go:2557
↓ 2 callersMethoditemRace
(t *testing.T, door func(t *testing.T) *httptest.ResponseRecorder)
internal/server/handlers_plan_limit_race_test.go:504
↓ 2 callersFunctionitemRefLookupSQL
itemRefLookupSQL builds the one shared SELECT for both ordinary Queryer callers and the app door's concrete *sql.Tx path. allowMoves=false omits histo
internal/store/item_refs.go:32
↓ 2 callersFunctionitemRefString
itemRefString returns "TASK-5"-style refs for non-nil items, or the empty string when the collection prefix or item number is missing. Mirrors cli.Ite
internal/mcp/dispatch_http_links.go:562
↓ 2 callersMethoditemRefTx
itemRefTx is the item's "PREFIX-NUMBER" reference, read inside tx, or "" when it has none (no item number, or a collection with no prefix).
internal/store/wiki_links.go:1933
↓ 2 callersFunctionitemReleaseCmd
()
cmd/pad/cmd_item_lease.go:103
↓ 2 callersFunctionitemUpdateAffectsHome
itemUpdateAffectsHome reports whether an item update changed any field that the home or agents views read (title, collection, schema fields, agent rol
internal/server/home_hint.go:204
↓ 2 callersFunctionitemUrl
(fixture: SuiteFixture, ref: string)
web/e2e/bug-3540-raw-save-stale-base.spec.ts:27
↓ 2 callersFunctionitemUrl
(id: string)
web/e2e/bug-3850-draft-trailing-newline.spec.ts:26
↓ 2 callersFunctionitemVersionDiffFrom
itemVersionDiffFrom is GetItemVersionDiff over versions already resolved from currentContent.
internal/store/items.go:6980
↓ 2 callersFunctionitemVersionResolvesTo
resolvesTo requires some item version to resolve to exactly want.
internal/store/bug3839_invalid_utf8_version_test.go:56
↓ 2 callersMethoditemVisibleForQ
(r *http.Request, workspaceID string, includeTrashed bool)
internal/server/relation_hydration.go:125
↓ 2 callersMethoditemVisibleTo
itemVisibleTo is requireItemVisible without the response: the app ceiling, then the store's visibility rules.
internal/server/handlers_verifications.go:379
↓ 2 callersFunctionitemWebPath
(workspace models.Workspace, item models.Item)
cmd/pad/cmd_item.go:1249
↓ 2 callersMethoditemsFor
itemsFor reads the rows' items once and returns that read to every later caller, whatever rows it passes: every scorer sharing a memo must pass the sa
internal/server/needs_scorers.go:134
↓ 2 callersFunctionjobTimeout
jobTimeout is one job's hard deadline: the configured base plus PerKiBTimeout for each KiB of its rows, never below the base and never above MaxTimeou
internal/materialize/supervisor_config.go:75
↓ 2 callersFunctionjoinFieldEquals
joinFieldEquals ORs the two halves JSONFieldEqualsParts returns.
internal/store/dialect_fieldvalue.go:68
↓ 2 callersFunctionjoinSeededAt
joinSeededAt joins the item's room as a tab whose document was seeded from items.content at contentSeq (since=0), and returns the first control frame:
internal/server/bug3746_prune_replace_fence_test.go:99
↓ 2 callersFunctionjpegWithEXIF
jpegWithEXIF encodes a JPEG of the given size and splices an APP1 "Exif" segment in right after SOI, so the source demonstrably CARRIES EXIF. The deco
internal/server/handlers_share_attachments_derive_test.go:82
↓ 2 callersFunctionjsonEqual
jsonEqual compares two parsed-JSON maps for value equality. Cheaper than reflect.DeepEqual and accepts the float/string nuances of json.Unmarshal outp
internal/mcp/install.go:384
↓ 2 callersFunctionjsonHandler
--- end-to-end routing, one case per surface --- jsonHandler serves canned JSON per URL-path suffix so each command's client call is satisfied without
cmd/pad/format_markdown_surfaces_test.go:114
↓ 2 callersFunctionjsonHasCode
(t *testing.T, rr interface{ Bytes() []byte }, code string)
internal/server/bug2367_migrate_doors_test.go:319
↓ 2 callersFunctionjsonNumber
(n int)
internal/mcp/resources_test.go:576
↓ 2 callersMethodjudgeVerifications
judgeVerifications sets state and possibly_stale on rows, and fills via refs the caller may see. The PRs considered are the item's own github_pr and e
internal/server/handlers_verifications.go:326
↓ 2 callersFunctionkeepPathHelperKeepArm
(t *testing.T, name string, check func(string, string) (*models.WorkspaceMember, error))
internal/server/handlers_import_bundle_partial_test.go:192
↓ 2 callersFunctionkeepPathOwnerAddFailureRemoves
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_partial_test.go:141
↓ 2 callersFunctionkeepPathPartialIsReachable
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_partial_test.go:99
↓ 2 callersFunctionkeepRecordedOnTerminal
keepRecordedOnTerminal drops, for an item in a terminal status, every entry that does not come from a history row (outstanding, scheduled, projected,
internal/server/handlers_calendar.go:354
↓ 2 callersMethodkeepalive
keepalive writes one comment frame, and reports whether the stream can take another. It writes nothing once the stream has ended or failed.
internal/server/mcp_stream_keepalive.go:118
↓ 2 callersFunctionkeptPartialImportRemaps
(t *testing.T, driver store.DriverType)
internal/server/bug3656_import_remap_test.go:102
↓ 2 callersFunctionkey
(r: { len: number; gap: number })
web/src/lib/utils/markdown.ts:1112
↓ 2 callersFunctionkey
(userId: string | null, ws: string)
web/src/lib/stores/localIndexPersistence.ts:200
↓ 2 callersFunctionkey
(code: string)
web/src/lib/invitations/proof.ts:15
↓ 2 callersFunctionkey
(ws: string, section: CappedSection)
web/src/lib/dashboard/caps.ts:44
↓ 2 callersMethodkeyFor
(path: string)
web/src/lib/stores/homeOverview.svelte.ts:23
↓ 2 callersFunctionkeyedEaches
(file: string, src: string)
web/src/lib/eachKeyCensus.test.ts:62
↓ 2 callersFunctionkeysOf
(m map[string]any)
internal/server/handlers_items_content_echo_test.go:132
↓ 2 callersFunctionkeysOnPosition
(keyNode: Node, index: string | undefined)
web/src/lib/eachKeyCensus.test.ts:96
↓ 2 callersFunctionkickAll
(set map[*kickReg]struct{})
internal/server/access_kick.go:119
↓ 2 callersMethodkickUser
kickUser and kickWorkspace wake every matching connection and report how many they reached. Non-blocking: a connection with a kick already pending nee
internal/server/access_kick.go:101
↓ 2 callersMethodkickWorkspace
(workspaceID string)
internal/server/access_kick.go:110
↓ 2 callersFunctionkid
(id: string, n: number)
web/src/lib/components/childItemsReorderFailure.svelte.test.ts:13
↓ 2 callersFunctionkind
(k: string)
web/e2e/task-2224-sse-request-budget.spec.ts:237
↓ 2 callersMethodkindLabel
()
cmd/pad/cmd_schedule.go:121
↓ 2 callersFunctionkindsFixture
PLAN-2348 U3: a view that renders a subset of the timeline pages through its own kinds. The History tab of a comment-heavy item used to open on a page
internal/server/plan2348_timeline_kinds_test.go:19
↓ 2 callersFunctionland
* A landing in `slug`: open it as an ephemeral tab unless it is already in * the open set. Decided against a committed list, never blind: until the
web/src/lib/stores/tabs.svelte.ts:204
↓ 2 callersFunctionlane
(over: Partial<RoleQueueResponse> = {})
web/src/lib/components/home/AgentsPanel.svelte.test.ts:35
↓ 2 callersFunctionlane
(queue: number)
web/src/lib/stores/agentsOverview.svelte.test.ts:11
↓ 2 callersFunctionlaneNeedsOwnPresence
(nowEntries []store.RoleLaneEntry, leases map[string]models.ItemLease, userID string)
internal/server/handlers_role_queue.go:51
↓ 2 callersFunctionlaneValue
* TRIMMED. `relationChipFor` has always trimmed, so a * legacy value stored as `" id-red "` produced a live CHIP and an unresolved * LANE — the same
web/src/lib/collections/relationGroups.ts:162
↓ 2 callersFunctionlaneWriteRefusalMessage
(reason: LaneWriteRefusal, fieldLabel: string)
web/src/lib/collections/laneWriteValue.ts:130
↓ 2 callersFunctionlapseRenegotiateInput
(scope string)
internal/store/commitment_renegotiate_lapse_test.go:14
↓ 2 callersFunctionlargeDistinctWords
largeDistinctWords returns about n bytes of space-separated distinct lowercase words, the input that makes the largest tsvector per byte.
internal/store/item_entries_index_test.go:590
↓ 2 callersFunctionlastHrefSegment
* Extract the trailing path segment of a SAME-WORKSPACE internal item href, * e.g. "/alice/myws/tasks/TASK-5" -> "TASK-5", "/alice/myws/tasks/TASK-5/
web/src/lib/collections/paneTarget.ts:77
↓ 2 callersFunctionlastOccurrenceCases
()
internal/store/schedule_end_guard_test.go:57
↓ 2 callersFunctionlastViewer
()
web/src/lib/components/items/itemDetailTouchEdit.svelte.test.ts:241
↓ 2 callersFunctionlateUploadRow
TASK-4279 (audit 10-29, high 4): both blob reclaimers counted the rows protecting a hash BEFORE taking the in-flight lock. An upload of the same conte
internal/server/task4279_blob_reclaim_race_test.go:19
↓ 2 callersFunctionlaterInstant
(a, b string)
internal/store/schedule_carry_v2.go:120
↓ 2 callersFunctionleaderElectionSupported
()
web/src/lib/services/sse.svelte.ts:335
↓ 2 callersFunctionleaseDisplayItem
(withLease bool)
internal/cli/format_lease_test.go:37
↓ 2 callersFunctionleaseHolderOf
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/task1809_lease_agent_default_test.go:41
↓ 2 callersFunctionlegacyAdoptionWorkspace
BUG-3806: AdoptLegacyBuiltins matched on the title, fields and content it buffered in its scan, then inserted origins in a later transaction without r
internal/store/bug3806_legacy_adoption_race_test.go:17
↓ 2 callersFunctionlegacyGrant
BUG-3337: a grant chain minted before PLAN-1519 carries its allow-list in session.Extra, and startup's backfill seeds a connection row from it. Connec
internal/server/bug3337_connection_authoritative_test.go:26
↓ 2 callersFunctionlegacyItemByTitle
(t *testing.T, s *Store, wsID, title string)
internal/store/bug3806_legacy_adoption_race_test.go:41
↓ 2 callersFunctionlegacySkillHashKnown
legacySkillHashKnown reports whether hash is what some past pad release wrote for this tool, before files carried a stamp. The list is frozen (skill_l
internal/cli/skillstamp.go:280
↓ 2 callersFunctionlevelIndex
levelIndex parses a score probability/legend key ("0", "1", ...) into its integer index. A key that is not an integer sorts last rather than panicking
internal/decision/typesafe.go:707
↓ 2 callersFunctionlibraryActivateCmd
()
cmd/pad/cmd_library.go:323
↓ 2 callersFunctionlibraryVocabularyFor
libraryVocabularyFor is the library vocabulary for a SYSTEM collection declaring the convention or playbook artifact kind, nil for any other.
internal/server/library_option_widen.go:105
↓ 2 callersMethodlifespans
()
internal/oauth/server.go:92
↓ 2 callersFunctionliftFieldsToColumns
liftFieldsToColumns scans fields for keys that map 1:1 to columns on the item record and moves them into payload at the top level. Mutates both maps.
internal/mcp/dispatch_http.go:1040
↓ 2 callersMethodlimiterLocked
limiterLocked is the lookup behind allow and getLimiter. Caller holds rl.mu.
internal/server/middleware_ratelimit.go:154
↓ 2 callersFunctionlineOf
lineOf is the 1-based line on which byte offset p lies.
internal/bodypatch/bodypatch.go:129
↓ 2 callersFunctionlineOf
(s: string, p: number)
web/src/lib/collab/patchApply.ts:64
↓ 2 callersFunctionlinkAssertLimit
(t *testing.T, err error, kind string, limit, got int)
internal/schedule/links_test.go:480
↓ 2 callersFunctionlinkBlocks
linkBlocks wires blocker -> blocked via a `blocks` link.
internal/store/dashboard_batch_test.go:22
↓ 2 callersFunctionlinkCmd
()
cmd/pad/cmd_workspace.go:768
↓ 2 callersFunctionlinkCycle
linkCycle walks sorted vertices and adjacency lists with an explicit DFS stack. Active positions recover the closed path; completed vertices need no r
internal/schedule/links.go:601
↓ 2 callersFunctionlinkDay
(t time.Time)
internal/schedule/links.go:550
↓ 2 callersFunctionlinkEndpointDisplay
(link models.ItemLink, useSource bool)
cmd/pad/lineage.go:267
↓ 2 callersMethodlinkGone
(id string)
internal/store/commitment_links_revalidate_test.go:39
↓ 2 callersFunctionlinkLimitEdges
(kind string, n int)
internal/schedule/links_test.go:469
↓ 2 callersFunctionlinkParent
(t *testing.T, srv *Server, wsSlug, childSlug, parentID string)
internal/server/bug3705_next_bounded_test.go:31
↓ 2 callersFunctionlinkRole
(role Role, source bool)
internal/schedule/links.go:555
↓ 2 callersMethodlinkTuples
Time links in the workspace bundle, import side (TASK-4353, PR 2b): see schedule_link_carry_test.go for the fixtures. linkTuples reads a workspace's l
internal/store/schedule_link_import_test.go:20
↓ 2 callersFunctionlinkViolations
(st State, changed map[linkVertex]bool)
internal/schedule/links.go:693
↓ 2 callersFunctionlinkedUpdatedRowsLeg
(t *testing.T, srv *Server)
internal/server/plan2348_timeline_drops_test.go:202
← previousnext →8,301–8,400 of 31,685, ranked by callers