Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerpetualSoftware/pad
/ functions
Functions
28,840 in github.com/PerpetualSoftware/pad
⨍
Functions
28,840
◇
Types & classes
3,245
Function
TestTASK3585_MCPCreateOpKey
TASK-3585: op_key on create rides to the server, so a retried create answers the item it made instead of a twin.
internal/mcp/task3585_op_key_test.go:63
Function
TestTASK3585_MCPCreateReplayOfADeletedItem
A replayed create whose item has since been deleted is its own structured code on both transports, not a generic error.
internal/mcp/task3585_op_key_test.go:90
Function
TestTASK3585_MCPOpKey
TASK-3585 at the MCP doors: op_key replays over the remote transport, a reused key comes back as its own code (not validation_failed), and the hints m
internal/mcp/task3585_op_key_test.go:14
Function
TestTASK3585_MonitorDropsARepublishedPush
TASK-3585: the monitor prints a push once, however many times it is published under the same push_id (a re-publish after a claim takeover).
cmd/pad/task3585_monitor_dedupe_test.go:12
Function
TestTASK3585_MoveReplaysAfterTheSourceIsArchived
A move archives its source, so a retry must replay rather than meet the archived source as a refusal or a second copy.
internal/server/task3585_copy_key_test.go:56
Function
TestTASK3585_PushNoRetryWithoutTheCapabilityOrAKey
(t *testing.T)
internal/cli/task3585_push_retry_test.go:58
Function
TestTASK3585_PushReplaysWithoutRedelivering
(t *testing.T)
internal/server/task3585_push_key_test.go:57
Function
TestTASK3585_PushRetriesOnceWithTheSameKey
(t *testing.T)
internal/cli/task3585_push_retry_test.go:48
Function
TestTASK3585_PushTakeoverKeepsThePushID
A server that dies between publishing and completing the key leaves a claim whose lease expires. The retry takes it over and publishes again, with the
internal/server/task3585_push_key_test.go:122
Function
TestTASK3585_RecentSetBounds
(t *testing.T)
cmd/pad/task3585_monitor_dedupe_test.go:35
Function
TestTASK3585_RefusalReleasesTheKey
Refusals are not stored: a corrected retry with the same key proceeds.
internal/server/task3585_patch_key_test.go:57
Function
TestTASK3585_RefusedCommentReleasesItsKey
(t *testing.T)
internal/server/task3585_comment_key_test.go:59
Function
TestTASK3585_RefusedCopyReleasesItsKey
(t *testing.T)
internal/server/task3585_copy_key_test.go:72
Function
TestTASK3585_RefusedCreateReleasesItsKey
(t *testing.T)
internal/server/task3585_create_key_test.go:52
Function
TestTASK3585_ReleaseAndUnknown
(t *testing.T)
internal/store/task3585_idempotency_test.go:91
Function
TestTASK3585_ReplayDoesNotApplyTwice
An insert-shaped edit keeps its anchor, so a plain retry would insert it twice. With a key, the retry replays the first answer.
internal/server/task3585_patch_key_test.go:30
Function
TestTASK3585_TakeoverAfterADeadClaim
Case (2): a writer that dies between claim and write leaves a pending row; after its lease a retry takes it over. If the first writer was only slow an
internal/store/task3585_idempotency_test.go:51
Function
TestTASK3585_UnknownResolvesThroughTheSameTab
The unknown outcome resolves through the SAME connection: its tab re-acks the patch it applied, the retry answers 200, and it is applied once.
internal/server/task3585_patch_key_test.go:167
Function
TestTASK3585_UnknownWithTheTabGoneIsNotReplanned
With that connection gone, the retry is NOT re-planned on another tab (an insert-shaped edit keeps its anchor); it answers patch_outcome_unknown with
internal/server/task3585_patch_key_test.go:209
Function
TestTASK3611_LinkPRRemote
TASK-3611: pad_item link-pr writes the PR metadata the agent supplies (no GitHub fetch) and unlink-pr clears it, over the remote transport against a r
internal/mcp/task3611_link_pr_test.go:19
Function
TestTASK3611_RemindersListAndUnremindRemote
TASK-3611: pad_item `reminders` lists an item's reminders and `unremind` disarms one, over the remote transport against a real server. Permission is t
internal/mcp/task3611_reminders_test.go:19
Function
TestTASK3613_KeptWorkerIDStartTokenRules
keptWorkerID directly, including platforms that record no start token, where the TestTASK3613 registry tests above skip: with no token on either side
internal/cli/session_worker_test.go:140
Function
TestTASK3613_LazyMintForAnOlderRecord
A record written before worker ids existed gets one minted on first use, persisted, and reused.
internal/cli/session_worker_test.go:81
Function
TestTASK3613_MalformedWorkerIDIs400
(t *testing.T)
internal/server/task3613_lease_worker_test.go:159
Function
TestTASK3613_NameOnlyCallerIsRefusedWithTheWayOut
Rule (b): a name-only caller is refused against a worker-bound lease of its own name, and told how to get a worker id.
internal/server/task3613_lease_worker_test.go:116
Function
TestTASK3613_NewProcessGetsANewWorkerID
(t *testing.T)
internal/cli/session_worker_test.go:45
Function
TestTASK3613_NextAgreesWithTheClaim
`next` hides another worker's lease and keeps the caller's own, by the same identity the claim uses.
internal/server/task3613_lease_worker_test.go:172
Function
TestTASK3613_StoreWorkerIDRules
TASK-3613: the store refuses a malformed worker id and a worker id with no user before any SQL runs, on every lease path, and a worker-bound lease is
internal/store/item_lease_test.go:259
Function
TestTASK3613_TwoWorkersUnderOneNameDoNotShareALease
(t *testing.T)
internal/server/task3613_lease_worker_test.go:53
Function
TestTASK3613_WorkerAdoptsItsOwnNameOnlyLease
A worker adopts its own name-only lease (the one it claimed before it had a worker id), and from then on the lease is worker-bound.
internal/server/task3613_lease_worker_test.go:145
Function
TestTASK3613_WorkerIDIsScopedToTheAccount
The worker id is matched only with the account: another account presenting the same id reaches nothing.
internal/server/task3613_lease_worker_test.go:103
Function
TestTASK3613_WorkerIDOverrideAndUnregistered
(t *testing.T)
internal/cli/session_worker_test.go:108
Function
TestTASK3613_WorkerIDSurvivesReRegisterBySameProcess
TASK-3613: a session's lease worker id survives a /clear in the same process (which re-runs `pad session register`) and is new for a new process, incl
internal/cli/session_worker_test.go:15
Function
TestTASK3615_ActivitySinceAcceptsRFC3339
TASK-3615 PR B: the activity feed's `since` accepts an RFC3339 instant as well as a date, so the catch-up card's "See everything" can open its exact w
internal/server/task3615_activity_since_test.go:18
Function
TestTASK3615_AgentsGroupedByName
(t *testing.T)
internal/server/task3615_catch_up_test.go:374
Function
TestTASK3615_CatchUpSections
(t *testing.T)
internal/server/task3615_catch_up_test.go:151
Function
TestTASK3615_CursorAndCeilingBoundTheWindow
(t *testing.T)
internal/server/task3615_catch_up_test.go:228
Function
TestTASK3615_MarkCaughtUpNeverMovesBackwards
(t *testing.T)
internal/server/task3615_catch_up_test.go:279
Function
TestTASK3615_NeedsYouLinesAreScoped
CatchUpItemLines is the only visibility gate on needs_you's attention-set ids (the decision runner's map is workspace-wide), so it is pinned here dire
internal/server/task3615_catch_up_test.go:440
Function
TestTASK3615_NeedsYouListsBlockedItemsAssignedToYou
(t *testing.T)
internal/server/task3615_catch_up_test.go:342
Function
TestTASK3615_SignedOutIsRefused
(t *testing.T)
internal/server/task3615_catch_up_test.go:422
Function
TestTASK3615_VisibilityBoundsLinesAndTotals
(t *testing.T)
internal/server/task3615_catch_up_test.go:308
Function
TestTASK3617_GuestVisibility
A guest granted edit on the spec may record and read. A via naming an item the guest cannot see gets the same answer as one that does not exist, and a
internal/server/task3617_verifications_test.go:151
Function
TestTASK3617_ImportDropsMalformedVerifications
A bundle is not necessarily one this server wrote. Rows that break a rule the live write enforces are dropped and the import survives, on both backend
internal/store/task3617_verifications_export_test.go:149
Function
TestTASK3617_InsertRefusals
The write is refused, whole, when the item moved past the seq its criteria were parsed from, when it is archived, and when via names an item of anothe
internal/store/task3617_verifications_test.go:198
Function
TestTASK3617_MergeFieldsRoundTripAndTriggerRefresh
TASK-3617: the merge SHA and time round-trip from gh's payload through the stored github_pr and back, and a PR whose only change is that it merged sti
cmd/pad/reconcile_test.go:135
Function
TestTASK3617_OlderVerdictIsSuperseded
Two verdicts on an unchanged criterion: the older reads superseded.
internal/store/task3617_verifications_test.go:165
Function
TestTASK3617_PossiblyStaleFromAMergedPR
A linked PR that merged after a verdict was recorded, at a different SHA, marks the verdict possibly_stale and leaves its state alone. A PR whose merg
internal/server/task3617_verifications_test.go:230
Function
TestTASK3617_RecordAndRead
(t *testing.T)
internal/server/task3617_verifications_test.go:31
Function
TestTASK3617_Refusals
Every refusal leaves nothing stored: a batch is all or nothing.
internal/server/task3617_verifications_test.go:95
Function
TestTASK3617_RetryOnAMovedItem
TASK-3617: the retry when the item moves between the criteria read and the write. One move retries and lands, against the new seq. An item that keeps
internal/server/task3617_verifications_test.go:316
Function
TestTASK3617_RetryRechecksAccess
(t *testing.T)
internal/server/task3617_verifications_test.go:361
Function
TestTASK3617_RetryRechecksVia
TASK-3617: the same re-check for via. The guest can see the task on the first read; between that read and the write the task's grant is revoked and th
internal/server/task3617_verifications_test.go:418
Function
TestTASK3617_VerificationStateFollowsTheCriterion
A stored verdict stays current through edits elsewhere in the item, goes criterion_changed when its own criterion is reworded, criterion_removed when
internal/store/task3617_verifications_test.go:61
Function
TestTASK3617_VerificationsRoundTripThroughExport
(t *testing.T)
internal/store/task3617_verifications_export_test.go:108
Function
TestTASK3617_VerificationsSurviveMigrateToPostgres
The `pad db migrate-to-pg` path: SQLite's ExportWorkspaceQ into a Postgres store's ImportWorkspace with the slug preserved (cmd_db.go migrateImportWor
internal/store/task3617_verifications_export_test.go:129
Function
TestTASK3617_ZeroMergedAtIsNotAMerge
TASK-3617: a zero mergedAt is "not merged", never stored as a merge.
cmd/pad/reconcile_test.go:177
Function
TestTASK3618_ItemContextCarriesOnlySurfacedDecisions
TASK-3618: the brief carries only the decisions their set would surface, counts the rest, and raises stale_decision only for a surfaced answer whose i
internal/server/task3618_item_context_decisions_test.go:29
Function
TestTASK3618_ProductionSetsCarryTheirThreshold
Every production set that surfaces answers carries its threshold.
internal/decision/task3618_surfaced_test.go:176
Function
TestTASK3618_RewordedQuestionCountsAsStaleQuestion
An answer to a reworded question is neither surfaced nor counted below threshold: it is a stale question, however high its probability.
internal/decision/task3618_surfaced_test.go:147
Function
TestTASK3618_SurfacedDecisionsThresholdBothSides
TASK-3618: SurfacedDecisions keeps exactly the answers WorkspaceFlags would flag, on both sides of the threshold (AT it is surfaced), and counts the r
internal/decision/task3618_surfaced_test.go:25
Function
TestTASK3618_SurfacedKeepsAnAnswerWhoseItemMovedOn
An above-threshold answer whose ITEM has moved on stays in the brief with current=false. The dashboard keeps it too while the re-ask is pending (TASK-
internal/decision/task3618_surfaced_test.go:66
Function
TestTASK3619_ConcurrentUploadsAcrossWorkspacesShareThePool
Two uploads into two DIFFERENT workspaces of one Pro account, each fitting alone but not together: the owner-keyed lock makes the second count the fir
internal/store/task3619_storage_limit_test.go:259
Function
TestTASK3619_ConcurrentUploadsCannotBothPassTheCap
Two uploads that each fit but not together: exactly one lands, whichever commits second counts the first (the limit lock).
internal/store/task3619_storage_limit_test.go:141
Function
TestTASK3619_FreeIsPerWorkspace
Free stays per workspace: two owned workspaces each hold the full limit.
internal/store/task3619_storage_limit_test.go:238
Function
TestTASK3619_HumanBytes
(t *testing.T)
internal/server/task3619_storage_cap_test.go:107
Function
TestTASK3619_OwnershipChangeMidCheckIsDetectedAndRetried
An ownership change between the owner read that picks the lock and the check under it is detected, and the attempt retried in a fresh transaction. The
internal/store/task3619_storage_limit_test.go:305
Function
TestTASK3619_ProPoolsAcrossOwnedWorkspacesIncludingSoftDeleted
Pro is one pool per ACCOUNT: bytes in one owned workspace count against an upload into another, and a soft-deleted owned workspace still counts until
internal/store/task3619_storage_limit_test.go:210
Function
TestTASK3619_ProStorageCapBothSides
TASK-3619: on Pro the 1 GB cap holds at the insert. Landing exactly on the limit is allowed; one byte past it is refused, with the bytes named.
internal/store/task3619_storage_limit_test.go:84
Function
TestTASK3619_SeedRewritesOnlyTheOldStorageDefaults
SeedPlanLimits rewrites the old seeded storage values (Pro 10 GB, Free 500 MB), and only those.
internal/store/task3619_storage_limit_test.go:179
Function
TestTASK3619_SelfHostedUnlimited
Self-hosted owners have no storage limit.
internal/store/task3619_storage_limit_test.go:132
Function
TestTASK3619_UploadPastTheStorageLimitIs403
TASK-3619: in cloud mode an upload that would take a Pro workspace past its storage limit is refused with the plan-limit 403, naming the plan, the byt
internal/server/task3619_storage_cap_test.go:42
Function
TestTASK3619_VariantsAndUnlimitedCallersNeverRefuse
A derived row (a variant) never refuses, and without WithPlanLimit (self- hosted callers) nothing does.
internal/store/task3619_storage_limit_test.go:111
Function
TestTASK3779_UploadWaitsForAHeldCopyAndIsRefused
TASK-3779: the race above never overlapped the two writes, so it passed with the storage lock removed. Here the copy is held after its check passes an
internal/store/bug3653_copy_storage_test.go:191
Function
TestTASK3866_CreateTokenScopes
TASK-3866: both doors that mint an API key accept exactly the scope values tokenScopeAllows recognizes, store them compact, and refuse anything that w
internal/server/task3866_token_scopes_create_test.go:14
Function
TestTASK3866_ReadOnlyKeyRefusesWritesOverRESTAndMCP
TASK-3866 done-when: a key made read-only through the same request the web settings form sends can read and cannot write, both over REST and over remo
cmd/pad/task3866_read_only_key_test.go:17
Function
TestTASK3915_RetiredAttentionKeysReadAsStaleQuestions
Answers stored under the attention set's RETIRED keys (TASK-3915 / TASK-3924) are neither surfaced nor flagged, and the brief counts them as stale que
internal/decision/task3618_surfaced_test.go:97
Function
TestTASK3919_AwaitsHumanOverHTTP
TASK-3919 (IDEA-3906): awaits_human through the HTTP door: the typed member on create and update, the settings key kept by a write that omits it, and
internal/server/task3919_awaits_human_test.go:13
Function
TestTASK3919_AwaitsHumanRoundTrip
TASK-3919 (IDEA-3906): settings.awaits_human is stored on create, kept across a settings write that does not mention it, settable on its own without t
internal/store/task3919_awaits_human_test.go:12
Function
TestTASK3919_CollectionCreateRefusesAnUnappliedAwaitsHuman
(t *testing.T)
cmd/pad/task3919_awaits_human_flag_test.go:152
Function
TestTASK3919_CollectionCreateSendsAwaitsHuman
`pad collection create` carries the same flag, so a human-tasks collection can be marked at creation instead of by a second update.
cmd/pad/task3919_awaits_human_flag_test.go:97
Function
TestTASK3919_CollectionUpdateRefusesAnUnappliedAwaitsHuman
(t *testing.T)
cmd/pad/task3919_awaits_human_flag_test.go:80
Function
TestTASK3919_CollectionUpdateSendsAwaitsHuman
(t *testing.T)
cmd/pad/task3919_awaits_human_flag_test.go:26
Function
TestTASK3919_ParseAwaitsHumanFlag
TASK-3919 (IDEA-3906): `pad collection update --awaits-human[=false]` sends the typed member (CONVE-19: wiring is a claim), and refuses to report succ
cmd/pad/task3919_awaits_human_flag_test.go:14
Function
TestTASK3975_CLIApprovalFromAnEightyFiveDayWebSession_GetsFullWindow
(t *testing.T)
internal/server/task3975_cli_token_lifetime_test.go:39
Function
TestTASK3975_CLIBearerCannotApprove
TASK-3975 r2: only a browser session approves. A CLI token that could approve would mint its own successor with a fresh 90-day cap, and a chain of the
internal/server/task3975_cli_token_lifetime_test.go:122
Function
TestTASK3975_CLITokenFromOldSessionStillCannotConfirmDelete
Dating the CLI token from the approval must not make it a fresh sign-in for the confirm-only delete recency check (BUG-3336).
internal/server/task3975_cli_token_lifetime_test.go:76
Function
TestTASK3975_RotationKeepsParentCap
A credential-change rotation REPLACES the session, so it keeps the replaced session's cap (it must not extend a stolen session's life).
internal/server/task3975_cli_token_lifetime_test.go:94
Function
TestTASK4035_CatchUpDispatchBindsToOneGET
The binding: exactly one GET on the catch-up path, no query forwarded even when the caller supplies params, the body passed through, and nothing that
internal/mcp/task4035_catch_up_test.go:52
Function
TestTASK4035_CatchUpOverMCPNeverCreatesTheCursor
Real stack: a member's catch-up over the MCP dispatch leaves the cursor absent, twice. A GET that moved it would hide unseen work from the human.
internal/mcp/task4035_catch_up_test.go:115
Function
TestTASK4035_PadProjectAnnotationStaysReadOnly
pad_project stays read-only on its tool annotation with catch-up in it.
internal/mcp/task4035_catch_up_test.go:93
Function
TestTASK403_APITokenIsToldToSignIn
(t *testing.T)
cmd/pad/cmd_auth_2fa_test.go:234
Function
TestTASK403_DisableAgainstAnOlderServerAsksForThePassword
A server that predates `password_set` took only a password, so the CLI asks for one when the key is missing.
cmd/pad/cmd_auth_2fa_test.go:387
Function
TestTASK403_DisableWhenOffRefuses
(t *testing.T)
cmd/pad/cmd_auth_2fa_test.go:374
Function
TestTASK403_DisableWithPassword
(t *testing.T)
cmd/pad/cmd_auth_2fa_test.go:248
Function
TestTASK403_DisableWithoutPasswordTakesACode
(t *testing.T)
cmd/pad/cmd_auth_2fa_test.go:323
Function
TestTASK403_DisableWithoutPasswordTakesARecoveryCode
(t *testing.T)
cmd/pad/cmd_auth_2fa_test.go:357
Function
TestTASK403_ReplaceSessionTokenKeepsTheRestOfTheCredential
Disable's rotation replaces this CLI's session; the saved credential must follow it, and only the token changes.
cmd/pad/cmd_auth_2fa_test.go:490
Function
TestTASK403_SetupEmptyCodeLeavesItOff
(t *testing.T)
cmd/pad/cmd_auth_2fa_test.go:199
Function
TestTASK403_SetupEnablesAndShowsRecoveryCodesOnce
(t *testing.T)
cmd/pad/cmd_auth_2fa_test.go:130
← previous
next →
25,001–25,100 of 28,840, ranked by callers