MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

FunctionTestBUG4024_TableAndMarkdownKeepTheCapAndTheNotice
(t *testing.T)
cmd/pad/bug4024_item_list_json_autopage_test.go:315
FunctionTestBUG4024_UndeclaredKeyWarningSurvivesPaging
(t *testing.T)
cmd/pad/bug4024_item_list_json_autopage_test.go:334
FunctionTestBUG4056BuildCLIArgs
(t *testing.T)
cmd/pad/bug4056_mcp_numbers_test.go:11
FunctionTestBUG4056BuildQueryNumbersUnchanged
BUG-4056 pinned notation: an integral number forwards without an exponent. BUG-4061 superseded the rows that forwarded a fraction and a value outside
internal/mcp/bug4056_numbers_test.go:21
FunctionTestBUG4056ChatRemoteNumbers
(t *testing.T)
internal/mcp/bug4056_numbers_test.go:50
FunctionTestBUG4056SliceAndPlaybookNumbers
BUG-4056: array elements and playbook argument tokens share the helper.
internal/mcp/number_test.go:57
FunctionTestBUG4061_CatalogLimitRefusesAFraction
BUG-4061 at the catalog doors: pad_item.list (whose limit used to truncate a fraction to the default by design; it now refuses) and pad_item.history.
internal/mcp/bug4061_integral_inputs_test.go:171
FunctionTestBUG4061_EveryDispatchDoorRefusesAFractionNamingIt
BUG-4061 through the remote dispatcher: every door that reads a numeric parameter refuses a fraction with a validation error naming it, and the reques
internal/mcp/bug4061_integral_inputs_test.go:94
FunctionTestBUG4061_ExpectedSeqRangeAndJSONNumber
BUG-4061 B: expected_seq outside int64, or as a json.Number, gets the same refusal as a fraction rather than an implementation-defined token or an ung
internal/mcp/bug4061_integral_inputs_test.go:248
FunctionTestBUG4061_LinesViewReadsTheServerSeqLeniently
BUG-4061 site 5: the lines view reads the SERVER's seq, not caller input, so it stays lenient (not applicable): absent, nil or malformed leaves Seq ze
internal/mcp/bug4061_integral_inputs_test.go:210
FunctionTestBUG4061_NumericInputRefusesWhatItWouldChange
BUG-4061: a number that is not a whole int64 is refused, never changed: int64(1.5) is 1, int64(-2.7) is -2, int64(1e19) is implementation-defined, and
internal/mcp/bug4061_integral_inputs_test.go:17
FunctionTestBUG4065_AbsentMeansTheDefault
Absent still means the default: only null and a missing key are absent, and neither is refused or forwarded.
internal/mcp/bug4065_non_numeric_inputs_test.go:435
FunctionTestBUG4065_BuildQueryNativeIntegers
buildQuery (BUG-4061): a native unsigned value above MaxInt64 is refused rather than forwarded for the server to default; one within range is forwarde
internal/mcp/bug4065_non_numeric_inputs_test.go:368
FunctionTestBUG4065_CatalogLimitNonNumbers
The catalog doors: pad_item.list and pad_item.history read limit through intParam themselves, before the dispatcher. A non-number is refused naming li
internal/mcp/bug4065_non_numeric_inputs_test.go:714
FunctionTestBUG4065_ChatSequence
chatSequence (BUG-4065, from 2f309abc and 30dbcd79): the 2^53 bound, an exact json.Number, a plain decimal string, and the message unchanged.
internal/mcp/bug4065_non_numeric_inputs_test.go:288
FunctionTestBUG4065_EveryDoorRefusesANonNumberNamingIt
BUG-4065 through the remote dispatcher: at every door, a non-number refuses with validation_failed naming the parameter and reaches no handler.
internal/mcp/bug4065_non_numeric_inputs_test.go:225
FunctionTestBUG4065_EveryDoorUsesAPlainDecimalString
BUG-4065: the string "7" is the number 7 at every door, and that value is what gets forwarded, not the default.
internal/mcp/bug4065_non_numeric_inputs_test.go:264
FunctionTestBUG4065_ItemListResourceLimitFlag
The resource limit flag: a malformed flag is refused naming limit, not defaulted; a plain decimal one is used; zero still means the default.
internal/mcp/bug4065_non_numeric_inputs_test.go:391
FunctionTestBUG4065_NoRouteForwardsANonNumberForANumberParam
The population check (decision 5a06782e, rebuilt per decision b9025d7c): for every remote dispatch route and every parameter p its tool declares "numb
internal/mcp/bug4065_non_numeric_inputs_test.go:558
FunctionTestBUG4065_NumericInputAdmitsOrRefusesEveryType
BUG-4065 at the unit level: only nil is absent; every other value is a number numericInput can read exactly, or a refusal.
internal/mcp/bug4065_non_numeric_inputs_test.go:57
FunctionTestBUG4065_PRNumberBoundAndJSONNumber
pr_number (b46baef8): the bound is wholeInt64's exclusive 2^53, a json.Number is read exactly, and the message and hint are unchanged.
internal/mcp/bug4065_non_numeric_inputs_test.go:321
FunctionTestBUG4065_PadItemToolHandlerExpectedSeq
End to end through the pad_item tool handler: the catalog gate checks input KEYS only, so a string or a bool expected_seq reaches the dispatcher. Argu
internal/mcp/bug4065_non_numeric_inputs_test.go:485
FunctionTestBUG4065_StringExpectedSeqIsAGuardedWrite
BUG-4065: a string expected_seq used to read as absent, so the content write went out UNGUARDED. Under decision af4bff40 a plain decimal integer strin
internal/mcp/bug4065_non_numeric_inputs_test.go:21
FunctionTestBUG4066MCPChild
TestBUG4066MCPChild is the child side: it loads config with a relative data dir, as any `pad` command does, then fails, so its stderr is what the disp
internal/mcp/bug4066_dispatch_child_env_test.go:18
FunctionTestBUG4066_AutoStartedServerDropsOnlyTheSilencingVar
An MCP tool-call child carries the warning-silencing variable, and it is often the process that auto-starts the server. The server it starts must not
internal/cli/bug4066_server_env_test.go:16
FunctionTestBUG4066_CompletionDoesNotWarn
Tab completion prints no warning in the middle of the user's line: the --workspace completion, and (at the root, in main) every other completion funct
cmd/pad/bug4066_relative_data_dir_test.go:110
FunctionTestBUG4066_ConfigValueReadsTheAnchoredConfig
config_value reads config.toml from the ANCHORED data dir (BUG-4066). Function-level ON PURPOSE: an end-to-end version (PAD_PORT unset, the port only
internal/buildtools/bug4066_relative_data_dir_test.go:139
FunctionTestBUG4066_DispatchedChildPutsNoWarningInTheError
BUG-4066: a failed MCP stdio tool call carries the child's stderr to the agent, so the dispatcher's children are silenced; the relative data-dir warni
internal/mcp/bug4066_dispatch_child_env_test.go:32
FunctionTestBUG4066_EveryPadExecSetsTheChildEnv
Population: every exec of a pad binary in this package's non-test source sets cmd.Env = dispatchChildEnv(), so a new fetcher cannot reopen the leak.
internal/mcp/bug4066_dispatch_child_env_test.go:97
FunctionTestBUG4066_FetchersPutNoWarningInTheError
The resource and bootstrap fetchers fold a failed child's stderr into their errors too (BUG-4066), so they are silenced the same way.
internal/mcp/bug4066_dispatch_child_env_test.go:67
FunctionTestBUG4066_MCPServeWarnsOnce
`pad mcp serve` never loads config, so it checks the data dir itself and warns once on its own stderr (BUG-4066). stdin is closed, so the server sees
cmd/pad/bug4066_relative_data_dir_test.go:100
FunctionTestBUG4066_MonitorStreamDoesNotWarn
BUG-4066 (4b4cb4ff): the warning never reaches the plugin monitor. `pad watch --stream --for-session` reads consent through the config readers, so wit
cmd/pad/bug4066_relative_data_dir_test.go:69
FunctionTestBUG4066_OnlyTheCompletionCommandIsSilenced
The silence is NARROW: a command that merely mentions __complete, or any other, still warns.
cmd/pad/bug4066_relative_data_dir_test.go:123
FunctionTestBUG4066_RefreshMarkerIsAnchoredAndCleanedUp
BUG-4066 (decision 4b4cb4ff): with a relative data dir and a server whose cwd is not the caller's, the refresh marker used to be written under the CAL
internal/buildtools/bug4066_relative_data_dir_test.go:18
FunctionTestBUG4066_RelativeDataDirWarningRule
The rest of the rule (4b4cb4ff): which variable is named, silence for an absolute data dir, once per process, and the same rule in userConfigPath.
internal/config/bug4066_relative_data_dir_test.go:64
FunctionTestBUG4066_RelativeDataDirWarnsNamingTheAbsolutePath
BUG-4066 phase 1 (decision 4b4cb4ff): a relative PAD_DATA_DIR still resolves against this process's cwd, unchanged, but the process WARNS, naming the
internal/config/bug4066_relative_data_dir_test.go:37
FunctionTestBUG4066_ScriptWarnsAboutARelativeDataDirBeforeStopping
The script warns about a relative data dir BEFORE anything is stopped: a refusal that happens before the stop (the unwritable-log check) still carries
internal/buildtools/bug4066_relative_data_dir_test.go:64
FunctionTestBUG4066_ServerWarnsThroughSlog
The server warns once through slog, not as a bare stderr line. A held port makes `server start` return right after logging is set up.
cmd/pad/bug4066_relative_data_dir_test.go:78
FunctionTestBUG4066_TheOnlyServerSpawnUsesTheFilteredEnv
The binding (CONVE-19): the spawn goes through serverStartCommand, and no other non-test file in this package builds a `server start` command.
internal/cli/bug4066_server_env_test.go:42
FunctionTestBUG4066_WindowsNonAbsolutePathsWarn
Windows: a drive-relative path ("C:data") and a rooted one with no drive ("\\data") are not absolute there, so they warn (4b4cb4ff).
internal/config/bug4066_relative_data_dir_test.go:160
FunctionTestBUG4070_EveryNumberParamIsGuarded
TestBUG4070_EveryNumberParamIsGuarded is the population check (CONVE-35, decision e522d1be): for every catalog tool and every param it declares "numbe
internal/mcp/bug4070_stdio_numbers_test.go:166
FunctionTestBUG4070_StdioNumberStringsAndFloats
(t *testing.T)
internal/mcp/bug4070_stdio_numbers_test.go:35
FunctionTestBUG4082_CallerMapUnmodified
C2: neither transport modifies the caller's map, its edits slice or an edit in it, on a coerced hint or on a refusal.
internal/mcp/bug4082_line_hint_test.go:141
FunctionTestBUG4082_LineHintSameOnBothTransports
(t *testing.T)
internal/mcp/bug4082_line_hint_test.go:104
FunctionTestBUG4119_CLICommentMovedRef
(t *testing.T)
cmd/pad/bug4119_ref_prefix_test.go:115
FunctionTestBUG4119_CLICommentReturnedRef
(t *testing.T)
cmd/pad/bug4119_ref_prefix_test.go:85
FunctionTestBUG4119_CLIWrongPrefix
(t *testing.T)
cmd/pad/bug4119_ref_prefix_test.go:19
FunctionTestBUG4119_HTTPImportedUppercaseRefSlug
(t *testing.T)
internal/server/bug4119_ref_prefix_test.go:41
FunctionTestBUG4119_HTTPLowercaseOldRef
(t *testing.T)
internal/server/bug4119_ref_prefix_test.go:286
FunctionTestBUG4119_HTTPLowercaseRefSlug
(t *testing.T)
internal/server/bug4119_ref_prefix_test.go:156
FunctionTestBUG4119_HTTPMovedRefAndTerminalMiss
(t *testing.T)
internal/server/bug4119_ref_prefix_test.go:67
FunctionTestBUG4119_HTTPWrongPrefix
(t *testing.T)
internal/server/bug4119_ref_prefix_test.go:14
FunctionTestBUG4119_ImportedUppercaseRefSlug
(t *testing.T)
internal/store/bug4119_ref_prefix_test.go:253
FunctionTestBUG4119_LowercaseRefMove
(t *testing.T)
internal/store/bug4119_ref_prefix_test.go:275
FunctionTestBUG4119_LowercaseRefSlug
(t *testing.T)
internal/store/bug4119_ref_prefix_test.go:192
FunctionTestBUG4119_MoveHistory
(t *testing.T)
internal/store/bug4119_ref_prefix_test.go:68
FunctionTestBUG4119_RelationWrongPrefix
(t *testing.T)
internal/server/bug4119_ref_prefix_test.go:121
FunctionTestBUG4119_RemoteWrongPrefix
(t *testing.T)
internal/mcp/bug4119_ref_prefix_test.go:15
FunctionTestBUG4119_StdioUpdate
The existing stdio fixture re-executes this test binary as the real CLI.
cmd/pad/bug4119_ref_prefix_test.go:60
FunctionTestBUG4119_WikiAndBacklinks
(t *testing.T)
internal/store/bug4119_ref_prefix_test.go:12
FunctionTestBUG4119_WikiScope
(t *testing.T)
internal/store/bug4119_scope_test.go:9
FunctionTestBUG4400_ConventionPrioritySortFollowsRank
(t *testing.T)
internal/store/bug4400_select_sort_test.go:92
FunctionTestBUG4400_GrantedItemOutsideCollectionIDsRanks
A list with CollectionIDs AND ItemIDs holds items of a collection reached only by an individual grant; that collection ranks too (Luna r3).
internal/store/bug4400_select_sort_test.go:207
FunctionTestBUG4400_ListItemsQRefusesFieldSortOnSnapshot
A field sort reads the collection schemas through the pool, so ListItemsQ refuses it on a snapshot executor instead of mixing the two (Luna r2h).
internal/store/bug4400_select_sort_test.go:185
FunctionTestBUG4400_ListSortRanksPriority
BUG-4400 over HTTP: the item list's sort param (the one path the CLI's `item list --sort` and the MCP item list both call) ranks priority the way the
internal/server/bug4400_select_sort_test.go:15
FunctionTestBUG4400_MixedCollectionsShareOneOrder
(t *testing.T)
internal/store/bug4400_select_sort_test.go:109
FunctionTestBUG4400_NonSelectCollectionKeepsNumericOrder
A collection that holds the key as a NUMBER (not a select) keeps its numeric order inside the "no rank" group of a workspace-wide list (hunter r1, fin
internal/store/bug4400_select_sort_test.go:160
FunctionTestBUG4400_OtherSelectFollowsDeclaredOrder
(t *testing.T)
internal/store/bug4400_select_sort_test.go:125
FunctionTestBUG4400_PrioritySortFollowsRank
(t *testing.T)
internal/store/bug4400_select_sort_test.go:49
FunctionTestBUG4400_SearchPathSortsTheSame
(t *testing.T)
internal/store/bug4400_select_sort_test.go:142
FunctionTestBUG4511_AwaitConsent_ExitsSilentlyWhenConsentNeverArrives
(t *testing.T)
internal/buildtools/bug4511_monitor_await_consent_test.go:142
FunctionTestBUG4511_AwaitConsent_MalformedOverridesFallBack
Overrides other than a plain decimal of one to four digits with no leading zero fall back to the default: a zero poll never advances the counter, a le
internal/buildtools/bug4511_monitor_await_consent_test.go:169
FunctionTestBUG4511_AwaitConsent_StreamsWhenConsentArrivesLate
(t *testing.T)
internal/buildtools/bug4511_monitor_await_consent_test.go:127
FunctionTestBUG4511_NoFlag_AlreadyArmedStreamsOnce
(t *testing.T)
internal/buildtools/bug4511_monitor_await_consent_test.go:225
FunctionTestBUG4511_NoFlag_ExitsPromptlyWithoutWaiting
(t *testing.T)
internal/buildtools/bug4511_monitor_await_consent_test.go:207
FunctionTestBUG4570AgendaSnoozeFlag
(t *testing.T)
cmd/pad/bug4570_snooze_agenda_test.go:29
FunctionTestBUG4570BootstrapSkipsScheduleWithNoOutstanding
(t *testing.T)
internal/store/bug4570_snooze_agenda_test.go:92
FunctionTestBUG4570LinkedMoveNotSnoozed
(t *testing.T)
internal/store/bug4570_snooze_agenda_test.go:63
FunctionTestBUG4570RemindShowSnoozeAndMove
(t *testing.T)
cmd/pad/bug4570_snooze_agenda_test.go:9
FunctionTestBUG4570SnoozeAgenda
(t *testing.T)
internal/store/bug4570_snooze_agenda_test.go:10
FunctionTestBUG4570SnoozeEndsAtItsRefireInstant
(t *testing.T)
internal/store/bug4570_snooze_agenda_test.go:75
FunctionTestBUG4570SnoozeReadSurfaces
(t *testing.T)
internal/server/bug4570_snooze_agenda_test.go:14
FunctionTestBUG4644_CapConstant
TestBUG4644_CapConstant pins the shipped cap to the value these tests use.
internal/server/bug4644_oauth_form_cap_test.go:34
FunctionTestBUG4644_Introspect_BodyCap
TestBUG4644_Introspect_BodyCap: an over-cap introspection is refused by the handler's own form-parse path; the same request at the cap answers.
internal/server/bug4644_oauth_form_cap_test.go:205
FunctionTestBUG4644_Introspect_RefusesClientAssertion
TestBUG4644_Introspect_RefusesClientAssertion: an introspection carrying a client assertion is refused invalid_client, with or without a bearer.
internal/server/bug4644_oauth_form_cap_test.go:363
FunctionTestBUG4644_Revoke_BodyCap
TestBUG4644_Revoke_BodyCap: an over-cap revoke is refused before fosite and revokes nothing; the same revoke at the cap succeeds.
internal/server/bug4644_oauth_form_cap_test.go:173
FunctionTestBUG4644_Revoke_RefusesClientAssertion
TestBUG4644_Revoke_RefusesClientAssertion: a revoke of a real token carrying a client assertion is refused invalid_client and revokes nothing.
internal/server/bug4644_oauth_form_cap_test.go:339
FunctionTestBUG4644_Token_BodyCap
TestBUG4644_Token_BodyCap: a token request one byte over the cap is refused by the handler's own form-parse path (not fosite), and the code it carried
internal/server/bug4644_oauth_form_cap_test.go:122
FunctionTestBUG4644_Token_BodyCapMultipart
TestBUG4644_Token_BodyCapMultipart: the cap governs a multipart token body too, which ValidateFormBody does not read.
internal/server/bug4644_oauth_form_cap_test.go:150
FunctionTestBUG4644_Token_RefusesClientAssertion
TestBUG4644_Token_RefusesClientAssertion: an otherwise valid code exchange carrying a client assertion is refused invalid_client before fosite, and th
internal/server/bug4644_oauth_form_cap_test.go:285
FunctionTestBackfillBidiAttachmentFilenames
BUG-3153: rows stored before ingest dropped Bidi_Control characters are rewritten to their SERVED name, once, and nothing else is touched.
internal/store/attachment_bidi_backfill_test.go:54
FunctionTestBackfillBidiAttachmentFilenamesKeepsAConcurrentRename
Each UPDATE is conditional on the name it read, so a rename that lands between the select and the update stands and is not counted. The rename callbac
internal/store/attachment_bidi_backfill_test.go:137
FunctionTestBackfillBidiAttachmentFilenamesKeepsProvenanceTrue
BUG-2819: the backfill changes a stored name, so a row that recorded the name as the caller's own must stop saying so. Every other source value is sti
internal/store/attachment_bidi_backfill_test.go:192
FunctionTestBackfillBidiAttachmentFilenamesRefusesARenameThatLeavesOne
A rename that leaves a Bidi_Control character would be selected again on every boot, so it is refused and not written.
internal/store/attachment_bidi_backfill_test.go:116
FunctionTestBackfillBidiAttachmentFilenamesSelectsEveryBidiControl
Every member of the property is selected by the SQL, on both dialects: one row per rune, each rewritten. The runes come from unicode.Bidi_Control, NOT
internal/store/attachment_bidi_backfill_test.go:163
FunctionTestBackfillClassifiesLegacyRows
Legacy rows (written before migration 091) are unclassified and count as content-bearing until the startup backfill runs.
internal/store/bug3124_content_bearing_test.go:169
FunctionTestBackfillConventionRoles_ActivityIsSystemAndStamped
(t *testing.T)
internal/store/convention_role_backfill_test.go:160
FunctionTestBackfillConventionRoles_AdditiveOnly
(t *testing.T)
internal/store/convention_role_backfill_test.go:77
FunctionTestBackfillConventionRoles_ConditionalOnColumnAndSeq
(t *testing.T)
internal/store/convention_role_backfill_test.go:186
FunctionTestBackfillConventionRoles_InvalidSampleIsCapped
(t *testing.T)
internal/store/convention_role_backfill_test.go:218
← previousnext →17,401–17,500 of 28,840, ranked by callers