MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

FunctionTestLapseBrokenScheduleKeepsMiss
(t *testing.T)
internal/store/schedule_lapse_test.go:487
FunctionTestLapseCatchUpBoundedPerSchedule
(t *testing.T)
internal/store/schedule_lapse_test.go:628
FunctionTestLapseCatchUpPreservesChildrenOverridesAndHistory
(t *testing.T)
internal/store/schedule_lapse_test.go:312
FunctionTestLapseDoesNotWalkMissedInstances
(t *testing.T)
internal/store/schedule_lapse_test.go:516
FunctionTestLapseDowntimeClosesEachDueOccurrence
(t *testing.T)
internal/store/schedule_lapse_test.go:591
FunctionTestLapseDueInPlanOnlyRefusesAClosedOccurrence
(t *testing.T)
internal/store/commitment_renegotiate_cascade_test.go:219
FunctionTestLapseEndsOneShotUnguarded
(t *testing.T)
internal/store/schedule_end_guard_test.go:245
FunctionTestLapseExportImportKeepsClosedHistory
(t *testing.T)
internal/store/schedule_lapse_test.go:380
FunctionTestLapseLateDone
(t *testing.T)
internal/store/schedule_lapse_test.go:117
FunctionTestLapseLateDoneFloatingView
(t *testing.T)
internal/store/schedule_lapse_test.go:399
FunctionTestLapseLinkWriteCommitsLapseWithoutLinkChange
(t *testing.T)
internal/store/schedule_lapse_test.go:851
FunctionTestLapseLinkedCascadeRefusesEveryDate
(t *testing.T)
internal/store/schedule_lapse_test.go:756
FunctionTestLapseLinkedStaysOwedStillMoves
(t *testing.T)
internal/store/schedule_lapse_test.go:836
FunctionTestLapseMigrationPreservesHistory
(t *testing.T)
internal/store/schedule_lapse_test.go:269
FunctionTestLapseOneOff
(t *testing.T)
internal/store/schedule_lapse_test.go:40
FunctionTestLapseOtherResolutionsStale
(t *testing.T)
internal/store/schedule_lapse_test.go:164
FunctionTestLapseOverlappingDeadlineKeepsNextOccurrence
(t *testing.T)
internal/store/schedule_lapse_test.go:567
FunctionTestLapsePreConversionDeadlineIgnored
(t *testing.T)
internal/store/schedule_lapse_test.go:475
FunctionTestLapsePreviouslyRecordedMiss
(t *testing.T)
internal/store/schedule_lapse_test.go:449
FunctionTestLapseRecurringAndRestart
(t *testing.T)
internal/store/schedule_lapse_test.go:54
FunctionTestLapseRenegotiateCommitsLapseAndRefusesChange
(t *testing.T)
internal/store/schedule_lapse_test.go:205
FunctionTestLapseRenegotiatePreviouslyRecordedMiss
(t *testing.T)
internal/store/schedule_lapse_test.go:650
FunctionTestLapseRollbackKeepsMissAndAdvanceAtomic
(t *testing.T)
internal/store/schedule_lapse_test.go:356
FunctionTestLapseSkipPreservesComment
(t *testing.T)
internal/store/schedule_lapse_test.go:540
FunctionTestLapseSkipRemainsUserResolution
(t *testing.T)
internal/store/schedule_lapse_test.go:187
FunctionTestLapseSkippedAndTerminalDoNotMiss
(t *testing.T)
internal/store/schedule_lapse_test.go:248
FunctionTestLapseStaysOwed
(t *testing.T)
internal/store/schedule_lapse_test.go:102
FunctionTestLapseTerminalAfterDeadlinePage
(t *testing.T)
internal/store/schedule_lapse_test.go:713
FunctionTestLastMutation_AssignmentChange
TestLastMutation_AssignmentChange asserts assignment (set, then clear) is captured, and that it is independent of status.
internal/store/item_mutation_signal_test.go:64
FunctionTestLastMutation_AssignmentDelta_NotMisattributedUnderConcurrentWrite
TestLastMutation_AssignmentDelta_NotMisattributedUnderConcurrentWrite covers TASK-2533: the assignment-delta capture used to compare against `existing
internal/store/item_mutation_signal_test.go:161
FunctionTestLastMutation_NoOpOnMoveWithoutStatusChange
TestLastMutation_NoOpOnMoveWithoutStatusChange mirrors the sibling status_transitions test: a move that doesn't touch the done-field must not attach a
internal/store/item_mutation_signal_test.go:127
FunctionTestLastMutation_NoOpWhenNothingChanges
TestLastMutation_NoOpWhenNothingChanges asserts that an update touching neither the done-field nor assignment leaves LastMutation nil — the notificati
internal/store/item_mutation_signal_test.go:46
FunctionTestLastMutation_OnMove
TestLastMutation_OnMove mirrors TestStatusTransition_CapturedOnMoveWithStatusOverride but asserts the LastMutation signal MoveItemWithPreCheck attache
internal/store/item_mutation_signal_test.go:105
FunctionTestLastMutation_StatusChange
TestLastMutation_StatusChange asserts UpdateItem attaches a race-free ItemMutationSignal (TASK-2533) when the done-field changes, carrying the same fr
internal/store/item_mutation_signal_test.go:15
FunctionTestLateMultiRelationDefault_AJSONStringDefaultIsJudgedOnItsCoercedForm
A default's shape must not depend on which door's coercion has run. `CoerceFields` runs BEFORE `ValidateFields` injects a default, so an injected one
internal/store/relation_multi_defaults_test.go:653
FunctionTestLateMultiRelationDefault_BlankElementDropsTheWholeDefault
(t *testing.T)
internal/store/relation_multi_defaults_test.go:217
FunctionTestLateMultiRelationDefault_ControlAJSONStringDefaultThatIsNotAListIsStillDropped
(t *testing.T)
internal/store/relation_multi_defaults_test.go:670
FunctionTestLateMultiRelationDefault_ControlAKeyPresentBeforeValidationIsNotADefault
(t *testing.T)
internal/store/relation_multi_defaults_test.go:108
FunctionTestLateMultiRelationDefault_ControlEmptyDefaultOnAnOptionalFieldIsSilent
(t *testing.T)
internal/store/relation_multi_defaults_test.go:261
FunctionTestLateMultiRelationDefault_EmptyArrayBecomesAnAbsentKey
(t *testing.T)
internal/store/relation_multi_defaults_test.go:86
FunctionTestLateMultiRelationDefault_EmptyDefaultOnARequiredFieldIsReported
(t *testing.T)
internal/store/relation_multi_defaults_test.go:239
FunctionTestLateMultiRelationDefault_NonArrayIsDroppedNotStored
(t *testing.T)
internal/store/relation_multi_defaults_test.go:23
FunctionTestLateMultiRelationDefault_NonStringElementDropsTheWholeDefault
SECOND-ORDER CASES — all three were in the first FIXES, not in the original code. Treating a correction as new code that deserves the same adversarial
internal/store/relation_multi_defaults_test.go:195
FunctionTestLateMultiRelationDefault_RefsAreCanonicalisedInOrder
(t *testing.T)
internal/store/relation_multi_defaults_test.go:42
FunctionTestLateMultiRelationDefault_UnresolvableElementDropsTheKey
(t *testing.T)
internal/store/relation_multi_defaults_test.go:65
FunctionTestLateOnTimeReportOnLegacyRowWritesNoCorrection
A schedule that is not native with a deadline never gets a correction row, even when a miss row exists for its key and the report is on time: the reso
internal/store/commitment_c1_test.go:582
FunctionTestLateOnTimeReportWritesCorrectionKeepingMiss
A done reported at or before the deadline, after the miss was recorded, leaves the miss and adds the correction that answers it.
internal/store/commitment_c1_test.go:347
FunctionTestLateReportAfterDeadlineAndWithoutMissNeverSupersede
(t *testing.T)
internal/store/commitment_c1_test.go:397
FunctionTestLateStaleIsAnInvariantCheckNotAnOperatorError
TestLateStaleIsAnInvariantCheckNotAnOperatorError pins the message change BUG-3072 forced. Inside one snapshot transaction the pre-pass and the expor
cmd/pad/cmd_db_late_stale_test.go:68
FunctionTestLateUserReferenceConstraints_MatchSchema
lateUserReferenceConstraints must name exactly the foreign keys to users that DELETE FROM users can fail on: the ones with no ON DELETE action (BUG-32
internal/store/delete_account_late_reference_test.go:15
FunctionTestLatestAssignmentTimes
(t *testing.T)
internal/store/needs_read_test.go:331
FunctionTestLatestDecisionsForItems
(t *testing.T)
internal/store/needs_scoring_test.go:52
FunctionTestLatestDecisionsForItems_DuplicateIDsAcrossChunks
An id given twice, with the copies a chunk apart, answers once.
internal/store/needs_scoring_test.go:188
FunctionTestLayerAAcceptsEveryRepairedCorpusValue
The REPAIR legs of the four-way differential test (DOC-2823 S3). The four existing legs measure what each layer REFUSES. These measure that every val
internal/store/nul_repair_differential_test.go:28
FunctionTestLayerBAcceptsEveryRepairedCorpusValue
TestLayerBAcceptsEveryRepairedCorpusValue — the SQLite triggers, through a raw handle so what is measured is the DATABASE's verdict rather than Layer
internal/store/nul_repair_differential_test.go:61
FunctionTestLayerBAgreesWithTheCorpus
TestLayerBAgreesWithTheCorpus lights the FOURTH leg of the four-way differential test — the one S1 built the harness for and left dark. The other thr
internal/store/nultriggers_test.go:345
FunctionTestLeaseCountdown
(t *testing.T)
internal/cli/format_lease_test.go:100
FunctionTestLegacyAcknowledgedReminderImportStaysDismissed
(t *testing.T)
internal/server/reminder_commitment_test.go:248
FunctionTestLegacyBundleWithoutDeletedAtImportsLive
TestLegacyBundleWithoutDeletedAtImportsLive is a COMPATIBILITY LOCK, not a regression instrument: it passes before and after this change. A bundle wri
internal/store/export_soft_deleted_collection_test.go:366
FunctionTestLegacyReminderBundleConversion
(t *testing.T)
internal/store/reminder_commitment_test.go:257
FunctionTestLegacySkillHashesCoverEveryUnstampedRelease
Every unstamped release's output is in the frozen list, so a release cut before the list was regenerated fails here, loudly, rather than its users' un
internal/cli/skill_legacy_hashes_gen_test.go:123
FunctionTestLegacySkillHashesIncludeRealInstalledCopies
Real copies a released pad binary wrote (Claude Code and the shared agents file, installed by a v0.14.0-era pad on 2026-08-16), pinned by hash. Indepe
internal/cli/skill_legacy_hashes_gen_test.go:189
FunctionTestLegacyTitleDocumentStaysEditable
TestLegacyTitleDocumentStaysEditable pins a regression this fix introduced rather than one it inherited. "Enforced at write time, existing titles val
internal/server/handlers_documents_title_test.go:222
FunctionTestLibraryActivateSendsTypedConventionAndVerifiesIt
The binding, driven through the real command against a fake server: the activate request carries the typed member and no reserved key in `fields`, and
cmd/pad/bug3163_library_activate_skew_test.go:41
FunctionTestLibraryEntry_Convention
TestLibraryEntry_Convention — title resolves to a convention, full body.
internal/server/handlers_library_test.go:234
FunctionTestLibraryEntry_MissingTitle
TestLibraryEntry_MissingTitle — 400 in the canonical {error: {code, message}} envelope (matches the rest of the API). CLI parseError relies on this sh
internal/server/handlers_library_test.go:286
FunctionTestLibraryEntry_NotFound
TestLibraryEntry_NotFound — 404 with the canonical envelope.
internal/server/handlers_library_test.go:309
FunctionTestLibraryEntry_Playbook
TestLibraryEntry_Playbook — title resolves to a playbook, full body.
internal/server/handlers_library_test.go:258
FunctionTestLibrarySeedMatchesActivation
A seed built from a library entry stores what activating that entry stores, so the two doors give the same item the same origin hash (TASK-3462, the s
internal/collections/builtin_test.go:60
FunctionTestLiftColumnFields_DeclaredKeyIsNotLifted
TestLiftColumnFields_DeclaredKeyIsNotLifted covers the collision: nothing reserves `assigned_user_id` as a field name, so a collection may legally DEC
cmd/pad/item_column_fields_test.go:329
FunctionTestLiftColumnFields_LeavesNonStringsInTheBlob
TestLiftColumnFields_LeavesNonStringsInTheBlob covers the one case where NOT lifting is correct: a collection that genuinely DECLARES a field named `a
cmd/pad/item_column_fields_test.go:168
FunctionTestLiftColumnFields_TagsIsNotLiftable
TestLiftColumnFields_TagsIsNotLiftable pins the INVARIANT on columnFieldKeys. `tags` is a column too, but an empty write corrupts it (JSONB on Postgre
cmd/pad/item_column_fields_test.go:193
FunctionTestLimitedMint_CreateAndImportOfOneName_NoLockCycle
Both workspace mints take their two locks in ONE order: the workspace row's UNIQUE slug entry, then the owner's users row. This builds the interleavin
internal/store/limits_mint_race_test.go:242
FunctionTestLimitedMint_WaitsForCompetitor_ThenRefuses
(t *testing.T)
internal/store/limits_mint_race_test.go:183
FunctionTestLimitedMint_WaitsForNonCountingHolder_ThenAdmits
(t *testing.T)
internal/store/limits_mint_race_test.go:192
FunctionTestLimitedMint_WithoutOption_NotEnforced
Without WithPlanLimit the insert is unchanged: no lock, no count, no refusal even past the cap. Self-hosted callers, the CLI db import and autoCreate
internal/store/limits_mint_race_test.go:204
FunctionTestLimitedWorkspaceInsert_WaitsForCompetitor_ThenRefuses
(t *testing.T)
internal/store/limits_workspace_mint_race_test.go:215
FunctionTestLimitedWorkspaceInsert_WaitsForNonCountingHolder_ThenAdmits
(t *testing.T)
internal/store/limits_workspace_mint_race_test.go:224
FunctionTestLimitedWorkspaceInsert_WithoutOption_NotEnforced
Without WithPlanLimit the inserts are unchanged: no plan-limit lock, no count, no refusal past the cap. Template seeding, the copy path, owner auto-ad
internal/store/limits_workspace_mint_race_test.go:236
FunctionTestLineCounts
(t *testing.T)
internal/diff/linecounts_test.go:5
FunctionTestLinkAdmissionProperty
(t *testing.T)
internal/schedule/links_test.go:592
FunctionTestLinkCheckAncestorsAndImmutability
(t *testing.T)
internal/schedule/links_test.go:547
FunctionTestLinkCreateQueuedBehindAMoveOfItsChildWritesNothing
(t *testing.T)
internal/store/commitment_links_pg_test.go:351
FunctionTestLinkDeleteWithASoftDeletedRootAgainstACascadeDoesNotDeadlock
A link delete whose root item is soft-deleted still takes the root item first, then the workspace, and never asks for another item row, so it queues w
internal/store/commitment_links_pg_test.go:276
FunctionTestLinkGraphRefusals
(t *testing.T)
internal/schedule/links_test.go:190
FunctionTestLinkLimits
(t *testing.T)
internal/schedule/links_test.go:496
FunctionTestLinkLimitsAreCheckedWhenALinkIsWritten
(t *testing.T)
internal/store/commitment_links_test.go:191
FunctionTestLinkOffsetDaysRange
(t *testing.T)
internal/store/commitment_offset_range_test.go:12
FunctionTestLinkOffsetDaysRangePostgres
(t *testing.T)
internal/store/commitment_offset_range_test.go:58
FunctionTestLinkRefusalsNameNoItemAndShowNoCount
(t *testing.T)
internal/store/commitment_links_test.go:155
FunctionTestLinkRepointsASelfHostLinkToCloudKeepingItsSettings
(t *testing.T)
cmd/pad/task3612_link_repoint_test.go:97
FunctionTestLinkToAChildDeadlineIsARenegotiation
(t *testing.T)
internal/store/commitment_links_test.go:287
FunctionTestLinkUpdateAndDeleteQueuedBehindAMoveOfTheChildAreNotFound
(t *testing.T)
internal/store/commitment_links_pg_test.go:367
FunctionTestLinkWithoutURLLeavesAWorkingLinkAlone
The control: with no --url the directory's own pin is the target, so an existing link that resolves there is left exactly as it is.
cmd/pad/task3612_link_repoint_test.go:138
FunctionTestLinkWriteAgainstAResolveOfItsChildDoesNotDeadlock
A link write moves its child while a resolve of that child waits for the workspace: the write never asks for the child's item row.
internal/store/commitment_links_pg_test.go:254
FunctionTestLinkWriteNeedsEditOnBothEnds
(t *testing.T)
internal/store/commitment_links_test.go:117
FunctionTestLinkWritesWithASoftDeletedEndFinishOnOneConnection
With one pooled connection a read made inside the transaction would wait on the connection the transaction holds. The delete reads no terminal state,
internal/store/commitment_links_deleted_end_test.go:206
FunctionTestLinkedDateOutsideTheSupportedYearsInTheChildZoneIsRefused
(t *testing.T)
internal/store/commitment_links_test.go:433
FunctionTestLinkedMoveOverTheTimeBudgetWritesNothing
(t *testing.T)
internal/store/commitment_links_test.go:378
FunctionTestLinkedMovePastDeadlineConfirmation
(t *testing.T)
internal/store/commitment_past_deadline_test.go:66
← previousnext →20,801–20,900 of 28,840, ranked by callers