Documentation
¶
Overview ¶
Package workline ships the built-in roles and the default routing inside the binary, so the engine works from any repository without a checkout of this one.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRouting []byte
DefaultRouting is the line as shipped (routing.default.yaml).
View Source
var Roles embed.FS
Roles holds the roles/ folder as shipped.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
workline
command
Command workline runs the roles of the line.
|
Command workline runs the roles of the line. |
|
internal
|
|
|
agent
Package agent runs the "propose" step: it gives the role's question to a coding agent and collects its proposals in out/intentions.yaml.
|
Package agent runs the "propose" step: it gives the role's question to a coding agent and collects its proposals in out/intentions.yaml. |
|
builtin/committer
Package committer holds the deterministic checks of the committer role (roles/committer).
|
Package committer holds the deterministic checks of the committer role (roles/committer). |
|
builtin/documentalist
Package documentalist holds the deterministic part of the documentalist role (roles/documentalist): which docs became suspect because a source changed, which are only pending because the cascade is cut, the hygiene checks (budgets, duplicates, links, identifiers gone from the code), and the judge of the patches the agent proposes for suspect docs.
|
Package documentalist holds the deterministic part of the documentalist role (roles/documentalist): which docs became suspect because a source changed, which are only pending because the cascade is cut, the hygiene checks (budgets, duplicates, links, identifiers gone from the code), and the judge of the patches the agent proposes for suspect docs. |
|
builtin/releasemanager
Package releasemanager holds the deterministic part of the release manager role (roles/release-manager): the next version and the changelog, computed from conventional commits.
|
Package releasemanager holds the deterministic part of the release manager role (roles/release-manager): the next version and the changelog, computed from conventional commits. |
|
doctor
Package doctor says what workline needs on this machine and in a repository, what is missing, and the command that sets each one up, as `flutter doctor` and `brew doctor` do.
|
Package doctor says what workline needs on this machine and in a repository, what is missing, and the command that sets each one up, as `flutter doctor` and `brew doctor` do. |
|
engine
Package engine runs one role once: check, prepare, propose, judge, apply (docs/spec/role-contract.md, "One run").
|
Package engine runs one role once: check, prepare, propose, judge, apply (docs/spec/role-contract.md, "One run"). |
|
forge
Package forge applies what reaches a forge — comments, labels, issues, releases — on GitHub, GitLab, or a simulated forge for the tests.
|
Package forge applies what reaches a forge — comments, labels, issues, releases — on GitHub, GitLab, or a simulated forge for the tests. |
|
gate
Package gate runs a gate: a list of checks, each a command whose result is read against thresholds decided in advance (docs/spec/gates.md).
|
Package gate runs a gate: a list of checks, each a command whose result is read against thresholds decided in advance (docs/spec/gates.md). |
|
gitrange
Package gitrange reads the range of commits a run is given: `base..head`, a single commit, or `head ^base…` when the commits stand on several commits already pushed — a branch that merged main (internal/hooks).
|
Package gitrange reads the range of commits a run is given: `base..head`, a single commit, or `head ^base…` when the commits stand on several commits already pushed — a branch that merged main (internal/hooks). |
|
hooks
Package hooks installs workline's git hooks.
|
Package hooks installs workline's git hooks. |
|
intent
Package intent reads the proposals an agent writes and checks them against the closed catalogue (docs/spec/role-contract.md, "Intentions").
|
Package intent reads the proposals an agent writes and checks them against the closed catalogue (docs/spec/role-contract.md, "Intentions"). |
|
judge
Package judge asks an agent one yes-or-no question on what a role produced, at the best independence available from the agent that produced it (ADR-0005): another provider, another model of it, or the same model in a context of its own.
|
Package judge asks an agent one yes-or-no question on what a role produced, at the best independence available from the agent that produced it (ADR-0005): another provider, another model of it, or the same model in a context of its own. |
|
line
Package line runs the steps routing names for an event, in order, and the handoffs they ask for (docs/spec/routing.md).
|
Package line runs the steps routing names for an event, in order, and the handoffs they ask for (docs/spec/routing.md). |
|
pathglob
Package pathglob matches repository paths against patterns where `*` stays within one folder and `**` spans any number of folders.
|
Package pathglob matches repository paths against patterns where `*` stays within one folder and `**` spans any number of folders. |
|
report
Package report writes findings in the formats forges read: SARIF 2.1.0, for GitHub code scanning (and GitLab Ultimate), and GitLab's Code Quality report, which every GitLab tier shows on a merge request.
|
Package report writes findings in the formats forges read: SARIF 2.1.0, for GitHub code scanning (and GitLab Ultimate), and GitLab's Code Quality report, which every GitLab tier shows on a merge request. |
|
review
Package review shows a person what the machine proposes, for them to accept or refuse: a page any browser opens, and a question on the terminal.
|
Package review shows a person what the machine proposes, for them to accept or refuse: a page any browser opens, and a question on the terminal. |
|
role
Package role loads a role's contract (role.yaml) and the project's settings for it, as described in docs/spec/role-contract.md.
|
Package role loads a role's contract (role.yaml) and the project's settings for it, as described in docs/spec/role-contract.md. |
|
rolefs
Package rolefs extracts the built-in roles to a cache folder, because their pre and post scripts must exist as executable files to be run.
|
Package rolefs extracts the built-in roles to a cache folder, because their pre and post scripts must exist as executable files to be run. |
|
routing
Package routing reads which roles and gates run on which event, and which handoffs are allowed (docs/spec/routing.md).
|
Package routing reads which roles and gates run on which event, and which handoffs are allowed (docs/spec/routing.md). |
|
setup
Package setup sets workline up on a machine, asking what to enable: the global git hooks, the agent, the tools the roles use.
|
Package setup sets workline up on a machine, asking what to enable: the global git hooks, the agent, the tools the roles use. |
|
tools
Package tools knows the programs workline calls but does not ship — the optional tools a role `uses`, the agents, the forges' CLIs — and how each one is installed, so a missing one is named with the command that installs it on this machine.
|
Package tools knows the programs workline calls but does not ship — the optional tools a role `uses`, the agents, the forges' CLIs — and how each one is installed, so a missing one is named with the command that installs it on this machine. |
|
verdict
Package verdict reads and writes the verdict a run ends with.
|
Package verdict reads and writes the verdict a run ends with. |
|
work
Package work reads and moves work items kept as files in .workline/work/, for projects without a forge (docs/spec/routing.md, "Work starts from a clear need").
|
Package work reads and moves work items kept as files in .workline/work/, for projects without a forge (docs/spec/routing.md, "Work starts from a clear need"). |
|
tests
|
|
|
evaluation/summary
command
Summary reads results.tsv and prints, per case, models, effort and judge, how many runs there were, the mean score and its range, and what a run used: one run says little, since a model answers differently from one run to the next.
|
Summary reads results.tsv and prints, per case, models, effort and judge, how many runs there were, the mean score and its range, and what a run used: one run says little, since a model answers differently from one run to the next. |
Click to show internal directories.
Click to hide internal directories.