internal/

directory
v0.64.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT

Directories

Path Synopsis
Package agentctl is what start, drive, finish and forward ask of whatever hosts a task's agent.
Package agentctl is what start, drive, finish and forward ask of whatever hosts a task's agent.
Package agents is the generic agents core: the backend that hosts task agents, and the asks they wait on.
Package agents is the generic agents core: the backend that hosts task agents, and the asks they wait on.
agentsrpc
Package agentsrpc serves agents.v1 over the agents core: the workspaces and agents of the multiplexer, text sent to an agent, and the asks inbox.
Package agentsrpc serves agents.v1 over the agents core: the workspaces and agents of the multiplexer, text sent to an agent, and the asks inbox.
Package api serves f10's control plane as Connect services: the f10.v1 handlers over the core packages, and the agents.v1 ones from the agents core, on one mux the daemon mounts on its socket.
Package api serves f10's control plane as Connect services: the f10.v1 handlers over the core packages, and the agents.v1 ones from the agents core, on one mux the daemon mounts on its socket.
Package apiclient is how f10's control-plane commands reach the API: the daemon on its unix socket, started when none runs, or the same handlers served in this process where no daemon runs (off unix) and in tests.
Package apiclient is how f10's control-plane commands reach the API: the daemon on its unix socket, started when none runs, or the same handlers served in this process where no daemon runs (off unix) and in tests.
Package archive keeps what a finished task leaves behind: archived plans and findings, the review and verdict series, and the handoff file.
Package archive keeps what a finished task leaves behind: archived plans and findings, the review and verdict series, and the handoff file.
Package asknotify raises a driven agent's ask: it records the ask in the inbox and tells the user through the configured notifier.
Package asknotify raises a driven agent's ask: it records the ask in the inbox and tells the user through the configured notifier.
Package asks keeps the questions driven agents stop on in one per-user inbox, so the user can answer from anywhere.
Package asks keeps the questions driven agents stop on in one per-user inbox, so the user can answer from anywhere.
Package atlas derives the Atlas JSON (docs/atlas.md): what each project is and how it moves, from the declared file and each checkout's own git history and manifest, with no host call.
Package atlas derives the Atlas JSON (docs/atlas.md): what each project is and how it moves, from the declared file and each checkout's own git history and manifest, with no host call.
Package board collects a project's board: what changed over a window, or where every task stands, as lookaround derives it from the project's tracker, host, git and ledger.
Package board collects a project's board: what changed over a window, or where every task stands, as lookaround derives it from the project's tracker, host, git and ledger.
Package branchmeta is the record f10 keeps on a branch, as entries under `branch.<name>.` in the repository's local config: per branch, shared by every worktree, never pushed, and deleted with the branch.
Package branchmeta is the record f10 keeps on a branch, as entries under `branch.<name>.` in the repository's local config: per branch, shared by every worktree, never pushed, and deleted with the branch.
branchmetatest
Package branchmetatest answers branch records from memory, so a test sets and checks a record by branch and key instead of scripting git's argv.
Package branchmetatest answers branch records from memory, so a test sets and checks a record by branch and key instead of scripting git's argv.
Package buildinfo is the binary's version: the link-time stamp, else what Go recorded in the build.
Package buildinfo is the binary's version: the link-time stamp, else what Go recorded in the build.
Package calendar is every calendar rule the board, standup and stats share, on years: working days, the week starting Monday, how a --since or a window is read, and the two default-window fallbacks.
Package calendar is every calendar rule the board, standup and stats share, on years: working days, the week starting Monday, how a --since or a window is read, and the two default-window fallbacks.
Package command holds what every f10 command package shares; each command lives in a package of its own under it.
Package command holds what every f10 command package shares; each command lives in a package of its own under it.
asks
Package asks is the f10 asks command: the questions driven agents wait on, listed, answered, or walked in a terminal.
Package asks is the f10 asks command: the questions driven agents wait on, listed, answered, or walked in a terminal.
atlas
Package atlas is the atlas command: the board's scope, the declared file and each checkout's git history, printed as the Atlas JSON or a line per project.
Package atlas is the atlas command: the board's scope, the declared file and each checkout's git history, printed as the Atlas JSON or a line per project.
audit
Package audit is the f10 audit command: the map an audit partitions and briefs its reviewers from, churn, tasks and pain per area over a range.
Package audit is the f10 audit command: the map an audit partitions and briefs its reviewers from, churn, tasks and pain per area over a range.
board
Package board is the f10 board command: what changed in a window, or with --state where every task stands, as text, JSON or an HTML page.
Package board is the f10 board command: what changed in a window, or with --state where every task stands, as text, JSON or an HTML page.
config
Package config holds the commands that report and settle a project's setup: f10 config, f10 init, f10 flow, f10 agents and f10 doctor.
Package config holds the commands that report and settle a project's setup: f10 config, f10 init, f10 flow, f10 agents and f10 doctor.
daemon
Package daemon is the f10 daemon command: it runs the per-user process that drives and watches tasks, and reports on it, stops it or shows its log.
Package daemon is the f10 daemon command: it runs the per-user process that drives and watches tasks, and reports on it, stops it or shows its log.
drive
Package drive runs f10 start's drives, serves the hidden f10 drive plan, and is the f10 watch command.
Package drive runs f10 start's drives, serves the hidden f10 drive plan, and is the f10 watch command.
finish
Package finish is the f10 finish and f10 janitor commands: finish calls the daemon's API, and janitor sweeps this checkout in process.
Package finish is the f10 finish and f10 janitor commands: finish calls the daemon's API, and janitor sweeps this checkout in process.
history
Package history is the f10 history command: what git, the ledger and lore know about a set of files, for the plan and judge steps to weigh.
Package history is the f10 history command: what git, the ledger and lore know about a set of files, for the plan and judge steps to weigh.
hook
Package hook is the f10 hook command, which handles one Claude Code hook event read from stdin.
Package hook is the f10 hook command, which handles one Claude Code hook event read from stdin.
ledger
Package ledger is the f10 ledger command, which prints the recorded events.
Package ledger is the f10 ledger command, which prints the recorded events.
lore
Package lore is the f10 lore command: it writes entries and answers why a line is the way it is and which lessons a file carries.
Package lore is the f10 lore command: it writes entries and answers why a line is the way it is and which lessons a file carries.
mcp
Package mcp is the f10 mcp command: the daemon's API as MCP tools over stdio, for Claude Desktop and local agents.
Package mcp is the f10 mcp command: the daemon's API as MCP tools over stdio, for Claude Desktop and local agents.
pr
Package pr is the f10 pr command: a change's base, diff and description, and opening, editing and commenting on its PR or MR.
Package pr is the f10 pr command: a change's base, diff and description, and opening, editing and commenting on its PR or MR.
remote
Package remote is the f10 remote command: the tailnet listener's setting, the device tokens remote calls carry, and the service that keeps the daemon up.
Package remote is the f10 remote command: the tailnet listener's setting, the device tokens remote calls carry, and the service that keeps the daemon up.
review
Package review is the f10 review command: it reads, awaits, triggers, acknowledges and settles the remote review on a PR or MR.
Package review is the f10 review command: it reads, awaits, triggers, acknowledges and settles the remote review on a PR or MR.
standup
Package standup is the f10 standup command: what you did since your last standup, grouped by project and task.
Package standup is the f10 standup command: what you did since your last standup, grouped by project and task.
start
Package start is the f10 stop and f10 forward commands: it parses their arguments, calls the daemon's API and prints the reply.
Package start is the f10 stop and f10 forward commands: it parses their arguments, calls the daemon's API and prints the reply.
state
Package state is the plumbing verbs behind the status-line badge: a run's phases, its task, its note and its pipeline.
Package state is the plumbing verbs behind the status-line badge: a run's phases, its task, its note and its pipeline.
stats
Package stats is the f10 stats command: active minutes per task by step group.
Package stats is the f10 stats command: active minutes per task by step group.
status
Package status is the f10 status command: where a run stands, read from the daemon's API and printed here.
Package status is the f10 status command: where a run stands, read from the daemon's API and printed here.
task
Package task is the f10 task, f10 plan and f10 demo commands: reading, creating and updating the project's tasks and opening their plans and demos.
Package task is the f10 task, f10 plan and f10 demo commands: reading, creating and updating the project's tasks and opening their plans and demos.
trace
Package trace is the f10 trace command: the commit trailers and the PR state block a step writes.
Package trace is the f10 trace command: the commit trailers and the PR state block a step writes.
Package daemon runs drives for one user, outside any session.
Package daemon runs drives for one user, outside any session.
Package doctor checks that the Claude Code plugin and the f10 binary are present, agree with each other and are wired into their environment.
Package doctor checks that the Claude Code plugin and the f10 binary are present, agree with each other and are wired into their environment.
Package drive runs a list of tasks through their flow from one process: each in its own worktree and agent, dependents once their base has code, halting when an agent asks and nothing else can move; and the watcher's passes over tasks no drive owns.
Package drive runs a list of tasks through their flow from one process: each in its own worktree and agent, dependents once their base has code, halting when an agent asks and nothing else can move; and the watcher's passes over tasks no drive owns.
Package drivectl is a drive's record as other commands use it: the arguments a drive started with, a task's row marked finished, and the watcher asked to take a project on.
Package drivectl is a drive's record as other commands use it: the arguments a drive started with, a task's row marked finished, and the watcher asked to take a project on.
Package driveplan proposes how to drive a set of tasks: which to bundle on one branch, which to leave alone, and which After: lines to add.
Package driveplan proposes how to drive a set of tasks: which to bundle on one branch, which to leave alone, and which After: lines to add.
Package drivestore keeps a drive durable: a record per drive under the storage root, and a lease per task.
Package drivestore keeps a drive durable: a record per drive under the storage root, and a lease per task.
Package facts merges the declared project.md layers with detection and the contract's defaults.
Package facts merges the declared project.md layers with detection and the contract's defaults.
Package findings reads a review's findings file in the shape steps/review.md fixes: a `key: value` header, a categories list, and a block per finding with the verdict and reason resolve appends.
Package findings reads a review's findings file in the shape steps/review.md fixes: a `key: value` header, a categories list, and a block per finding with the verdict and reason resolve appends.
Package finish closes a task: it decides what landing means, lands the request, archives what the task leaves and cleans up its checkout, workspace and branch.
Package finish closes a task: it decides what landing means, lands the request, archives what the task leaves and cleans up its checkout, workspace and branch.
finishtest
Package finishtest holds the janitor fixture, which both finish's janitor tests and the drive's watch tests start from.
Package finishtest holds the janitor fixture, which both finish's janitor tests and the drive's watch tests start from.
Package flock holds advisory file locks, which the kernel drops with the holder's process, so a crashed holder never strands one.
Package flock holds advisory file locks, which the kernel drops with the holder's process, so a crashed holder never strands one.
Package flow is the grammar of a flow entry, `step:arg[label]`, and the predicates every reader of a flow shares.
Package flow is the grammar of a flow entry, `step:arg[label]`, and the predicates every reader of a flow shares.
Package forge binds a forge's CLI, gh or glab.
Package forge binds a forge's CLI, gh or glab.
Package fsx holds the file helpers every package shares.
Package fsx holds the file helpers every package shares.
Package gitx is the binary's one door to git: reads mirror the shell-outs bin/f10-load-project.sh makes, the semantics oracle, so the two stay comparable.
Package gitx is the binary's one door to git: reads mirror the shell-outs bin/f10-load-project.sh makes, the semantics oracle, so the two stay comparable.
gitxtest
Package gitxtest builds real git repositories for tests, isolated from the developer's git config so no global setting shapes a fixture.
Package gitxtest builds real git repositories for tests, isolated from the developer's git config so no global setting shapes a fixture.
Package herdr is the binary's door to Herdr, the terminal multiplexer f10 opens task worktrees in.
Package herdr is the binary's door to Herdr, the terminal multiplexer f10 opens task worktrees in.
Package history is the brief plan and judge read before choosing or ruling on an approach: the tasks whose commits touched a set of files, what the ledger recorded about each, and the lore anchored there.
Package history is the brief plan and judge read before choosing or ruling on an approach: the tasks whose commits touched a set of files, what the ledger recorded about each, and the lore anchored there.
Package hook is f10's one entry point for Claude Code hook events: they seed the run's badge, become typed observations and record the run's waits on the user.
Package hook is f10's one entry point for Claude Code hook events: they seed the run's badge, become typed observations and record the run's waits on the user.
Package hostops is how commands reach the host: the host CLI with the title template, the issue and PR calls, task rows and the After: line.
Package hostops is how commands reach the host: the host CLI with the title template, the issue and PR calls, task rows and the After: line.
Package images downloads the images a task links, so an agent reads local files instead of fetching urls that expire (Notion's signed links) or need auth its fetch tool lacks (a private repo's attachments).
Package images downloads the images a task links, so an agent reads local files instead of fetching urls that expire (Notion's signed links) or need auth its fetch tool lacks (a private repo's attachments).
Package launch is what a task agent is prompted with and how the prompt reaches it: the skill line, the driven marker and the Enter retry.
Package launch is what a task agent is prompted with and how the prompt reaches it: the skill line, the driven marker and the Enter retry.
Package layers holds the module's import rule: every package has a rank, and a package imports only packages of a lower rank, so feature groups cannot depend on each other in cycles.
Package layers holds the module's import rule: every package has a rank, and a package imports only packages of a lower rank, so feature groups cannot depend on each other in cycles.
Package layout locates the f10 configuration layers for a working directory.
Package layout locates the f10 configuration layers for a working directory.
Package ledger is f10's local record of what runs did: an append-only events table in ~/.f10/f10.db, outside every repo so stealth is unaffected, and task_refs, overwritten in place.
Package ledger is f10's local record of what runs did: an append-only events table in ~/.f10/f10.db, outside every repo so stealth is unaffected, and task_refs, overwritten in place.
Package lookaround collects facts about one project and derives the feed (what changed in a window) or the state (where each task stands).
Package lookaround collects facts about one project and derives the feed (what changed in a window) or the state (where each task stands).
Package lore keeps a change's intent, decisions, findings, verdicts and lessons as immutable markdown entries beside the code (spec: docs/lore.md).
Package lore keeps a change's intent, decisions, findings, verdicts and lessons as immutable markdown entries beside the code (spec: docs/lore.md).
Package mcp serves the API's methods as MCP tools: one tool per unary method, generated from the proto schema into gen/mcptools.
Package mcp serves the API's methods as MCP tools: one tool per unary method, generated from the proto schema into gen/mcptools.
Package mdline reads the `key: value` lines f10 takes out of markdown that people and agents edit.
Package mdline reads the `key: value` lines f10 takes out of markdown that people and agents edit.
Package observe turns what a hook sees (a Bash command and its output, a file written) into typed facts about a run.
Package observe turns what a hook sees (a Bash command and its output, a file written) into typed facts about a run.
Package pain is where changing code was costly over a range: per area, the review rounds, halts, replans, recurring fixed findings, regressions and implement time its tasks took, against the same figures over every task in the range.
Package pain is where changing code was costly over a range: per area, the review rounds, halts, replans, recurring fixed findings, regressions and implement time its tasks took, against the same figures over every task in the range.
Package printed holds what a command prints when the daemon runs it for a client: the client prints it, so a command served over the API prints the bytes it printed in process.
Package printed holds what a command prints when the daemon runs it for a client: the client prints it, so a command served over the API prints the bytes it printed in process.
Package probe runs the deterministic detection probes bin/f10-load-project.sh runs: host and CLI routing, stack and verify markers, existing plans.
Package probe runs the deterministic detection probes bin/f10-load-project.sh runs: host and CLI routing, stack and verify markers, existing plans.
Package projects maps a bare project name to a checkout directory, for `-C r3` run from elsewhere.
Package projects maps a bare project name to a checkout directory, for `-C r3` run from elsewhere.
Package ref looks up which task a lookaround command is about, one cascade for every noun: an explicit id, then the branch name, then this session's run state.
Package ref looks up which task a lookaround command is about, one cascade for every noun: an explicit id, then the branch name, then this session's run state.
Package regression traces a bug task's root cause to the task that shipped it, and classifies how that task's review or judge let the fault through.
Package regression traces a bug task's root cause to the task that shipped it, and classifies how that task's review or judge let the fault through.
Package remote serves the daemon's API to other devices on the tailnet: the listener setting, device tokens and their scopes, the check every remote call passes, and the launchd or systemd service that keeps the daemon up.
Package remote serves the daemon's API to other devices on the tailnet: the listener setting, device tokens and their scopes, the check every remote call passes, and the launchd or systemd service that keeps the daemon up.
Package render is the output layer every command shares: the facts block, task links and hyperlinks, and the pager.
Package render is the output layer every command shares: the facts block, task links and hyperlinks, and the pager.
Package reviews reads and settles the reviews on a task's request: the host reviewer, the request a branch or task names, and the findings rounds.
Package reviews reads and settles the reviews on a task's request: the host reviewer, the request a branch or task names, and the findings rounds.
Package runplan resolves what a run will do: the flow a task ships on, the pace that tunes it and the agent profile each step runs on.
Package runplan resolves what a run will do: the flow a task ships on, the pace that tunes it and the agent profile each step runs on.
Package scope is which checkouts a command answers for: -C and the user's groups, repos and people, read from the user config files.
Package scope is which checkouts a command answers for: -C and the user's groups, repos and people, read from the user config files.
Package seam swaps a package variable for a test, such as shell.Capture or gitx.Exec, and puts it back when the test ends.
Package seam swaps a package variable for a test, such as shell.Capture or gitx.Exec, and puts it back when the test ends.
Package shell is the binary's door to every external command that is not git; gitx stays separate because its reads mirror bin/f10-load-project.sh.
Package shell is the binary's door to every external command that is not git; gitx stays separate because its reads mirror bin/f10-load-project.sh.
Package stack is how a task branch stands on its base: the branch index, the After: base, base code checks, the catchup engine and verify runs.
Package stack is how a task branch stands on its base: the branch index, the After: base, base code checks, the catchup engine and verify runs.
Package standup groups one person's activity in a checkout by task, for `f10 standup`.
Package standup groups one person's activity in a checkout by task, for `f10 standup`.
Package start opens a task: its checkout, its workspace and its agent, prompted, or a PR picked up to continue.
Package start opens a task: its checkout, its workspace and its agent, prompted, or a PR picked up to continue.
Package state owns the run state: one `key value` file per session, keyed by session rather than by repo because two sessions over one checkout are two runs.
Package state owns the run state: one `key value` file per session, keyed by session rather than by repo because two sessions over one checkout are two runs.
Package statusview reads where tasks and runs stand and renders it: the status reader, the gates of each run, the stage of each task and the shipment a run left.
Package statusview reads where tasks and runs stand and renders it: the status reader, the gates of each run, the stage of each task and the shipment a run left.
Package storage owns the layout of the storage root: where plans, findings, verdicts and every other task file live under it.
Package storage owns the layout of the storage root: where plans, findings, verdicts and every other task file live under it.
Package target is the project a command answers for: the checkout, its layered instructions, the probes and the effective facts, resolved once.
Package target is the project a command answers for: the checkout, its layered instructions, the probes and the effective facts, resolved once.
Package taskid is the grammar of a task id: a prefix of letters and digits, a dash, a number.
Package taskid is the grammar of a task id: a prefix of letters and digits, a dash, a number.
Package tasksource reads and writes a project's tasks through one interface: the tracker driver, the host's issues, or a refusal naming what is missing, picked by TasksFor.
Package tasksource reads and writes a project's tasks through one interface: the tracker driver, the host's issues, or a refusal naming what is missing, picked by TasksFor.
Package tasktitle is tracker.title: the template a task's title is written through on the tracker, and the strip that takes a leading id back off so f10's own output never shows it twice.
Package tasktitle is tracker.title: the template a task's title is written through on the tracker, and the strip that takes a leading id back off so f10's own output never shows it twice.
Package tasktree draws every task tree f10 prints.
Package tasktree draws every task tree f10 prints.
Package taskwrite creates and reads tracker tasks for a project: what f10 task create and task read do, for the command and the daemon alike.
Package taskwrite creates and reads tracker tasks for a project: what f10 task create and task read do, for the command and the daemon alike.
Package testenv makes a test binary hermetic: HOME, the ledger, the asks and run dirs under one temp root, the developer's git config and shell environment ignored.
Package testenv makes a test binary hermetic: HOME, the ledger, the asks and run dirs under one temp root, the developer's git config and shell environment ignored.
Package testkit holds the fixtures the tests of several packages share: the scripted shell and git fakes, the listing builders, the agent and git repo helpers, and the TestMain that adds the drive watcher's no-op to the hermetic environment of package testenv.
Package testkit holds the fixtures the tests of several packages share: the scripted shell and git fakes, the listing builders, the agent and git repo helpers, and the TestMain that adds the drive watcher's no-op to the hermetic environment of package testenv.
Package textx holds the small text helpers every command shares, so a column is cut, an empty value is marked and an age is spelled one way.
Package textx holds the small text helpers every command shares, so a column is cut, an empty value is marked and an age is spelled one way.
Package timing turns ledger events into the active time a run spent in a step: the window between two step boundaries, minus every wait on the user inside it.
Package timing turns ledger events into the active time a run spent in a step: the window between two step boundaries, minus every wait on the user inside it.
Package trace is the vocabulary of what f10 leaves on the host for a reader of the history: the git trailers a step's commit carries.
Package trace is the vocabulary of what f10 leaves on the host for a reader of the history: the git trailers a step's commit carries.
Package trackerdriver runs the executable at .f10/driver, a project's tracker driver per docs/driver-contract.md.
Package trackerdriver runs the executable at .f10/driver, a project's tracker driver per docs/driver-contract.md.
Package transcript reads token usage out of a Claude Code session transcript: one JSON object per line, appended as the session runs.
Package transcript reads token usage out of a Claude Code session transcript: one JSON object per line, appended as the session runs.
Package ui is how a command talks to whoever runs it: a person at a terminal, a pipe, or an agent parsing --json.
Package ui is how a command talks to whoever runs it: a person at a terminal, a pipe, or an agent parsing --json.
Package verdict reads a judge's verdict file, the shape steps/judge.md fixes: a header of `key: value` lines up to the first `## ` heading, then prose the parser ignores except for counting the `## Changes` items.
Package verdict reads a judge's verdict file, the shape steps/judge.md fixes: a header of `key: value` lines up to the first `## ` heading, then prose the parser ignores except for counting the `## Changes` items.
Package webui serves the web client the tailnet listener offers: a progressive web app built from ts/web into dist and embedded, so the page always matches the daemon that serves it.
Package webui serves the web client the tailnet listener offers: a progressive web app built from ts/web into dist and embedded, so the page always matches the daemon that serves it.
Package worktree is a task's checkout and the backend hosting its agent: where the worktree goes, how it is made and removed, and the names and pull tokens that point at one.
Package worktree is a task's checkout and the backend hosting its agent: where the worktree goes, how it is made and removed, and the names and pull tokens that point at one.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL