Skip to main content

Module bookkeep

Module bookkeep 

Source
Expand description

A note written after a commit.

The claim book is gone. What stays is the guard’s notion of a temporary home, a durable file replace, and one line in the runtime log when a commit lands.

Structs§

DurableWrite
Held for the body of a write that replaces a file.
ShutdownFinish
Finishes nothing. Bind it so a drop is still a drop.

Functions§

before_mcp_write
A write tool runs on its own. The book does not attach it to a claim.
blank_issue
Words a model passes when it does not know the issue id.
books
Hook events are not booked.
canonical_issue
The issue raw names. A placeholder is not an issue. There is no book to inherit one from.
commit_recall_line
Nothing to recall onto a commit.
durable_pending
A durable_write guard is still held.
durable_write
Mark one write in progress. Drop the guard when the write returns.
guard_forced_on
LJOS_GUARD set to one of the on-switches.
guard_off_reason
Why guard_suspended holds. None when the guard is on.
guard_suspended
Whether the guard should stay out of this process.
idle_due
Whether now is at least limit past last.
idle_limit
How long a silent MCP server sits. Unset is thirty minutes.
idle_limit_from
idle_limit from an already-read value.
last_activity
Unix seconds of the last touch_activity, or zero.
ljos_is_off
Whether LJOS_OFF is set to one of its on-switches.
log_line
Append one line to the seat’s book.log.
mcp_shutdown
The server exit no longer finishes claims.
mcp_tool_writes
Whether this MCP tool writes a habitat.
named_open_issue
A commit message does not book an issue.
note_after_commit
One line after head lands in repo.
note_ask
A guard ask is not written into a book.
note_finished
Nothing to finish.
note_issue
The issue argument when it is not a placeholder.
note_mcp_process_call
Count one tool call in this process.
now_secs
Unix seconds now.
observe
A hook call writes a note only when it is a commit. Nothing else is booked.
open_issue
No claim book, so nothing is open.
path_is_temp
Whether path is a temporary directory or sits inside one.
print_brief_once
The SessionStart brief is not printed. The book does not keep one.
prompt_claims
No claims to list.
recall_for
Nothing to recall.
resolved_path_is_temp
path_is_temp for a path already resolved.
resume_seat
The next process does not finish a claim book.
seat_session
The seat name, or this process, for a caller that still asks.
session_issue
No claim book, so a session holds no issue.
spawn_idle_finish
The idle watcher does not finish a claim book.
start_work
The book does not file a claim. The task is the note.
temp_home
HOME when it is a temporary directory or sits inside one.
touch_activity
Note that a tool ran, so the idle watcher waits another window.