Konfiguráció
A store beállításai: a tkt config parancsai és a kulcsok táblája.
Ezen az oldalon
Workspace-beállítások#
tkt config list (érték és forrás: file / default), tkt config get <kulcs> (az alapérték (default) jelöléssel), tkt config set <kulcs> <érték>, tkt config unset <kulcs>; mind ismeri a --json-t (a kulcsok).
- A
setYAML-ként olvassa az értéket (4000szám), az olvasója szabályával ellenőrzi, és csak a kulcs sorát írja át; rossz értéknél semmit. - Ismeretlen kulcs:
ERR_CONFIG_KEY_UNKNOWN(did-you-mean); aworkspace,schemaVersion,idSchemecsak olvasható:ERR_FIELD_READ_ONLY.
Részletek2 pont
Az unset után újra az alapérték él. REST (store API, GET/PATCH /v1/workspace/config): pl. PATCH /v1/workspace/config {"bundleTokenBudget": 4000}; a null törli a kulcsot, mindent vagy semmit (422-nél semmi).
Példák: tkt config set bundleTokenBudget 4000, tkt config get bundleTokenBudget, tkt config unset bundleTokenBudget.
Konfigurációs kulcsok#
A .aitodo/config.yaml ismert kulcsai az alapértékükkel (tkt config list|get|set|unset).
Kulcsok#
| kulcs | alapérték | csak olvasható, mert | jelentés | bővebben |
|---|---|---|---|---|
workspace | null | it names the workspace; tkt init sets it | The store's name | |
schemaVersion | 3 | it records the level of the store's data; tkt init writes it, tkt reorg raises it | The level of the store's data; tkt doctor names an older store (tkt reorg) | |
idScheme | "PREFIX-NNN" | every existing ticket id was minted with it | How ticket ids are formed: the group prefix and a number | |
bundleTokenBudget | 3000 | The Context Bundle's token budget for every read of this store | A bundle kerete | |
mentionPatterns | [] | Patterns that turn a body word into a doc ref ({pattern, doc} items) | Említések a törzsben | |
decisionPrefix | "D" | The prefix of decision ids (D63) | Döntések | |
idRangeMax | 50 | The most ids an id range (D18-D21, SG-4..SG-9) names; a wider one names only its two ends | Döntések | |
staleHighValueDays | 14 | Days after which an open high-value ticket counts as stale in tkt report release | Érték- és release-riportok, release notes | |
lowValueCloseDays | 90 | Days after which an open low-value ticket is a close candidate in tkt report release | Érték- és release-riportok, release notes | |
untouchedDays | 90 | Days after which an unanchored doc or gotcha counts as untouched in tkt doctor and tkt review --unanchored | `tkt doctor` | |
completenessWeights | null | Completeness weights (item: weight) | Teljesség: a checklist | |
automation | null | Automatic workflows: auto or suggest | Teljesség: a checklist | |
sharedCounter | true | Every worktree of the repo shares one id counter | Párhuzamos worktree-k | |
parallelRiskPaths | ["**/migrations/**", "**/schema*"] | Path globs tkt plan parallel treats as a risk when two tickets touch them | Mi mehet párhuzamosan | |
worktreeBranch | "feat/{id}-{slug}" | The branch name template of tkt worktree new | Párhuzamos worktree-k | |
worktreeDir | "../{repo}-{id}" | The directory template of tkt worktree new | Párhuzamos worktree-k | |
worktreeSetup | null | A command tkt worktree new runs in the new worktree | Párhuzamos worktree-k | |
planMethod | null | The default decomposition method of tkt plan begin | Bontási módszerek | |
focus | null | The project focus: the milestone, epic or release tkt next stays inside | A projekt fókusza | |
releaseVersionPattern | "default" | The version form of a release: default or semver (X.Y.Z, X.Y.Z-rc.N) | Release-ek tervezése | |
embedProvider | null | The embedding provider of tkt search: local, server, endpoint or off (unset: none; the server only when set) | AI-rétegek: hol fut a modell | |
embedModel | null | The embedding model: a sentence-transformers name for local (unset: BAAI/bge-m3), the endpoint's model for endpoint | AI-rétegek: hol fut a modell | |
embedUrl | null | The OpenAI-compatible embedding endpoint of embedProvider: endpoint (https; the key in AITODO_EMBED_KEY) | AI-rétegek: hol fut a modell | |
llmUrl | null | The OpenAI-compatible LLM endpoint of llmProvider: endpoint (https; the key in AITODO_LLM_KEY) | AI-rétegek: hol fut a modell | |
llmModel | null | The model llmProvider: endpoint asks for | AI-rétegek: hol fut a modell | |
llmPickModel | null | The model of tkt ask's pick step on llmProvider: endpoint (unset: llmModel) | Kérdés a store-hoz | |
llmProvider | null | The LLM provider: local (the LLM command), server, endpoint or off (unset: the tkt server's when available) | AI-rétegek: hol fut a modell |
Parancsok ezen az oldalon#
tkt config listEvery known key with its value and source (file / default)→
tkt config getPrint a key's value; a key not in the file prints its default with (default)→
tkt config setWrite a key; only its line in config.yaml changes→
tkt config unsetRemove a key from config.yaml, so its default applies again→