Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Facets-cloud/flow
/ functions
Functions
972 in github.com/Facets-cloud/flow
⨍
Functions
972
◇
Types & classes
69
Function
TestCmdListTasksStaleMarker
(t *testing.T)
internal/app/list_test.go:68
Function
TestCmdListTasksTagIntersection
`flow list tasks --tag a --tag b` must intersect (AND) — the skill's owner-ledger query (`--tag owner:<slug> --tag question`) depends on it.
internal/app/owner_test.go:111
Function
TestCmdListTasksWaitingOn
(t *testing.T)
internal/app/list_test.go:85
Function
TestCmdListTasksWaitingTruncation
(t *testing.T)
internal/app/list_test.go:964
Function
TestCmdOwnerListShowsNextTick
(t *testing.T)
internal/app/owner_test.go:252
Function
TestCmdOwnerNextAcceptsDateExpression
`flow owner next --at` accepts a date expression (today/tomorrow/ weekday), not just an RFC3339 timestamp — via parseOwnerWhen.
internal/app/owner_test.go:178
Function
TestCmdOwnerNextRejectsPastTime
`flow owner next` must reject a wake time already in the past — a stale --at (or a negative --in) would leave the owner perpetually due, ticking every
internal/app/owner_test.go:148
Function
TestCmdOwnerNextSetsNextWake
(t *testing.T)
internal/app/owner_tick_test.go:747
Function
TestCmdOwnerPause
(t *testing.T)
internal/app/owner_test.go:363
Function
TestCmdOwnerRetireDelete
(t *testing.T)
internal/app/owner_test.go:437
Function
TestCmdOwnerRetireGraceful
(t *testing.T)
internal/app/owner_test.go:414
Function
TestCmdOwnerShowExcludesDoneFromInFlight
A completed (done) owned task must not show under "in flight".
internal/app/owner_test.go:56
Function
TestCmdOwnerShowListsOwnedTasksAndQuestions
(t *testing.T)
internal/app/owner_test.go:504
Function
TestCmdOwnerShowSeparatesPlaybookRuns
(t *testing.T)
internal/app/owner_test.go:459
Function
TestCmdOwnerStartSchedulesTick
(t *testing.T)
internal/app/owner_test.go:340
Function
TestCmdOwnerStartUnknownErrors
(t *testing.T)
internal/app/owner_test.go:383
Function
TestCmdOwnerStartUnretiresZombie
retire → start must produce a ticking owner again (not an active-but- archived zombie hidden from the list and never dispatched).
internal/app/owner_test.go:85
Function
TestCmdOwnerTickClearsTickPID
(t *testing.T)
internal/app/owner_tick_test.go:440
Function
TestCmdOwnerTickDetachedSkipsNonActive
The detached tick (`flow __owner-tick`) must not run the harness for a non-active owner (paused/retired) — a guard for the window between dispatch and
internal/app/owner_tick_test.go:390
Function
TestCmdOwnerTickManualRefusesNonActive
The hand-triggered `flow owner tick` must refuse a non-active owner with guidance rather than silently spawning a session.
internal/app/owner_tick_test.go:419
Function
TestCmdOwnerTickPreservesSelfPacedNextWake
A tick that self-paces mid-run (sets next_wake_at via `flow owner next`) must keep that value — the finish write must not overwrite next_wake_at with
internal/app/owner_tick_test.go:350
Function
TestCmdOwnerTickRecordsErrorStatus
(t *testing.T)
internal/app/owner_tick_test.go:610
Function
TestCmdOwnerTickRecordsOkStatus
(t *testing.T)
internal/app/owner_tick_test.go:576
Function
TestCmdOwnerTickSkipClearsTickPID
A dispatched tick that skips a now-non-active owner must clear the tick_pid the scheduler stamped (gap 8) — else the owner shows "tick running" and re
internal/app/owner_tick_test.go:142
Function
TestCmdRunPlaybookAutoForwards
TestCmdRunPlaybookAutoForwards: `flow run playbook <slug> --auto` creates the run task and launches it headlessly via the detached supervisor — no ter
internal/app/run_test.go:149
Function
TestCmdRunPlaybookCreatesRunTask
(t *testing.T)
internal/app/run_test.go:94
Function
TestCmdRunPlaybookForwardsWith
(t *testing.T)
internal/app/run_test.go:400
Function
TestCmdRunPlaybookHereHappyPath
---------- flow run playbook --here ---------- TestCmdRunPlaybookHereHappyPath pins the in-session bind contract for playbook runs: with $CLAUDE_CODE_
internal/app/run_test.go:237
Function
TestCmdRunPlaybookHereIgnoresDangerSkip
TestCmdRunPlaybookHereIgnoresDangerSkip pins that --dangerously-skip-permissions is silently dropped on the --here path (no claude process is spawned,
internal/app/run_test.go:381
Function
TestCmdRunPlaybookHereInvalidUUID
TestCmdRunPlaybookHereInvalidUUID pins UUID-shape validation. An env var that isn't a v4 UUID is rejected; no dangling row created.
internal/app/run_test.go:309
Function
TestCmdRunPlaybookHereNoEnvVar
TestCmdRunPlaybookHereNoEnvVar pins that --here without a Claude session in env refuses with rc=1 AND does not create a dangling run-task row. Early v
internal/app/run_test.go:281
Function
TestCmdRunPlaybookHereRejectsCurrentSessionAlreadyBoundElsewhere
TestCmdRunPlaybookHereRejectsCurrentSessionAlreadyBoundElsewhere pins the session_id uniqueness invariant: if the current session is already bound to
internal/app/run_test.go:335
Function
TestCmdRunPlaybookMissing
(t *testing.T)
internal/app/run_test.go:222
Function
TestCmdRunPlaybookSnapshotIsolation
(t *testing.T)
internal/app/run_test.go:187
Function
TestCmdRunPlaybookWithEmptyRejectedBeforeRowInsert
(t *testing.T)
internal/app/run_test.go:422
Function
TestCmdShowBadSub
(t *testing.T)
internal/app/show_test.go:393
Function
TestCmdShowOwnerAlias
flow show owner <slug> is a verb-first alias for `flow owner show <slug>`.
internal/app/owner_test.go:315
Function
TestCmdShowPlaybook
(t *testing.T)
internal/app/show_test.go:606
Function
TestCmdShowPlaybookListsRecentRuns
(t *testing.T)
internal/app/show_test.go:635
Function
TestCmdShowProjectDefaultsFromEnv
(t *testing.T)
internal/app/show_test.go:356
Function
TestCmdShowProjectHappyPath
---------- project path ----------
internal/app/show_test.go:334
Function
TestCmdShowProjectUnknown
(t *testing.T)
internal/app/show_test.go:381
Function
TestCmdShowRendersBackgroundStatus
TestCmdShowRendersBackgroundStatus: `flow show` surfaces a live bg session's status/state/pid via the per-render registry lookup.
internal/app/background_test.go:378
Function
TestCmdShowTaskArchivedStillShown
(t *testing.T)
internal/app/show_test.go:313
Function
TestCmdShowTaskAutoRunStatus
TestCmdShowTaskAutoRunStatus: `flow show task` surfaces the autonomous run status for a task that was launched with --auto.
internal/app/show_test.go:116
Function
TestCmdShowTaskConfigurableStaleness
(t *testing.T)
internal/app/show_test.go:484
Function
TestCmdShowTaskDefaultsFromEnv
(t *testing.T)
internal/app/show_test.go:164
Function
TestCmdShowTaskDueDate
(t *testing.T)
internal/app/show_test.go:403
Function
TestCmdShowTaskFloating
(t *testing.T)
internal/app/show_test.go:151
Function
TestCmdShowTaskHappyPath
(t *testing.T)
internal/app/show_test.go:83
Function
TestCmdShowTaskMissingDefault
(t *testing.T)
internal/app/show_test.go:189
Function
TestCmdShowTaskNoDueDate
(t *testing.T)
internal/app/show_test.go:471
Function
TestCmdShowTaskNoSubstringMatch
(t *testing.T)
internal/app/show_test.go:214
Function
TestCmdShowTaskOverdue
(t *testing.T)
internal/app/show_test.go:427
Function
TestCmdShowTaskStaleMarker
(t *testing.T)
internal/app/show_test.go:229
Function
TestCmdShowTaskTemporalSummary
(t *testing.T)
internal/app/show_test.go:445
Function
TestCmdShowTaskUnknown
(t *testing.T)
internal/app/show_test.go:202
Function
TestCmdShowTaskUpdatesListedSorted
(t *testing.T)
internal/app/show_test.go:247
Function
TestCmdShowTaskWaitingOn
(t *testing.T)
internal/app/show_test.go:297
Function
TestCmdShowTaskWorkdirAnnotation
(t *testing.T)
internal/app/show_test.go:277
Function
TestCmdUpdateProjectPriority
(t *testing.T)
internal/app/update_test.go:330
Function
TestCmdUpdateProjectPriorityInvalid
(t *testing.T)
internal/app/update_test.go:347
Function
TestCmdUpdateProjectRequiresFlag
(t *testing.T)
internal/app/update_test.go:358
Function
TestCmdUpdateTaskAddTags
(t *testing.T)
internal/app/update_test.go:398
Function
TestCmdUpdateTaskAssignee
(t *testing.T)
internal/app/update_test.go:246
Function
TestCmdUpdateTaskAssigneeMutuallyExclusive
(t *testing.T)
internal/app/update_test.go:268
Function
TestCmdUpdateTaskBothFields
TestCmdUpdateTaskBothFields exercises combining multiple field- changing flags in one call.
internal/app/update_test.go:145
Function
TestCmdUpdateTaskClearAndAddTagsCombo
(t *testing.T)
internal/app/update_test.go:471
Function
TestCmdUpdateTaskClearTags
(t *testing.T)
internal/app/update_test.go:446
Function
TestCmdUpdateTaskClearTagsAndRemoveTagExclusive
(t *testing.T)
internal/app/update_test.go:463
Function
TestCmdUpdateTaskDueDate
(t *testing.T)
internal/app/update_test.go:376
Function
TestCmdUpdateTaskPriority
(t *testing.T)
internal/app/update_test.go:277
Function
TestCmdUpdateTaskPriorityInvalid
(t *testing.T)
internal/app/update_test.go:291
Function
TestCmdUpdateTaskRejectsSessionIDFlag
TestCmdUpdateTaskRejectsSessionIDFlag pins that the legacy --session-id flag is gone — flag.Parse should reject it as undefined. Use `flow do --here`
internal/app/update_test.go:53
Function
TestCmdUpdateTaskRemoveTag
(t *testing.T)
internal/app/update_test.go:429
Function
TestCmdUpdateTaskRequiresFlag
(t *testing.T)
internal/app/update_test.go:164
Function
TestCmdUpdateTaskStatusInvalid
(t *testing.T)
internal/app/update_test.go:238
Function
TestCmdUpdateTaskStatusRequiresSessionForNonBacklog
TestCmdUpdateTaskStatusRequiresSessionForNonBacklog pins the session-id invariant at the friendly-error layer: setting status to in-progress on a task
internal/app/update_test.go:225
Function
TestCmdUpdateTaskStatusRollback
(t *testing.T)
internal/app/update_test.go:187
Function
TestCmdUpdateTaskTagIdempotent
(t *testing.T)
internal/app/update_test.go:415
Function
TestCmdUpdateTaskUnknownTask
(t *testing.T)
internal/app/update_test.go:173
Function
TestCmdUpdateTaskWaiting
(t *testing.T)
internal/app/update_test.go:299
Function
TestCmdUpdateTaskWaitingMutuallyExclusive
(t *testing.T)
internal/app/update_test.go:321
Function
TestCmdUpdateTaskWorkDir
(t *testing.T)
internal/app/update_test.go:62
Function
TestCmdUpdateTaskWorkDirIdempotentWhileSessionBound
TestCmdUpdateTaskWorkDirIdempotentWhileSessionBound pins that setting work_dir to the value it already has is allowed even with a session bound — no r
internal/app/update_test.go:124
Function
TestCmdUpdateTaskWorkDirMissingNoMkdir
(t *testing.T)
internal/app/update_test.go:77
Function
TestCmdUpdateTaskWorkDirRefusedWhileSessionBound
TestCmdUpdateTaskWorkDirRefusedWhileSessionBound pins the invariant guard: silently moving work_dir while a session is attached would break `session_i
internal/app/update_test.go:91
Function
TestCmdUpdateUnknownProject
(t *testing.T)
internal/app/update_test.go:369
Function
TestCmdUpdateUnknownTarget
(t *testing.T)
internal/app/update_test.go:180
Function
TestCmdWorkdirAddDetectsGitRemote
(t *testing.T)
internal/app/workdir_test.go:56
Function
TestCmdWorkdirAddManualName
(t *testing.T)
internal/app/workdir_test.go:32
Function
TestCmdWorkdirAddRequiresExistingPath
(t *testing.T)
internal/app/workdir_test.go:78
Function
TestCmdWorkdirList
(t *testing.T)
internal/app/workdir_test.go:85
Function
TestCmdWorkdirRemove
(t *testing.T)
internal/app/workdir_test.go:124
Function
TestCmdWorkdirScanAdd
(t *testing.T)
internal/app/workdir_test.go:198
Function
TestCmdWorkdirScanFindsRepos
(t *testing.T)
internal/app/workdir_test.go:151
Function
TestCmdWorkdirScanNoAdd
(t *testing.T)
internal/app/workdir_test.go:187
Function
TestCmdWorkdirUnknownSubcommand
(t *testing.T)
internal/app/workdir_test.go:221
Function
TestColorEnabled_ForceOff
(t *testing.T)
internal/listfmt/listfmt_test.go:71
Function
TestColorEnabled_NonTTY
TestColorEnabled_NonTTY verifies that a bytes.Buffer (non-TTY writer) always returns false, regardless of NO_COLOR. This is the only branch we can her
internal/listfmt/listfmt_test.go:64
← previous
next →
601–700 of 972, ranked by callers