Work logs
A work log is a one-line note of something that got done: “fixed the login bug”, “added the export button”. Coding agents that work alongside awe write one at the end of a session, and you can write them yourself. awe uses the recent ones to pick up where you left off. This page is for developers and for people who run coding agents with awe.
Write a log
From the awe folder, either of these:
./awe-core log "bugfix: Fixed the login timeout | component: auth | severity: high"
./do "log: bugfix: Fixed the login timeout | component: auth | severity: high"
The second form is the same thing through the ./do launcher: everything after log: is handed to awe-core log.
The format is:
category: description | key: value | key: value
- category is optional. It must be one of the names in the table below.
- description is the note itself.
- key: value pairs are optional details. Separate each with
|(a space on both sides of the bar).
All three of these work:
./awe-core log "Tidied up the README"
./awe-core log "feature: Added CSV export"
./awe-core log "feature: Added CSV export | component: reports | files_changed: 3 | duration: 45min"
Categories
| Category | Use it for |
|---|---|
feature |
New things |
bugfix |
Fixes |
analysis |
Investigations and reviews of how something works |
documentation |
Docs |
testing |
Tests |
refactor |
Restructuring without changing behaviour |
performance |
Making something faster or lighter |
security |
Security fixes and hardening |
config |
Settings and configuration |
deployment |
Releases and infrastructure |
maintenance |
Routine upkeep |
research |
Exploring options |
planning |
Plans and designs |
review |
Code reviews |
general |
Anything else |
awe does not guess a category from your words. If you leave the category out, or start with a word that is not in this table, the entry is stored as general and the whole text becomes the description. enhancement: Added dark mode is stored as a general entry that reads “enhancement: Added dark mode”.
Details
The details after the description can be any key: value pairs. awe stores them as given, as text. These keys are the usual ones:
| Key | Example |
|---|---|
component |
auth |
severity |
low, medium, high, critical |
duration |
30min, 2h |
files_changed |
3 |
files_modified |
app/login.ts,app/session.ts |
lines_added, lines_removed |
40, 12 |
technology |
typescript |
issue_id |
142 |
A detail without a colon is dropped.
Where logs go
Logs are rows in the work_logs table of awe-core.db, in the awe folder. Each row has the time (UTC), the description, the category and the details as JSON. If you write the log from inside a folder that is one of your console projects, the row is tagged with that project.
awe writes its own entries to the same table, under categories you cannot choose by hand. The common ones:
| Category | Written when |
|---|---|
tool_call |
A tool is called |
installation |
A server is installed |
scheduler |
A scheduled task runs |
Where logs show up
The History page. Console → Activity → History lists entries newest first. You can search the text and filter by category. Tool calls and installs are most of the rows, so they are hidden until you tick show tool calls and installs. See awe-scheduler.md for the scheduled runs that appear here.
Where you left off. When a session starts, awe gives the AI a short context packet. Its “Where we left off” section holds the last five work logs at most, leaving out tool calls, installs and scheduled runs. A project’s packet only carries that project’s logs. This is the main reason to log: the next session starts knowing what the last one finished. See generated-context.md.
The weekly summary. The Monday summary awe writes into memory draws on the week’s feature, bugfix and general logs.
“What am I working on?” The get_current_work tool on the awe-recall server returns recent work logs along with open tasks and recent requests:
./awe-core call awe-recall get_current_work '{"work_log_limit":10}'
The API. The console serves the log on your own computer:
curl -s "http://127.0.0.1:8765/api/logs?limit=20&category=bugfix"
| Parameter | Meaning |
|---|---|
limit |
Rows to return. Default 50, at most 200 |
offset |
Rows to skip, for paging |
category |
Only this category |
search |
Only entries whose text contains this |
exclude |
Categories to leave out, separated by commas. Ignored when category is set |
The answer has logs, total, and categories (every category in use).
Writing good logs
- Say what changed and where, in one line. “Fixed the race in the upload queue” beats “fixed bug”.
- Log when a piece of work is finished, not after every step.
- Use the same spelling for a component every time, so a search finds all of it.
- Leave out anything private. A log is plain text in a local database, and awe may show it to an AI in a later session.
Related
- awe-scheduler.md: scheduled runs, which also appear in History
- generated-context.md: the context awe gives a coding session
- claude-code-hooks.md: how awe connects to Claude Code
- awe-memory.md: what awe remembers, including the weekly summary
- cli-reference.md: every command