Workwarrior · Design
A boundary, a command surface, and a growing event model.
The design developed from isolated work profiles into a broader system for capturing and interpreting operational records.
Workwarrior's starting point is an isolated profile. A user activates a profile in the shell; Workwarrior sets environment variables that supported tools already read. The data remains in ordinary directories and native formats. Its command dispatcher, shell integration, and services provide a shared layer above them.
Conceptual map based on the current Workwarrior README, the former Workwarrior site, and the public Workwarrior Standard. It summarizes responsibilities; it is not a deployment or security diagram.
Profiles and environment
A profile has a name and a directory root. Activation associates the supported tools with paths inside that root. This makes profile switching a small environment change rather than a repeated reconfiguration of every tool.
ww profile create field-team
p-field-team
task add "Inspect line 4"
timew summary
j "Shift handoff"
l balanceRepresentative data includes TaskWarrior's configuration and task store, TimeWarrior's database, journal and ledger files, and service configuration. Exact contents vary as profiles and product features evolve.
Source code excerpt · CLI entry point
The current public CLI declares its default installation root and version directly in bin/ww:
WW_BASE="${WW_BASE:-$HOME/ww}"
WW_VERSION="1.0.0"Copied from babbworks/workwarrior · bin/ww. The current code declares version 1.0.0 while earlier product copy and the legacy Babb page say v0.1.0. We have not reconciled these into a release history, so this section labels development status and leaves version chronology open for the later release index.
Source code excerpt · profile creation
The GitHub profile manager validates a profile name and creates the profile's directories:
create_profile_directories() {
local profile_name="$1"
if ! validate_profile_name "$profile_name"; then
return 1
fi
local profile_base="$PROFILES_DIR/$profile_name"
ensure_directory "$profile_base/.task"
ensure_directory "$profile_base/.timewarrior"
ensure_directory "$profile_base/journals"
ensure_directory "$profile_base/ledgers"
}Excerpt simplified for readability from lib/profile-manager.sh; error handling and additional directories are omitted.
Dispatcher and services
The CLI dispatcher routes named commands to service scripts. The project describes a discovery model in which executable services can add command areas without a central registration list. Profile-aware services resolve their data through the active profile.
This gives the product a broad extension surface. It also means service boundaries matter: a service can be simple when it calls one existing tool, or more involved when it owns lifecycle, state, or an external integration.
Natural language and AI
The older site documents a heuristic-first command layer with compiled patterns for common requests. The current repository describes 627 rules and optional AI fallback. Heuristics can make common command shapes predictable without requiring a model call; AI remains an optional extension for phrasing the rules do not cover.
"add a task to review the budget"
→ task add review the budget
"finish task 5 and stop tracking"
→ task 5 done
→ timew stopThese are examples from project materials. They do not promise every phrase is currently recognized.
From personal records to the shop floor
The current codebase README describes Stream as an append-only log of work events. A derived ledger can be regenerated from that stream; an attention report can rank what needs attention under a profile's weights. The README identifies Workwarrior Stream as a reference implementation of the Stream layer proposed by Works. It also states that Workwarrior does not yet include Works' Gate, a full Barrel scheduler, or a multi-Store address space.
This is a meaningful expansion of Workwarrior's original personal productivity story. Stream, ledger synchronization, and attention functions are part of a system under active development, so we present the architecture as a direction and working codebase rather than as a finished industrial deployment.