MCPcopy Create free account

hub / github.com/Facets-cloud/flow / functions

Functions972 in github.com/Facets-cloud/flow

FunctionTestCmdListTasksStaleMarker
(t *testing.T)
internal/app/list_test.go:68
FunctionTestCmdListTasksTagIntersection
`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
FunctionTestCmdListTasksWaitingOn
(t *testing.T)
internal/app/list_test.go:85
FunctionTestCmdListTasksWaitingTruncation
(t *testing.T)
internal/app/list_test.go:964
FunctionTestCmdOwnerListShowsNextTick
(t *testing.T)
internal/app/owner_test.go:252
FunctionTestCmdOwnerNextAcceptsDateExpression
`flow owner next --at` accepts a date expression (today/tomorrow/ weekday), not just an RFC3339 timestamp — via parseOwnerWhen.
internal/app/owner_test.go:178
FunctionTestCmdOwnerNextRejectsPastTime
`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
FunctionTestCmdOwnerNextSetsNextWake
(t *testing.T)
internal/app/owner_tick_test.go:747
FunctionTestCmdOwnerPause
(t *testing.T)
internal/app/owner_test.go:363
FunctionTestCmdOwnerRetireDelete
(t *testing.T)
internal/app/owner_test.go:437
FunctionTestCmdOwnerRetireGraceful
(t *testing.T)
internal/app/owner_test.go:414
FunctionTestCmdOwnerShowExcludesDoneFromInFlight
A completed (done) owned task must not show under "in flight".
internal/app/owner_test.go:56
FunctionTestCmdOwnerShowListsOwnedTasksAndQuestions
(t *testing.T)
internal/app/owner_test.go:504
FunctionTestCmdOwnerShowSeparatesPlaybookRuns
(t *testing.T)
internal/app/owner_test.go:459
FunctionTestCmdOwnerStartSchedulesTick
(t *testing.T)
internal/app/owner_test.go:340
FunctionTestCmdOwnerStartUnknownErrors
(t *testing.T)
internal/app/owner_test.go:383
FunctionTestCmdOwnerStartUnretiresZombie
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
FunctionTestCmdOwnerTickClearsTickPID
(t *testing.T)
internal/app/owner_tick_test.go:440
FunctionTestCmdOwnerTickDetachedSkipsNonActive
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
FunctionTestCmdOwnerTickManualRefusesNonActive
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
FunctionTestCmdOwnerTickPreservesSelfPacedNextWake
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
FunctionTestCmdOwnerTickRecordsErrorStatus
(t *testing.T)
internal/app/owner_tick_test.go:610
FunctionTestCmdOwnerTickRecordsOkStatus
(t *testing.T)
internal/app/owner_tick_test.go:576
FunctionTestCmdOwnerTickSkipClearsTickPID
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
FunctionTestCmdRunPlaybookAutoForwards
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
FunctionTestCmdRunPlaybookCreatesRunTask
(t *testing.T)
internal/app/run_test.go:94
FunctionTestCmdRunPlaybookForwardsWith
(t *testing.T)
internal/app/run_test.go:400
FunctionTestCmdRunPlaybookHereHappyPath
---------- flow run playbook --here ---------- TestCmdRunPlaybookHereHappyPath pins the in-session bind contract for playbook runs: with $CLAUDE_CODE_
internal/app/run_test.go:237
FunctionTestCmdRunPlaybookHereIgnoresDangerSkip
TestCmdRunPlaybookHereIgnoresDangerSkip pins that --dangerously-skip-permissions is silently dropped on the --here path (no claude process is spawned,
internal/app/run_test.go:381
FunctionTestCmdRunPlaybookHereInvalidUUID
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
FunctionTestCmdRunPlaybookHereNoEnvVar
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
FunctionTestCmdRunPlaybookHereRejectsCurrentSessionAlreadyBoundElsewhere
TestCmdRunPlaybookHereRejectsCurrentSessionAlreadyBoundElsewhere pins the session_id uniqueness invariant: if the current session is already bound to
internal/app/run_test.go:335
FunctionTestCmdRunPlaybookMissing
(t *testing.T)
internal/app/run_test.go:222
FunctionTestCmdRunPlaybookSnapshotIsolation
(t *testing.T)
internal/app/run_test.go:187
FunctionTestCmdRunPlaybookWithEmptyRejectedBeforeRowInsert
(t *testing.T)
internal/app/run_test.go:422
FunctionTestCmdShowBadSub
(t *testing.T)
internal/app/show_test.go:393
FunctionTestCmdShowOwnerAlias
flow show owner <slug> is a verb-first alias for `flow owner show <slug>`.
internal/app/owner_test.go:315
FunctionTestCmdShowPlaybook
(t *testing.T)
internal/app/show_test.go:606
FunctionTestCmdShowPlaybookListsRecentRuns
(t *testing.T)
internal/app/show_test.go:635
FunctionTestCmdShowProjectDefaultsFromEnv
(t *testing.T)
internal/app/show_test.go:356
FunctionTestCmdShowProjectHappyPath
---------- project path ----------
internal/app/show_test.go:334
FunctionTestCmdShowProjectUnknown
(t *testing.T)
internal/app/show_test.go:381
FunctionTestCmdShowRendersBackgroundStatus
TestCmdShowRendersBackgroundStatus: `flow show` surfaces a live bg session's status/state/pid via the per-render registry lookup.
internal/app/background_test.go:378
FunctionTestCmdShowTaskArchivedStillShown
(t *testing.T)
internal/app/show_test.go:313
FunctionTestCmdShowTaskAutoRunStatus
TestCmdShowTaskAutoRunStatus: `flow show task` surfaces the autonomous run status for a task that was launched with --auto.
internal/app/show_test.go:116
FunctionTestCmdShowTaskConfigurableStaleness
(t *testing.T)
internal/app/show_test.go:484
FunctionTestCmdShowTaskDefaultsFromEnv
(t *testing.T)
internal/app/show_test.go:164
FunctionTestCmdShowTaskDueDate
(t *testing.T)
internal/app/show_test.go:403
FunctionTestCmdShowTaskFloating
(t *testing.T)
internal/app/show_test.go:151
FunctionTestCmdShowTaskHappyPath
(t *testing.T)
internal/app/show_test.go:83
FunctionTestCmdShowTaskMissingDefault
(t *testing.T)
internal/app/show_test.go:189
FunctionTestCmdShowTaskNoDueDate
(t *testing.T)
internal/app/show_test.go:471
FunctionTestCmdShowTaskNoSubstringMatch
(t *testing.T)
internal/app/show_test.go:214
FunctionTestCmdShowTaskOverdue
(t *testing.T)
internal/app/show_test.go:427
FunctionTestCmdShowTaskStaleMarker
(t *testing.T)
internal/app/show_test.go:229
FunctionTestCmdShowTaskTemporalSummary
(t *testing.T)
internal/app/show_test.go:445
FunctionTestCmdShowTaskUnknown
(t *testing.T)
internal/app/show_test.go:202
FunctionTestCmdShowTaskUpdatesListedSorted
(t *testing.T)
internal/app/show_test.go:247
FunctionTestCmdShowTaskWaitingOn
(t *testing.T)
internal/app/show_test.go:297
FunctionTestCmdShowTaskWorkdirAnnotation
(t *testing.T)
internal/app/show_test.go:277
FunctionTestCmdUpdateProjectPriority
(t *testing.T)
internal/app/update_test.go:330
FunctionTestCmdUpdateProjectPriorityInvalid
(t *testing.T)
internal/app/update_test.go:347
FunctionTestCmdUpdateProjectRequiresFlag
(t *testing.T)
internal/app/update_test.go:358
FunctionTestCmdUpdateTaskAddTags
(t *testing.T)
internal/app/update_test.go:398
FunctionTestCmdUpdateTaskAssignee
(t *testing.T)
internal/app/update_test.go:246
FunctionTestCmdUpdateTaskAssigneeMutuallyExclusive
(t *testing.T)
internal/app/update_test.go:268
FunctionTestCmdUpdateTaskBothFields
TestCmdUpdateTaskBothFields exercises combining multiple field- changing flags in one call.
internal/app/update_test.go:145
FunctionTestCmdUpdateTaskClearAndAddTagsCombo
(t *testing.T)
internal/app/update_test.go:471
FunctionTestCmdUpdateTaskClearTags
(t *testing.T)
internal/app/update_test.go:446
FunctionTestCmdUpdateTaskClearTagsAndRemoveTagExclusive
(t *testing.T)
internal/app/update_test.go:463
FunctionTestCmdUpdateTaskDueDate
(t *testing.T)
internal/app/update_test.go:376
FunctionTestCmdUpdateTaskPriority
(t *testing.T)
internal/app/update_test.go:277
FunctionTestCmdUpdateTaskPriorityInvalid
(t *testing.T)
internal/app/update_test.go:291
FunctionTestCmdUpdateTaskRejectsSessionIDFlag
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
FunctionTestCmdUpdateTaskRemoveTag
(t *testing.T)
internal/app/update_test.go:429
FunctionTestCmdUpdateTaskRequiresFlag
(t *testing.T)
internal/app/update_test.go:164
FunctionTestCmdUpdateTaskStatusInvalid
(t *testing.T)
internal/app/update_test.go:238
FunctionTestCmdUpdateTaskStatusRequiresSessionForNonBacklog
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
FunctionTestCmdUpdateTaskStatusRollback
(t *testing.T)
internal/app/update_test.go:187
FunctionTestCmdUpdateTaskTagIdempotent
(t *testing.T)
internal/app/update_test.go:415
FunctionTestCmdUpdateTaskUnknownTask
(t *testing.T)
internal/app/update_test.go:173
FunctionTestCmdUpdateTaskWaiting
(t *testing.T)
internal/app/update_test.go:299
FunctionTestCmdUpdateTaskWaitingMutuallyExclusive
(t *testing.T)
internal/app/update_test.go:321
FunctionTestCmdUpdateTaskWorkDir
(t *testing.T)
internal/app/update_test.go:62
FunctionTestCmdUpdateTaskWorkDirIdempotentWhileSessionBound
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
FunctionTestCmdUpdateTaskWorkDirMissingNoMkdir
(t *testing.T)
internal/app/update_test.go:77
FunctionTestCmdUpdateTaskWorkDirRefusedWhileSessionBound
TestCmdUpdateTaskWorkDirRefusedWhileSessionBound pins the invariant guard: silently moving work_dir while a session is attached would break `session_i
internal/app/update_test.go:91
FunctionTestCmdUpdateUnknownProject
(t *testing.T)
internal/app/update_test.go:369
FunctionTestCmdUpdateUnknownTarget
(t *testing.T)
internal/app/update_test.go:180
FunctionTestCmdWorkdirAddDetectsGitRemote
(t *testing.T)
internal/app/workdir_test.go:56
FunctionTestCmdWorkdirAddManualName
(t *testing.T)
internal/app/workdir_test.go:32
FunctionTestCmdWorkdirAddRequiresExistingPath
(t *testing.T)
internal/app/workdir_test.go:78
FunctionTestCmdWorkdirList
(t *testing.T)
internal/app/workdir_test.go:85
FunctionTestCmdWorkdirRemove
(t *testing.T)
internal/app/workdir_test.go:124
FunctionTestCmdWorkdirScanAdd
(t *testing.T)
internal/app/workdir_test.go:198
FunctionTestCmdWorkdirScanFindsRepos
(t *testing.T)
internal/app/workdir_test.go:151
FunctionTestCmdWorkdirScanNoAdd
(t *testing.T)
internal/app/workdir_test.go:187
FunctionTestCmdWorkdirUnknownSubcommand
(t *testing.T)
internal/app/workdir_test.go:221
FunctionTestColorEnabled_ForceOff
(t *testing.T)
internal/listfmt/listfmt_test.go:71
FunctionTestColorEnabled_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
← previousnext →601–700 of 972, ranked by callers