MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

FunctionTestBUG3358_RedirectToReservedAddressRefused
(t *testing.T)
internal/urlimport/bug3358_address_policy_test.go:75
FunctionTestBUG3358_ResolvedReservedAddressRefusedAtDial
(t *testing.T)
internal/urlimport/bug3358_address_policy_test.go:48
FunctionTestBUG3361_AdminCreateSignupRefusesAnAdminPAT
Admin-create signup is administration too: with a PAT it was the first step of minting a second admin.
internal/server/bug3361_admin_pat_test.go:127
FunctionTestBUG3361_EscapeHatchIsSelfHostOnly
The self-host escape hatch: PAD_ADMIN_API_TOKENS=allow lets an admin PAT administer, and is ignored on Pad Cloud.
internal/server/bug3361_admin_pat_test.go:144
FunctionTestBUG3361_EveryAdminRouteRefusesAnAdminPAT
Every route the router registers under /api/v1/admin refuses an admin's PAT, so an admin route added later is refused by construction and by test.
internal/server/bug3361_admin_pat_test.go:58
FunctionTestBUG3366_GuestDoesNotSeeUngrantedLineage
(t *testing.T)
internal/server/bug3366_lineage_guest_test.go:29
FunctionTestBUG3366_IndexDoorsDoNotNameAnUngrantedParent
BUG-3366, the two doors the local-first index is filled through. The collection page's parent filter (TASK-2215) lists the parents its rows carry, so
internal/server/bug3366_index_doors_test.go:18
FunctionTestBUG3372_AgentNameIsBounded
The self-declared agent name is kept (it only ever labels the caller's own writes) but bounded: no control characters, at most 64 runes, and a header
internal/server/bug3372_attribution_test.go:176
FunctionTestBUG3372_AutosaveHintNeedsAWebRequest
The document autosave hint (a content-only PATCH whose body says "source":"web" writes no activity row) must also match the request: a PAT or agent sa
internal/server/bug3372_attribution_test.go:282
FunctionTestBUG3372_BulkUpdateRecordsTheAccount
A bulk edit records the account that made it, as a single update does.
internal/server/bug3372_attribution_test.go:235
FunctionTestBUG3372_CommentAttributionIsTheRequests
(t *testing.T)
internal/server/bug3372_attribution_test.go:71
FunctionTestBUG3372_CopyRecordsTheCopiersAccount
A cross-workspace copy creates a row in the destination; the copier is the account that created it.
internal/server/bug3372_attribution_test.go:210
FunctionTestBUG3372_DocumentAttributionIsTheRequests
The legacy document endpoints are still mounted; they stamp attribution from the request too.
internal/server/bug3372_attribution_test.go:250
FunctionTestBUG3372_ItemAttributionIsTheRequests
(t *testing.T)
internal/server/bug3372_attribution_test.go:105
FunctionTestBUG3372_LinkAttributionIsTheRequests
(t *testing.T)
internal/server/bug3372_attribution_test.go:145
FunctionTestBUG3379_BundleImportMarksAttachments
The bundle import marks the attachment rows it writes.
internal/server/bug3379_imported_marker_test.go:182
FunctionTestBUG3379_ImportedAttachmentNamesNoUploader
An imported attachment's uploaded_by is the source instance's claim. It is never resolved to a local name, even when it is a real member's id.
internal/server/bug3379_imported_marker_test.go:135
FunctionTestBUG3379_ImportedCommentsAndVersionsAreMarked
(t *testing.T)
internal/server/bug3379_imported_marker_test.go:40
FunctionTestBUG3382_ClaimInsideTheResetSpendStillFencesIt
The claim lands INSIDE the spend, after the token is marked used and before the user is read back: the epoch the reset is fenced on must be the one fr
internal/store/bug3382_password_fence_test.go:74
FunctionTestBUG3382_ClaimRefusals
(t *testing.T)
internal/server/bug3382_verify_claim_test.go:209
FunctionTestBUG3382_ClaimThenSetPasswordFitsTheBudget
Opening the link a few times, claiming, then setting the password must fit one address's budget: the claim has already reset the old credentials, so a
internal/server/bug3382_verify_claim_test.go:282
FunctionTestBUG3382_FencedPasswordWriteReturnsItsOwnEpoch
(t *testing.T)
internal/store/bug3382_password_fence_test.go:46
FunctionTestBUG3382_LinkWithoutTheAccountsSessionDoesNotVerify
(t *testing.T)
internal/server/bug3382_verify_claim_test.go:109
FunctionTestBUG3382_MailboxOwnerClaimsTheAddress
(t *testing.T)
internal/server/bug3382_verify_claim_test.go:135
FunctionTestBUG3382_ResetSpentBeforeAClaimWritesNothingAfterIt
BUG-3382: a password write is fenced on the credential_epoch its authority was checked under, so one that started before a claim cannot overwrite the
internal/store/bug3382_password_fence_test.go:14
FunctionTestBUG3382_StaleCredentialCheckMintsNoSession
The credential epoch: a sign-in that checked its credential before a credential change mints nothing after it.
internal/server/bug3382_verify_claim_test.go:236
FunctionTestBUG3382_UnverifiedCookieCannotUseFallbackRoutes
The cookie fallbacks in PATCH /auth/me and CLI approval do not let an unverified account write (SessionAuth resolves the cookie first).
internal/server/bug3382_verify_claim_test.go:261
FunctionTestBUG3446_AppendSelectOptionsJSON
The schema rewrite touches the FIRST definition of a key, the one validation reads, and never duplicates a value.
internal/server/bug3446_blank_library_options_test.go:310
FunctionTestBUG3446_ArtifactImportDoesNotWiden
The artifact import door keeps its documented clear-and-warn for a select value the destination does not list; it never widens.
internal/server/bug3446_blank_library_options_test.go:282
FunctionTestBUG3446_EditorCreateWidens
An EDITOR's create may widen, bounded the same way.
internal/server/bug3446_blank_library_options_test.go:244
FunctionTestBUG3446_EveryLibraryEntryActivatesInABlankWorkspace
Every library convention and playbook activates in a blank workspace, in the CLI/MCP shape and in the web shape, and the options end at exactly the wo
internal/server/bug3446_blank_library_options_test.go:117
FunctionTestBUG3446_LiteralItemCreateWidensOnlyByLibraryWordsAndRecordsIt
B3's literal step, the report, and the bound: the first write that needs a word adds it and says so in its warnings and its activity; the next write w
internal/server/bug3446_blank_library_options_test.go:183
FunctionTestBUG3446_MCPActivatesEveryLibraryEntryInABlankWorkspace
(t *testing.T)
internal/mcp/bug3446_blank_library_activate_test.go:23
FunctionTestBUG3446_MCPCreateReportsOptionsAdded
The first MCP write that adds a word tells the agent so.
internal/mcp/bug3446_blank_library_activate_test.go:120
FunctionTestBUG3446_RefusedCreateDoesNotWiden
A create that the widened schema would still refuse writes nothing to the schema: it is validated against the widened schema before the widening is st
internal/server/bug3446_blank_library_options_test.go:327
FunctionTestBUG3453_FallbackExclusions
The fallback admits only WORKABLE collections (not system, and the schema declares priority or severity), and never a done or blocked item.
internal/server/bug3453_ready_fallback_test.go:92
FunctionTestBUG3453_FallbackRanksByPriorityOrSeverityThenAge
(t *testing.T)
internal/server/bug3453_ready_fallback_test.go:68
FunctionTestBUG3453_FullListUnchanged
A workspace whose tiers already fill the three slots gets the same list: the fallback never displaces. The fallback-eligible items are created FIRST,
internal/server/bug3453_ready_fallback_test.go:125
FunctionTestBUG3453_MovedInBacklogIsReady
(t *testing.T)
internal/server/bug3453_ready_fallback_test.go:36
FunctionTestBUG3456_DryRunPreviewKeepsBigNumberDigits
BUG-3456: `pad item copy --dry-run` previews a carried number above 2^53 with every digit, as the real copy writes it. Driven through the real client'
cmd/pad/bug3456_copy_preview_numbers_test.go:17
FunctionTestBUG3466_AgentUpdateDoesNotContradictAKeep
After keeping an edited file, pad agent update must not then say nothing is installed or everything is up to date.
cmd/pad/bug3466_skill_overwrite_test.go:134
FunctionTestBUG3466_InitDoesNotDowngradeANewerSkill
(t *testing.T)
cmd/pad/bug3466_skill_overwrite_test.go:72
FunctionTestBUG3466_InitKeepsAnEditedSkill
(t *testing.T)
cmd/pad/bug3466_skill_overwrite_test.go:62
FunctionTestBUG3466_ListFlagsAnUntrackedEditedSkill
The local part of --list asks the same decision, so an edited committed skill in a fresh checkout (nothing in the registry) is not shown as healthy.
cmd/pad/bug3466_skill_overwrite_test.go:169
FunctionTestBUG3466_ListNamesForceForANewerSkill
The status listing names --force for a newer pad's file too.
cmd/pad/bug3466_skill_overwrite_test.go:149
FunctionTestBUG3466_UpdateCountsAnUntrackedCurrentSkill
An untracked skill that is already current is installed, so agent update must not say nothing is installed; and it is recorded.
cmd/pad/bug3466_skill_overwrite_test.go:180
FunctionTestBUG3466_WorkspaceInitUpdatesAnOlderUneditedSkill
pad workspace init/link skipped every installed skill, so an unedited older copy was never updated there. It now asks the same door.
cmd/pad/bug3466_skill_overwrite_test.go:113
FunctionTestBUG3474_RevalErrorFailsClosedOnWrite
BUG-3474: a revalidation tick that ERRORS must not leave the connection with the write permission it last had. It used to keep both the connection and
internal/server/bug3474_reval_fail_closed_test.go:61
FunctionTestBUG3476_KeptPartialWorkspaceIsNamed
The partial workspace a mid-stream data error left is named.
cmd/pad/bug3476_import_watch_test.go:210
FunctionTestBUG3476_LostAnswerResolvesFromTheImportKey
Every byte is out and the server finished, but its answer never arrives: two settled polls end the wait, and a completed import is reported as such.
cmd/pad/bug3476_import_watch_test.go:159
FunctionTestBUG3476_RunningAttemptIsWaitedOut
A failure while the server is still finishing waits for it to settle.
cmd/pad/bug3476_import_watch_test.go:196
FunctionTestBUG3476_ServerErrorEnvelopeIsTheOutcome
(t *testing.T)
cmd/pad/bug3476_import_watch_test.go:117
FunctionTestBUG3476_StalledUploadIsAbandonedAndResolved
The server stops reading: the transport stops taking bytes, the watcher abandons the upload and reports what the server did with the attempt.
cmd/pad/bug3476_import_watch_test.go:132
FunctionTestBUG3476_SuccessReturnsTheAnswer
(t *testing.T)
cmd/pad/bug3476_import_watch_test.go:102
FunctionTestBUG3476_UnknownOutcomeSaysCheckBeforeRerunning
The connection dies with no answer. A server that has no record of the key (an older server, or a restart) is an UNKNOWN outcome, never "nothing made"
cmd/pad/bug3476_import_watch_test.go:182
FunctionTestBUG3480_ListFilterKeys
(t *testing.T)
internal/server/bug3480_list_filter_keys_test.go:27
FunctionTestBUG3480_ListFilterRefusalClassifiesAsValidation
BUG-3480: an item list filter on a key no schema declares (and no item stores) is now a 400. Stdio classifies the CLI's stderr prose, so the refusal m
internal/mcp/bug3480_list_filter_classification_test.go:15
FunctionTestBUG3523_BarrierAckFollowsThePersistOfEarlierFrames
(t *testing.T)
internal/collab/barrier_bug3523_test.go:47
FunctionTestBUG3523_BarrierAckReportsAFailedAppendOnce
(t *testing.T)
internal/collab/barrier_bug3523_test.go:76
FunctionTestBUG3530_SharedCollectionKeepsTheManualOrder
BUG-3530: a shared collection lists its items in the owner's arranged (manual) order: sort_order, then oldest first, then id. It used to be ListItems'
internal/server/bug3530_share_order_test.go:14
FunctionTestBUG3533_RemoteImportThroughTheCatalogAction
BUG-3533: pad_item.import over the REMOTE transport went through the catalog action, which is written for stdio: it spills the artifact to a temp file
internal/mcp/bug3533_remote_import_test.go:21
FunctionTestBUG3534_BodyWithinTheLimitArrivesIntact
Within the limit, the transport receives the body byte for byte, on the chunked path too, which is the one this middleware reads and replays.
internal/server/bug3534_mcp_body_limit_test.go:144
FunctionTestBUG3534_DefaultLimitIsSevenMiB
(t *testing.T)
internal/server/bug3534_mcp_body_limit_test.go:94
FunctionTestBUG3534_LimitFollowsTheArtifactCap
The limit follows the operator's artifact cap, so raising that cap never makes remote import refuse a legal artifact at this door first.
internal/server/bug3534_mcp_body_limit_test.go:173
FunctionTestBUG3534_LimitOnBothMountsAndBothLengthPaths
At the limit the request reaches the mount's transport; one byte over, it is refused 413 before the transport. Both mounts, both length paths, each wi
internal/server/bug3534_mcp_body_limit_test.go:104
FunctionTestBUG3534_TooLargeIsAudited
The 413 is audited, as the response of an authenticated call: one row, classified error / client_error_413 by classifyMCPResult like any other 4xx tha
internal/server/bug3534_mcp_body_limit_test.go:192
FunctionTestBUG3534_UnauthenticatedBodyIsNeverRead
Nothing reads an unauthenticated body: an oversized one, with or without a declared length, is refused 401 by auth, which the pre-auth rate limit mete
internal/server/bug3534_mcp_body_limit_test.go:129
FunctionTestBUG3538_SuggestedNextOncePerItemUnderTwoActivePlans
BUG-3538: an item under TWO active plans (a parent link to one, an implements link to the other) is suggested once, not once per plan. The web keys su
internal/server/bug3538_suggested_once_per_item_test.go:12
FunctionTestBUG3542_RefusedGuardedApplyIsNotReElected
A guarded request the applier refuses ends the round-trip with ErrApplierRefusedUnconfirmed, carries `guarded` on the wire, and is NOT re-elected onto
internal/collab/bug3542_applier_refuse_test.go:44
FunctionTestBUG3542_UnconfirmedEditsRefusalShape
TestBUG3542_UnconfirmedEditsRefusalShape: a tokenless content write whose applier refuses (its tab holds edits the server has not stored) answers 409
internal/server/handlers_items_content_route_test.go:478
FunctionTestBUG3542_UnguardedRequestCarriesNoFlag
An unguarded request (an explicit overwrite) is sent without the flag.
internal/collab/bug3542_applier_refuse_test.go:83
FunctionTestBUG3586_TimedOutPatchIsNotResentToAnotherTab
BUG-3586: a patch whose applier times out must NOT be re-sent to another tab. Tab A applies it but acks after the server's timeout; tab B already hold
internal/server/bug3586_patch_timeout_test.go:21
FunctionTestBUG3626_CompleteExportCarriesFormatAndTrailer
The success path: the format and version come first, the trailer says complete, the item is in it, and the file is no longer named like a workspace bu
internal/server/bug3626_account_export_test.go:152
FunctionTestBUG3626_StalledReadIsBoundedByTheDeadline
A store read that stalls cannot hold the export open past its deadline: the export stops waiting, aborts, and the read's late result is dropped.
internal/server/bug3626_account_export_test.go:200
FunctionTestBUG3626_StoreErrorMidExportIsNotAValidCompleteFile
A store error after the body has started aborts the download. Before BUG-3626 a collections error was swallowed and an items error was noted as "expor
internal/server/bug3626_account_export_test.go:104
FunctionTestBUG3626_TimedOutExportIsNotAValidCompleteFile
(t *testing.T)
internal/server/bug3626_account_export_test.go:84
FunctionTestBUG3627_ImportIndexesWikiLinks
BUG-3627: an imported workspace must have its wiki-link index at once. Import inserted items without indexing their [[links]], and only the server-sta
internal/store/bug3627_import_wiki_links_test.go:9
FunctionTestBUG3632_AReadFailingPastTheDeadlineReportsTheDeadline
(t *testing.T)
internal/server/bug3632_account_export_read_ctx_test.go:97
FunctionTestBUG3632_AStalledExportReadIsCancelledAndItsConnectionReturned
BUG-3632: the account export stopped WAITING for a stalled read at its deadline (BUG-3626, BUG-3659), but the read itself ran on under context.Backgro
internal/server/bug3632_account_export_read_ctx_test.go:22
FunctionTestBUG3632_ExportPreflightFailsClosed
BUG-3632 r2: the ctx-bound preflight access check keeps the BUG-3334 fail-closed seam visibleCollectionIDs honours, so a failing access read refuses t
internal/server/bug3632_account_export_read_ctx_test.go:114
FunctionTestBUG3632_WithContextCancelsAReadAtTheDeadline
(t *testing.T)
internal/store/bug3632_with_context_test.go:41
FunctionTestBUG3634_AcceptWaitsOnAConcurrentInviterRestriction_Postgres
BUG-3634: an accept re-reads the inviter's scope, share-locked, so a restriction committing alongside it is ordered against it.
internal/store/bug3634_inviter_scope_test.go:14
FunctionTestBUG3634_InvitationFromARestrictedInviterJoinsNothing
An invitation a restricted owner created before this fix, or created while unrestricted and restricted since, grants nothing when accepted.
internal/server/bug3634_restricted_owner_grant_test.go:54
FunctionTestBUG3634_OpenRegistrationKeepsTheAccountAndSaysWhy
Where registration is open, the account is kept and joins nothing, and the response says why.
internal/server/bug3634_restricted_owner_grant_test.go:155
FunctionTestBUG3634_RegisterWithARestrictedInvitersCodeIsRefused
The register-with-code door refuses the same invitation. Self-hosted, the invitation is the signup's admission, so the account is rolled back.
internal/server/bug3634_restricted_owner_grant_test.go:122
FunctionTestBUG3634_RestrictedOwnerCannotInvite
(t *testing.T)
internal/server/bug3634_restricted_owner_grant_test.go:33
FunctionTestBUG3634_RestrictedOwnerChangesRolesOnlyWithinItsScope
(t *testing.T)
internal/server/bug3634_restricted_owner_grant_test.go:87
FunctionTestBUG3634_RoleChangeWithinRechecksTheTargetsScope
A restricted owner's role change re-checks the target's scope under the row lock the write takes: widened since the caller's check, the target's role
internal/store/bug3634_inviter_scope_test.go:86
FunctionTestBUG3635_ArchivedTargetDoesNotSpendMaxViews
(t *testing.T)
internal/server/bug3635_share_archived_target_test.go:153
FunctionTestBUG3635_CollectionShareOfArchivedCollection
(t *testing.T)
internal/server/bug3635_share_archived_target_test.go:97
FunctionTestBUG3635_CollectionShareOfArchivedItem
(t *testing.T)
internal/server/bug3635_share_archived_target_test.go:125
FunctionTestBUG3635_ItemShareInArchivedCollection
(t *testing.T)
internal/server/bug3635_share_archived_target_test.go:37
FunctionTestBUG3635_ItemShareOfArchivedItem
(t *testing.T)
internal/server/bug3635_share_archived_target_test.go:68
FunctionTestBUG3636_NonReadingReplayDoesNotHoldTheItem
BUG-3636 (1): a peer that connects and never reads its replay used to hold the item's setup lock for as long as its socket stayed open, so a second pe
internal/collab/bug3771_ws_deadlines_test.go:127
FunctionTestBUG3636_TeardownDoesNotWaitOnABlockedWriter
BUG-3636 (2): a peer that stops reading while live traffic fills its socket leaves its writer blocked mid-write. When its read then fails, teardown us
internal/collab/bug3771_ws_deadlines_test.go:167
FunctionTestBUG3645_CheckRequestPath
BUG-3645: a workspace string from .pad.toml or --workspace was concatenated raw into request paths, so "victim/#" turned an item delete into DELETE /w
internal/cli/bug3645_request_path_test.go:20
FunctionTestBUG3645_EveryClientMethodKeepsHostileStringsInOneSegment
The census instrument. Every exported *Client method is called with the same hostile string in every string argument (zero values elsewhere). A reques
internal/cli/bug3645_request_path_test.go:109
FunctionTestBUG3645_ItemDeleteWithHostileWorkspaceNeverHitsTheWorkspace
The reported scenario, end to end: the DELETE must not reach the workspace, escaped or refused.
internal/cli/bug3645_request_path_test.go:86
FunctionTestBUG3646_EnvTokenFor
BUG-3646: EnvTokenFor withholds PAD_TOKEN from a server only .pad.toml chose, warns once, and is unchanged everywhere else.
internal/cli/bug3646_env_token_for_test.go:13
FunctionTestBUG3646_NoOverrideStillSendsTheToken
Without a .pad.toml url nothing changes: PAD_TOKEN goes to the chosen server (the #879 override).
cmd/pad/bug3646_pad_toml_token_test.go:124
← previousnext →16,901–17,000 of 28,840, ranked by callers