impl-tool:config

impl-tool:config@0.0.0

A document is written as one of implToolConfig.

implToolConfig

FieldTypeReq.DefaultDescription
schemaVersionversionYesThe version of this document's schema that this document was written under -- granted by the meta-schema to every definition named in metadata.documentRoots, never declared
contextstringNo""The whole Context section of the session prompt, written out. It replaces the default, so neither a context template nor contextAdditions is read where this is set. Empty, which is the default, leaves the section to be rendered from a template: the one contextTemplatePath names, or the packaged one, which names the project the manifest at the repository root states and the instruction files the repository keeps
contextTemplatePathpathNoA template the Context section is rendered from in place of the packaged one, relative to the repository unless absolute. Its placeholders are {project} and {description}, as the manifest at the repository root states them, and {governingFiles}, the instruction files found in the repository as a list; each is empty where the repository does not say, and a {?name} ... {/name} block is kept only where that one holds something, a {!name} ... {/name} block only where it holds nothing. Not read where context is set
contextAdditionsstringNo""Text added after the rendered Context section, for a repository that wants the default and something more instead of a template of its own. It follows the packaged template or the one contextTemplatePath names, and is not read where context is set, since that key states the whole section
namestringNoThe repository's name: what a repository created on the forge for a checkout with no remote is called, and the name an issue's folder under workspacesRoot is looked up by. Absent, the name is read from the checkout's remote, or from its directory where it has none
issueFormatregexNo"[A-Z]+-[0-9]{7}"A regular expression, as Python's re reads one, an issue's id must match in full; a command given an id that does not is refused as ISSUE_FORMAT_INVALID
remotestringNo"origin"The name of the git remote this checkout works against: the one its branches are fetched from and pushed to, the one whose push URL is disabled while a session runs, and the one whose repository its pull requests are opened in. Read from the configuration of the checkout being acted on, so a repository pinned inside another answers for itself. A checkout that has remotes and none of this name is refused as REMOTE_NOT_FOUND
defaultBranchstringNo"master"The branch work starts from, pull requests target and a merge is checked against, wherever a command is given no base of its own; with remote it names the base, <remote>/<defaultBranch>. It is also the branch a repository the runner initialises starts on. Read from the configuration of the checkout being acted on. Where no configuration states one, the branch the remote's HEAD names in that checkout is used, and this default where the checkout records none
forgeHoststringNo"github.com"The host of the forge this checkout's repositories are on: github.com, or bitbucket.org for Bitbucket Cloud. Read where a repository is named as owner/name with no url beside it -- a commit link, a pull request asked after by name -- and where the runner creates a repository for a checkout that has no remote. A checkout that has a remote is on the host that remote names, whatever this says. Read from the configuration of the checkout being acted on
forgeRepositorySettingsdict[string, string]No{}What the forge at forgeHost needs, beyond a name, to create a repository for a checkout that has no remote; each forge declares its own keys and refuses any other by name. GitHub takes owner, the account or organisation, and creates it under the logged-in account where that is left out. Bitbucket Cloud needs workspace and takes project, the key of the project to file it under
skipRecordingPromptbooleanNofalseLeave the prompt that started an iteration out of its commit. On the default it is recorded in the commit message as a Prompt: trailer
skipCreatingSubmodulePullRequestsbooleanNofalseOpen no pull request for a submodule the branch modified. On the default each modified submodule gets one of its own
turnTreeLinksset[enum] one of commit, prNo["commit", "pr"]Which links each line of the tree printed at the end of a turn shows: commit, the commit the repository stands at, and pr, its pull request for the branch. Both by default; one shows that link alone, and an empty set prints no tree at all. Pull request bodies keep both links whatever this says
selfUpdatebooleanNofalseBring the runner's own checkout up to date and reinstall its executable before a run. An update takes effect on the next invocation, and a failed one is reported where the run ends
releaseStageenum one of dev, prodNo"dev"The stage the work is at, and so what a backwards-incompatible change is held to. dev allows one without a compatibility shim, each named in the iteration's report; prod puts one behind a feature flag or a contract-version bump. --release-stage and then a releaseStage in the repository's manifest outrank this key
autonomyintegerNo1How much a session decides without asking, from 1 to 5. 1 asks about anything uncertain before acting. 2 decides routine implementation details and asks about scope, design and anything another repository would notice. 3 decides anything reversible within the issue and asks about design direction, scope changes and changes reaching other repositories. 4 decides everything reversible, scope calls within the issue and fixes in the other repositories the change touches included, and asks only for design direction that sets precedent and before an irreversible or outward-facing act. 5 decides nearly everything, recording its reasoning, and asks only before an irreversible or outward-facing act. The higher the level, the more is fixed in place and the fewer follow-ups are raised
promptTemplatepathNoA template the session prompt is rendered from in place of the packaged one, relative to the repository unless absolute. A custom template states no autonomy level until it carries {?autonomy=N} blocks of its own
pullRequestTemplatePathpathNoA pull request template used in place of the packaged one, relative to the checkout unless absolute. Its headings are the outline of every description the runner writes, a submodule's included. --pull-request-template-path overrides it for one run
sessionStartIncrementintegerNo-1The increment count a session opens at on a branch with no numbered commit and no earlier session. Numbering is zero-based and the count is what has been spent, so -1 means the first commit carries (0)
skipDescribingOnPushbooleanNofalseLeave pull request descriptions alone on every push and write them once, when the session ends. On the default they are rewritten on every push, at one model call per repository per iteration
workspacesRootpathNoThe directory each issue's folder is made in, <workspacesRoot>/<repository>-<issue>, holding the worktree the issue is edited in and, for an issue of the repository that holds the runner's own source, the source and tools directory its executable is installed from. A fact about the machine, so it belongs in the user's ~/.impl-tool/config.yml. Absent, every issue launched from a checkout is worked in that checkout
timezonestringNo"UTC"The IANA name of the timezone the dates and times the runner records are written in. A name that cannot be resolved falls back to UTC
currencystringNo"USD"The currency the costs the runner records and reports are stated in, as a code, a symbol or a common name
planMonthlyCostnumberNo0What the subscription the sessions run under costs per month, in currency. The model-call tables spread it over the plan usage each call took. 0 prices nothing: the tables still show tokens and the share of the plan spent
modelTableSortlist[string]No["task", "model"]The order of the model-call tables' rows: column names applied in turn, from task, model, calls, ok, avg and tokens. A text column ascends and a numeric one descends; an unknown name is refused
sessionProviderOptionsdict[string, any]No{}Settings for the agent that runs the session, which --provider names, keyed as that agent names them and read by nothing else. The agent refuses a key it does not take, by name, and applies its own default for one that is absent
prDescriptionProviderOptionsdict[string, any]No{}Settings for the agent that writes pull request descriptions, which --description-provider names, keyed as that agent names them. The agent refuses a key it does not take, by name, and applies its own default for one that is absent
prDescriptionFallbackProviderstringNo""The agent that writes a description once the description agent's attempts are exhausted. Empty is the agent that runs the session
prDescriptionFallbackModelstringNo""The model the fallback describes with. Empty is the fallback agent's own choice, and none disables the fallback. A description already written on this agent and model has nowhere to fall. Independent of --description-model
prDescriptionEffortstringNo"low"The effort a description call runs at, in the description agent's own levels. Empty leaves the agent's default in place, and the agent refuses a level it does not take
prDescriptionFallbackEffortstringNo"medium"The effort the fallback description call runs at, in the fallback agent's own levels. Empty uses prDescriptionEffort
recordHomeenum one of repository, checkoutNo"repository"Where the measurement record and the record of what was described are kept. repository shares one record across every worktree and submodule of the outermost repository; checkout keeps each working tree's own. Session state is kept per checkout either way
permissionsset[enum] one of write, external-read, external-writeNo["write"]What the session may do without being prompted. The session's agent maps each permission onto its own settings and refuses one it cannot grant
durationUnitenum one of microseconds, milliseconds, seconds, minutes, hours, days, weeks, months, yearsNo"milliseconds"The unit every reported duration is read in
durationFormatstringNo"{value:.1f}{abbr}"How a duration is written: a format over value, unit and abbr
logDirpathNo"logs"The directory the runner's logs are written in, relative to the repository unless absolute. Inside a repository that does not ignore it, it is excluded locally so that no commit stages it
maxRetriesintegerNo2How many times a model call is asked again after an answer that did not satisfy its contract: a headless turn, the collection at a run's end, and each description call, the fallback's included. It also caps how many times a refused answer is handed back to the session within one turn. 0 takes the first answer or nothing
featuresdict[string, boolean]No{}The feature flags this configuration switches, keyed by the name the application declares each under in its *.app.yml, true for on: a flag left out takes the default its declaration states, and a name the application does not declare is refused -- granted by the meta-schema to every definition named in metadata.configRoots, never declared

Used by

The versions of each application and library holding this build.

Held byVersions
impl-tool0.0.0