MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

FunctionTestCollectionsSettingsShapeRepair_SQLite
IDEA-1489 regression tests for the corrective backfill on collections.settings (migrations 058 + pgmigrations/037). Migration 055 / pg/034 (PR #562)
internal/store/collections_settings_shape_repair_test.go:35
FunctionTestCollidingMagicIsArbitratedByExtension
TestCollidingMagicIsArbitratedByExtension covers the collision both ways. More than one magic can match the same bytes, and review produced ordinary f
internal/attachments/mime_magic_test.go:786
FunctionTestColumnIntroductionsTakesTheLatestAppearance
TestColumnIntroductionsTakesTheLatestAppearance checks the instrument itself on a synthetic chain, because the real chain has no column that disappear
internal/store/nultriggers_order_test.go:105
FunctionTestCommentArgument_StillPosts
(t *testing.T)
cmd/pad/comment_stdin_test.go:31
FunctionTestCommentEditDelete_NewServer_ItemScopedRoute
(t *testing.T)
cmd/pad/comment_edit_delete_test.go:63
FunctionTestCommentEditDelete_Remote
TASK-2695. edit-comment / delete-comment through the REMOTE door, end to end: raw JSON-RPC → catalog → HTTPHandlerDispatcher → the real handler chain
internal/mcp/task2695_comment_edit_delete_test.go:20
FunctionTestCommentEditDelete_Stdio
TestCommentEditDelete_Stdio pins the local door's argv: the actions reach the CLI verbs with ref, comment id and body as positionals behind `--`, so a
internal/mcp/task2695_comment_edit_delete_test.go:186
FunctionTestCommentEditDelete_UnadvertisedServer_SendsNothing
(t *testing.T)
cmd/pad/comment_edit_delete_test.go:84
FunctionTestCommentEditedMarker
TASK-2695: `edited` is derived from the timestamps and emitted on every serialised comment, nested replies included.
internal/models/comment_test.go:12
FunctionTestCommentMentions_CapAfterResolution
Unresolvable names that sort early must not evict a real user: the cap applies to RESOLVED mentions (TASK-3917).
internal/store/task3917_comment_mentions_test.go:546
FunctionTestCommentMentions_CapPerComment
(t *testing.T)
internal/store/task3917_comment_mentions_test.go:566
FunctionTestCommentMentions_CopyAndImportNotIndexed
(t *testing.T)
internal/store/task3917_comment_mentions_test.go:445
FunctionTestCommentMentions_GuardIgnoresCommentLines
The INDEXED check ignores comment lines. Each leg is isolated, so each fails alone if the filter goes: innerComment names the helper only in a comment
internal/store/task3917_comment_mentions_test.go:377
FunctionTestCommentMentions_GuardSeesVariants
The guard itself: its regex and census see spaced, newline-split and lower-case statements, in a scratch file standing in for a store file.
internal/store/task3917_comment_mentions_test.go:436
FunctionTestCommentMentions_IndexLifecycle
(t *testing.T)
internal/store/task3917_comment_mentions_test.go:67
FunctionTestCommentMentions_InsertSiteGuard
(t *testing.T)
internal/store/task3917_comment_mentions_test.go:397
FunctionTestCommentStdin_PostsTheBodyExactly
(t *testing.T)
cmd/pad/comment_stdin_test.go:15
FunctionTestCommentTombstones
BUG-3252: deleting a comment that has replies leaves a tombstone. The population below runs on SQLite here and on Postgres under make test-pg, since t
internal/store/comments_tombstone_test.go:20
FunctionTestCommentTombstones_Concurrent_Postgres
Postgres only: the concurrent interleavings the row locks exist for. A reply inserted while its parent is being deleted either lands before the decisi
internal/store/comments_tombstone_test.go:214
FunctionTestCommentTombstones_Postgres
(t *testing.T)
internal/store/comments_tombstone_test.go:25
FunctionTestComment_RefusesAnEmptyBody_NothingPosted
(t *testing.T)
cmd/pad/comment_stdin_test.go:41
FunctionTestCommitmentAccessLoadersUsePinnedTransaction
(t *testing.T)
internal/store/commitment_access_test.go:13
FunctionTestCommitmentAckAgentIdentity
(t *testing.T)
internal/server/schedule_ack_test.go:264
FunctionTestCommitmentAckCancelsQueuedPush
(t *testing.T)
internal/server/schedule_ack_test.go:152
FunctionTestCommitmentAckCaseVariantCombinations
The decoder matches member names without regard to case, so a case variant of an ack-only refusal must be refused like the canonical name.
internal/server/schedule_ack_test.go:309
FunctionTestCommitmentAckHTTPContract
(t *testing.T)
internal/server/schedule_ack_test.go:31
FunctionTestCommitmentAckNullCombinations
(t *testing.T)
internal/server/schedule_ack_test.go:295
FunctionTestCommitmentAckVisibilityOracle
(t *testing.T)
internal/server/schedule_ack_test.go:75
FunctionTestCommitmentActivityAndSSE
(t *testing.T)
internal/server/handlers_commitments_http_test.go:824
FunctionTestCommitmentAssigneeGuard
(t *testing.T)
internal/server/handlers_commitments_test.go:635
FunctionTestCommitmentAuthMatrix
(t *testing.T)
internal/server/handlers_commitments_http_test.go:907
FunctionTestCommitmentCLIAndMCPBodyParity
(t *testing.T)
cmd/pad/commitment_callers_test.go:17
FunctionTestCommitmentCLIErrorMarker
(t *testing.T)
cmd/pad/commitment_callers_test.go:99
FunctionTestCommitmentCRUDHTTP
(t *testing.T)
internal/server/handlers_commitments_http_test.go:383
FunctionTestCommitmentCapScanAndCapStallAreSeparateCodes
(t *testing.T)
internal/server/handlers_commitments_http_test.go:203
FunctionTestCommitmentCombinedWindowAndStartUsesEditedRoles
(t *testing.T)
internal/server/handlers_commitments_timing_test.go:331
FunctionTestCommitmentCompletionAnchorRuleSetHTTP
completion needs a plain interval: refused on create and on PATCH, with the anchor named; a plain interval is accepted.
internal/server/handlers_commitments_resolve_test.go:271
FunctionTestCommitmentCreateContractAndResponse
(t *testing.T)
internal/server/handlers_commitments_timing_test.go:166
FunctionTestCommitmentDensityCapIs400Range
The density cap: a rule whose BYxxx lists multiply past the budget is a 400 range on FREQ over HTTP, not collapsed into another code.
internal/server/handlers_commitments_http_test.go:181
FunctionTestCommitmentEditRolesBody
(t *testing.T)
internal/schedule/commitment_flags_test.go:118
FunctionTestCommitmentEditableAppPrincipal
Installed apps cannot reach the commitment routes (app_api.go has none), so the app-can't-write case is pinned at the helper: commitmentWriteAllowed r
internal/server/handlers_commitment_editable_test.go:189
FunctionTestCommitmentEditableMatchesWriteDoor
(t *testing.T)
internal/server/handlers_commitment_editable_test.go:50
FunctionTestCommitmentEditableOnlyOnGet
The flag is a GET hint only: write response bodies stay byte-identical, and the nested view.gates never carries it.
internal/server/handlers_commitment_editable_test.go:217
FunctionTestCommitmentEndedDisplay
(t *testing.T)
cmd/pad/commitment_callers_test.go:115
FunctionTestCommitmentEndedRowsDisplayAgainstServer
(t *testing.T)
cmd/pad/commitment_partial_test.go:142
FunctionTestCommitmentErrorCodeParity
(t *testing.T)
internal/mcp/commitment_errors_test.go:11
FunctionTestCommitmentExhausted
(t *testing.T)
internal/server/handlers_commitments_http_test.go:666
FunctionTestCommitmentExistsAndConcurrentCreate
(t *testing.T)
internal/server/handlers_commitments_http_test.go:683
FunctionTestCommitmentFieldErrors
(t *testing.T)
internal/server/handlers_commitments_http_test.go:635
FunctionTestCommitmentFloatingViewUsesCallerZone
A floating schedule's next_at bound is never shown; next_occurrence.at is the wall read in the CALLER's zone.
internal/server/handlers_commitments_http_test.go:790
FunctionTestCommitmentGatesEditablePathItemOnly
The gates flag is about the path item only: an editor who can edit the blocked item but only views the blocker sees true on the path item's gates and
internal/server/handlers_commitment_editable_test.go:249
FunctionTestCommitmentGraphErrorMarkers
(t *testing.T)
cmd/pad/commitment_graph_errors_test.go:11
FunctionTestCommitmentGraphMutationAccessLoaders
(t *testing.T)
internal/store/commitment_access_test.go:70
FunctionTestCommitmentInvalidRolesAndStrictBodies
(t *testing.T)
internal/server/handlers_commitments_test.go:83
FunctionTestCommitmentJournalSameSecondHistoryAndExport
(t *testing.T)
internal/store/commitment_reader_test.go:51
FunctionTestCommitmentJournal_CommitFailureLeavesNoJournal
(t *testing.T)
internal/store/commitment_journal_test.go:158
FunctionTestCommitmentJournal_CreateUpdateDeleteSameTransaction
(t *testing.T)
internal/store/commitment_journal_test.go:81
FunctionTestCommitmentJournal_MissedOnlyWhenInserted
(t *testing.T)
internal/store/commitment_journal_test.go:422
FunctionTestCommitmentJournal_WriteFailureRollsBackEachMutation
(t *testing.T)
internal/store/commitment_journal_test.go:117
FunctionTestCommitmentLegacyPatchConversion
(t *testing.T)
internal/server/handlers_commitments_test.go:63
FunctionTestCommitmentMalformedCodesOnCreateAndPatch
(t *testing.T)
internal/server/handlers_commitments_http_test.go:606
FunctionTestCommitmentMigration_BackfillsAllFourKinds
(t *testing.T)
internal/store/commitment_dates_migration_test.go:137
FunctionTestCommitmentMigration_ExistingActualsStayUnknown
(t *testing.T)
internal/store/commitment_dates_migration_test.go:233
FunctionTestCommitmentMigration_NoRebuild
(t *testing.T)
internal/store/commitment_dates_migration_test.go:345
FunctionTestCommitmentMigration_PGLockTimeoutDeclared
(t *testing.T)
internal/store/commitment_dates_migration_test.go:265
FunctionTestCommitmentMigration_PostgresBackfillAndRollback
(t *testing.T)
internal/store/commitment_dates_migration_test.go:283
FunctionTestCommitmentMigration_PreservesRowsAndFKs
(t *testing.T)
internal/store/commitment_dates_migration_test.go:198
FunctionTestCommitmentMigration_RollsBackOnInvalidFK
(t *testing.T)
internal/store/commitment_dates_migration_test.go:246
FunctionTestCommitmentNotices_DispatchAndItemGates
(t *testing.T)
internal/server/commitment_notifications_test.go:28
FunctionTestCommitmentNotices_MigrationPostgres
(t *testing.T)
internal/store/commitment_notifications_migration_test.go:28
FunctionTestCommitmentNotices_MigrationSQLite
(t *testing.T)
internal/store/commitment_notifications_migration_test.go:8
FunctionTestCommitmentNotices_ProvenanceKeysAndNoSubscriptions
(t *testing.T)
internal/store/commitment_notifications_test.go:33
FunctionTestCommitmentNotices_RecipientGates
(t *testing.T)
internal/store/commitment_notifications_test.go:90
FunctionTestCommitmentNotices_RefusalIgnoresEndedSchedule
An ended schedule has no live deadline to change, so a refusal notifies nobody.
internal/store/commitment_notifications_test.go:213
FunctionTestCommitmentNotices_RefusalNeedsNativeDeadline
A refusal on an item with no native deadline attempted nothing a deadline owner guards, so it notifies nobody.
internal/store/commitment_notifications_test.go:196
FunctionTestCommitmentNotices_RefusalReadsCurrentAssignee
(t *testing.T)
internal/store/commitment_notifications_test.go:178
FunctionTestCommitmentNotices_RefusalResponseUnchanged
(t *testing.T)
internal/server/commitment_notifications_test.go:67
FunctionTestCommitmentNotices_Settings
(t *testing.T)
internal/server/commitment_notifications_test.go:13
FunctionTestCommitmentNotices_UnassignedWithoutScheduleAndEachChange
(t *testing.T)
internal/store/commitment_notifications_test.go:148
FunctionTestCommitmentOccupiedValidationAtEveryDoor
(t *testing.T)
internal/server/handlers_commitments_timing_test.go:218
FunctionTestCommitmentPartialRolesCallersAgainstServer
(t *testing.T)
cmd/pad/commitment_partial_test.go:17
FunctionTestCommitmentPartialRolesClearNeedsEveryMember
(t *testing.T)
internal/store/commitment_partial_test.go:242
FunctionTestCommitmentPartialRolesConcurrentWriters
(t *testing.T)
internal/store/commitment_partial_test.go:204
FunctionTestCommitmentPartialRolesHTTP
(t *testing.T)
internal/server/handlers_commitments_partial_test.go:12
FunctionTestCommitmentPartialRolesHTTPLegacyAndNoop
(t *testing.T)
internal/server/handlers_commitments_partial_test.go:116
FunctionTestCommitmentPartialRolesMerge
(t *testing.T)
internal/store/commitment_partial_test.go:36
FunctionTestCommitmentPartialRolesNewStartAndLegacy
(t *testing.T)
internal/store/commitment_partial_test.go:150
FunctionTestCommitmentPartialRolesPairingAndGuards
(t *testing.T)
internal/store/commitment_partial_test.go:79
FunctionTestCommitmentPartialRolesSingleMembersAndSoftLabel
(t *testing.T)
internal/store/commitment_partial_test.go:265
FunctionTestCommitmentPatchConvertsLegacyHardDeadlineFreely
(t *testing.T)
internal/server/handlers_commitments_test.go:268
FunctionTestCommitmentPatchNullClears
(t *testing.T)
internal/server/handlers_commitments_http_test.go:470
FunctionTestCommitmentPatchRefusesHardDeadlineChange
(t *testing.T)
internal/server/handlers_commitments_test.go:218
FunctionTestCommitmentPatchRefusesTimingEditOnNativeHardDeadline
(t *testing.T)
internal/server/handlers_commitments_test.go:254
FunctionTestCommitmentPermissionDoors
(t *testing.T)
internal/server/handlers_commitments_test.go:110
FunctionTestCommitmentPostNullMembers
On POST, null on a required member is `required`, as on PATCH; null on an optional one is the member left out (TASK-4102 PR2 r1, C-M1).
internal/server/handlers_commitments_http_test.go:511
FunctionTestCommitmentPostRolesRemainFull
(t *testing.T)
internal/server/handlers_commitments_partial_test.go:106
FunctionTestCommitmentRDateWindowScanCapIsCapScan
A cap on an RDATE window while measuring the floor is the scan cap's own refusal at the edge: a 400 with the same code a rule of that shape gets, and
internal/server/handlers_commitments_http_test.go:223
FunctionTestCommitmentReadCreateDelete
(t *testing.T)
internal/server/handlers_commitments_test.go:41
FunctionTestCommitmentRefusalHintIsNotBilling
A commitment refusal has nothing to do with the caller's plan, so the remote transport must not tell the agent to upgrade.
internal/mcp/commitment_errors_test.go:32
FunctionTestCommitmentRenegotiateDoors
(t *testing.T)
internal/server/handlers_commitments_test.go:494
← previousnext →18,401–18,500 of 28,840, ranked by callers