Repository navigation
Trackers
With a tracker configured, CodeLoupe mirrors its issues into a local SQLite database and answers issue reads and task
queries from it, in milliseconds and without a request: the tracker tools (issue,
tasks, similar, task_context, dispatch_plan, update, attach, create) work on the mirror, and task_code joins tasks to the
code that landed for them. YouTrack is the supported tracker. Without a tracker none of this is on offer and the
code tools work as usual.
In <home>/config.json (Configuration):
{
"trackers": [{
"name": "acme", "type": "youtrack", "url": "https://acme.youtrack.cloud", "projects": ["ABC", "OPS"],
"token": { "env": "YOUTRACK_TOKEN" },
"repos": ["C:/src/acme"]
}]
}The token comes from an environment variable of the daemon ({ "env": "NAME" }; on Windows the user's persistent
variables, not the shell that happened to start it, see Jobs and events) or a
KEY=value file ({ "dotenv": "<path>", "key": "NAME" }), read by the daemon on each request; it never appears in
answers, errors, /status or logs. The desktop app can also keep a YouTrack token in the secret store and add the
instance itself (Desktop app).
- The mirror (
<home>/trackers/<name>.db, SQLite + FTS5) loads each project once, then a watcher asks only for issues whoseupdatedmoved, and only while tool calls arrive: no client, no polling. Syncing runs every 3 minutes while clients are active and stops 10 minutes after the last tool call (trackerSyncMinutes,trackerIdleMinutes). - A read more than 30 s after the project's last sync checks that one issue's
updatedfirst. - The mirror only reads.
update,attachandcreateare the ways CodeLoupe writes to the tracker (YouTrack: field values,summary,descriptionincluding one ticked or rewritten acceptance criterion, comments, attachments, a new issue linked under an epic), with the token's own permissions; the mirror stores the tracker's own answer to the write. The CLI forms:codeloupe update ABC-5 --check "text",--edit-criterion "text" --to "new text",codeloupe attach ABC-5 <file>,codeloupe create --epic ABC-1 --summary … --type … --priority … --description-file <file>. -
reposare git repositories whose worktree branch names (ABC-5,feature/ABC-5-x) mark tasks as taken fortasks mode=ready, besides every repository the daemon has indexed.
Task ids follow the tracker's projects, or taskPattern (a regular expression) in a repository's .codeloupe.json.
task_code reads the default branch's history and works without a tracker; with one it adds the issue text, from which
it predicts the touch set of an open task. dispatch_plan compares those sets between tasks and with every live
worktree so that no two windows edit the same code.
Repository · Releases · Issues · Contributing · Security · PolyForm Noncommercial 1.0.0 · This wiki is generated from docs/wiki: change it there.
Use
Features
- Jobs and events
- Workspaces and Docker cleanup
- Trackers
- Environment and secrets
- Hooks and token savings
- Plugin hooks
- Metrics and savings
- Knowledge store
- Brain index
- Desktop app
How it works
Install and contribute