Code Context
Code context links tasks to the source code they touch. This gives you visibility into which files each task affects.
How It Works
barkcli context scananalyzes your codebase- Matches task titles to code symbols using fuzzy matching
- Links are stored in
.board/context/<board>.json barkcli context syncrefreshes git status
Commands
# Scan and link code to tasks
barkcli context scan
# Check coverage
barkcli context status
# Manual linking
barkcli context link implement-auth src/auth/handler.ts
# View context for a card
barkcli context show implement-auth
# Search code symbols
barkcli code "AuthService"
# Git-aware sync
barkcli context syncFile Statuses
| Status | Description |
|---|---|
| clean | File matches last commit |
| changed | File has uncommitted changes |
| unknown | File not tracked by git |
Supported Languages
| Language | Symbol Extraction |
|---|---|
| JavaScript/TypeScript | Full (functions, classes, types) |
| Python | Full (functions, classes, methods) |
| Rust | Full (functions, structs, traits) |
| Go | Full (functions, types, interfaces) |
| Other | File-level only |