MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

FunctionTestTASK4423_R02OwnerLiveVisibility
A restricted owner reads the graph as their collection access allows. Only removal reaches across collection restrictions.
internal/server/commitment_graph_access_test.go:216
FunctionTestTASK4423_R02OwnerUnlink
(t *testing.T)
internal/server/commitment_graph_access_test.go:36
FunctionTestTASK4423_R03LinkedRefusal
(t *testing.T)
internal/server/commitment_graph_errors_test.go:17
FunctionTestTASK4423_R03OwnerLinkedRefusal
A restricted owner is told they can remove a link to a hidden end, and given only the link to delete. Anyone the remove bypass does not cover, an app
internal/server/commitment_graph_errors_test.go:165
FunctionTestTASK4423_R04Errors
(t *testing.T)
internal/mcp/commitment_graph_errors_test.go:12
FunctionTestTASK4423_R04Errors
(t *testing.T)
internal/server/commitment_graph_errors_test.go:78
FunctionTestTASK4423_R05History
(t *testing.T)
internal/store/commitment_graph_notices_test.go:205
FunctionTestTASK4423_R05Migration
(t *testing.T)
internal/store/commitment_graph_migration_test.go:10
FunctionTestTASK4423_R05Notices
(t *testing.T)
internal/store/commitment_graph_notices_test.go:199
FunctionTestTASK4423_R05Notices
(t *testing.T)
internal/server/commitment_graph_notices_test.go:17
FunctionTestTASK4423_R05Text
(t *testing.T)
internal/notify/commitment_graph_test.go:5
FunctionTestTASK4423_R06Redaction
(t *testing.T)
internal/server/commitment_graph_views_test.go:11
FunctionTestTASK4423_R07Doors
(t *testing.T)
internal/server/commitment_graph_access_test.go:74
FunctionTestTASK4423_R08Wire
(t *testing.T)
internal/server/commitment_graph_routes_test.go:10
FunctionTestTASK4423_R09GateConsumers
(t *testing.T)
internal/server/commitment_graph_tick_test.go:11
FunctionTestTASK4423_R09GateCreationWaitsForBlockerWriter
A blocker's writer and a new gate on that blocker serialize on the blocker's row. A gate created while the write is uncommitted waits for it, then see
internal/store/commitment_gates_blocker_pg_test.go:13
FunctionTestTASK4423_R09GateLifecycle
(t *testing.T)
internal/store/commitment_graph_lifecycle_test.go:49
FunctionTestTASK4423_R09HeldRowRearms
An occurrence armed while its item is held must still fire once released, even when the managed row last fired for an earlier occurrence.
internal/store/commitment_graph_lifecycle_test.go:12
FunctionTestTASK4423_R10Bundle
(t *testing.T)
internal/store/schedule_gate_carry_test.go:61
FunctionTestTASK4423_R10ImportHoldsTheGateLimitOfAnItem
(t *testing.T)
internal/store/schedule_gate_limits_test.go:31
FunctionTestTASK4423_R10ImportRefusesADeletedRowThatBlocksNothing
(t *testing.T)
internal/store/schedule_gate_tombstone_test.go:21
FunctionTestTASK4423_R10ImportStoresNoTombstoneBody
(t *testing.T)
internal/store/schedule_gate_limits_test.go:50
FunctionTestTASK4423_R10ImportSummaryCountsLiveItems
A soft-deleted blocker is a row of the bundle but not an item of the workspace, so the post-import check compares live items on both sides.
internal/server/task4423_import_summary_test.go:13
FunctionTestTASK4423_R10Migrate
(t *testing.T)
cmd/pad/task4423_migrate_gates_test.go:57
FunctionTestTASK4423_R10TombstoneCarriesNoBody
(t *testing.T)
internal/store/schedule_gate_tombstone_test.go:100
FunctionTestTASK4423_R10TombstoneHoldsNoUniqueValue
(t *testing.T)
internal/store/schedule_gate_tombstone_test.go:40
FunctionTestTASK4423_R10TombstoneIsNotCountedByThePlanLimit
(t *testing.T)
internal/store/schedule_gate_tombstone_test.go:74
FunctionTestTASK4423_R11SkipAuthority
(t *testing.T)
internal/store/commitment_graph_notices_test.go:50
FunctionTestTASK4423_R11SkipAuthority
(t *testing.T)
internal/server/commitment_graph_entry_test.go:263
FunctionTestTASK4423_R12GateNoScheduleLocks
TestTASK4423_R12GateNoScheduleLocks checks the item pin even when the root has no schedule. The inverted pin stays entirely inside this test.
internal/store/commitment_gates_pg_test.go:239
FunctionTestTASK4423_R13AccessAndAck
(t *testing.T)
internal/server/commitment_graph_entry_test.go:74
FunctionTestTASK4423_R13MoveAck
(t *testing.T)
internal/server/commitment_graph_routes_test.go:143
FunctionTestTASK4423_R14ResolvePreview
(t *testing.T)
internal/server/commitment_graph_entry_test.go:203
FunctionTestTASK4423_R15RefusalNotice
(t *testing.T)
internal/server/commitment_graph_notices_test.go:81
FunctionTestTASK4423_R16CarriedLineage
(t *testing.T)
internal/store/commitment_graph_carry_test.go:39
FunctionTestTASK4423_UnlinkedAccessLoaderRoot
(t *testing.T)
internal/store/commitment_access_test.go:177
FunctionTestTASK4476_ComponentAccess
(t *testing.T)
internal/store/task4476_component_test.go:12
FunctionTestTASK4614_FamilyEventDoneKeepsEndUnset
TestTASK4614_FamilyEventDoneKeepsEndUnset marks a family event done and checks no end date is stamped on it: an event's end is set by the user, not by
internal/server/task4614_family_templates_test.go:68
FunctionTestTASK4614_FamilyTemplatesNotListed
TestTASK4614_FamilyTemplatesNotListed checks the template picker endpoint leaves the hidden family templates out.
internal/server/task4614_family_templates_test.go:108
FunctionTestTASK4614_FamilyTemplatesSeedWorkspaces
TestTASK4614_FamilyTemplatesSeedWorkspaces creates a workspace from each hidden family template by explicit name and checks it gets exactly the templa
internal/server/task4614_family_templates_test.go:15
FunctionTestTASK772_ItemGrantGuest_SeesOnlyTheGrantedItems
Case 2: a guest with item grants only, one in Tasks and one in Ideas. The siblings in the same collections must not leak, and the plan, which the gues
internal/server/task772_dashboard_visibility_test.go:221
FunctionTestTASK772_MixedGuest_CollectionAndItemGrantsCooperate
Case 3: a guest with a collection grant on Plans and Bugs, plus an item grant on one Ideas item. Both paths at once: everything in the granted collect
internal/server/task772_dashboard_visibility_test.go:241
FunctionTestTASK772_Owner_SeesEveryItemEverywhere
CONTROL: the owner sees everything, so every section has the hidden items in it for the others, and the plan counts all three children.
internal/server/task772_dashboard_visibility_test.go:187
FunctionTestTASK772_RestrictedMember_SeesOnlyTheGrantedCollections
Case 1: a plain member restricted to Tasks and Plans.
internal/server/task772_dashboard_visibility_test.go:196
FunctionTestTASK798_DemotionToFree_GrandfathersExistingWork
TASK-798: what a user keeps when Stripe demotes them from pro to free while their workspace is OVER the free limits (grandfathering), and that the dem
internal/server/task798_demotion_grandfathering_test.go:27
FunctionTestTOTPDisable
(t *testing.T)
internal/store/totp_test.go:79
FunctionTestTOTPDisable_TASK2190_AttemptsAreLimited
The code path is login's limiter, counted per user: after six wrong codes even the RIGHT one is refused, and 2FA stays on.
internal/server/task2190_totp_disable_test.go:99
FunctionTestTOTPDisable_TASK2190_PasswordAccountStillNeedsThePassword
An account WITH a password still needs it: a code is not a way around it.
internal/server/task2190_totp_disable_test.go:129
FunctionTestTOTPDisable_TASK2190_PasswordlessRecoveryCode
(t *testing.T)
internal/server/task2190_totp_disable_test.go:80
FunctionTestTOTPDisable_TASK2190_PasswordlessUsesTheCode
(t *testing.T)
internal/server/task2190_totp_disable_test.go:55
FunctionTestTOTPEnableSecretMismatch
(t *testing.T)
internal/store/totp_test.go:59
FunctionTestTOTPEncryptionRoundTrip
(t *testing.T)
internal/store/encryption_test.go:103
FunctionTestTOTPSetupAndEnable
(t *testing.T)
internal/store/totp_test.go:15
FunctionTestTOTPStep_ResetOnSecretChange
TestTOTPStep_ResetOnSecretChange asserts the single-use watermark is cleared when the secret changes (BUG-2054): a time-step counter from an old secre
internal/store/users_totp_step_test.go:102
FunctionTestTZ4101_AuthTimezone
(t *testing.T)
cmd/pad/task4101_timezone_test.go:194
FunctionTestTZ4101_AuthTimezoneRefusesUnsavedZone
(t *testing.T)
cmd/pad/task4101_timezone_test.go:304
FunctionTestTZ4101_DayBracketRetries
(t *testing.T)
internal/server/task4101_timezone_test.go:420
FunctionTestTZ4101_InstantPopulation
(t *testing.T)
cmd/pad/task4101_timezone_test.go:273
FunctionTestTZ4101_JSONHasNoNotice
(t *testing.T)
cmd/pad/task4101_timezone_test.go:127
FunctionTestTZ4101_LeaseRendersInUserZone
(t *testing.T)
cmd/pad/task4101_timezone_test.go:109
FunctionTestTZ4101_LeaseUnsetIsUTCWithNotice
(t *testing.T)
cmd/pad/task4101_timezone_test.go:118
FunctionTestTZ4101_NextNoticeFromDashboard
(t *testing.T)
cmd/pad/task4101_timezone_test.go:166
FunctionTestTZ4101_NoticeOncePerProcess
(t *testing.T)
cmd/pad/task4101_timezone_test.go:182
FunctionTestTZ4101_ResolverUnconfiguredNeverExits
The resolver must never exit or prompt: newRootCmd installs it in every test binary and every command, configured or not.
cmd/pad/task4101_timezone_test.go:321
FunctionTestTZ4101_WhoamiCarriesTimezone
(t *testing.T)
cmd/pad/task4101_timezone_test.go:259
FunctionTestTZ4142_LoadConfigReturnsErrorGetConfigExits
TASK-4142: the split must not change what commands see. loadConfig hands the load error back, and getConfig still ends the process with it.
cmd/pad/task4101_timezone_test.go:378
FunctionTestTZ4142_ResolverBrokenConfigNeverExits
TASK-4142: a config.toml that fails to load must not exit the process from inside the renderer either. getConfig os.Exit(1)s on a load error; the reso
cmd/pad/task4101_timezone_test.go:349
FunctionTestTagsAcrossCollections
A tag spans collections, so a single tag must group an Idea and a Task together — both the cross-collection `?tag=` filter and the `/tags` enumeration
internal/server/handlers_tags_test.go:30
FunctionTestTarAndELFAreNotDistinguishableHere
TestTarAndELFAreNotDistinguishableHere records a LIMITATION as a test, because it is the kind that otherwise gets rediscovered as a bug. The fixture
internal/attachments/mime_magic_test.go:556
FunctionTestTarWinsAPrefixCollision
TestTarWinsAPrefixCollision covers a real archive refused because another format's magic appeared in its member's FILENAME. A tar header's first 100 b
internal/attachments/mime_magic_test.go:331
FunctionTestTask3376_RestrictedEditorViewGrantCannotWrite
TestTask3376_RestrictedEditorViewGrantCannotWrite pins PR #1756. requireEditPermission let any editor through before it looked at the collection, so a
internal/server/task3376_editor_grant_escalation_test.go:23
FunctionTestTask3376_RestrictedOwnerRoleKeepsEdit
A restricted member with the OWNER role keeps the full edit bypass (PR #1756): an owner can rewrite their own collection access, and the web client's
internal/server/task3376_editor_grant_escalation_test.go:131
FunctionTestTask3376_SystemCollectionSurfaces
TestTask3376_SystemCollectionSurfaces drives the surfaces that each carried their own "system collections are always visible to restricted members" un
internal/server/task3376_system_collection_surfaces_test.go:18
FunctionTestTask3389_AccountDeletionScrubsCreator
Account deletion erases the deleted user's identity from the block: the id, and the display beside it, which no generic key match could tie to them.
internal/store/task3389_app_projection_test.go:266
FunctionTestTask3389_AppProjectionCensus
Census: all eight retained event types carry a complete block.
internal/store/task3389_app_projection_test.go:70
FunctionTestTask3389_CleanBlockWithNoFieldsKeepsFieldsKey
A clean block with nothing to project keeps "fields": {}, so only a partial block lacks the key.
internal/store/task3389_app_projection_test.go:445
FunctionTestTask3389_CommentDeletedFreezesParentBeforeReap
comment.deleted's parent check runs BEFORE the reap removes the parent.
internal/store/task3389_app_projection_test.go:199
FunctionTestTask3389_DataShapeProblemsDegradeNotFail
#1763: data-shape problems must NEVER fail a human write. A malformed schema or an unknown field type degrades the block (fields omitted, partial: tru
internal/store/task3389_app_projection_test.go:405
FunctionTestTask3389_NonObjectFieldsBlobDoesNotBlockWrites
A stored fields blob that is not a JSON object (the legacy corruption BUG-3163 repairs) projects to no fields and never fails the write: the repair of
internal/store/task3389_app_projection_test.go:374
FunctionTestTask3389_NullCollectionColumnsDoNotBlockMutations
The block needs only the collection's schema. Reading the whole row broke item mutations on a collection with a legal NULL column.
internal/store/task3389_app_projection_test.go:308
FunctionTestTask3389_OwnerWebhooksNeverCarryTheAppProjection
TestTask3389_OwnerWebhooksNeverCarryTheAppProjection: the app-projection block is written into every item and comment outbox payload (TASK-3389), but
internal/server/task3389_owner_webhook_strip_test.go:21
FunctionTestTask3389_PartialLoggedOncePerCollection
A partial block is logged once per collection, not once per write.
internal/store/task3389_app_projection_test.go:467
FunctionTestTask3389_SchemaChangeAfterEmit
The block is frozen at event time: a schema change afterwards does not alter a stored block, and a NEW event follows the new schema, so the projection
internal/store/task3389_app_projection_test.go:154
FunctionTestTask3389_ScrubLeavesProjectedFieldsAlone
The account scrub erases the deleted user's identity in the block's CREATOR, and must not touch projected FIELD values, which are the item's own data
internal/store/task3389_app_projection_test.go:328
FunctionTestTask3389_TrailingGarbageBlobIsPartial
A blob holding a valid object followed by trailing bytes is not a JSON object. It must project partial, not as a clean block of the leading object's f
internal/store/task3389_app_projection_test.go:501
FunctionTestTask3389_WarnRegistryIsCapped
The once-per-collection registry stops growing at its cap.
internal/store/task3389_app_projection_test.go:514
FunctionTestTask3392_ABotIsNeverAnAdminOrTheLastAdmin
(t *testing.T)
internal/store/task3392_bot_principal_test.go:245
FunctionTestTask3392_ABotIsNeverAnOwner
(t *testing.T)
internal/store/task3392_bot_principal_test.go:264
FunctionTestTask3392_AccountDeletionPurgesTheBotsOfItsWorkspaces
Deleting an account soft-deletes the workspaces it owns, and the bots installed there go with them in the same transaction, sessions and tokens includ
internal/store/task3392_bot_principal_test.go:352
FunctionTestTask3392_AdminMemberCountIsPeople
The admin user-detail member count counts people.
internal/store/task3392_bot_principal_test.go:563
FunctionTestTask3392_AdminRoutesAnswerABotAsUnknown
(t *testing.T)
internal/server/task3392_bot_principal_test.go:251
FunctionTestTask3392_AppProjectionNeedsAnInstalledApp
The app_projection block is written only while the workspace has an installed app: one in any state but uninstalled (DOC-3371 §5). Events before the f
internal/store/task3392_bot_principal_test.go:474
FunctionTestTask3392_ClaimsRefuseABot
Both claim paths meet at claimAccountTx. A bot's email is never verified, so without the kind check it is exactly the account a claim takes.
internal/store/task3392_bot_principal_test.go:319
FunctionTestTask3392_CreateAppUserShape
(t *testing.T)
internal/store/task3392_bot_principal_test.go:83
FunctionTestTask3392_CredentialMintsRefuseABot
(t *testing.T)
internal/store/task3392_bot_principal_test.go:156
FunctionTestTask3392_HeldCredentialsDoNotResolveForABot
A credential minted before a row became a bot resolves to nothing.
internal/store/task3392_bot_principal_test.go:182
FunctionTestTask3392_MemberListAndSeatPolicy
SPEC-6 §11 Q2 (decided: separate Apps section, no seat): the default is the decision, and both positions of both switches stay pinned.
internal/store/task3392_bot_principal_test.go:404
FunctionTestTask3392_MembershipOfABotBelongsToItsInstall
(t *testing.T)
internal/server/task3392_bot_principal_test.go:281
FunctionTestTask3392_NoGrantsToABot
A bot is never a grantee. Its access is its install's companion collections, and a grant row would be a second lock path onto its users row for accoun
internal/store/task3392_bot_principal_test.go:625
FunctionTestTask3392_OwnerBackfillSkipsBots
The owner backfill never makes a bot a workspace's owner, even when the bot is its earliest member.
internal/store/task3392_bot_principal_test.go:531
← previousnext →25,201–25,300 of 28,840, ranked by callers