aitododocs Coming soonAutonomous delivery

Doctor findings

Markdown

The tkt doctor findings by severity, each with its code and meaning (Checking the store).

Referenceabout 8 min
On this page

Doctor findings#

codeseveritymeaninghome
STATE_FILE_NOT_IGNOREDwarningA local state file in .aitodo/ (index, leases, locks, decompositions, cache) that git does not ignoreWhere the store lives
STATE_FILE_TRACKEDwarningA local state file git already tracks: git rm --cached itWhere the store lives
STALE_CLAIMwarningA claim whose worktree is gone: tkt ticket release --staleParallel worktrees
STALE_LOCAL_STOREwarningA local store beside store: server, or the server says the store moved: a stale copyMoving a store
CONFIG_DIR_NOT_IGNOREDwarningA credentials directory inside a repo that git does not ignoreServer pin and credentials
STORE_QUOTA_NEARwarningA server store uses 80 % or more of its disk quota; the hint says what countsA store on the server
TOKEN_IN_STOREerrorA token (atk_…) written into a store fileProjects and tokens
PLAN_METHOD_INVALIDwarningA stored decomposition method that no longer passes the method checksDecomposition methods
PLAN_METHOD_DEFAULT_MISSINGwarningplanMethod names a stored method that does not existDecomposition methods
STALE_HIGH_VALUEwarningAn in_progress ticket of value 5 or more with no change for staleHighValueDaysValue and release reports, release notes
LOW_VALUE_CLOSE_CANDIDATEinfoAn open low-value ticket older than lowValueCloseDays that nothing waits on: close it?Value and release reports, release notes
MISSING_DESCRIPTIONinfoA ticket, decision, milestone, group, doc or gotcha with no description: its references show only the title; a new one needs it
EMPTY_DESCRIPTIONinfoA ticket whose body ## Description is empty: a new one needs it; the hint is the tkt ticket section set that fills it
MISSING_ACCEPTANCE_CRITERIAinfoA feature or bug without a filled acceptance criterion: a new one needs one; the hint is the tkt ticket ac addHints and lint
DANGLING_MENTIONwarningA doc:// / gotcha:// mention names nothing (info on a closed ticket)Mentions in the body
DANGLING_DECISIONwarningA decision mention names no decision (info on a closed ticket)Decisions
GROUP_SECTION_TOO_LONGwarningA group's ## Overview, ## Conventions, ## Gotchas or ## Verification is longer than the section cap, so every bundle cuts it: shorten or split it
UNTRACKED_RELEASEinfoTicket release values no release carries, off the timeline; never raises the exit codeRelease timeline, done vs shipped
STALE_BY_DECISIONerrorAn open item builds on a decision that changed since the item's stamp of it (tkt review)Hints and lint
DECISION_RELATION_MISMATCHerrorTwo decisions disagree on their relation (supersededBy without supersedes back)Hints and lint
ACTIVE_BUT_PROPOSEDerrorAn active decision whose text says it is proposed or pendingHints and lint
UNRECORDED_REPLACEMENTerrorA decision's text names another decision as replaced, with no relationship between themHints and lint
LAGGING_PARENTinfoAn unchecked milestone exit criterion whose tickets are all doneHints and lint
LIFECYCLEwarningA container whose status lags its membersCompleteness: the checklist
AFFECTS_DROPPEDinfoA superseding or amending decision leaves out affects targets of the old one, neither kept nor recorded as droppedDecisions
DANGLING_RELATIONSHIPwarningA relationship, milestone or release member, origin or until names a missing ticket
DANGLING_REFERENCEwarningA ticket's or group's context ref or required reading names a missing doc, gotcha or decision
MISSING_GROUPwarningA ticket or an appliesTo names a group that does not exist
RELATIONSHIP_CYCLEerrorA cycle of blockedBy, parent or supersededBy (a hand edit, a merge, an import)Hints and lint
STALE_DOCwarningAn open item builds on a doc or gotcha that changed since the item's stamp of it (tkt review)Refs and anchors
EDGE_COVERAGEinfoOne line per edge declared for coverage that some open items state nowhere (coverage: decisions without affects 31 of 353 (9 %))`tkt doctor`
UNANCHOREDinfoDocs and gotchas that build on no decision (critical gotchas counted separately): tkt review --unanchored`tkt doctor`
ORPHANEDinfoDocs, gotchas and groups nothing refers to: tkt review --unanchored`tkt doctor`
COMPLETENESS_WEIGHTS_INVALIDwarningcompletenessWeights does not sum to 100Completeness: the checklist
UNTOUCHED_UNANCHOREDinfoUnanchored items untouched for untouchedDays or more: tkt review --unanchored --older <N>d`tkt doctor`
STORE_OUTDATEDwarningThe store's data is older than this tkt writes (schemaVersion): tkt reorg proposes the migration and raises itStore migration
ID_RANGE_TOO_WIDEwarningAn id range (D18-D21) holds more ids than idRangeMax, so only its two ends are read: split it or raise the settingDecisions
CONTEXTREF_LINERANGE_LEGACYwarningA ticket's repo ref stores lineRange as N-M, not L<a>-L<b>: the hint is the tkt ticket ref add that fixes itRefs and anchors
ERR_FILE_PARSEerrorA store file cannot be parsed (info: a broken frontmatter block read as body)`tkt doctor`
ERR_FILE_CONFLICTerrorA store file holds git conflict markersAfter a merge
ERR_ID_DUPLICATEerrorTwo files share one id or ULIDAfter a merge
ERR_ID_MISMATCHerrorA file's id is not its file nameAfter a merge
ERR_GROUP_PREFIX_DUPLICATEerrorTwo groups share one prefix
ERR_REL_PARENT_INVALIDerrorA parent that breaks the two-level hierarchy
ERR_SCHEMA_INVALID_ENUMwarningA value outside its vocabulary
ERR_SCHEMA_INVALID_VALUEerrorA stored value the write path would reject (value, rationale, estimate)
ERR_AFFECTS_INVALIDwarningA decision's affects target is malformed, of an unknown kind, or names nothing; reported, never rewrittenDecisions
ERR_APPLIES_TO_INVALIDwarningA doc or gotcha appliesTo path is not a usable repo globDocs and gotchas
ERR_ESTIMATE_ROLLUP_MISMATCHwarningA parent's own estimate differs from its children's points
DECISION_VIEWwarningA doc tkt decision import generated from the decisions, which tkt no longer renders: tkt reorg deletes itDecisions
ERR_TIMESTAMP_INVALIDwarningA timestamp that is not valid
ERR_INDEX_DRIFTinfoAn index row disagrees with its file: tkt doctor --fix-indexThe index
ERR_INDEX_CORRUPTwarningindex.db cannot be opened or queriedThe index
ERR_INDEX_REBUILDerrorThe index rebuild failedThe index
ERR_INTERNALerrorThe doctor hit an unexpected failure on a file; report it
Generated from the registry: src/aitodo/api/selfdoc_entries/ref.py · ref.doctorv0.1.298